n1:=todaybar;
dm:=4-INTPART(LOG(C));
SETTLE:ROUNDS(IF(sum(vol,n1)=0,C,sum(C*vol,n1)/sum(vol,n1)),2+dm),colorred;//均线算法
N:10;
SS:SETTLE;
MAH:MA(HIGH,N);//最高价的N周期平均
MAL:MA(LOW,N);//最低价的N周期平均
if C>SS and C<O and C<SS+5*mindiff then begin
sellshort(holding<0,holding,market);
buy(holding=0,1,market);
end
if C<SS and C>O and C>SS-5*mindiff then begin
sell(holding>0,holding,market);
buyshort(holding=0,1,market);
end
if time>=145800 then begin //1分钟周期才可以写145800
sell(holding>0,holding,market);
sellshort(holding<0,holding,market);
end
策略在条件满足的情况下经常出现一个周期内反复开平仓情况,请老师解决一下
老师我现在用的模拟版,我想让他从主图上显示出来不要这么频繁的信号,怎么能够实现,
老师是不是运行着远程预警就不能运行自己的图表自动化了,怎么关闭远程预警