{1.建立引用公式:引用} ma60:ma(c,60);{2.再建公式} boll:=ma(c,24);ub:=boll+2*std(close,24);周60线:="引用.ma60#week;c>周60线 and cross(c,ub)and v/ref(v,1)>1.2 and (c/ref(c,1)>1.08 and c=h and l!h)and macd.dif>...
最好依据公式:diff:=ema(close,12)-ema(close,26);dea:=ema(diff,9);a0:=cross(diff,dea);a:=a0 and diff<0;ft:=barslast(a);b:=count(a0,ft);第二个金叉:diff>0 and dea>0 and a0 and b<2;编写周日同时二次金叉的公式。