以下是通达信副图指标买卖+警示

通达信副图指标买卖+警示

0;20;50;80;100;
VAR1:100-100*(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))COLORRED,LINETHICK2;
VAR2:SMA(VAR1,5,1),COLOR00FF00;
DRAWBAND(VAR1,RGB(200,0,200),VAR2,RGB(0,150,0));
DRAWTEXT(ISLASTBAR,20,’ 底部区’),COLORWHITE;
DRAWTEXT(ISLASTBAR,80,’ 风险区’),COLORWHITE;
DRAWTEXT(ISLASTBAR,105,’ 顶部警示’),COLORWHITE;
DRAWTEXT(ISLASTBAR,-5,’ 底部警示’),COLORWHITE;
STICKLINE(VAR1>=80,102,110,4,0),COLOR00FFFF;
STICKLINE(VAR1<20,-2,-10,4,0),COLORRED;
STICKLINE(CROSS(VAR1,VAR2),20,40,0.25,0),COLORRED;
STICKLINE(CROSS(VAR2,VAR1),60,80,0.25,0),COLORGREEN;
DRAWICON(CROSS(VAR1,VAR2),40,23);
DRAWICON(CROSS(VAR2,VAR1),60,18);
STICKLINE(CROSS(VAR1,20),0,15,0.25,0),COLORFF00FF;
DRAWICON(CROSS(VAR1,20),13,13);
STICKLINE(CROSS(80,VAR1),100,85,0.25,0),COLORGREEN;
DRAWICON(CROSS(80,VAR1),83,14);

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