在线检测未来函数

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

来源:Internet,编辑:股旁网,2012-12-11

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));

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

 

相关文章