副图公式源码支持: 手机/电脑
STICKLINE(C>=O,H,L,0,1),COLOR0000FF;
STICKLINE(C>O,C,O,2,0),COLOR000066;
STICKLINE(C>O,C,O,1.5,0),COLOR000088;
STICKLINE(C>O,C,O,1,0),COLOR0000AA;
STICKLINE(C>O,C,O,0,0),COLOR0000CC;
STICKLINE(C<O,H,L,0,1),colorcyan;
STICKLINE(O>=C,C,O,2,0),COLORFF8800;
STICKLINE(O>=C,C,O,1.5,0),COLORFFAA00;
STICKLINE(O>=C,C,O,1,0),COLORFFCC00;
STICKLINE(O>=C,C,O,0,0),COLORFFEE00;
均衡线:EMA(C,21),COLOR0066FF;
GUC1:=EMA(INDEXC,144)/MA(C,144);
大盘均衡线:EMA(INDEXC/GUC1,21),COLOR990000,LINETHICK2;
GUD1:=INDEXO/GUC1;
GUD2:=INDEXH/GUC1;
GUD3:=INDEXL/GUC1;
GUD4:=INDEXC/GUC1;
STICKLINE(GUD4>=REF(GUD4,1),GUD3,GUD2,0,1),COLOR000066;
STICKLINE(GUD4>=REF(GUD4,1),GUD4,GUD1,2,1),COLOR000066;
STICKLINE(GUD4<REF(GUD4,1),GUD3,GUD2,0,1),colorlicyan;
STICKLINE(GUD4<REF(GUD4,1),GUD4,GUD1,2,1),colorlicyan;
强于大盘:=CROSS(均衡线,大盘均衡线) AND EMA(C,21)>REF(EMA(C,21),1);
DRAWTEXT(强于大盘,均衡线,'买');
选股公式源码
{选股公式:买}
均衡线:=EMA(C,21),COLOR0066FF;
GUC1:=EMA(INDEXC,144)/MA(C,144);
大盘均衡线:=EMA(INDEXC/GUC1,21),COLOR990000,LINETHICK2;
GUD1:=INDEXO/GUC1;
GUD2:=INDEXH/GUC1;
GUD3:=INDEXL/GUC1;
GUD4:=INDEXC/GUC1;
强于大盘:=CROSS(均衡线,大盘均衡线) AND EMA(C,21)>REF(EMA(C,21),1);
买:强于大盘; |