t1:=c>o and c/ref(c,1)<1.05;t2:=v/capital*100<10 and v<ref(v,1);diff:=ema(close,12)-ema(close,26);dea:=ema(diff,9);macd:=2*(diff-dea);t3:=macd>0.5;tx:=t1 and t2 and t3;xg:ex**t(tx,1);
n:=7;n1:=2;n2:=8;下轨:=(n-llvbars(h,n))/n*100;lc:=ref(close,1);rsi1:=sma(max(close-lc,0),n1,1)/sma(abs(close-lc),n1,1)*100;rsi2:=sma(max(close-lc,0),n2,1)/sma(abs(close-lc),n2,1)*100;l<下轨 and c>下轨...
condtion_a:=cross("macd.dif","macd.dea");condtion_b:=cross("kd.k","kd.d");condtion_c:=l=llv(l,60);condtion:condtion_a and condtion_b and condtion_c;公式中的数值”60”表示为60个交易周期,并非指六十天,你可以计算一下,一个月几个交易周期,根据你的需要...