アルゴリズムと機械の外国為替戦略 | OneStepRemoved

  • Articles
  • Sophisticated Web Sites
  • Automated Trading
  • お客様の声
  • お問い合わせ

異なる取引時間枠を比較します。

9 月 26, 2013 によって アンドリュー ・ セルビー 4 コメント

One of the decisions that every trader must make is selecting a timeframe for their system. While this may seem like a simple decision, there are actually a lot of working parts involved. Systems that trade on longer-term timeframes are more likely to catch big chunks of trends while posting lower commission costs. 反対に, short-term time frames will allow more opportunities for a system that is profitable on a per-trade basis.

Deciding on a timeframe also brings into question an individual trader’s commitment. Trading a short-term system can require quite a bit of regular time investment from the trader. Longer-term systems can be more useful to traders that aren’t able to commit to spending a large portion of every trading day in front of a computer.

The best way to make this type of decision about your own system is to backtest it on different trading timeframes to see how it would have performed. You can then compare these results to how trading that system would have fit into your lifestyle over that time. Would the returns have been worth the investment?

Simple Moving Average Systems

One of the simplest systems you could possibly trade is simply buying a general market ETF when the price closes over a certain simple moving average (SMA) line and then selling it when the price closes below that line. In order to create some comparison data, I backtested this system on the Vanguard Total Stock Market EFT (VTI) from January 1, 2001 12 月まで 31, 2010.

For each of these backtests, I used a starting capital of $10,000. In addition to exiting on a close beneath the SMA line, I also used a 10% trailing stop on each trade and assumed a $7 commission on each trade. In order to compare different timeframes, I ran three separate tests using the 50-day, 100-日, and 200-day simple moving averages.

50-day SMA System

The 50-day SMA System ended the ten year testing period with $13,430.34, which was good for a total return of 34.3%. The system logged 17 winning trades and 58 負けトレード, which works out to a winning percentage of 22.7%. It had a maximum drawdown of 35% and paid a total of $1,057 in commissions.

100-day SMA System

The 100-day SMA System ended the testing period with $15,878.26. This represented a return of 58.8% over a ten year period. The system posted 9 winning trades and 35 負けトレード, which means it had a winning percentage of 20.5%. It had a maximum drawdown of 23.9% and paid a total of $623 in commissions.

200-day SMA System

The 200-day SMA System ended the test period with $17,246.01, which was good for a 72.5% return over the ten year test period. その時に, the system only recorded 5 取引. これらの取引の, 2 勝者だったと 3 敗者. This represents a winning percentage of 40%, but that could be the product of a small sample size. This system posted a maximum drawdown of 34.2% and paid a total of $77 in commissions.

different trading timeframes

Your system might do better if you use a different time frame.

Simple Crossover Systems

One of the first systems I wrote about was the 10/100 Moving Average Crossover System. I tested this system on the same ETF using the same conditions as the previous tests. その後、, I tested a shorter-term system that traded 5/50 crossovers and a longer-term system that traded 50/200 crossovers.

、 10/100 Crossover System

、 10/100 Crossover System ended the ten year testing period with a total value of 18,978.69. This was good for a total return of 89.8%. During those ten years, it logged 7 winning trades and 9 負けトレード. This represents a winning percentage of 43.8%. The system recorded a maximum drawdown of only 16.2% and paid a total of $231 in commissions.

、 5/50 Crossover System

、 5/50 Crossover System ended the testing period with a total value of $16,075, which was a total return of 60.7%. The system posted 13 winning trades and 22 負けトレード, which was good for a winning percentage of 37.1%. It suffered a maximum drawdown of 22.8% and paid a total of $497 in commissions.

、 50/200 Crossover System

、 50/200 Crossover System ended the testing period with a total value of $18,095.29, which equals a total return of 81%. The system logged 4 winning trades and one losing trade. This works out to a winning percentage of 80% in what is obviously a small sample size. The system logged a maximum drawdown of 14.5% and paid a total of $77 in commissions.

Analyzing Our Results

あなたが見ることができます。, in both of these cases, the longer-term systems are able to match or outperform the shorter term systems. It is very interesting to note how the longer-term systems are able to do this while making far fewer trades, which results in much lower commissions costs.

It is important to keep in mind that both of these systems are trend following in nature. That explains why they perform better on a long-term basis. We would likely get very different results if we ran this type of experiment on mean reversion systems.

This simple distinction is a huge lesson that we can learn from these tests. If you want to trade on a long-term timeframe, you might want to consider a trend following system. If you are trying to trade on a shorter-term timeframe, a mean reversion system might be a better fit. You should do a careful self-analysis to decide which style and timeframe is best suited for your personality.

以下の下でファイルさ: あなたの概念を歴史的にテストします。, 戦略の取引のアイデア

コメント

  1. スコット 言う

    9 月 26, 2013 で 11:06

    こんにちはアンドリュー,

    There are some folks who believe that each time frame will “トレンド” with similar frequency —- relative to its own scale.

    返信
    • アンドリュー ・ セルビー 言う

      9 月 30, 2013 で 06:27

      ちょっとスコット,

      That’s a great point. Perhaps a future post idea!

      返信
  2. MTLibrary 言う

    10 月 9, 2013 で 08:51

    Larger time frames can be good for overall bias, but the core framework of any strategy should be built on one of only a few select frames. I’m speaking about those that are consistent and the same from broker to broker. たとえば: GMT+0 (ブローカー 1) and GMT+1 (ブローカー 2) will not have the same bar OHLC on a H4 candle. The same can be said for a daily candle, ように. It’s important to see what the rest of the trading world is seeing – therefore one should only use time frames that are the same everywhere regardless of your broker’s time zone – which they can change, thus giving your strategy entirely different results. Consistency is key!

    返信
    • アンドリュー ・ セルビー 言う

      10 月 10, 2013 で 10:04

      That’s a really interesting point! ありがとう!

      返信

メッセージを残してください 返信をキャンセルします。

あなたのメール アドレスは公開されません。. 必須フィールドをマークします。 *

メールで無料の取引戦略

トレンド分析

申し訳ありませんが. No data so far.

アーカイブ

  • ルール
  • 外国為替市場のしくみ?
  • インジケーター
  • メタト レーダーのヒント
  • MQL (オタクのため)
  • NinjaTrader ヒント
  • Pilum
  • QB プロ
  • お金を失うことを停止します。
  • あなたの概念を歴史的にテストします。
  • 戦略の取引のアイデア
  • 未分類
  • What's happening in the current markets?

翻訳


無料の取引戦略

プライバシー ポリシーRisk Disclosure

著作権 © 2022 OneStepRemoved.com, (株). すべての権利予約.