以下是通达信操盘圣手主图公式源码

通达信操盘圣手主图公式源码

MA5:MA(CLOSE,5),COLORCCCCCC;
MA10:MA(CLOSE,10),COLOR00BBBB;
MA21:MA(CLOSE,21),COLOR00AA00;
MA30:MA(CLOSE,30),COLOR990099;
MA60:MA(CLOSE,60),COLOR000088;
MA120:MA(CLOSE,120),COLOR777700;

买线:EMA(C,2),POINTDOT,COLOR0000DD;
卖线:EMA(SLOPE(C,21)*20+C,42),POINTDOT,COLOR00DD00;
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWTEXT(BU,LOW*0.99,’B’),COLORCC00FF,LINETHICK1;
DRAWTEXT(SEL,HIGH*1.04,’S’),COLOR00CC00,LINETHICK1;
STICKLINE(买线>=卖线,LOW,HIGH,0,0),COLOR0000CC;
STICKLINE(买线>=卖线,CLOSE,OPEN,2,0),COLOR0000CC;

STICKLINE(买线<卖线,CLOSE,OPEN,2,0),COLORCCCC00;
STICKLINE(买线<卖线,LOW,HIGH,0,0),COLORCCCC00;

STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,2,0),COLORDD00DD;
STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,2,0),COLOR00DD00;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。