

移動停利停損



OOS




固定點數停損停利



OOS




原始

原本 | 停損 | |
總獲利 | 2450800 | 2274800 |
最大策略虧損 | 770000 | 376000 |
最大策略虧損% | 396% | 127% |
最大平倉虧損 | 691800 | 336800 |
最大平倉虧損% | 348% | 125% |
虧損報酬 | 3.18 | 6.05 |
月報酬 | 12% | 11% |
年報酬 | 146% | 135% |
inputs: buffer(5); variables: stoploss(0); if entrytime = time and entrydate = date then begin if marketposition > 0 then stoploss = L[1] - buffer; if marketposition < 0 then stoploss = H[1] + buffer; end; if marketposition > 0 and close > stoploss then sell next bar at stoploss stop; if marketposition < 0 and close < stoploss then buytocover next bar at stoploss stop;
主訊號程式碼
inputs: upGap(0),downGap(0),CandleSize(0); condition1 = openD(0) - CloseD(1) > upGap and time = 0850 and Close - Open > CandleSize; condition2 = CloseD(1) - OpenD(0) > downGap and time = 0850 and Close - Open < (-1* CandleSize); if (marketposition <= 0 and condition1) then buy("MB") next bar market; if (marketposition >= 0 and condition2) then sellshort("MS") next bar market;
小日經的特色 1. 所需資金小,適合入門 2.交易時間長,東京時間 8:45 - 15:15 16:30 - 05:30 3.成交量大,適合程式交易。 準備工具: 1) Interactive Brokers 交易戶頭 (手續費低 每口合約 40日幣) 2)...