以下是同花顺招财进宝源码

MA6:MA(CLOSE,6),colorwhite,LINETHICK2;

MA35:MA (CLOSE,35),colormagenta,LINETHICK2;

买线:=EMA (C,2);

卖线:=EMA(SLOPE(C,8)*1+C,8);

BUY1:=CROSS(买线,卖线);

SEL:=CROSS(卖线,买线);DRAWTEXT(BUY1,LOW*0.95,’招财’),colorwhite,LINETHICK5;

DRAWTEXT (SEL,HIGH*1.05,’进宝’),colorwhite,LINETHICK5;

STICKLINE(买线>=卖线,LOW,HIGH,0.1,0),colorred ;

STICKLINE(买线>=卖线,CLOSE,OPEN,3,3),colorred ;

STICKLINE(买线<卖线,CLOSE,OPEN,3,3),colorcyan;

STICKLINE(买线<卖线,LOW,HIGH,0.1,0),colorcyan;

STICKLINE(CROSS(买线,卖线) OR CROSS(卖线,买线),OPEN,CLOSE,2.5,0),colorwhite;

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