出现粉红色为主力加仓,蓝色为主力出货
{变量n值:1 100 6 ;}
量能:SUM(HSL,N),NODRAW;
涨幅: 100*(CLOSE-REF(CLOSE,N))/REF(CLOSE,N),NODRAW;
STICKLINE(HSL<=1,HSL,0,1,1),COLORBROWN;
STICKLINE(HSL>1 AND HSL<3,HSL,0,1,0),COLORLIBLUE;
STICKLINE(HSL>=3,HSL,0,1,0),COLORMAGENTA;
继续大涨:DRAWTEXT(量能>3*N AND 涨幅>3*N,HSL,'继续大涨'),COLORRED;
继续小涨:DRAWTEXT(量能<0.5*N AND 涨幅<N,HSL,'继续小涨'),COLORMAGENTA;
继续小跌:DRAWTEXT(量能<0.5*N AND 涨幅>-N AND 涨幅>0,HSL,'继续小跌'),COLORLIGREEN;
继续大跌:DRAWTEXT(量能>3*N AND 涨幅<-3*N,HSL,'继续大跌'),COLORCYAN;
注意反转:DRAWTEXT(((量能>3*N AND 涨幅<N) OR (量能<0.5*N AND 涨幅>3*N)
OR (量能>3*N AND 涨幅>-N AND 涨幅<0) OR (量能<0.5*N AND 涨幅<-3*N)),HSL,'注意反转'),COLORBLUE;
201061410243346184.png
|