副图公式源码支持 手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=EMA(G1,12)-EMA(G1,26);
GUP2:=EMA(GUP1,9);
GUP3:=(GUP1-GUP2)*2*60;
GUP4:=GUP3>REF(GUP3,1);
GUP5:=GUP3-REF(GUP3,1);
GUP6:=GUP5>10 AND GUP3>0 AND GUP4>0;
GUP7:=EMA(WINNER(G1)*70,5);
GUP8:=EMA((WINNER(G1*1.1)-WINNER(G1*0.9))*80,5);
GUP9:=GUP7>GUP8;
GUP10:=MA(G1,5);
GUP11:=MA(G1,10);
GUP12:=MA(G1,20);
GUP13:=IF(G1>=GUP10,1,(-1));
GUP14:=IF(G1>=GUP11,1,(-1));
GUP15:=IF(G1>=GUP12,1,(-1));
GUP16:=IF(GUP10>=REF(GUP10,1),1,(-1));
GUP17:=IF(GUP11>=REF(GUP11,1),1,(-1));
GUP18:=IF(GUP12>=REF(GUP12,1),1,(-1));
GUP19:=(GUP13+GUP14+GUP15+GUP16+GUP17+GUP18)/6*100;
GUP20:=GUP19>=50;
GUP21:=EMA(INDEXC,240)/EMA(G1,240);
GUP22:=INDEXC/GUP21;
GUP23:=MA(GUP22,5);
牛:=FILTER(GUP6 AND GUP20,10);
STICKLINE(牛,60,90,1,0),COLORYELLOW;
DRAWTEXT(牛,80,' 强牛'),COLORYELLOW;
GUP1111:=IF(HHV(ABS(HHV(G1,6)/LLV(G1,6)-1),6)>10/100,3,6);
GUP2222:=IF(MINUTE=5,GUP1111*48,IF(MINUTE=15,GUP1111*16,IF(MINUTE=30,GUP1111*8,IF(MINUTE=60,GUP1*4,GUP1111))));
GUP3333:=VOL<MA(VOL,5) AND MA(VOL,5)<MA(VOL,55);
GUP4444:=G1/REF(G1,1)>1.025;
GUP5555:=MA(G1,10)>G1*1.05;
GUP6666:=MA(G1,10)<G1*1.1;
GUP7777:=MA(G1,60)>G1*1.28;
GUP8888:=GUP3333 AND GUP4444 AND GUP5555 AND GUP6666 AND GUP7777;
底:=FILTER(GUP2222 AND GUP8888,10);
STICKLINE(底,60,90,1,0),COLORMAGENTA;
DRAWTEXT(底,80,' 抄底'),COLORMAGENTA;
选股公式源码
{选股公式一:强牛}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=EMA(G1,12)-EMA(G1,26);
GUP2:=EMA(GUP1,9);
GUP3:=(GUP1-GUP2)*2*60;
GUP4:=GUP3>REF(GUP3,1);
GUP5:=GUP3-REF(GUP3,1);
GUP6:=GUP5>10 AND GUP3>0 AND GUP4>0;
GUP7:=EMA(WINNER(G1)*70,5);
GUP8:=EMA((WINNER(G1*1.1)-WINNER(G1*0.9))*80,5);
GUP9:=GUP7>GUP8;
GUP10:=MA(G1,5);
GUP11:=MA(G1,10);
GUP12:=MA(G1,20);
GUP13:=IF(G1>=GUP10,1,(-1));
GUP14:=IF(G1>=GUP11,1,(-1));
GUP15:=IF(G1>=GUP12,1,(-1));
GUP16:=IF(GUP10>=REF(GUP10,1),1,(-1));
GUP17:=IF(GUP11>=REF(GUP11,1),1,(-1));
GUP18:=IF(GUP12>=REF(GUP12,1),1,(-1));
GUP19:=(GUP13+GUP14+GUP15+GUP16+GUP17+GUP18)/6*100;
GUP20:=GUP19>=50;
GUP21:=EMA(INDEXC,240)/EMA(G1,240);
GUP22:=INDEXC/GUP21;
GUP23:=MA(GUP22,5);
强牛:FILTER(GUP6 AND GUP20,10);
{选股公式二:抄底}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=EMA(G1,12)-EMA(G1,26);
GUP1111:=IF(HHV(ABS(HHV(G1,6)/LLV(G1,6)-1),6)>10/100,3,6);
GUP2222:=IF(MINUTE=5,GUP1111*48,IF(MINUTE=15,GUP1111*16,IF(MINUTE=30,GUP1111*8,IF(MINUTE=60,GUP1*4,GUP1111))));
GUP3333:=VOL<MA(VOL,5) AND MA(VOL,5)<MA(VOL,55);
GUP4444:=G1/REF(G1,1)>1.025;
GUP5555:=MA(G1,10)>G1*1.05;
GUP6666:=MA(G1,10)<G1*1.1;
GUP7777:=MA(G1,60)>G1*1.28;
GUP8888:=GUP3333 AND GUP4444 AND GUP5555 AND GUP6666 AND GUP7777;
抄底:FILTER(GUP2222 AND GUP8888,10); |