v1:=v/ma(ref(v,1),5);v2:=indexv/ma(ref(indexv,1),5);lt:=(capital/100)/10000<=10;v0:=v1/v2;zf:=o/ref(c,1);;角05:=atan((ema(c,7)/ref(ema(c,7),1)-1)*100)*57.3;角13:=atan((ema(c,13)/ref(ema(c,13),1)-1)*100)*57.3;角34:=atan((ema(c,34)/ref(ema(c,34),1)-1)*100)*57.3;xg:lt and 角05>50 and 角13>35 and 角34>17 and v0>3.5 and zf>1 and zf<1.05; {希望对你有帮助} 20210311
你的名字好,我喜欢,看着提气!以下是我的答案:a7:=c-ref(c,1);a8:=100*ema(ema(a7,6),6)/ema(ema(abs(a7),6),6);yj:(llv(a8,2)=llv(a8,7) and count(a8<0,2) and cross(a8,ma(a8,2))); 不懂可以扣我!
dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=(dif-dea)*2;t1:=dif<=0 and dea<=0;a1:=barslast(dea>0);xg:t1 and count(cross(dea,dif),a1)=1 and cross(dea,dif);