副图公式 源码支持手机/电脑
N:=2 OR 3 OR 4 OR 5;
GUP1:=BARSLAST(EVERY(H/REF(C,1)>1.09,N));
GUP2:=IF(REF(L,GUP1+N-1)>REF(H,GUP1+N),REF(C,GUP1+N),REF(O,GUP1+N-1));
GUP3:=BETWEEN(GUP1,1,59);
GUP4:=C>=GUP2 AND BETWEEN(L/GUP2,1.035,0.97);
GUP5:= V<REF(V,1) AND V<MA(V,5);GUP6:= ABS(C/O-1)*100<5;
GUP7:= LLV(C,GUP1+N-1)>=GUP2;
GUP8:= MACD>-1;
低吸:GUP3 AND GUP4 AND GUP5 AND GUP6 AND GUP7 AND GUP8,COLORRED;
GUA1:=EMA(EMA(CLOSE,13),13);
GUA2:=(GUA1-REF(GUA1,1))/REF(GUA1,1)*1000;
GUA3:=DYNAINFO(11);
GUA4:=(EMA(CLOSE,8)-EMA(CLOSE,55))*10;
GUA5:=EMA(GUA4,3);
GUA6:=(C-GUA3)/GUA3<-0.03;
GUA7:=GUA2>REF(GUA2,1) AND GUA2<-0.2;
GUA8:=CROSS(GUA4,GUA5) AND GUA4<-0.3;
买入:=GUA6 AND GUA7 AND GUA8;
STICKLINE(买入,10,0,2,0),COLORMAGENTA,LINETHICK2;
选股公式源码
{选股公式一:低吸}
N:=2 OR 3 OR 4 OR 5;
GUP1:=BARSLAST(EVERY(H/REF(C,1)>1.09,N));
GUP2:=IF(REF(L,GUP1+N-1)>REF(H,GUP1+N),REF(C,GUP1+N),REF(O,GUP1+N-1));
GUP3:=BETWEEN(GUP1,1,59);
GUP4:=C>=GUP2 AND BETWEEN(L/GUP2,1.035,0.97);
GUP5:= V<REF(V,1) AND V<MA(V,5);GUP6:= ABS(C/O-1)*100<5;
GUP7:= LLV(C,GUP1+N-1)>=GUP2;
GUP8:= MACD>-1;
低吸:GUP3 AND GUP4 AND GUP5 AND GUP6 AND GUP7 AND GUP8,COLORRED;
{选股公式二:买入}
GUA1:=EMA(EMA(CLOSE,13),13);
GUA2:=(GUA1-REF(GUA1,1))/REF(GUA1,1)*1000;
GUA3:=DYNAINFO(11);
GUA4:=(EMA(CLOSE,8)-EMA(CLOSE,55))*10;
GUA5:=EMA(GUA4,3);
GUA6:=(C-GUA3)/GUA3<-0.03;
GUA7:=GUA2>REF(GUA2,1) AND GUA2<-0.2;
GUA8:=CROSS(GUA4,GUA5) AND GUA4<-0.3;
买入:GUA6 AND GUA7 AND GUA8;
|