红色实心k线是涨停线,绿色实心k线是跌停线,第一次出现黄色实心k线是重仓买入信号,几乎无风险,
5日线上持股,红色线出现是多头,持股不懂,跌破5日线卖出。 MA5:MA(C,5),coloryellow;
m5:IF(C>=MA(C,5) AND MA(C,5)>=MA(C,10) ,MA(C,5),DRAWNULL),colorred,linethick1;
涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
STICKLINE(涨停,OPEN,CLOSE,9,0),colormagenta;
C3:=REF(C,1);
跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(跌停,OPEN,CLOSE,9,0),colorgreen;
RSV=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
k:=SMA(RSV,3,1),colorwhite;
D:=SMA(K,3,1),coloryellow;
K2:=k-50,colorwhite;
D2:=D-50,coloryellow;
MD:=2*(K2-D2),nodraw;
DF := EMA(CLOSE,12) - EMA(CLOSE,26),colorred;
DA := EMA(DF,9),colorliblue;
MACD:=2*(DF-DA),nodraw;
MACDkdj共振能量:=MACD>0 AND MACD>=REF(MACD,1) AND MD>=REF(MD,1);;
持续放量:=(VOL>=MA(VOL,5) AND VOL>=MA(VOL,135)) OR (MA(VOL,5)>MA(VOL,135));
k线形态:=C>O;
强势上涨:=持续放量 AND MACDkdj共振能量 AND C>O AND C>MA(C,20);
STICKLINE(强势上涨,O,C,4,0),coloryellow;
共振买:MACD>0 AND MACD>=REF(MACD,1) AND MD>=REF(MD,1),nodraw,colorred;
五日线角度2:=ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.1416>70;
DRAWICON(五日线角度2 AND 共振买,L,1);
MA20:=MA(CLOSE, 20),colormagenta;
MA30:=MA(CLOSE, 30),colormagenta;
MA60:=MA(CLOSE, 60),color5C3317;
MA120:=MA(CLOSE,120 ),colorblue;
MA250:=MA(CLOSE, 250),colorblue;
DRAWTEXT(CROSS(MA20,MA30),MA30*0.98,'走强'),colorgreen,linethick1;
DRAWTEXT(CROSS(MA30,MA60),MA60*0.98,'大牛股,若回调挖大坑则满仓买'),COLOR999999,linethick2;
DRAWTEXT(CROSS(MA60,MA120),MA120*0.98,'锁仓挣钱,长牛股'),colorligray,linethick2;