EXP6:=expma(C,6);
EXP13:=EXPMA(C,13);
短期方向线:EXP6-EXP13,NODRAW;
DRAWBAND(短期方向线,RGB(190,0,0),0,RGB(0,160,0));
MB:EXPMA(短期方向线,3),COLORWHITE;
超买线:=MB+1.96*STD(短期方向线,6),COLORYELLOW;
超卖线:=MB-1.96*STD(短期方向线,6),COLORCYAN;
主流资金:(EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3))/100, COLORRED,LINETHICK2;
非主流资金:(EMA(100*(INDEXC- LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3))/100,COLORGREEN,LINETHICK2;
0.3,POINTDOT,COLORF00FF0;
0.5,POINTDOT,COLORGREEN;
0.7,POINTDOT,COLORWHITE;