以下是同花顺指标主力介入副图源码
VAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR2:=EMA(VAR1,30);
VAR3:=EMA(VAR2,30);
VAR4:=3*VAR2-2*VAR3;
势:EMA(VAR4,5),colorblue,LINETHICK3;
VAR5:=LLV(LOW,10);
VAR6:=HHV(HIGH,25);
决策线:EMA((CLOSE-VAR5)/(VAR6-VAR5)*100,4),colorred,LINETHICK2;
DRAWTEXT(CROSS(80,决策线),75,’小心’),colorwhite;
五十:50,POINTDOT,coloryellow;
十:10,coloryellow;
八十:80;
STICKLINE(势>80,势,80,1,0),colorgreen;
STICKLINE(势<10,势,10,1,0),colorwhite;
DRAWTEXT(CROSS(10,势),69,’进’),coloryellow;
DRAWTEXT(CROSS(10,势),58,’入’),COLORFF00FF;
DRAWTEXT(CROSS(10,势),43,’异’),COLOR00C0FF;
DRAWTEXT(CROSS(10,势),31,’动[↓]’),COLORB47DFF;
DRAWTEXT(CROSS(10,势),19,’区’),COLORFFFF6F;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)