以下是大智慧炒股公式源码和使用说明

使用说明

   大智慧炒股指标是一种价格平均指标,它通过计算每日的最高价、最低价和收盘价的平均值来确定股票的整体趋势和价格波动情况。

   该指标可以用于判断股票的超买和超卖情况。当股票价格高于其平均值时,可能意味着超买,而当股票价格低于其平均值时,可能意味着超卖。投资者可以利用这一指标来做出买入或卖出的决策。

   大智慧炒股指标也可以用于确定股票价格的支撑和阻力位。当股票价格向下趋近于该指标的数值时,该指标可能成为支撑位,而当股票价格向上趋近于该指标的数值时,该指标可能成为阻力位。

   技术分析中,大智慧炒股指标通常与其他指标结合使用,以提高预测和判断的准确性。例如,可以将该指标与移动平均线或其他相对强弱指标进行比较,以获取更全面的市场分析。

大智慧炒股公式源码:

   DRAWGBKLAST(DATE>900101,STRIP(RGB(40,40,40),RGB(0,0,40),0));

   15,DOTLINE; ;75,DOTLINE;101,colorwhite; 0,colorwhite;

   FILLRGN(100,75,100>75),ColorEE1100;

   FILLRGN(15,0,15>0,rgb(80,0,80));

   MMX:FORCAST((CLOSE-LLV(LOW,13))/(HHV(HIGH,34)-LLV(LOW,13))*100,13);

   PARTLINE(MMX,MMX>=REF(MMX,1),RGB(255,0,0),MMX<REF(MMX,1),RGB(0,255,0)),LINETHICK2;

   涨:=MMX;

   STICKLINE(涨<REF(涨,1),涨,MA(涨,3),0,0),colorwhite,PRECIS0;

   STICKLINE(涨<REF(涨,1),涨,MA(涨,3),8,0),COLOR008800,PRECIS0;

   STICKLINE(涨<REF(涨,1),涨,MA(涨,3),7,0),COLOR009900,PRECIS0;

   STICKLINE(涨<REF(涨,1),涨,MA(涨,3),6,0),COLOR00AA00,PRECIS0;

   STICKLINE(涨<REF(涨,1),涨,MA(涨,3),5,0),COLOR00BB00,PRECIS0;

   STICKLINE(涨<REF(涨,1),涨,MA(涨,3),4,0),COLOR00CC00,PRECIS0;

   STICKLINE(涨<REF(涨,1),涨,MA(涨,3),3,0),COLOR00DD00,PRECIS0;

   STICKLINE(涨<REF(涨,1),涨,MA(涨,3),2,0),COLOR00EE00,PRECIS0;

   STICKLINE(涨<REF(涨,1),涨,MA(涨,3),1,0),COLOR00FF00,PRECIS0;

   STICKLINE(涨>REF(涨,1),涨,EMA(涨,3),0,0),COLOR00BBFF,PRECIS0;

   STICKLINE(涨>REF(涨,1),涨,EMA(涨,3),8,0),COLOR0011FF,PRECIS0;

   STICKLINE(涨>REF(涨,1),涨,EMA(涨,3),7,0),COLOR0022FF,PRECIS0;

   STICKLINE(涨>REF(涨,1),涨,EMA(涨,3),6,0),COLOR0044FF,PRECIS0;

   STICKLINE(涨>REF(涨,1),涨,EMA(涨,3),5,0),COLOR0066FF,PRECIS0;

   STICKLINE(涨>REF(涨,1),涨,EMA(涨,3),4,0),COLOR0088FF,PRECIS0;

   STICKLINE(涨>REF(涨,1),涨,EMA(涨,3),3,0),COLOR0099FF,PRECIS0;

   STICKLINE(涨>REF(涨,1),涨,EMA(涨,3),2,0),COLOR00AAFF,PRECIS0;

   STICKLINE(涨>REF(涨,1),涨,EMA(涨,3),1,0),COLOR00BBFF,PRECIS0;

   财富拐点

   var1:=CLOSE>REF(CLOSE,1)ANDCLOSE>REF(CLOSE,2);

   Var2:=REF(Var1,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);

   Var3:=REF(Var2,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

   Var4:=REF(Var3,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);

   Var5:=REF(Var4,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

   Var6:=REF(Var5,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);

   Var7:=REF(Var6,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

   Var8:=REF(Var7,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);

   Var9:=REF(Var8,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

   VarA:=REF(Var9,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);

   VarB:=REF(VarA,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

   VarC:=REF(VarB,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);

   VarD:=CLOSE<REF(CLOSE,1)ANDCLOSE<REF(CLOSE,2);

   VarE:=REF(VarD,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

   VarF:=REF(VarE,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);

   Var10:=REF(VarF,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

   Var11:=REF(Var10,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);

   Var12:=REF(Var11,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

   Var13:=REF(Var12,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);

   Var14:=REF(Var13,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

   Var15:=REF(Var14,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);

   Var16:=REF(Var15,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

   Var17:=REF(Var16,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);

   Var18:=REF(Var17,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);

   Var19:=REF(VarDORVarEORVarFORVar10ORVar11ORVar12ORVar13ORVar14ORVar15OR

   Var16ORVar17ORVar18,1)ANDVar1;

   STICKLINE(Var19,REF(CLOSE,1),REF(CLOSE,2),14,1),colorred;

   Var1A:=REF(Var1ORVar2ORVar3ORVar4ORVar5ORVar6ORVar7ORVar8ORVar9ORVarAOR

   VarBORVarC,1)ANDVarD;

   成交拐点

   VOLUME:VOL,VOLSTICK;

   主力启动线:MA(VOLUME,5),COLORRED,LINETHICK2;

   主力洗盘线:MA(VOLUME,35),COLORYELLOW,LINETHICK2;

   资金异动线:MA(VOLUME,135),COLORBLUE,LINETHICK2;

   出击:STICKLINE(CROSS(主力启动线,资金异动线)OR((主力洗盘线>资金异动线)ANDCROSS(主力启动线,主力洗盘线)),0,VOL,2,0),COLORYELLOW;

   启动:STICKLINE(主力启动线>REF(主力启动线,1)AND(CROSS(VOL,主力启动线)AND(REF(VOL,1)<REF(资金异动线,1)ORREF(VOL,2)<REF(资金异动线,2))),0,VOL,3,0),COLORGREEN;

   V1:=CLOSE/REF(CLOSE,3)>=1.1;

   V2:=BACKSET(V1,2);

   V3:=REF(CLOSE,3)*1.1;

   V4:=CROSS(C,V3);

   OK:STICKLINE((V2ANDCOUNT(V2,2)=1),VOL,0,5,0),COLORRED;

   COND:(CROSS(主力启动线,资金异动线)OR((主力洗盘线>资金异动线)ANDCROSS(主力启动线,主力洗盘线)))

   OR(主力启动线>REF(主力启动线,1)AND(CROSS(VOL,主力启动线)AND(REF(VOL,1)<REF(资金异动线,1)ORREF(VOL,2)<REF(资金异动线,2))))

   OR(V2ANDCOUNT(V2,2)=1),LINETHICK0;

   A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);

   B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));

   D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);

   长期线:=A+100;

   短期线:=B+100;

   中期线:=D+100;

   见顶:=((REF(中期线,1)>85ANDREF(短期线,1)>85ANDREF(长期线,1)>65)ANDCROSS(长期线,短期线));

   顶部区域:=(中期线<REF(中期线,1)ANDREF(中期线,1)>80)AND(REF(短期线,1)>95ORREF(短期线,2)>95)AND长期线>60AND短期线<83.5

   AND短期线<中期线AND短期线<长期线+4;

   顶部:=FILTER(顶部区域,4);

   STICKLINE({见顶OR}顶部,VOL,VOL*1.1,20,1),COLORBLUE,LINETHICK2;

   VAR6:=REF(CLOSE,1);

   VAR7:=SMA(MAX(CLOSE-VAR6,0),6,1)/SMA(ABS(CLOSE-VAR6),6,1)*100;

   STICKLINE(CROSS(84,VAR7),VOL,VOL*1.05,20,1),COLOR0099FF,LINETHICK2;

   均势一:=(((((((((CLOSE+REF(CLOSE,1))+REF(CLOSE,2))+REF(CLOSE,3))+REF(CLOSE,4))+REF(CLOSE,5))+REF(CLOSE,6))+REF(CLOSE,7))+REF(CLOSE,8))/9);

   均势二:=((((CLOSE+REF(CLOSE,1))+REF(CLOSE,2))+REF(CLOSE,3))/4);

   趋势一:=((((均势一-REF(均势一,1))/REF(均势一,1))*1000)+50);

   趋势二:=((((均势二-REF(均势二,1))/REF(均势二,1))*1000)+50);

   波段高位:=(CROSS(趋势一,趋势二)AND(COUNT((CLOSE>REF(HIGH,1)),12)>5));

   STICKLINE(波段高位,VOL,VOL*1.08,20,1),COLORGREEN,LINETHICK2;

   短线买卖

   ABV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0)/25000,2);

   M1:=EMA(ABV,12);

   M2:=EMA(ABV,26);

   MTM:=CLOSE-REF(CLOSE,1);

   MMS:=((100)*(EMA(EMA(MTM,6),6)))/(EMA(EMA(ABS(MTM),6),6));

   MMM:=((100)*(EMA(EMA(MTM,12),12)))/(EMA(EMA(ABS(MTM),12),12));

   MML:=((100)*(EMA(EMA(MTM,26),26)))/(EMA(EMA(ABS(MTM),26),26));

   MMA:=C-REF(C,1);

   MMB:=100*EMA(EMA(MMA,9),9)/EMA(EMA(ABS(MMA),9),9);

   MMC:=MA(MMB,5);

   V1:=(HIGH+OPEN+LOW+(2)*(CLOSE))/(5);

   V2:=REF(V1,1);

   V3:=MAX(V1-V2,0);

   V4:=ABS(V1-V2);

   V5:=SMA(V3,10,1);

   V6:=SMA(V4,10,1);

   V8:=COUNT(((V5)/(V6)<0.2),5);

   V9:=COUNT((LLV(V1,10)=V1),10);

   庄进:IF((MMS>REF(MMS,1)ANDMMB>REF(MMB,1)ANDCROSS(ABV,M2)ANDABV>REF(ABV,1)ANDM1>REF(M1,1)ANDM2>REF(M2,1)),65,0),colorwhite,POINTDOT;

   主进主轨:=ABV>M2ANDCROSS(ABV,M1)ANDCROSS(MMB,MMC);STICKLINE(庄进OR主进主轨,65,0,4,1),colorwhite;

   精准买卖:=V8>=1ANDV9>=1ANDCLOSE>OPENANDREF(CLOSE,1)>REF(OPEN,1)AND(VOL>REF(VOL,1))ANDMMS>MMLANDCROSS(ABV,M2);

   短线买点:=V8>=1ANDV9>=1ANDCLOSE>OPENANDREF(CLOSE,1)>REF(OPEN,1)AND(VOL>REF(VOL,1))ANDCROSS(MMS,MML)ANDABV>REF(ABV,1);

   中线买点:=V8>=1ANDV9>=1ANDCLOSE>OPENANDREF(CLOSE,1)>REF(OPEN,1)AND(VOL>REF(VOL,1))ANDABV>REF(ABV,1)ANDMMS>MMLANDCROSS(MMM,MML)ANDMMS>REF(MMS,1)ANDMMM>REF(MMM,1)ANDMML>REF(MML,1);

   主进主买:=ABV>M2ANDMMB>MMCANDCROSS(MMS,MML)ANDMMS>REF(MMS,1)ANDMMM>REF(MMM,1)ANDMML>REF(MML,1);

   短中精:=精准买卖OR短线买点OR中线买点OR主进主买;

   如意:IF(短中精,60,0),ColorFF00FF,POINTDOT;STICKLINE(如意,60,0,4,1),ColorFF00FF;

   庄增:IF(ABV>M2ANDMMS>MMLANDCROSS(MMB,MMC)ANDMMB>REF(MMB,1)ANDMMC>REF(MMC,1),55,0),COLORFFCC66,POINTDOT;STICKLINE(庄增,55,0,4,1),COLORFFCC66;

   Var1:=EMA(SMA((CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100,8,1),3);

   Var2:=SMA(Var1,3,1);

   波:=SMA(Var2,3,1);

   段:=SMA(波,3,1);

   Var9:=CROSS(段,波)AND波>80;

   AA:=LLV(LOW,36);

   BB:=HHV(HIGH,30);

   风险:80,Color00FF00;

   天险:89,ColorFF00FF;

   太空:100,COLORFFCC66;

   王:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);

   散户:=EMA((CLOSE-MA(CLOSE,8))/MA(CLOSE,8),7);

   金箍:IF(CROSS(散户,0),王,0),COLORYELLOW,POINTDOT;STICKLINE(金箍,40,0,4,1),COLORYELLOW;

   QVAR1A:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10;

   QVAR1B:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100);

   QVAR1C:=SMA(QVAR1B,13,8);

   QVAR1D:=SMA(QVAR1A,21,8);

   生意上门:=SMA(QVAR1C,13,8);

   AAS:=FILTER((COUNT((生意上门-QVAR1D<(-65)),3)=3),34);

   庄亏:IF(AAS,60,0),colorred,STICK,linethick4;

   买卖顺意:=MA((((-100))*(HHV(HIGH,34)-CLOSE))/(HHV(HIGH,34)-LLV(LOW,34))+100,5);

   走势:(生意上门+买卖顺意)/2,colorccffff;

   趋势:(王+波+段)/3,COLOR0099FF;

   STICKLINE(Var1>20ANDVar1<80,Var1,Var1,10,1),colorred;

   控盘出货

   VAR1:=EMA(EMA(CLOSE,9),9);

   控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;

   STICKLINE(控盘<0,控盘,0,4,0),COLORWHITE;

   A10:=CROSS(控盘,0);

   无庄控盘:IF(控盘<0,控盘,0),COLORWHITE,LINETHICK1;

   开始控盘:IF(A10,5,0),LINETHICK2,COLORYELLOW;

   STICKLINE(控盘>REF(控盘,1)AND控盘>0,控盘,0,4,0),COLORRED;

   有庄控盘:IF(控盘>REF(控盘,1)AND控盘>0,控盘,0),COLORRED,LINETHICK1;

   VAR2:=100*WINNER(CLOSE*0.95);

   STICKLINE(VAR2>50ANDCOST(85)<CLOSEAND控盘>0,控盘,0,4,0),COLORFF00FF;

   高度控盘:IF(VAR2>50ANDCOST(85)<CLOSEAND控盘>0,控盘,0),COLORFF00FF,LINETHICK1;

   STICKLINE(控盘<REF(控盘,1)AND控盘>0,控盘,0,4,0),COLOR00FF00;

   控盘趋弱:IF(控盘<REF(控盘,1)AND控盘>0,控盘,0),COLOR00FF00,LINETHICK1;

   买点必赚

   MA5:=MA(CLOSE,5);

   MA10:=MA(CLOSE,10);

   MA30:=MA(CLOSE,30);

   V5:=MA(CLOSE,5);

   V10:=MA(CLOSE,10);

   DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);

   DEA:=EMA(DIFF,9);

   RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

   K:=(SMA(RSV,3,1));

   D:=(SMA(K,3,1));

   MAJC:=CROSS(MA5,MA10);

   VJC:=CROSS(V5,V10);

   MACDJC:=CROSS(DIFF,DEA);

   KDJC:=CROSS(K,D);

   QSXS:=MA10>MA30ANDMA30>REF(MA30,1);

   JCTJ:=COUNT(MAJC,2)+COUNT(VJC,2)+COUNT(MACDJC,2)+COUNT(KDJC,2);

   金叉统计:JCTJ,COLOR00FFFF;

   目标:FILTER(JCTJ>=3,3)*5,COLORFF00FF,LINETHICK2;

   优选:目标ANDQSXS,COLORFFFFFF,POINTDOT,LINETHICK0;

   DRAWICON(优选,5,1);

   买准卖准

   Var3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;

   Var4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;

   Var5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;

   Var6:=(Var3+Var4+Var5)/3;

   Var7:=EMA(Var6,5);

   指标:EMA(EMA(Var3,5),5)*3,COLORSTICK;

   Var8:=IF(Var6<=-20,10,0);

   Var9:=HHV(Var8,10);

   STICKLINE(Var8=10,20,10,5,0),COLOR6666FF;

   VarA:=IF(Var9ANDCROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);

   K:EMA(Var7,5)*2,COLORff00ff;

   D:EMA(K,5),colorwhite;

   J:K*3-D*2,coloryellow;

   VarB:=BETWEEN(CLOSE,MA(CLOSE,3),MA(CLOSE,5))ANDJ>10;

   换手:VOL/CAPITAL*100,colorgreen;

   DRAWTEXT(VarA=20,15,’底部’),linethick1,colorwhite;

   STICKLINE((VarA=20),0,10,5,0),colorwhite;

   VARC:=(ZIG(3,5)>REF(ZIG(3,5),1))AND(REF(ZIG(3,5),1)<=REF(ZIG(3,5),2))AND(REF(ZIG

   (3,5),2)<=REF(ZIG(3,5),3));

   VARD:=(ZIG(3,5)<REF(ZIG(3,5),1))AND(REF(ZIG(3,5),1)>=REF(ZIG(3,5),2))AND(REF(ZIG

   (3,5),2)>=REF(ZIG(3,5),3));

   STICKLINE((VARC=1),(-14),0,4,0),Color0000FF;

   DRAWTEXT((VARC=1),(-14),’买’),Color0000FF;

   STICKLINE((VARD=1),14,0,4,0),Color00FF00;

   DRAWTEXT((VARD=1),18,’卖’),Color00FF00;

   VarE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;

   VarF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA

   ((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

   Var10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA

   ((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

   Var11:=VarF<REF(Var10,1)ANDVOL>REF(VOL,1)ANDCLOSE>REF(CLOSE,1);

   DRAWTEXT(Var11ANDCOUNT(Var11,30)=1,15,’大资金活动’),linethick1,COLORff00ff;

   STICKLINE(Var11ANDCOUNT(Var11,30)=1,1,10,5,0),colorff00ff;

   Var12:=(HIGH+LOW+CLOSE)/3;

   Var13:=(Var12-MA(Var12,14))/(0.015*AVEDEV(Var12,14));

   Var14:=(Var12-MA(Var12,70))/(0.015*AVEDEV(Var12,70));

   Var15:=IF(Var13>=150ANDVar13<200ANDVar14>=150ANDVar14<200,10,0);

   Var16:=IF(Var13<=-150ANDVar13>-200ANDVar14<=-150ANDVar14>-200,-10,Var15);

   Var17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;

   Var18:=100-ABS(Var17);

   Var19:=IF(Var18<90,Var18,100);

   Var1A:=IF(VarE>0,VarE,0);

   Var1B:=IF(Var14>=200ANDVar13>=150,15,IF(Var14<=-200ANDVar13<=-150,-15,Var16))+60;

   Var1C:=Var1A>48ANDVar1B>60ANDVar19<100;

   DRAWTEXT(Var1CANDCOUNT(Var1C,30)=1,15,’大笔出货’),linethick1,COLORffcc66;

   STICKLINE(Var1CANDCOUNT(Var1C,30)=1,0,10,5,0),colorffcc66;

   强势弱势

   {以下设置强弱区域提示}

   M3:=MA(C,3);

   M5:=MA(C,5);

   N1:=BARSLAST(CROSS(M3,M5));

   N2:=BARSLAST(CROSS(M5,M3));

   N:=IF(N1<N2,N1+1,0-N2-1);

   强势区:STICKLINE(N>0,0-100,0-90,10,0),COLOR0000FF;

   弱势区:STICKLINE(N<0,0-100,0-110,10,0),Color808080;

   DRAWTEXTABS(100,3,’【量增价平=看多信号量增价升=买入信号量平价升=持续买入量减价升=继续持有量减价平=警戒信号’),LINETHICK1,colorwhite;

   DRAWTEXTABS(700,3,’量减价跌=卖出信号量平价跌=继续卖出量增价跌=高位空仓,低位弃卖观望】’),COLORYELLOW;

   散户买卖

   {以下设置强弱区域提示}

   M3:=MA(C,3);

   M5:=MA(C,5);

   N1:=BARSLAST(CROSS(M3,M5));

   N2:=BARSLAST(CROSS(M5,M3));

   N:=IF(N1<N2,N1+1,0-N2-1);

   强势区:STICKLINE(N>0,0-100,0-90,10,0),COLOR0000FF;

   弱势区:STICKLINE(N<0,0-100,0-110,10,0),Color808080;

   DRAWTEXTABS(100,3,’【量增价平=看多信号量增价升=买入信号量平价升=持续买入量减价升=继续持有量减价平=警戒信号’),LINETHICK1,colorwhite;

   DRAWTEXTABS(700,3,’量减价跌=卖出信号量平价跌=继续卖出量增价跌=高位空仓,低位弃卖观望】’),COLORYELLOW;

   天狼拐点

   LC:=REF(CLOSE,1);

   RSI:=((SMA(MAX((CLOSE-LC),0),3,1)/SMA(ABS((CLOSE-LC)),3,1))*100);

   FF:=EMA(CLOSE,3);

   MA15:=EMA(CLOSE,21);

   波动回调提示图:MA(CLOSE,10000);

   STICKLINE((MA15>REF(MA15,1)),MA15,MA15,9,6),LINETHICK2,color0000FF;

   STICKLINE((MA15<REF(MA15,1)),MA15,MA15,9,6),LINETHICK2,colorFF0000;

   DRAWTEXT(CROSS(FF,MA15),(LOW*0.99),’上拐点’),Color00FFFF;

   DRAWTEXT(CROSS(MA15,FF),(HIGH*1.02),’下拐点’),Color00FF00;

   DRAWTEXT(CROSS(85,RSI),(HIGH*1.02),’回调!’),colorFFFFFF;

   买线:=EMA(C,2);

   卖线:=EMA(SLOPE(C,21)*20+C,42);

   BU:=cross(买线,卖线);

   SEL:=cross(卖线,买线);

   stickline(买线>=卖线,low,high,1,0),colorred;

   stickline(买线>=卖线,close,open,4.5,0),color0000aa;

   stickline(买线>=卖线,close,open,4,0),color0000cc;

   stickline(买线>=卖线,close,open,3,0),color0000cc;

   stickline(买线>=卖线,close,open,2,0),color0000ee;

   stickline(买线<卖线,close,open,4.5,0),coloraaaa00;

   stickline(买线<卖线,close,open,4,0),colorbbbb00;

   stickline(买线<卖线,close,open,3,0),colorcccc00;

   stickline(买线<卖线,close,open,2,0),coloreeee00;

   stickline(买线<卖线,low,high,1,0),colorffff00;

   stickline(cross(买线,卖线)orcross(卖线,买线),open,close,3,0),color00ffff;

   指导线:EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),linethick1,ColorFFffFF;

   界:MA(CLOSE,27),linethick1,Color00FFFF;

   屠庄

   var101:=ma(SLOPE(CLOSE,3)/REF(CLOSE,14),13);

   var102:=ma(SLOPE(INDEXC,3)/ref(indexc,14),13);

   var103:=var101-var102;

   var104:=sma(var103,3,1);

   var105:=AMOUNT/100000000;

   var106:=IF(CLOSE>REF(CLOSE,1),var105,IF(CLOSE<REF(CLOSE,1),(-1)*var105,0));

   var107:=SUM(var106,21);

   var108:=var107*CLOSE;

   var109:=sma(var108,3,1);

   var110:=sma(var109,3,1);

   var111:=MA(var108,30);

   var112:=if(var108>var109andvar109>var110andvar108>var111,1,0);

   var113:=EMA(CLOSE,12.5)-EMA(CLOSE,25);

   var114:=EMA(var113,13);

   var115:=(var113-var114)*2;

   var116:=IF(var115>0.3,POW(var115,3)*5/10+POW(var115,2),0);

   var117:=EMA(var116,3);

   var118:=SMA((CLOSE-LLV(LOW,31))/(HHV(HIGH,31)-LLV(LOW,31))*100,5,1);

   var119:=3*var118-2*SMA(var118,3,1);

   var120:=sma(var119,3,1);

   var121:=if(var119>var120andvar119<50,1,0);

   var122:=if(barslast(cross(var103,var104))<=5andllv(var103,10)=llv(var103,60)andvar112,1,0);

   DRAWTEXT(filter(var121=1andvar122=1,5),low,’*送钱了’),COLORyellow,linethick7;

   DRAWTEXT(cross(var104*10000,99),low,’*屠庄’),COLORwhite,linethick7;

   RSV1:=(C-LLV(L,20))/(HHV(H,20)-LLV(L,20));

   RSV2:=(RSV1-0.5)*EMA(C,20)/5;

   K:=SMA(RSV2,5,1);

   D:=SMA(K,5,1);

   J:=K*3-D*2;

   var140:=ma(K+EMA(C,20),3);

   var139:=ma(J+EMA(C,20),3);

   var141:=if(cross(var139,var140),1,0);

   var142:=if(cross(var140,var139),1,0);

   移动峰位:=100*EMA((WINNER(C*1.1)-WINNER(C*0.95)),5);

   主力进出:=100*EMA(WINNER(C)-WINNER(C*0.7),5);

   出货过程:=100*(1-ema(winner(c*0.7),5));

   ※主力:cost(主力进出),colormagenta,linethick2;

   ※峰位:cost(移动峰位),color339966,linethick2;

   ※沉淀:cost(0.5*(100-100*EMA(WINNER(C)-WINNER(C*0.7),5))+0.5*EMA(100-(WINNER(C*1.05)-WINNER(C*0.90))*100,5)),POINTdot,colorYELLOW;

   ※买点:DRAWICON(var141,low*0.97,4),colorred;

   ※卖点:DRAWICON(var142,high*1.03,5),colorgreen;

   var1a:=ma(SLOPE(CLOSE,5)/REF(CLOSE,14),13);

   var2a:=ma(SLOPE(INDEXC,5)/ref(indexc,14),13);

   ※黑马值※:10000*(var1a-var2a),color339966,linethick0;

   主力家散户

   Var1:=1;

   Var2:=1/WINNER(CLOSE);

   Var3:=MA(CLOSE,

   13);

   Var4:=100-ABS((CLOSE-Var3)/var3*100);

   Var5:=LLV(LOW,75);

   Var6:=HHV(HIGH,75);

   Var7:=(Var6-Var5)/100;

   Var8:=SMA((CLOSE-Var5)/var7,20,1);

   Var9:=SMA((OPEN-Var5)/var7,20,1);

   VarA:=3*Var8-2*SMA(Var8,15,1);

   VarB:=3*Var9-2*SMA(Var9,15,1);

   VarC:=100-VarB;

   主力:(100-VarA)*Var1,color0099ff;

   散户:MA(WINNER(CLOSE*0.95)*100,3)*Var1,coloryellow;

   新庄:(100-IF(Var2>5,IF(Var2<100,Var2,Var4-10),0))*Var1,colorgreen,linethick1,pointdot;

   VarD:=散户>Var4;

   VarE:=REF(LOW,1)*0.9;

   VarF:=LOW*0.9;

   Var10:=(VarF*VOL+VarE*(CAPITAL-VOL))/CAPITAL;

   Var11:=EMA(Var10,30);

   Var12:=CLOSE-REF(CLOSE,1);

   Var13:=MAX(Var12,0);

   Var14:=ABS(Var12);

   Var15:=SMA(Var13,7,1)/SMA(Var14,7,1)*100;

   Var16:=SMA(Var13,13,1)/SMA(Var14,13,1)*100;

   Var17:=BARSCOUNT(CLOSE);

   Var18:=SMA(MAX(Var12,0),6,1)/SMA(ABS(Var12),6,1)*100;

   Var19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;

   Var1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;

   Var1B:=SMA((SMA(Var1A,4,1)-50)*2,3,1);

   Var1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;

   Var1D:=SMA(Var1C,4,1);

   Var1E:=SMA(Var1D,3,1);

   Var1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;

   Var20:=Var18<=25ANDVar19<-95ANDVar1F>20ANDVar1B<-30ANDVar1E<30ANDVar11-CLOSE>=-0.25ANDVar15<22ANDVar16<28ANDVar17>50;

   STICKLINE(VarD,Var4,散户,5,0),colorwhite;

   STICKLINE(1,新庄,100,1,0),colorgreen;

   STICKLINE(Var20,0,80,5,0),colorred,linethick3;

   100,colorgreen,linethick2;

   0,coloryellow,linethick2;

   中线:15,colorblue,linethick2;

   主力拉升

   VAR1D:=(EMA(CLOSE,2)-EMA(CLOSE,89));

   VAR1E:=EMA(VAR1D,30);

   VAR1F:=((2*(VAR1D-VAR1E))*10);

   VAR20:=((POW(VAR1F,3)*0.1)+POW(VAR1F,2));

   VAR25:=(IF(((YEAR<2008)AND(VAR1F>0.015)),VAR20,0)/45);

   拉升:(15*((VAR25>0.1)AND(COUNT((VAR25>0.1),2)=1)))andc>ema(c,60),LINETHICK2,color00FFFF;

   var2:=REF(LOW,1);

   Var3:=SMA(ABS(LOW-Var2),13,1)/SMA(MAX(LOW-Var2,0),13,1)*100;

   Var4:=EMA(IF(CLOSE*1.2,Var3*13,Var3/13),13);

   Var5:=LLV(LOW,34);

   Var6:=HHV(Var4,34);

   Var7:=IF(LLV(LOW,56),1,0);

   Var8:=EMA(IF(LOW<=Var5,(Var4+Var6*2)/2,0),3)/618*Var7;

   STICKLINE(Var8>REF(Var8,1),0,Var8,4,1),colorred;

   主力强弱

   Vur1:=VOL/CAPITAL;

   Vur2:=1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1);

   Vur3:=2.5*MAX(Vur1,Vur2);

   Vur4:=DMA(CLOSE,Vur3);

   Vur5:=20*(Vur4/REF(Vur4,1)-1)*38;

   Vur6:=EMA(Vur5,2);

   Vur7:=EMA(Vur5,2);

   Vur8:=EMA(Vur7,3);

   VurS:=EMA(Vur7,8);

   Vur9:=1.1*(MAX(INDEXH,REF(INDEXC,1))/MIN(INDEXL,REF(INDEXC,1))-1);

   VurA:=2.5*MAX(Vur1,Vur9);

   VurB:=DMA(INDEXC,VurA);

   VurC:=EMA(20*(VurB/REF(VurB,1)-1),1)*38;

   VurD:=EMA(VurC,2);

   VurE:=EMA(VurC,2);

   D强:STICKLINE(VurD>0,0,VurD,6.5,1),colorB210E4;

   D弱:STICKLINE(VurD<0,0,VurD,6.5,1),colorFFA6A6;

   极强:STICKLINE(Vur5>0,0,Vur5,6.5,0),COLORYELLOW;

   强势:STICKLINE(Vur6>0,0,Vur6,6.5,0),COLORRED;

   极弱:STICKLINE(Vur5<0,0,Vur5,6.5,0),color10D010;

   弱势:STICKLINE(Vur6<0,0,Vur6,6.5,0),colorE4E410;

   DX:VurE,color1088FF,LINETHICK2;

   界:VurS,color6CBC10,LINETHICK2;

   控:Vur8,colorFF10FF;

   指:Vur7,color10E4E4;

   资金进场好公式

   var2:=REF(LOW,1);

   Var3:=SMA(ABS(LOW-Var2),13,1)/SMA(MAX(LOW-Var2,0),13,1)*100;

   Var4:=EMA(IF(CLOSE*1.2,Var3*13,Var3/13),13);

   Var5:=LLV(LOW,34);

   Var6:=HHV(Var4,34);

   Var7:=IF(LLV(LOW,56),1,0);

   Var8:=EMA(IF(LOW<=Var5,(Var4+Var6*2)/2,0),3)/618*Var7;

   Var9:=EMA(CLOSE,5);

   Var10:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(10);

   Var11:=EMA(IF(LOW<=Var5,(Var4+Var6*2)/2,0),3)/618*Var7*(-1);

   主力持仓:LOW,colorFF10FF,linethick0;

   增减力度:Var10*5,colorWHITE;

   XL1:=MA(LOW,2)*0.96;

   XL2:=MA(LOW,26)*0.85;

   XL3:=REF(XL1,1)<XL2ANDREF(XL1,1)<XL1ANDREF(XL1,1)<REF(XL1,2);

   STICKLINE(XL3,0,Var8*3,4,0),Color006EFF;

   DRAWTEXT(XL3,Var8*2,’买’),Color006EFF;

   ↑买:DRAWICON(XL3,Var8*3,4),COLORRED;

   增仓:IF(Var9<REF(Var9,1),Var9*0.2,0),color1010FF,linethick0;

   STICKLINE(Var8>REF(Var8,1),0,Var8,4,1),color10FFFF,linethick0;

   主力进场:IF(Var8>REF(Var8,1),Var8*8,0),color10FFFF,linethick0;

   STICKLINE(Var11>REF(Var11,1),0,Var11,4,1),colorFFF810;

   洗盘:IF(Var11>REF(Var11,1),Var11*8,0),colorFFF810,linethick0;

   BS买卖

   DRAWGBK(c,’7′);

   Var3:=LLV(H,240);

   Var4:=100*(C-Var3)/Var3;

   Var5:=(C-LLV(L,528))/(HHV(H,528)-LLV(L,528))*100;

   Var6:=(C-LLV(C,530))/(HHV(C,530)-LLV(C,530))*100;

   Var7:=0;

   Var8:=MA(HHV(C-REF(C,1),0),34)/MA(ABS(C-REF(C,1)),7)*100;

   Var9:=MA(HHV(C-REF(C,1),0),13)/MA(ABS(C-REF(C,1)),13)*100;

   VarA:=BARSCOUNT(C);

   VarB:=Var8<20ANDVar9<23ANDVarA>35;

   VarC:=VarBANDCOUNT(VarB,1)=1;

   VarD:=EMA(C,21)-EMA(C,8);

   VarE:=EMA(VarD,5);

   VarF:=TROUGH(3,6,1)<4ANDCROSS(VarD,VarE);

   Var10:=IF(TROUGH(3,16,1)=0ANDH>L+0.04,4,0);

   Var11:=ZIG(3,6)>REF(ZIG(3,6),1)ANDREF(ZIG(3,6),1)<=REF(ZIG(3,6),2)ANDREF(ZIG(3,6),2)<=REF(ZIG(3,6),3);

   Var12:=ZIG(3,6)<REF(ZIG(3,6),1)ANDREF(ZIG(3,6),1)>=REF(ZIG(3,6),2)ANDREF(ZIG(3,6),2)>=REF(ZIG(3,6),3);

   Var13:=ZIG(3,22)>REF(ZIG(3,22),1)ANDREF(ZIG(3,22),1)<=REF(ZIG(3,22),2)ANDREF(ZIG(3,22),2)<=REF(ZIG(3,22),3);

   Var14:=ZIG(3,22)<REF(ZIG(3,22),1)ANDREF(ZIG(3,22),1)>=REF(ZIG(3,22),2)ANDREF(ZIG(3,22),2)>=REF(ZIG(3,22),3);

   Var15:=ZIG(3,51)>REF(ZIG(3,51),1)ANDREF(ZIG(3,51),1)<=REF(ZIG(3,51),2)ANDREF(ZIG(3,51),2)<=REF(ZIG(3,51),3);

   Var16:=ZIG(3,51)<REF(ZIG(3,51),1)ANDREF(ZIG(3,51),1)>=REF(ZIG(3,51),2)ANDREF(ZIG(3,51),2)>=REF(ZIG(3,51),3);

   Var17:=ZIG(3,72)>REF(ZIG(3,72),1)ANDREF(ZIG(3,72),1)<=REF(ZIG(3,72),2)ANDREF(ZIG(3,72),2)<=REF(ZIG(3,72),3);

   Var18:=ZIG(3,72)<REF(ZIG(3,72),1)ANDREF(ZIG(3,72),1)>=REF(ZIG(3,72),2)ANDREF(ZIG(3,72),2)>=REF(ZIG(3,72),3);

   Var19:=EMA(C,2)-EMA(C,150);

   Var1A:=EMA(Var19,100);

   Var1B:=2*(Var19-Var1A);

   Var1C:=POW(Var1B,3)*0.1+POW(Var1B,1);

   Var1D:=SQRT(SQRT(L*H*O*C));

   Var1E:=EMA(Var1D*0.97,3);

   Var1F:=(H+L+C)/3;

   Var20:=(Var1F-MA(Var1F,14))/(0.015*AVEDEV(Var1F,14));

   Var21:=CROSS(Var1E,L);

   买点1:=Var10;

   买点2:=(Var11+Var13+Var15+Var17);

   卖点1:=(Var12+Var14+Var16+Var18);

   Var22:=买点1ANDVarFANDVarCANDVar21ANDVar4<0ANDVar5=0ANDVar6=0ANDVar20<(-110);

   DRAWTEXT(买点1>0,L-0.15,’B’),LINETHICK4,ALIGN1,colorred;

   DRAWTEXT(买点2>0,L-0.15,’B’),LINETHICK4,ALIGN1,COLORFF00FF;

   DRAWTEXT(卖点1>0,H+0.35,’S’),LINETHICK4,ALIGN1,COLOR33FF33;

   江恩轮--大智慧副图指标底部注意:白色出现

   低位转强:黄色出现

   买点:红色出现

   坚定持股:保持红色

   谨慎观望:紫色出现

   果断持币:蓝色出现

   特别要注意轮的交叉和穿越

   VarA:=BARSCOUNT(CLOSE)*3.142/180;

   A2:SIN(VarA*8)*100,linethick2;

   A3:COS(VarA*8)*100,linethick2;

   X1:0;

   Var1:=MA(CLOSE,5);

   Var2:=MA(CLOSE,10);

   Var3:=MA(CLOSE,20);

   Var4:=MA(CLOSE,30);

   Var5:=(Var1+Var2+Var3+Var4)/4;

   Var6:=(Var5-REF(Var5,5))/REF(Var5,5)*1500;

   Var7:=(Var5-REF(Var5,5))/REF(Var5,5)*1500;

   Var8:=EMA(Var6,8);

   底部注意:STICKLINE(Var6>REF(Var6,1)ANDVar6<0ANDVar6<Var8,Var6,0,5,0);

   低位转强:STICKLINE(Var8>REF(Var8,1)ANDVar6<0ANDVar6>Var8,Var8,0,5,0),COLORYELLOW;

   买点:STICKLINE(Var6>REF(Var6,1)ANDVar6>0ANDVar8<0,Var6,Var8,10,0);

   DRAWICON(FILTER(Var6>REF(Var6,1)ANDVar6>0ANDVar8<0,30),-140,4);

   DRAWTEXT(FILTER(Var6>REF(Var6,1)ANDVar6>0ANDVar8<0,30),-40,’买点’),COLORffffff;

   坚定持股:STICKLINE(Var8>REF(Var8,1)ANDVar8>0,Var6,0,5,0),COLORred;

   谨慎观望:STICKLINE(Var6<REF(Var6,1)ANDVar8>REF(Var8,1)ANDVar6>0,Var6,Var8,10,0);

   果断持币:STICKLINE(Var6<REF(Var6,1)ANDVar6<Var8,Var6,Var8,5,1),COLORffff00;

   当日换手:V/CAPITAL*100,COLORYELLOW,NODRAW;

   获利盘:WINNER(C)*100,NODRAW;

   FC:=(WINNER(C*1.1)-WINNER(C*0.9))/WINNER(HHV(H,0)),NODRAW;

   相对换手:V/(CAPITAL*FC)*100,NODRAW;

   观望者众:相对换手<=6,NODRAW,COLORWHITE;

   交投活跃:相对换手>6AND相对换手<14,NODRAW,COLORGREEN;

   成交异常:相对换手>=14,NODRAW,COLORRED;

   博傻警戒线:=80;

   STICKLINE(观望者众,0,相对换手,1,1),COLORWHITE;

   STICKLINE(交投活跃,0,相对换手,1,1),COLORGREEN;

   STICKLINE(成交异常,0,相对换手,1,1),COLORRED;

   STICKLINE(相对换手>博傻警戒线,相对换手+2,相对换手+3,0.5,1),COLORYELLOW;

   套牢者众:获利盘<=30,NODRAW,COLORWHITE;

   输赢各半:获利盘>30AND获利盘<70,NODRAW,COLORGREEN;

   多数获利:获利盘>=70,NODRAW,COLORRED;

   STICKLINE(套牢者众,0,相对换手/2,1,0),COLORWHITE;

   STICKLINE(输赢各半,0,相对换手/2,1,0),COLORGREEN;

   STICKLINE(多数获利,0,相对换手/2,1,0),COLORRED;

   博傻者众:相对换手>博傻警戒线,NODRAW,COLORYELLOW;

大智慧炒股公式截图

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。