阳涨幅:=4;阳倍量:=2;单阳:=c>o*(1+阳涨幅/100) andvol>ref(vol,1)*阳倍量;高不破价:=ref(c,barslast(单阳));中不破价:=ref((c+l)/2,barslast(单阳));低不破价:=ref(l,barslast(单阳)); 单阳不破:currbarscount<100 and barslast(单阳)<11 and (llv(l,barslast(单阳))>低不破价 or llv(l,barslast(单阳))=低不破价); 20210311
lc:=ref(close,1);aa:=abs(high-lc);bb:=abs(low-lc);cc:=abs(high-ref(low,1));dd:=abs(lc-ref(open,1));r:=if(aa>bb and aa>cc,aa+bb/2+dd/4,if(bb>cc and bb>aa,bb+aa/2+dd/4,cc+dd/4));x:=(close-lc...
上趋势:=ma(low,20)*1.2;次上趋势:=ma(low,20)*1.1;次下趋势:=ma(high,20)*0.9;下趋势:=ma(high,20)*0.8;趋势强度:=if(c>次上趋势,if(c>上趋势,4,3),if(c>次下趋势 and c<次上趋势,2,if(c<下趋势,0,1)));xg:趋势强度=4 and ref(趋势强度=3,1);这样就可...