副图公式源码支持 手机/电脑
GUP1:=EMA(C,13);
GUP2:=EMA(C,12)-EMA(C,26);
GUP3:=EMA(GUP2,9);
GUP4:=(GUP2-GUP3)*2;
GUP5:=GUP1>REF(GUP1,1) AND GUP4>REF(GUP4,1);
GUP6:=GUP1<REF(GUP1,1) AND GUP4<REF(GUP4,1);
GUP7:=IF(GUP5 OR GUP6,0,1);
STICKLINE(GUP5,H,L,0,1),colormagenta;
STICKLINE(GUP5,C,O,3,1),colormagenta;
STICKLINE(GUP6,H,L,0,0),colorgreen;
STICKLINE(GUP6,C,O,3,0),colorgreen;
STICKLINE(GUP7,H,L,0,0),colorblue;
STICKLINE(GUP7,C,O,3,0),colorblue;
GUP8:=BARSLAST(GUP5);
GUP9:=COUNT(GUP7 OR GUP6,GUP8);
DRAWICON(GUP5 AND REF(GUP5,1)=0,L,1);
DRAWICON((GUP7 OR GUP6) AND GUP9=1,H,2);
选股公式源码
{选股公式:红箭头图标}
GUP1:=EMA(C,13),COLORWHITE;
GUP2:=EMA(C,12)-EMA(C,26),COLORWHITE;
GUP3:=EMA(GUP2,9),COLORWHITE;
GUP4:=(GUP2-GUP3)*2,COLORWHITE;
GUP5:=GUP1>REF(GUP1,1) AND GUP4>REF(GUP4,1);
GUP6:=GUP1<REF(GUP1,1) AND GUP4<REF(GUP4,1);
GUP7:=IF(GUP5 OR GUP6,0,1),COLORWHITE;
GUP8:=BARSLAST(GUP5),COLORWHITE;
GUP9:=COUNT(GUP7 OR GUP6,GUP8);
红箭头图标:GUP5 AND REF(GUP5,1)=0;
{卖出公式:绿箭头图标}
GUP1:=EMA(C,13),COLORWHITE;
GUP2:=EMA(C,12)-EMA(C,26),COLORWHITE;
GUP3:=EMA(GUP2,9),COLORWHITE;
GUP4:=(GUP2-GUP3)*2,COLORWHITE;
GUP5:=GUP1>REF(GUP1,1) AND GUP4>REF(GUP4,1);
GUP6:=GUP1<REF(GUP1,1) AND GUP4<REF(GUP4,1);
GUP7:=IF(GUP5 OR GUP6,0,1);
GUP8:=BARSLAST(GUP5);
GUP9:=COUNT(GUP7 OR GUP6,GUP8);
绿箭头图标
GUP7 OR GUP6) AND GUP9=1; |