以下是通达信美人眼KD副图指标源码
{参数:
N:2/99/14
M1:2/50/3
M2:2/50/3
Y1:0/50/25
Y2:50/100/75
}
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
%K:MA(RSV,M1);
%D:MA(%K,M2),COLORAA00DD;
Y1,color007a00;
Y2,color007a00;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
VAR1:=HHV(DEA,53);
VAR2:=LLV(DEA,55);
VAR3:=DEA-(DIF-DEA);
UP:=IF(DIF>VAR1 AND DEA=VAR1,MAX(LLV(VAR1,10),VAR3),VAR1);
DN:=IF(DIF<VAR2 AND DEA=VAR2,MIN(HHV(VAR2,10),VAR3),VAR2);
IF(DIF<DN,-5,DRAWNULL),COLOR00BB00,LINETHICK3;
IF(DIF>UP,104,DRAWNULL),COLOR00BB00,LINETHICK3;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)