四线KD指标 (源码)
2012-09-16 08:42:00来源:本站整理浏览:258
通达信四线KD指标公式股票软件源码如下:
RSV:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
K0:=SMA(RSV,3,1);
K:=K0;D:=SMA(K0,2,1);
J1:(3*K0-2*D),COLORYELLOW;J2:MA(J1,2),COLORRED;
MAV:=(2*C+H+L)/4;
VAR1:=LLV(LOW,21);
VAR2:=HHV(HIGH,21);
SK: EMA((MAV-VAR1)/(VAR2-VAR1)*100,8),COLORWHITE,LINETHICK1;
{www.gpxiazai.com 股票软件下载网_通达信股票指标公式}
SD: EMA(0.667*REF(SK,1)+0.333*SK,1),COLORCYAN,LINETHICK1;
99,COLOR00AA00;
MSD: EMA(0.667*REF(SK,1)+0.333*SK,3),COLORAACCFF,LINETHICK0;
柱长:=(SK-SD)*6;
SJ:=3*SK-2*SD;
50,POINTDOT,COLORRED;
70,POINTDOT,COLORRED;
80,POINTDOT,COLORRED;
WWW:SK<20,COLORB48C33;
IF(WWW,0,20),COLORB48C33,LINETHICK2;
- 上一篇公式:强势K线主图指标 (源码)
- 下一篇公式:布林多空线二合一主图指标 (源码)