Amibroker技術性問題 - 財經
By Hedy
at 2016-10-16T10:34
at 2016-10-16T10:34
Table of Contents
請教各位大大,
我想用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還是其他呢?
感謝各位~謝謝!!
--
我想用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還是其他呢?
感謝各位~謝謝!!
--
Tags:
財經
All Comments
By George
at 2016-10-17T03:39
at 2016-10-17T03:39
By Dorothy
at 2016-10-18T13:42
at 2016-10-18T13:42
By Donna
at 2016-10-23T06:56
at 2016-10-23T06:56
By Tom
at 2016-10-24T08:40
at 2016-10-24T08:40
By James
at 2016-10-25T09:31
at 2016-10-25T09:31
By Leila
at 2016-10-29T20:38
at 2016-10-29T20:38
By Barb Cronin
at 2016-11-02T12:06
at 2016-11-02T12:06
Related Posts
程式交易績效與注意事項討論
By Adele
at 2016-10-12T07:55
at 2016-10-12T07:55
2016/10/11 ~ 2016/10/17 連假後閒聊
By Jack
at 2016-10-11T08:43
at 2016-10-11T08:43
請問有人用手機做當沖交易的嗎?
By Xanthe
at 2016-10-05T02:26
at 2016-10-05T02:26
2016/10/03 ~ 2016/10/09
By Mason
at 2016-10-03T08:41
at 2016-10-03T08:41
MC不能回測
By Eartha
at 2016-10-02T20:58
at 2016-10-02T20:58