强弱方向指标 (源码)
2012-05-09 09:05:00来源:本站整理浏览:340
通达信强弱方向指标公式股票软件源码如下:
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;
{股票软件下载网-股票公式网站 www.gpxiazai.com}
买卖力道: 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;
- 上一篇公式:胡子不亏均线主图指标 (源码)
- 下一篇公式:百变鼠标指标 (源码)