MA5:MA(CLOSE,5),ColorFFFfff,linethick1;
MA10:MA(CLOSE,10),Color00Ffff,linethicK1;
MA20:MA(CLOSE,20),Color00ff00,linethick1;
MA30:MA(CLOSE,30),ColorFF00ff,linethick1;
MA60:MA(CLOSE,60),Color0000ff,linethick1;
MA120:MA(CLOSE,120),ColorFFff00,linethick1;
angel:EMA(C,2),color000000;
devil:EMA(SLOPE(C,21)*20+C,42),pointdot,color000000;
BUY:=cross(angel,devil);
SEL:=cross(devil,angel);
drawtext(buy,LOW*0.99,'狂买'),colorf00ff0,linethick5;
drawtext(sel,HIGH*1.01,'狂----闪'),colorwhite,linethick5;
stickline(angel =devil,low,high,0.1,0),colorred;
stickline(angel =devil,close,open,4.5,0),color0000AA;
stickline(angel =devil,close,open,3,0),color0000CC;
stickline(angel =devil,close,open,2,0),color0000DD;
stickline(angel =devil,close,open,1,0),color0000FF;
stickline(angel devil,close,open,1,0),colorEEEE00;
stickline(angel devil,close,open,2,0),colorDDDD00;
stickline(angel devil,close,open,3,0),colorCCCC00;
stickline(angel devil,close,open,4.5,0),colorAAAA00;
stickline(angel devil,low,high,0.1,0),colorFFff00;
stickline(cross(angel,devil) or cross(devil,angel),open,close,3.5,0),coloryellow;上趋势:Ema(c,43),Colorblue;
QFII:ma(c,78),COLORYELLOW;
QF:Ema(QFII,8),COLORRED;
II:ema(QF,10),COLORgreen,LINETHICK1;
Q:=(H+L)/2;
A:=MA(Q,5)-MA(Q,34 );
梯:CROSS(A,0);
波:CROSS(0,A);
彻下线:BARSLAST(梯),COLORRED;
彻上线:BARSLAST(波),COLORgreen;
变异:REF(梯,1);
变盘:REF(波,1);
下线:BARSLAST(变异);
上线:BARSLAST(变盘);
持股心态:IF(下线 上线,REF(HHV(H,2),下线),REF(LLV(L,2),上线)),COLORMAGENTA;
JDQ:REF(C,1) =REF(持股心态,1) AND C 持股心态 AND 彻下线
JUQ:REF(C,1) =REF(持股心态,1) AND C 持股心态 AND 彻上线
JDU:JDQ AND COUNT(彻下线,彻下线)=1;
JUD:JUQ AND COUNT(彻上线,彻上线)=1;