以下是同花顺波段指标买卖指标公式

 向上出现交叉就买入,向下交叉就卖出,比较准,上面买卖指标慢了一个交易日.

80,CIRCLEDOT;

20,CIRCLEDOT;

8,CIRCLEDOT;

0;100;

VAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*50;

AA: (EMA(VAR1,3))*2;

BB:MA(AA,3);

STICKLINE(AA>=BB,53,47,4,0),COLOREE82EE;

STICKLINE(AA<BB,53,47,4,1),COLORB3EE3A;

STICKLINE(CROSS(AA,20),58,42,2,0),COLORB23AEE;

VAR2:8,colorgreen,LINETHICK0;

IF(CROSS(AA,VAR2),40,0),STICK,LINETHICK2;

DRAWICON(CROSS(AA,VAR2),40,13);

DRAWICON(CROSS(80,AA),80,14);

IF(AA<=8,5,0),STICK,COLORFF00FF,LINETHICK5;

STICKLINE(CROSS(80,AA),80,70,0.2,0),COLOR00FF00;

DRAWICON(CROSS(80,AA),70,2);

DRAWTEXT(CROSS(80,AA),68,’卖’);

DRAWTEXT(CROSS(AA,VAR2),49,’买’);

DRAWICON(CROSS(AA,20),30,1);

STICKLINE(CROSS(AA,20),20,30,0.2,0),colorred;

DRAWICON(CROSS(AA,20),20,13);

DRAWICON(CROSS(AA,VAR2),0,13);

DRAWTEXT(CROSS(AA,20),62,’加仓’);

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