通達信【直升飛機】副圖指標 可做選股 跟蹤熱點龍頭股 跟強做強 源碼分享
AFL1:=C>=ZTPRICE(REF(C,1),0.1);N:=2; AFL2:=(COUNT(AFL1,N)=1 AND AFL1); AFL3:=V/700000000; AFL4:=1.1*(MAX(H,REF(C,1))/MIN(L,REF(C,1))-1); AFL5:=2.5*MAX(AFL3,AFL4); AFL6:=DMA(C,AFL5); AFL7:=SMA(20*(AFL6/REF(AFL6,1)-1),2,1); AFL8:=EMA(AFL7,2); AFL9:=0.24; AFL10:=C>=REF(C,1); AFL11:= IF(AFL7>AFL9 AND AFL8>=0.005 AND AFL10,1,0); AFL12:=CROSS(AFL11,0.5) AND COUNT(AFL11>0.5,10)=1; AFL13:="KDJ.J"-REF("KDJ.J",1)>30 AND C/REF(C,1)>1.043 AND "MACD.MACD">0 AND "MACD.DEA">0; AFL14:=C/REF(C,1)>1.048 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12)); AFL15:=FILTER(AFL14,28)*100 AND L>REF(C,1)*0.93; AFL16:=AFL13 OR AFL15 AND AFL12; AFL17:=9; AFL18:=10; AFL19:=C/REF(C,1)>1+0.01*AFL17; AFL20:=EXIST(C/REF(C,1)>1+0.01*AFL17,AFL18); AFL21:=C/REF(C,1)>1+0.01*AFL17; AFL22:=IF(AFL19+AFL20+AFL21=3,1,0); AFL23:=(H-C)/(C-O)<0.33; AFL24:=(C/REF(C,1)-1)>=0.0502 AND C>REF(C,1) AND (O-L)/(C-O)>=1.48 AND L<REF(L,1) AND L<REF(L,2); AFL25:=(C/REF(C,1)-1)>=0.08; AFL26:=V>REF(V,1)*1.9 AND C>REF(C,1) AND C/REF(C,1)-1>=0.049 AND AFL23; AFL27:=(C/REF(C,1)-1)>=0.0502 AND C>REF(C,1) AND V>REF(V,1) AND V>REF(V,1)*2.5 AND AFL23; AFL28:=EMA(2.055*EMA(EMA(H,34),34)-EMA(EMA(L,34),34),5),COLORCYAN,LINETHICK2; AFL29:=IF(FILTER(AFL26 OR AFL27 OR AFL24 OR AFL25 AND AFL28>C,34),1,0) AND AFL22; AFL30:=AFL16 OR AFL29; AFL31:=CROSS(AFL30,1),AFL30-AFL30*0.14 AND AFL2; AFL32:=H=C; AFL33:=(C-REF(C,1))/REF(C,1)*100>=0.93 AND AFL32; AFL34:=BARSLAST(AFL31); 直升:AFL34 AND AFL33 AND AFL34<=1,NODRAW; STICKLINE(直升,0,3,3,0),COLORLIMAGENTA; DRAWTEXT(直升,2,'直升飛機'),COLORWHITE; {本文技術(shù)支持:好公式網(wǎng)www.goodgongshi.com} |