a1:=ema((2*close+high+low)/4,5);b1:=if(a1>=ref(a1,1),ema((2*close+high+low)/4,5),0);b2:=if(ema((2*close+high+low)/4,10)>ref(ema((2*close+high+low)/4,13),1),ema((2*close+high+low)/4,13),0);b3:=if(ema((low+close+open)/3,28)>ref(ema((low+close+open)/3,28),1),ref(ema((low+close+open)/3,25),1),0);xg:b1>0 and b2>0 and b3>0 and (ref(b1,1)<=0 or ref(b2,1)<=0 or ref(b3,1)<=0); 20210311
{绿线买}lc:=ref(close,1);操作线:=sma(max(close-lc,0),2,1)/sma(abs(close-lc),2,1)*100;趋势线:=sma(max(close-lc,0),14,1)/sma(abs(close-lc),14,1)*100;震仓线:=45;pp:=操作线<震仓线 and ref(操作线,1)>震仓线 ;涨停:=if(ref(c,1)...
公式如下:选择的范围太大,我给你加了点限制,让你有更多的选择空间。ma30:=ma(c,30);diff:=ema(close,12)-ema(close,26); dea:=ema(diff,9); macd:=2*(diff-dea); fh1:=ref(macd,1)<ref(macd,2) and ref(macd,2)<ref(macd,3) and ref(macd,3)&...
variable:p1=0;p2:=intpart(ref(cyc(5),1)*100)/100;p3:=intpart(ref(cyc(5),1)*0.96*100)/100;vv:=intpart(min(capital*0.05,ref(ma(vol,34),1))/100);p41:=intpart(ref(maxcyc,1)*100)/100;p4:=p1=0 and c>p2 o...