请教各位大大,
我想用Amibroker回测分K但一直失败,
以下是程式码:
SetTradeDelays(1,1,1,1);
SetOption("InitialEquity",1000000);
SetOption("MaxOpenPositions", 1);
SetOption("CommissionMode", 3);
SetOption("CommissionAmount", 4);
SetOption("FuturesMode", 1);
SetOption("AllowSameBarExit", 0);
SetPositionSize(1, spsShares);
PointValue = 10000;
TimeFrameSet(in1Minute);
MarginDeposit=1;
BuyPrice = Open;
SellPrice = Open;
Power = Close - Ref( Close,-1);
Buy = Cross( Power,MA(Power,10) );
Sell = Cross( MA(Power,10),Power);
请问是哪里有写错还是Amibroker没付费不能回测分K还是其他呢?
感谢各位~谢谢!!