参数自己填写,跟macd参数一样数值
你 = MA(CLOSE,1);
老 = (LOW+HIGH+CLOSE)/3;
板 = MA(老,5);
好 = HHV(板,10);
清仓 = IF(HHV((你<好),10),100,90),colorgreen;
清 = IF(HHV((你<好),10),99,95),colorwhite;
仓1 = CROSS(清仓,清) AND 清仓 > 清;
仓2 = CROSS(清,清仓) AND 清仓 < 清;
DRAWTEXT(仓1,H+0.688,'↙清仓'),colorgreen;
DRAWTEXT(仓2,H+0.998 ,'↙顶'),colorwhite;
STICKLINE(仓1,CLOSE,O,8,0),colorligreen;
STICKLINE(仓2,CLOSE,O,8,0),colorwhite;
zsx1:=LLV(CLOSE,60);
zq:=BARSLAST(CLOSE=ZSx1);
gg:=HHV(CLOSE,zq);
IF(gg>REF(gg,1))
zj=(gg-REF(gg,1));
ELSE zj:=0;
IF(zq=0)
天地:zsx1,colorgray;
ELSE 天地:REF(天地,1)+zj ,colorgray;
进 = EMA(SLOPE(1,1)+C,3),colorred;
出 = EMA(SLOPE(1,1)+C,7),colorwhite;
波动 : MA(CLOSE,5) ,coloryellow;
震 : EMA(CLOSE,17) ,colorwhite;
多空:(MA(C,30)+MA(C,72))/2,LINETHICK1;
天 = 多空*1.2;
地 = 多空*0.8;
空 = CROSS(天,震) AND 天>震 AND CLOSE <天;
空1=CROSS(天,震) AND 天>震 AND CLOSE >天;
放量=COUNT (进<出,5)=4 AND 进>=出 AND 进< 地 ;
谷底=CROSS(HIGH,地) AND LOW<地 AND CLOSE>地;
DRAWTEXT(谷底 ,H+0.998 ,'↙ 注底买') ,coloryellow;
DRAWTEXT(COUNT (进<出,5)=4 AND 进>=出 AND 进< 地 ,H+0.998 ,'↙厎缩量上攻') ,colorlimagenta;
DRAWTEXT(空1 ,LOW*0.998 ,'↖追') ,coloryellow;
DRAWTEXT(空,H+0.998 ,'↙踏空'),colorgreen;
STICKLINE(空,CLOSE,O,6,0),colorligreen;
STICKLINE(空1,CLOSE,O,8,0),coloryellow;
STICKLINE(放量,CLOSE,O,8,0),colorlimagenta;
EMA13:=EMA(C,20),COLORFF8080;
EMA34:=EMA(C,60),COLORFFFF00;
EMA55:=EMA(C,80),COLORFF00FF;
YZ1:=C/O>1.02 AND H/C>1.02 AND O/L<1.02;
YZ2:=REF(C,1)>REF(O,1) AND O>MA(C,11);
Y:=(MA(C,13)-MA(C,55))/MA(C,13)*100;
震仓卖:=YZ1 AND YZ2 AND Y>10;
DRAWTEXT(震仓卖,H+0.688,'↙震仓卖'),colorgray;
STICKLINE(震仓卖,CLOSE,O,4,0),colorgray;
GR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5) );
GR2:=EMA13>EMA34 AND EMA34>EMA55 AND EMA13>REF(EMA13,1);
GR3:=COUNT("BIAS.BIAS2"(6,13,24)>10 AND H=HHV(H,GR1),GR1);
GR4:=H=HHV(H,GR1);