局部低点预选a:=backset(llv(l,5)<ref(llv(l,4),1),4);局部低点预选b:=backset(局部低点预选a=0 and ref(局部低点预选a,1)=1,2);局部低点预选c:=if(局部低点预选b=1 and ref(局部低点预选b,1)=0,-1,0);aaaa:局部低点预选c=-1;(backset为未来函数,请谨慎) 20210311
dif:=ema(close,9)-ema(close,150);dea:=ema(dif,12);macd0:=2*(dif-dea);xg:macd0<0 andmacd0>ref(macd0,1)and ref(macd0,1)(macd0,2) and ref(macd0,2)(macd0,3) and ref(macd0,3)(macd0,4);
朋友,以下是你要的选股公式,晚安:jj:=(close+high+low)/3;a:=ema(jj,10);b:=ref(a,1); m1:=ema(close,5);m2:=ema(close,10);m3:=ema(m2,20);m4:=ema(m2,60);var1:=ema(m3,55);m5:=ema(m4,120), colorred,linethick2;zm:a>b and ...
dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=(dif-dea)*2;a:=ref(llv(macd,20),2);xg:dif>0 and dea>0 and ref(macd,1)(macd,1)ref(macd,1)and macd;测试通过!希望能够帮助你!
a:=if(c<ref(o,1) and c<o,1,0);p1:=a;b:=if(c<ref(o,2) and c<o,1,0);p2:=b;stickline(p1=0 and ref(p1,1)=1 and p2=0 and ref(p2,1)=1,open,close,3,0),colormagenta;