求编写MT4的YJD指标

楼主  收藏   举报   帖子创建时间:  2019-05-05 13:19 回复:0 关注量:185
哪位大师能帮忙试试将以下改写MT4指标?在国内交易软件中该指标的灵敏度胜似MACD,且没有未来函数。

CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
YJD: (EMA(CS,3)-50)*2;
极弱:-80;
强势:60;
风险:80;
弱势:-60;
YJD,COLORSTICK;
今日保护价REF(C,1)+REF(C,2)+O)/3;
VAR1:=REF(CLOSE,1);
VAR2:=SMA(MAX(CLOSE-VAR1,0),6,1)/SMA(ABS(CLOSE-VAR1),6,1)*100;
STICKLINE(CROSS(75.9,VAR2),YJD+5,YJD-5,3,0),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=6,78,'清仓'),COLORRED;
DRAWTEXT(CURRBARSCOUNT=6,60,'减仓'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=6,0,'控盘'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=6,-60,'回补'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=6,-80,'吸筹'),COLORBLUE;

打赏