飞狐寻庄动向主图指标公式

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

N:=5;M:=20;
KLINE(O,H,L,C,0);
xo:=(o+wma(h,n))*0.5;
xh:=(h+wma(h,n))*0.5;
xl:=(l+wma(h,n))*0.5;
xc:=(c+wma(h,n))*0.5;
STICKLINE(XC>Xo AND C>XC,Xo,XC,6,0),COLOR0077FF;
STICKLINE(XC>Xo AND C>XC,Xh,Xl,0,0),COLOR0077FF;
STICKLINE(XC>Xo AND C<XC,Xo,XC,6,0),COLORYELLOW;
STICKLINE(XC>Xo AND C<XC,Xh,Xl,0,0),COLORYELLOW;
STICKLINE(XC<Xo,Xo,XC,6,0),COLOR00bb00;
STICKLINE(XC<Xo ,Xh,Xl,0,0),COLOR00bb00;
STICKLINE(XC<Xo AND C>XC,Xo,XC,6,0),COLORBLUE;
STICKLINE(XC<Xo AND C>XC,Xh,Xl,0,0),COLORBLUE;
Lo:=(o+wma(L,n))*0.5;
Lh:=(h+wma(L,n))*0.5;
Ll:=(l+wma(L,n))*0.5;
Lc:=(c+wma(L,n))*0.5;
STICKLINE(LC>Lo ,Lo,LC,3,0),COLORMAGENTA;
STICKLINE(LC>Lo ,Lh,Ll,0,0),COLORMAGENTA;
STICKLINE(LC<Lo ,Lo,LC,3,0),COLORAAAA00;
STICKLINE(LC<Lo ,Lh,Ll,0,0),COLORAAAA00;
SKX:=(o+C+h+L)/4;
GKX:=(xo+XC+xh+XL)/4;
动向线:if(INDEXC=c,MD(SKX,M),MD(AMOUNT/(V*100),M));

202108211200.jpg

202108211200.jpg

 

回复

使用道具 举报

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

本版积分规则