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

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

取引プラットフォームの制限

10 月 18, 2015 によって ショーンオバートン 6 コメント

この記事は、ベン Fulloon によって執筆されました, 尊敬されているトレーダーと OneStepRemoved にサブスクライバー.

ドローダウン比の素晴らしい戦略を開発しました。 13.67. 素晴らしいサウンド, 右? それは残念ですね 私の取引プラットフォームは二重以上に結果を誇張します!

それはあなたのブローカーとプラットフォームの制限の両方を学ぶことが重要です. 時には、これらの複雑さは、唯一の時間と経験を通じて明らかになります. あなたの取引プラットフォームは、機能やレポートの結果しない場合に予想されるように、それはとてもイライラ.

この記事では、NinjaTraderの2つの制約を指摘します 7, 実際に特定の状況ではトレーダーのための驚くほどより良いを回すことができるの悪い制限と1. しかし, これは私が使用しているブローカーではなく、プラットフォーム自体で行うことが多いです.

NinjaTraderは間違いなく限界を持っている唯一のプラットフォームではありません: メタト レーダー, 売買, X-トレーダー, Matlabの, など. すべての量的金融の制限があります.

私はかなり短く、読みやすいそれを維持するために、この記事でNinjaTraderについて書くことになります. 私もどちらか悪いのプラットフォームであるとしてNinjaTraderを作ることを意図するものではないのです. しかし, 定量的な開発するトレーダーやトレード戦略のためのそれは非常に簡単に、より便利にするために作ることができるいくつかの改善は間違いなくあります.

最初の癖は、私が使用しているブローカーに関連します. 具体的には, それは私が気にデイトレード・マージンです. この日の取引マージン終了 15 セッションの終了前に分. 例えば、ES (エミニS&P500) の日計り取引マージンが $500, これで終了 4:00その後の完全な取引マージンに戻り午後のCT $5060 セッションが終了する前に 4:15午後CT. (述べタイムズは記事の執筆時点で正確です, ESは、今で閉じ 4:00午後CTやデイトレードマージンがで終了 3:45午後CT)

私はあなたに私が開発した日の取引戦略の結果のスクリーンショットを紹介. この戦略は、ESの取引します, NQ (エミニナスダック 100) そして、YM (エミニダウ) すべて同時に. NinjaTraderと緊密に終了する最も簡単な方法は、ど​​のセッションのクローズ時に終了し、次に意志をtrueに "閉じるに終了」を設定しています.

All trades together in the report

結果によれば、戦略は、の合計を作ります $332,771.60 最大ドローダウンと $25,912.27 以来、 2008 今. これは、のドローダウン比であります 12.84. それはoustandingです!

問題は...あなたは問題があると知っていました… 戦略はで終了するということです 4:15午後CT. 日の取引マージンがで終了 4:00午後CT. 戦略は、小さなアカウントサイズのマージンコールを取得することが可能性が高いです.

それは、一日の取引マージンを最大限に活用するための戦略を微調整することに意味が. Ninjatraderは、カスタムセッションテンプレートを提供しています, これはこのケースでは、私はで終了しました 4:00午後CT. 次のようにカスタムセッションテンプレートの結果があります.

Day trading with all instruments together

マージンコールの作りを回避するために、同じ機器に適用まったく同じ戦略 $335,819.30 最大ドローダウンと $24,560.51. これは、のドローダウン比であります 13.67.

私は、ドローダウン比と利益の向上を目的とした戦略を変更していません. でもねえ, 買います. プラットフォームに制限を見つけることが実際にいくつかの状況であなたに利益をもたらすことができます.

この戦略は、取引に基づいています 3 異なる機器. ES, NQとYM. 問題は、私はバックテストそれがNinjaTraderに機器リストを使用していることです. これが意味することは、彼らはすべて個別にテストしているあります. NinjaTraderはその後、上記のスクリーンショットの結果などの総合結果としてあなたのためのテスト結果を組み合わせました.

ここでは、楽器のリストとしてそれらをテストするとき、それは次のようになります。. これは、個々の楽器の異なる利益とドローダウンを示しています.

Results by instrument

今一見それはトレーダーが作ったであろうことを読み取り、 $335,819.30 最大ドローダウンと $24,560.51 彼らは一緒にすべての3つの機器を交換した場合. そう思いませんか?

