通达信副图源码买卖+警示

 2023-09-16 10:49:08    通达信指标网  

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);

  •  标签:  

原文链接:https://www.tdxzb.com/?id=1601

本文版权:如无特别标注,本站文章均为原创。

相关文章

服务热线

18020657357

微信客服

微信客服