ma30:=ema(close,30);强弱:=ema(close,900);h1:=max(dyna**(3),dyna**(5));l1:=min(dyna**(3),dyna**(6));p1:=h1-l1;阻力:=l1+p1*7/8,coloryellow;支撑:=l1+p1*0.5/8,colorblue;现价:=close,colorwhite,linethick2;均线:=if(between(c/(sum(amount,0)/sum(vol*100,0)),1.05,0.95)=0,ma(c,0),(sum(amount,0)/sum(vol*100,0))),coloryellow;均线h:=(均线*1.007 ),colorff6600;均线l:=(均线/1.005 ),color00ff00;均线横盘:=c<均线h and c>均线l;放量:=sum(vol,6)>ref(ma(vol,30),1)*10;横盘:=((hhv(close,barscount(close))-llv(close,barscount(close)))/close)<1;横涨:=横盘 and 放量 and (c>均线h);横跌:=横盘 and 放量 and cross(均线l,c) ;突破:filter(横涨,100); 20210311
dif:=ema(close,5)-ema(close,26);dea:=ema(dif,55);macd:=(dif-dea)*2;tj:=macd>0;t:=macd<0;a:=llv(macd,55)=macd;b:=hhv(macd,55)=macd;drawicon(a and filterx(a,25), l*0.99,11);d:b and filterx(b,25);
{分时突破} ta:=barslast(time=100000);tc:=ref(hhv(c,0),ta+1);tv:=ref(hhv(v,0),ta+1);zf:=tc/dyna**(3);xg1:=cross(c,tc)and v>tv and zf,colorwhite;ta1:=barslast(time=110000);cc1:=ref(hhv(c,0),ta1+1);vv1:=r...
ma05:=ma(c,5);ma30:=ma(c,30);五日乖离率:=(c-ma05)/ma05*100;三拾日乖离率:=(c-ma30)/ma30*100;mr:=count(cross(五日乖离率,0),3)>=1 and 三拾日乖离率>ref(三拾日乖离率,1) and ma05>ref(ma05,1) and (c/ref(c,1)-1)*100>5...
t:=barscount(c);tp:= filter( c>=hhv(h,t) and v>ma(v,0)*2 and dyna**(17)>1 and time>39600 ,240) ;drawtext(tp,l,'★上去'),colorred;if((hhv(h,t)-llv(l,t))/llv(l,t)<0.05 and dyna**(22...