参数自己填写,跟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); GR5:="MACD.MACD"(12,26,9)<REF("MACD.MACD"(12,26,9),1); GR6:=GR2 AND GR3 AND GR4; GR7:=GR2 AND GR3 AND GR4 AND GR5; DRAWTEXT(GR6 AND GR7,H+0.998,'↙保利'),colorligreen; STICKLINE(GR6 AND GR7,CLOSE,O,6,0),colorligreen; 进1=MA(CLOSE, 5); 出1=MA(CLOSE, 60); 进2:=EMA(SLOPE(1,1)+C,3),colorred; 出2:=EMA(SLOPE(1,1)+C,7),colorblue; 进入=CROSS(进2,出2) AND 进1>出1; 进入1=CROSS(进2,出2) AND CLOSE < 多空 ; 大阴烛 = OPEN/CLOSE > 1.05 AND HIGH/LOW < OPEN/CLOSE+1.028; DRAWTEXT(大阴烛 ,LOW*0.998 ,'↖跳水'),colorgray; DIFF = EMA(CLOSE,SHORT) - EMA(CLOSE,LONG),colorwhite,LINETHICK1; DEA = EMA(DIFF,M),LINETHICK1; 满仓加 = CROSS(震,多空) AND 2*(DIFF-DEA)>0 AND CLOSE >PRE ; 寻底 = CROSS(天地,多空)AND DIFF< 0 AND CLOSE< 天地; 底 = CROSS(天地,多空)AND DIFF< 0 AND CLOSE> 天地; 注意= CROSS(震,多空) AND CLOSE > OPEN ; DRAWTEXT(注意,H+0.888,'↙注意'),colorligreen; DRAWTEXT(满仓加, LOW*0.998 ,'↖满仓'),colormagenta; STICKLINE(满仓加,CLOSE,O,5,0),coloryellow; STICKLINE(满仓加,CLOSE,O,5,0),coloryellow; DRAWTEXT(寻底,H+0.998,'↙寻底'),colorgreen; DRAWTEXT(底,H+0.998,'↙见底'),colorgreen; STICKLINE(寻底,CLOSE,O,4,0),colorgreen; STICKLINE(底,CLOSE,O,4,0),colorgreen; DRAWTEXT(进入,LOW*0.998,'↖震升持') ,colorgray; DRAWTEXT(进入1,LOW*0.998,'↖震底买') ,colorwhite; STICKLINE(注意,CLOSE,O,4,0),colorgreen; STICKLINE(进入,CLOSE,O,4,0),coloryellow; STICKLINE(进入1,CLOSE,O,4,0),coloryellow; STICKLINE(大阴烛,CLOSE,O,8,0),colorcyan; |
