九毛八公式指标
VAR1:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100; VAR2:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100; VAR3:=BARSCOUNT(CLOSE); VAR4:=VAR1<20 and var2<23 var3>35; VAR5:=VAR4 AND COUNT(VAR4,1)=1; VAR6:=EMA(CLOSE,21)-EMA(CLOSE,8); VAR7:=EMA(VAR6,5); VAR8:=TROUGHBARS(3,6,1)<4 and cross(var6,var7); var9:=(HIGH+LOW+CLOSE)/3; var10:=IF(TROUGHBARS(3,16,1)=0 high>LOW+0.04,4,0); VAR11:=(VAR9-MA(VAR9,14))/(0.015*AVEDEV(VAR9,14)); 见底: VAR10,COLORYELLOW,LINETHICK3; DRAWTEXT(VAR11<-110 and 见底>0,3,'见底'), ,COLORYELLOW; DRAWTEXT(见底 AND VAR11<-100 and var8 var5>0,4.1,'★组合5分钟线选股思路获利5%以上'), , COLORRED; DRAWICON(见底>0,4,1); XX:=EMA(CLOSE,30)-EMA(CLOSE,17); AA:=EMA(XX,5); YY:=EMA(XX,13); 短:=TROUGHBARS(3,10,1)<1 and cross(xx,aa); drawicon(短>0,1.8,18); DRAWTEXT(短>0,1.8,'慧眼'),COLORWHITE; 枪:=TROUGHBARS(3,5,1)<1 and xx
公式模块:
troughbars(3,16,1)=0 and high>low+0.04 and ((high+low+close)/3-ma((high+low+close)/3,14))/(0.015*avedev((high+low+close)/3,14))<-110;