ma1:ma(close,5); ma2:ma(close,10); ma3:ma(close,20); ma4:ma(close,60); n:=10; m:=9; vab0:=531; vab1:=1510000; vab2:=vab0 + vab1; a:=sma(l,4,3) ; vab3:=if(date > vab2,1,1); t:=date>901224 and date< 1130630; 涨停:=if(ref(c,1)*1.1*vab3-c< 0.01 ,1,0); stickline(涨停,open,close,5,0),colorred; stickline(涨停,open,close,2,0),coloryellow; stickline(涨停,h,l,0,0),coloryellow; stickline(涨停,h,l,0.5,0),colorred; stickline(涨停,o,c,6,0),linethick2,color000055; stickline(涨停,o,c,5,0),linethick2,color000077; stickline(涨停,o,c,4,0),linethick2,color000099; stickline(涨停,o,c,3.5,0),linethick2,color0000bb; stickline(涨停,o,c,2.5,0),linethick2,color0000dd; stickline(涨停,o,c,1.5,0),linethick2,color0000ff; stickline(涨停,o,c,1,0),linethick2,color0000ff; stickline(涨停,o,c,0.5,0),linethick2,color0000ff; stickline(涨停,h,l,0.0,0),colorred; vab08:=531; vabb1:=1510000; vabb2:=vab08 + vabb1; vabb3:=if(date > vabb2,1,1); lc:=ref(close,1); sg:=ema(hhv(high,1),8); x1:=ema(close,8); x30:=((x1 < ref(x1,1)) and (close < x1)); x31:=if(((sg < ref(sg,1)) or x30),1,0); 操作线:=sma(max(close-lc,0),2,1)/sma(abs(close-lc),2,1)*100,colorred,linethick2; 震仓线:=45,colormagenta; 抄底线:=20,colorgreen; pp:=操作线< 震仓线 and ref(操作线,1)>震仓线 ; pp3:=操作线< 抄底线 and ref(操作线,1)>抄底线*vabb3; hg:=drawtext(currbarscount=129,0.5,'【抓牛】'),color889999; af:=(((((count((x31 = 1),4) = 3) and (x31 = 0))and o< c and (((c-ref(c,1))/ref(c,1))> 0.085))*89) >=89)or((c-ref(c,1))/ref(c,1)>0.085 and (ref(pp3,1) or ref(pp,1))) and vabb3=1,stick,colorlired,linethick4; aa:=(((((count((x31 = 1),4) = 3) and (x31 = 0))and o< c and (((c-ref(c,1))/ref(c,1))> 0.085))*89) >=89)or((c-ref(c,1))/ref(c,1)>0.085 and (ref(pp3,1) or ref(pp,1))) and vabb3=1; stickline(aa,h,l,0,0),color44ffff; stickline(aa,c,o,6.1,0),color003333; stickline(aa,c,o,5,0),color003333; stickline(aa,c,o,4,0),color116666; stickline(aa,c,o,3,0),color116666; stickline(aa,c,o,2,0),color229999; stickline(aa,c,o,1,0),color229999; stickline(aa,c,o,0.5,0),color33cccc; stickline(aa,c,o,0.2,0),color33cccc; stickline(aa,c,o,0,0),color44ffff; stickline(aa,h,l,0,0),color44ffff; drawicon(aa,l-0.38,13); drawtext(aa,l*0.96, ' ↖涨停狙击')coloryellow; 
|