恒例のマネーマネジメントのリバランスです。

プロフィットファクターがかなりいいので、調整し甲斐がありますね。

ハイリターンを狙ってドローダウンとプロフィットファクターを犠牲にしました。


ところで、トレードルールで確率の高い場合と低い場合を判断するロジックを組み込んでいます。

通常、確立が低い場合トレードをしないようにすると思うのですが、私の場合はリスクが高い分だけ投入資金量を少なく調整しています。

あらゆる判断をするorしないの二者選択ではなく、確立に応じたリスク配分にすることで最適化しています。

システムトレードとして、あくまで統計と確率で論理を組み立てるのであれば、全ての判断は統計と確率を用いるべきだと考えています。

なので、数値を使う箇所は全て確率で出すようにしています。

こうすることでよりキメの細かい調整が可能ですし、何より確率変動が安定します。


しかし、こうやってシステムを作っていると、相場のメカニズムがなんとなくわかってくる気がします。

怖いですね、こうゆう気持ちが陥穽となるんでしょうね。


検証期間

2006/01/01~2009/12/16


Bars in test 2026
Ticks modelled 8064615
Modelling quality n/a
Mismatched charts errors 61405
Initial deposit 10000.00
Total net profit 116459.44
Gross profit 125506.49
Gross loss -9047.05
Profit factor 13.87
Expected payoff 3234.98
Absolute drawdown 219.76
Maximal drawdown 39923.35 (32.21%)
Relative drawdown 35.59% (19173.51)

Total trades 36
Short positions (won %) 22 (72.73%)
Long positions (won %) 14 (64.29%)
Profit trades (% of total) 25 (69.44%)
Loss trades (% of total) 11 (30.56%)

Largest
profit trade 20060.23
loss trade -3524.01
Average
profit trade 5020.26
loss trade -822.46
Maximum
consecutive wins (profit in money) 7 (67390.21)
consecutive losses (loss in money) 3 (-528.00)
Maximal
consecutive profit (count of wins) 67390.21 (7)
consecutive loss (count of losses) -3534.69 (2)
Average
consecutive wins 3
consecutive losses 2


影虎の雑学日記

ロストカットロジックだけにRSIシグナルを追加したところ、プロフィットファクターがカイゼンしました。

その為にTotal net profitは落ち込みました。

トレード回数も36回と若干ですが増えました。

含み損の許容度を下げると利益が減ってしまうようです。


検証期間

2006/01/01~2009/12/15


Bars in test 2026
Ticks modelled 8064615
Modelling quality n/a
Mismatched charts errors 61405
Initial deposit 10000.00
Total net profit 71806.70
Gross profit 74914.30
Gross loss -3107.60
Profit factor 24.11
Expected payoff 1994.63
Absolute drawdown 219.76
Maximal drawdown 25859.45 (32.26%)
Relative drawdown 32.26% (25859.45)

Total trades 36
Short positions (won %) 22 (72.73%)
Long positions (won %) 14 (64.29%)
Profit trades (% of total) 25 (69.44%)
Loss trades (% of total) 11 (30.56%)

Largest
profit trade 16177.60
loss trade -813.23
Average
profit trade 2996.57
loss trade -282.51
Maximum
consecutive wins (profit in money) 7 (34820.34)
consecutive losses (loss in money) 3 (-259.60)
Maximal
consecutive profit (count of wins) 34820.34 (7)
consecutive loss (count of losses) -821.39 (2)
Average
consecutive wins 3
consecutive losses 2


影虎の雑学日記

Swingトレードシステム


前回まで作っていたRBOトレードシステムを改良して、単にトレンドに乗っている間はエグジットしないようにしただけです。

Modelling qualityは、1分足からコンバートしたので精度は高いはずですが、なぜか日足だけが1978年1月3日からのデータが入り込んでしまう為に、n/aとなっているようです。

FXDDのMT4を使っていますが、日足だけは1978年分からダウンロードされてしまうのは仕様なのか?

とりあえず、テスト期間は2006年からにしているので影響は無いと思います。

懸念事項としてトータルトレード数がたったの28です。

スイングでとことん追いかけるのと、その間のシグナルは全て捨てている為、相対的にトレード数がかなり減ります。

1回のトレード期間は1日~20日ぐらいです。


検証期間

2006/01/01~2009/12/12


Bars in test 2026
Ticks modelled 8064615
Modelling quality n/a
Mismatched charts errors 61405
Initial deposit 10000.00
Total net profit 98429.15
Gross profit 109658.38
Gross loss -11229.23
Profit factor 9.77
Expected payoff 3515.33
Absolute drawdown 2754.85
Maximal drawdown 31722.91 (32.68%)
Relative drawdown 39.02% (4636.27)

Total trades 28
Short positions (won %) 23 (65.22%)
Long positions (won %) 5 (60.00%)
Profit trades (% of total) 18 (64.29%)
Loss trades (% of total) 10 (35.71%)

Largest
profit trade 22541.29
loss trade -4112.78
Average
profit trade 6092.13
loss trade -1122.92
Maximum
consecutive wins (profit in money) 6 (13633.76)
consecutive losses (loss in money) 3 (-1117.61)
Maximal
consecutive profit (count of wins) 39328.73 (3)
consecutive loss (count of losses) -4112.78 (1)
Average
consecutive wins 2
consecutive losses 1


影虎の雑学日記