给我看一下 这个30跳 固定止损止赢的程序那里错了 实际跑的过程 老是出现问题 几个跳就卖出了
注意 用的后复权数据 映射主力合约
If(( MarketPosition<>1 and High>High[15] )
{
Buy(1,High);
}
//系统出场
If(MarketPosition==1 and High/rollover>EntryPrice/rollover+30*MinPoint and BarsSinceEntry > 0 )
{
Sell(0, High);
}
If(MarketPosition==1 and Low/rollover<EntryPrice/rollover-30*MinPoint and BarsSinceEntry > 0 )
{
Sell(0, Low);
}
minpoint是什么东西
给的东西太少了,盲人摸象看不出来问题