公式如下:选择的范围太大,我给你加了点限制,让你有更多的选择空间。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)&...
{全是一来函数,慎用!}v0:=zig(3,10);v1:=ma(v0,2);v3:=(hhv(v1,200));v4:=(0);v6:=if((v0>ref(v0,1)),0,c);v7:=if(filter(v6,120),1,0);v5:=ref(v6,1)=0 and v6>0 and v7=0;v8:=not((h<=hhv(h,20) and h>=hhv(h,...
var2:=trou**ars(3,15,1)<10;var3:=peakbars(3,15,1)<10;var4:=if(var2=1,50,0);var5:=if(var3=1,50,0);底部:=if(var4=50,10,0);买入:=if(底部=10 and ref(底部,1)=10 and ref(底部,2)=0,50,0);选股:买入=50;