didian:=llv(l,2);
gaodian:=hhv(h,2);
Kcj3:=ref(hhv(h,enterbars+1),1);
kKcj3:=ref(llv(l,enterbars+1),1);
if holding<0 and ref(l<=didian,enterbars)=1 and enterbars>=1
then sellshort(1,0,thisclose);
if h>=gaodian and holding=0 then buy(1,1,thisclose);
if holding>0 and ref(h>=gaodian,enterbars)=1 and enterbars>=1
then sell(1,0,thisclose);
if l<=didian and holding=0 then buyshort(1,1,thisclose);
就这么简单的代码 在15分钟多品种仿真上面均会出现重复下单情况,而且还比较频繁,请问如何解决?客服本地测试如何处理了,拜托给个回复,求助版主admin和fly 问题反馈出去论坛别老没有人回应啊。
1、【交易】——【下单设置】-【程序化】——勾选下单日志
2、你是走完K线还是固定时间间隔。
您反映的金字塔默认设置,我们也不清楚您是如何选择的。
方便的话,把【交易】-图表程序化 上半部分的设置截图发上来。
发图 点上边工具栏最右边【上传】