副图公式源码支持 手机/电脑
GUP1:=C>=ZTPRICE(REF(C,1),0.1);N:=2;
GUP2:=(COUNT(GUP1,N)=1 AND GUP1);
GUP3:=V/700000000;
GUP4:=1.1*(MAX(H,REF(C,1))/MIN(L,REF(C,1))-1);
GUP5:=2.5*MAX(GUP3,GUP4);
GUP6:=DMA(C,GUP5);
GUP7:=SMA(20*(GUP6/REF(GUP6,1)-1),2,1);
GUP8:=EMA(GUP7,2);
GUP9:=0.24;
GUP10:=C>=REF(C,1);
GUP11:= IF(GUP7>GUP9 AND GUP8>=0.005 AND GUP10,1,0);
GUP12:=CROSS(GUP11,0.5) AND COUNT(GUP11>0.5,10)=1;
GUP13:="KDJ.J"-REF("KDJ.J",1)>30 AND C/REF(C,1)>1.043 AND "MACD.MACD">0 AND "MACD.DEA">0;
GUP14:=C/REF(C,1)>1.048 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));
GUP15:=FILTER(GUP14,28)*100 AND L>REF(C,1)*0.93;
GUP16:=GUP13 OR GUP15 AND GUP12;
GUP17:=9;
GUP18:=10;
GUP19:=C/REF(C,1)>1+0.01*GUP17;
GUP20:=EXIST(C/REF(C,1)>1+0.01*GUP17,GUP18);
GUP21:=C/REF(C,1)>1+0.01*GUP17;
GUP22:=IF(GUP19+GUP20+GUP21=3,1,0);
GUP23:=(H-C)/(C-O)<0.33;
GUP24:=(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);
GUP25:=(C/REF(C,1)-1)>=0.08;
GUP26:=V>REF(V,1)*1.9 AND C>REF(C,1) AND C/REF(C,1)-1>=0.049 AND GUP23;
GUP27:=(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 GUP23;
GUP28:=EMA(2.055*EMA(EMA(H,34),34)-EMA(EMA(L,34),34),5),COLORCYAN,LINETHICK2;
GUP29:=IF(FILTER(GUP26 OR GUP27 OR GUP24 OR GUP25 AND GUP28>C,34),1,0) AND GUP22;
GUP30:=GUP16 OR GUP29;
GUP31:=CROSS(GUP30,1),GUP30-GUP30*0.14 AND GUP2;
GUP32:=H=C;
GUP33:=(C-REF(C,1))/REF(C,1)*100>=0.93 AND GUP32;
GUP34:=BARSLAST(GUP31);
再板:GUP34 AND GUP33 AND GUP34<=1,NODRAW;
STICKLINE(再板,0,3,3,0),COLORLIMAGENTA;
DRAWTEXT(再板,2,'再板擒牛'),COLORWHITE;
选股公式源码
{选股公式}
GUP1:=C>=ZTPRICE(REF(C,1),0.1);N:=2;
GUP2:=(COUNT(GUP1,N)=1 AND GUP1);
GUP3:=V/700000000;
GUP4:=1.1*(MAX(H,REF(C,1))/MIN(L,REF(C,1))-1);
GUP5:=2.5*MAX(GUP3,GUP4);
GUP6:=DMA(C,GUP5);
GUP7:=SMA(20*(GUP6/REF(GUP6,1)-1),2,1);
GUP8:=EMA(GUP7,2);
GUP9:=0.24;
GUP10:=C>=REF(C,1);
GUP11:= IF(GUP7>GUP9 AND GUP8>=0.005 AND GUP10,1,0);
GUP12:=CROSS(GUP11,0.5) AND COUNT(GUP11>0.5,10)=1;
GUP13:="KDJ.J"-REF("KDJ.J",1)>30 AND C/REF(C,1)>1.043 AND "MACD.MACD">0 AND "MACD.DEA">0;
GUP14:=C/REF(C,1)>1.048 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));
GUP15:=FILTER(GUP14,28)*100 AND L>REF(C,1)*0.93;
GUP16:=GUP13 OR GUP15 AND GUP12;
GUP17:=9;
GUP18:=10;
GUP19:=C/REF(C,1)>1+0.01*GUP17;
GUP20:=EXIST(C/REF(C,1)>1+0.01*GUP17,GUP18);
GUP21:=C/REF(C,1)>1+0.01*GUP17;
GUP22:=IF(GUP19+GUP20+GUP21=3,1,0);
GUP23:=(H-C)/(C-O)<0.33;
GUP24:=(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);
GUP25:=(C/REF(C,1)-1)>=0.08;
GUP26:=V>REF(V,1)*1.9 AND C>REF(C,1) AND C/REF(C,1)-1>=0.049 AND GUP23;
GUP27:=(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 GUP23;
GUP28:=EMA(2.055*EMA(EMA(H,34),34)-EMA(EMA(L,34),34),5),COLORCYAN,LINETHICK2;
GUP29:=IF(FILTER(GUP26 OR GUP27 OR GUP24 OR GUP25 AND GUP28>C,34),1,0) AND GUP22;
GUP30:=GUP16 OR GUP29;
GUP31:=CROSS(GUP30,1),GUP30-GUP30*0.14 AND GUP2;
GUP32:=H=C;
GUP33:=(C-REF(C,1))/REF(C,1)*100>=0.93 AND GUP32;
GUP34:=BARSLAST(GUP31);
再板:=GUP34 AND GUP33 AND GUP34<=1;
再板擒妖:再板; |