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
STICKLINE(XC
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
GKX:=(xo+XC+xh+XL)/4;
动向线:if(INDEXC=c,MD(SKX,M),MD(AMOUNT/(V*100),M));