通达信简单上下轨道副图指标 源码 贴图
2024-01-26 09:31:00来源:本站整理浏览:611
通达信简单上下轨道副图指标 源码 贴图
VAR2:=MA(ADVANCE-DECLINE,3)/100;
VAR3:=MA(CLOSE,5)*1.01;
VAR4:=MA(OPEN,13)*1.01;
VAR5:=(MA(HIGH,3)+MA(LOW,5)+MA(CLOSE,3)+MA(OPEN,3)+CLOSE+OPEN)/6+VAR2;
VAR6:=IF(VAR4>VAR5,VAR4,VAR5);
VAR7:=IF(VAR4< VAR5,VAR4,VAR5);
VAR8:=3/100;{公式网WWW.GPXIAZAI.COM}
下轨:MA(VAR7,5)*(1-VAR8),LINETHICK2,COLORRED;
上轨:MA(VAR6,5)*(1+VAR8),LINETHICK2,COLOR00FF11;
STICKLINE(VAR3>VAR4,VAR4,VAR3,0.01,0),LINETHICK2 COLORYELLOW;
STICKLINE(VAR3< VAR4,VAR3,VAR4,0.01,0),LINETHICK1 COLORWHITE;
STICKLINE(VAR5>VAR4,VAR5,VAR4,0.01,0)COLORMAGENTA;
STICKLINE(VAR5< VAR4,VAR4,VAR5,0.01,0)COLORCYAN;
VAR3:=MA(CLOSE,5)*1.01;
VAR4:=MA(OPEN,13)*1.01;
VAR5:=(MA(HIGH,3)+MA(LOW,5)+MA(CLOSE,3)+MA(OPEN,3)+CLOSE+OPEN)/6+VAR2;
VAR6:=IF(VAR4>VAR5,VAR4,VAR5);
VAR7:=IF(VAR4< VAR5,VAR4,VAR5);
VAR8:=3/100;{公式网WWW.GPXIAZAI.COM}
下轨:MA(VAR7,5)*(1-VAR8),LINETHICK2,COLORRED;
上轨:MA(VAR6,5)*(1+VAR8),LINETHICK2,COLOR00FF11;
STICKLINE(VAR3>VAR4,VAR4,VAR3,0.01,0),LINETHICK2 COLORYELLOW;
STICKLINE(VAR3< VAR4,VAR3,VAR4,0.01,0),LINETHICK1 COLORWHITE;
STICKLINE(VAR5>VAR4,VAR5,VAR4,0.01,0)COLORMAGENTA;
STICKLINE(VAR5< VAR4,VAR4,VAR5,0.01,0)COLORCYAN;
- 上一篇公式:通达信主力拉升参考副图指标 源码 贴图
- 下一篇公式:通达信牛筹码主图指标 源码 贴图 指标介绍