αを探し求めて

Let's learn a programming language, such as Python, rather than sinking 1000 hours into figuring out how to calculate modified duration

AUDUSDの15分足EAにチャレンジ

Alpariのデータをダウンロード f:id:tomo51840633:20180802160340p:plain

MetaTraderのデータではいい感じのができていたので、Alpariのデータで出てくるといいなと。 f:id:tomo51840633:20180802160435p:plain

データをアップロード f:id:tomo51840633:20180802161154p:plain

データ数を200000に変更してチャレンジ。 Loaded AUDUSD; M15 - 200000 bars. From 2010-07-07 19:30, to 2018-08-02 09:45.

f:id:tomo51840633:20180802161731p:plain

1933通りのEAの中で、これが一番いいらしい。DDが大きい。

Net profit 27956.76 USD Profit per day 9.49 USD Max drawdown 15214 USD (66%) Return / drawdown 1.84 Count of trades 774

f:id:tomo51840633:20180802164723p:plain ストラテジーとしてはボリンジャーバンドを使ったシンプルなものですね。最近のDDが気になる f:id:tomo51840633:20180802164846p:plain

最適化します。 f:id:tomo51840633:20180802165032p:plain

収益はあがったものの、DDが。

Net profit 72642.08 USD Profit per day 24.65 USD Max drawdown 16672 USD (58%) Return / drawdown 4.36 Count of trades 663

f:id:tomo51840633:20180802170403p:plain

取引数が多いものを選択、DDが依然として大きい。 Net profit 22813.28 USD Profit per day 7.74 USD Max drawdown 10362 USD (58%) Return / drawdown 2.20

f:id:tomo51840633:20180802171304p:plain

いい感じに最適化。 Net profit 68732.16 USD Profit per day 23.32 USD Max drawdown 10025 USD (39%) Return / drawdown 6.86 Count of trades 657

f:id:tomo51840633:20180802171536p:plain

ストップロスを入れて再計算。

ちょっと収益は落ちるけどリスクは抑えられたかな? Net profit 66366.48 USD Profit per day 22.52 USD Max drawdown 7975 USD (29%) Return / drawdown 8.32 Count of trades 945

f:id:tomo51840633:20180802172303p:plain

WalkFowardテストを実施。うんよくわからないがいいかな。

f:id:tomo51840633:20180802172800p:plain

f:id:tomo51840633:20180802172835p:plain f:id:tomo51840633:20180802172919p:plain

モンテカルロ。全部右肩あがりだからいいかな。 f:id:tomo51840633:20180802173100p:plain

GBPAUDでは破産シナリオ。うーん。 f:id:tomo51840633:20180802173215p:plain

最終的には

f:id:tomo51840633:20180802173327p:plain

最近の伸びがないのが気になります。 f:id:tomo51840633:20180802173408p:plain

f:id:tomo51840633:20180802173545p:plain

MT4で実行。アリゲータと命名 f:id:tomo51840633:20180802174403p:plain

f:id:tomo51840633:20180802174704p:plain

f:id:tomo51840633:20180802174748p:plain

うーん、いい感じ。 勝率が低いな。