副图公式源码支持 手机/电脑
N:=14;0;
GUP1:=(HIGH+LOW+CLOSE)/3;
GUP2:=(GUP1-MA(GUP1,N))*1000/(15*AVEDEV(GUP1,N));
GUP5:=COUNT(CROSS(GUP2,-100),21)>=2;
GUP6:=COUNT(GUP2<-100,21)>8;
GUP7:=CROSS(GUP2,-100);
GUP8:=GUP5 AND GUP6 AND GUP7;
DRAWICON(GUP5 AND GUP6 AND GUP7,80,25);
GUB1:=GUP8>0;
GUB2:=BARSLAST(GUB1);
GUA1:=GUB2<=6;
GUA2:=C>EMA(C,13);
GUA3:=EMA(C,21)-EMA(C,13);
GUA4:=REF(EMA(C,21),1)-REF(EMA(C,13),1);
GUA5:=GUA3<GUA4;
GUA6:=GUA1 AND GUA2 AND GUA5;
GUA7:=IF(FILTER(GUA6>0,5),1,0);
DRAWICON(GUA7,100,26);
选股公式源码
{选股公式一:黄钻石图标}
N:=14;
GUP1:=(HIGH+LOW+CLOSE)/3;
GUP2:=(GUP1-MA(GUP1,N))*1000/(15*AVEDEV(GUP1,N));
GUP5:=COUNT(CROSS(GUP2,-100),21)>=2;
GUP6:=COUNT(GUP2<-100,21)>8;
GUP7:=CROSS(GUP2,-100);
GUP8:=GUP5 AND GUP6 AND GUP7;
GUB1:=GUP8>0;
GUB2:=BARSLAST(GUB1);
GUA1:=GUB2<=6;
GUA2:=C>EMA(C,13);
GUA3:=EMA(C,21)-EMA(C,13);
GUA4:=REF(EMA(C,21),1)-REF(EMA(C,13),1);
GUA5:=GUA3<GUA4;
GUA6:=GUA1 AND GUA2 AND GUA5;
GUA7:=IF(FILTER(GUA6>0,5),1,0);
黄钻石图标:GUA7;
{选股公式二:红钻石图标}
N:=14;
GUP1:=(HIGH+LOW+CLOSE)/3;
GUP2:=(GUP1-MA(GUP1,N))*1000/(15*AVEDEV(GUP1,N));
GUP5:=COUNT(CROSS(GUP2,-100),21)>=2;
GUP6:=COUNT(GUP2<-100,21)>8;
GUP7:=CROSS(GUP2,-100);
GUP8:=GUP5 AND GUP6 AND GUP7;
GUB1:=GUP8>0;
GUB2:=BARSLAST(GUB1);
GUA1:=GUB2<=6;
红钻石图标:GUP5 AND GUP6 AND GUP7; |