通达信强弱方向副图指标
2016-04-07 21:25:00来源:本站整理浏览:224
通达信强弱方向副图指标
源码
VAR1:=REF(CLOSE,1); 强弱方向: SMA(MAX(CLOSE-VAR1,0),5,1)/SMA(ABS(CLOSE-VAR1),5,1)*100,COLORYELLOW; 80, POINTDOT,COLORWHITE; 20, POINTDOT,COLORGREEN; 10, POINTDOT,COLORBLUE; 买卖力道: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,3,1)-2*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,3,1),COLORRED; DRAWTEXT(CROSS(买卖力道,20) AND 强弱方向>50,20,'买'),COLORGREEN; DRAWTEXT(CROSS(80,买卖力道),80,'卖'),COLORRED;
- 上一篇公式:通达信百变鼠标副图指标
- 下一篇公式:通达信三丰诱空副图指标