飞狐多空KD指标公式

[复制链接]
查看76 | 回复0 | 2021-8-21 12:40:07 | 显示全部楼层 |阅读模式

bc:=(IF(C>(H+L+C)/3,(H*0.618+L*0.382)*0.382,(H*0.382+L*0.618)*0.382)+(O*0.382+C*0.618)*0.618);
多:(bc-MA(BC,42))/(0.06*AVEDEV(BC,42)),COLOR6600FF;
空:-(c-MA(C,42))/(0.06*AVEDEV(C,42)),COLORAAAA00;
FILLRGN(多<空,多,空),COLORFF0080;
FILLRGN(多>空,多,空),COLOR6600FF;
STICKLINE(C>0,100,100,6,0),COLORBLUE;
STICKLINE(C>0,50,50,6,0),COLORMAGENTA;
STICKLINE(C>0,0,0,6,0),COLORYELLOW;
STICKLINE(C>0,-50,-50,6,0),COLORMAGENTA;
STICKLINE(C>0,-100,-100,6,0),COLOR00bb00;
DL:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*240-120;
K:sma(DL,6,1),COLORWHITE,POINTDOT;
D:sma(K,4,1),COLORYELLOW,POINTDOT;
FILLRGN(K>=D,K,D),COLORBROWN;
FILLRGN(K<D,K,D),COLORGRAY;

202108211158.jpg

202108211158.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则