問題は、これが間違っているということです. あなたが思うだろうようNinjaTraderは、実際に結果を結合しません. トレーダーは、まだおよそそのお金を作ったであろう. しかし, すべての統計情報は非常に正しくありません.

それは、ESを交換しますが、これを示すために、私は正確に同じ戦略を再作成しました, NQとYM同時にすべての代わりに、それはデフォルトではありませんように、それらを別々に取引. あなたは、マルチインストゥルメント戦略にそれをプログラムするときに、これらは結果であり、

Combined trading

それは作ります $335,915.30 これはほぼ同じ量であり、, それは、最大ドローダウンを持っています $59,937.60 代わりに $24,560.51 それは次のようになりますようにそれは、もともと見えました. これはそれのドローダウン比になります 5.60, オリジナルよりも多くの悪化しています 13.67.

トレーダーは、最大ドローダウンに基づいて取引をすることを決定した場合 $24,560.51, ドローダウンは、彼らが期待していたの倍悪いことが判明したとき、彼らは厄介なショックを受けること.

そのような重要なメトリックの誤った計算は、アカウントを危険にさらす可能性が. あなたが実際に戦略を取引するために必要なの株式の半分を離れて得ることができることを前提としていかもしれません. おっとっと?!?

NinjaTraderで誤解を招くような統計は、この戦略は本当に素晴らしい見えるのです. しかし、ドローダウンは、それが最初にあったであろうと思われた何倍以上である場合, あなたは厄介なショックを受けるかもしれません.

それは可能な限り早期にあなたのプラットフォームとブローカーの制限の両方を学ぶことが重要です理由です. あなたはこれらの制限に、ハードな方法を学習する必要はありません.

数週間の時間、, 私は、より正確な測定基準を示し、マルチインストゥルメント戦略を作成するための簡単​​な方法を明らかにします. シリーズの次回の記事をお楽しみに.

以下の下でファイルさ: NinjaTrader ヒント, あなたの概念を歴史的にテストします。 タグが付いて: ドローダウン, ES, 先物, マージンコール, NQ, 資産配分, その他

SPY Crisis Strategy

10 月 11, 2013 によって ショーンオバートン 3 コメント

Yesterday’s musings on an S&P 500 doji strategy led to a general discussion of stocks and market crises. I promised to analyze a price-moving average cross strategy and to analyze the performance in times of exceptional volatility.

The results are in and they’re exactly what I predicted. I’m shamelessly tooting my own horn on this one – it’s so rare where strategies do exactly what I predicts.

SPY Crisis Strategy Returns

The direction of the returns matches any traders definition of crisis and regular trading periods over the past decade

SPY Crisis Strategy Rules

The trading rules only initiate short trades. No long positions are allowed.

Enter short next bar at market when:
The price crossed and closed below the 20 day SMA on the last closed bar
The trader believes that a crisis environment either currently exists or is about to exist

Exit an open short trade when:
The price crosses and closes above the 20 day SMA on the last closed bar

The position size is equal to a fixed dollar value divided by the current share price. 例として, SPY currently trades at $169.24. If you wanted to control a position size worth $1,000, then the number of shares is the floor of $1,000/$169.24 = 5 shares.

This strategy is intended to be timely for the current trading environment. Based on all of my proposed definitions below, most of the crisis alarm bells are ringing at the moment.

Defining a crisis

The most difficult part of this type of strategy comes from defining a “crisis environment” quantitatively. Crises don’t happen very often by definition, so I don’t think it’s a worthwhile endeavor to try to quantity the crisis bit. ということで, a few obvious crisis indicators come to mind based on basic market mechanics.

PE Ratio

The morons on Tout TV (CNBC and company) keep on screaming how cheap stocks are. I’m not a fundamental trader, but the PE ratio contains useful information. Even the most hard core technical analysis buff would agree that companies generating huge positive cash flow and earning growth have to appreciate いくつかの時点で. The argument isn’t about if that type of stock will rise; it’s just a question of when.

I don’t see how anyone could possibly look at the current PE ratio of 19.3 and argue that stocks are cheap. They aren’t. Stocks are currently very expensive based on a historical comparison.

ビクス

