通达信红绿操盘红色持股主图指标公式
通达信红绿操盘红色持股主图指标公式:
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWTEXT(BU,LOW+0.1,'买'),COLORRED,LINETHICK3;
DRAWTEXT(BU,LOW+0.1,' ̄'),COLOR0000FF,LINETHICK3;
DRAWTEXT(SEL,HIGH+0.1,' ̄'),COLORFFF000,LINETHICK3;
DRAWTEXT(SEL,HIGH+0.1,'卖'),COLORGREEN,LINETHICK3;
STICKLINE(买线>=卖线,LOW,HIGH,0.1,1),COLORRED;
STICKLINE(买线>=卖线,CLOSE,OPEN,8,1),COLORRED;
STICKLINE(买线<卖线,CLOSE,OPEN,8,0),COLOR00FF00;
STICKLINE(买线<卖线,LOW,HIGH,0.1,1),COLOR00FF00;
通达信红绿操盘红色持股主图指标公式实例图解:
通达信红绿操盘红色持股主图指标公式