VIX is a CBOE benchmark index that allows traders to compare the price of front month options traded on the S&P 500. A more detailed explanation of the VIX is available on Wikipedia if the concept is new. There’s nothing magical about the 20 レベル. It’s my general experience that most traders consider that number the one to watch. They think of VIX < 20 as "normal" and VIX > 20 as a severe market move.

VIX danger level

Most traders regard a VIX above 20 as a dangerous level.

Put-Call Ratio

Options are effectively leveraged bets on market movements with fixed downside risk. When traders load up on puts, they’re expecting the market to fall. When traders buy more calls, they’re expecting the market to rise.

The put call ratio is simply the number of put contracts traded / the number of call contracts traded. A number > 1 means that more puts were purchased that day than calls, indicating an expectation of a market drop.

Theory has it that short term traders are wrong, making the put call ratio a 逆張り投資家 インジケーター. I see the put call ratio as more of a lagging インジケーター.

ES Put call ratio

When a move is real and already happened, traders react too late and buy protection that they no longer need. 、 2008 financial crisis a great example when the ratio spiked to 1.5, a wild number. Just in the past week the ratio went as high as 1.3 before settling back down. The volatility in the number indicates a panicky crowd in my opinion.

Margin debt

Leverage is a two way sword. The theory is that it’s a way to multiply returns by risking debt in the market.

Most traders, and especially retail traders, wind up using leverage as the rope to hang themselves with. Stocks are most commonly purchased with cash among investors. Unlike forex and futures where almost every trader enters a position with leverage, the average retail stock trader enters a position using only the cash present in his account.

An increased willingness among traders to move from cash to margin debt is typically a sign of froth, bubble fever or whatever you want to call it. The chart of margin debt from Business Insider と ゼロヘッジ show that stocks are currently trading near historical highs.

margin debt business insider

Margin debt Zero Hedge

結論

、 20 day SMA price cross strategy is a great way to run account protection whenever market warning signs are going off. The warning signs may not predict the precise market turning point, but the strategy can function as an effective form of insurance.

The strategy would roughly break even over time if someone were foolish enough to run it that way. Say that you mistime the crisis. Big deal. This type of strategy can run for months without causing irreparable harm to the account.

The signals can run in the background. If you’re only a little bit right with your crisis predictions, the risk reward ratio is massively in your favor. If you’re wrong, the consequences appear to be slow losses that lose a couple of percentage points per quarter. If you’re feeling edgy, I think it’s a great strategy to run in the background to calm your mind.

以下の下でファイルさ: 戦略の取引のアイデア タグが付いて: 逆張り投資家, dot com bubble, ES, etf, financial crisis, 外国為替, 先物, margin debt, 移動平均, Put call ratio, リスク報酬の比率, S&P 500, スパイ, 株式, ビクス, ボラティリティ

フィボナッチ綿毛

1 月 16, 2013 によって ショーンオバートン 5 コメント

I read a post on Zero Hedge highlighting an alleged Fibonacci time pattern. The chart shows a convincing countdown between the March 2009 low and an exponentially decreasing time period between market peaks.

ES Daily chart

The ZeroHedge post claims to find a Fibonacci pattern in the ES low going back to 2009.

I would expect the pattern to show up in other instruments if the observation had any merit. It’s well known that the strength or weakness of the US dollar largely drives the price movements in equity indices, especially in the S&P 500.

If it shows up in the SPX ETF, surely a similar patten would appear in EURUSD? It’s the most liquid and actively traded forex pair in the world.

A quick look at the EURUSD doesn’t give any encouragement.

Fibonacci time

A current look at the EURUSD doesn’t show any relationship to the ZeroHedge Fibonacci time observation

I even did some cherry picking in the drawing to get the time span between trends to decrease. My original drawing counted the 128 と 97 day periods as a single group.

A lot of readers out there swear by Fibonacci price movements. I’m not sure how many subscribe to analyzing time with Fibonacci.

Do you think it’s a useful tool? Let me know what you think by leaving comments below.

以下の下でファイルさ: 現在の市場で起きていること? タグが付いて: ES, ユーロドル, フィボナッチ, 外国為替

メールで無料の取引戦略

トレンド分析

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

アーカイブ

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

翻訳


無料の取引戦略

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

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