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

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

私はどのように悪いので欲しいです?

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

あなたは絶対に定期的に取引システムのパフォーマンスをチェックする必要があります. あなただけでは、あなたの株式曲線を見てからの問題のほとんどを欠場するつもりです.

そのほとんどは数週間前に私に起こりました. 私は自分のアカウントを観察したところ, 私は、実際の結果が大幅に仮想的な結果を下回っていたことに気づきました. クイックレビューは、私だけかかったことを教えてくれました 271 前の週以上の取引, 私のバックテストのに対し見つけることが期待 360.

私は取引されました 75% セットアップの! 何が不足している取引を説明することができます?

欠陥を見つけます

私はDominariのメタトレーダー版に書いた一つの特徴は、最大拡散機能でした. 私は手数料を払っています, そのように支払うのまれではあるが可能なシナリオのアイデア 10 耐え難い見えた貿易を入力するスプレッドピップ. 私はだまさ防止するために、最大拡散機能を追加しました.

スプレッドが広すぎる場合、私はまた、何が起こるかに多くの思考を入れていません. 私の最初の本能は数秒間休止状態にEAを入れていました. その後、目を覚ますと広がりをチェックします. スプレッドは十分に狭くなっている場合, それは、市場の秩序を送信します. しかし、私の急いで取引を開始します, 私はまた、価格が私の元の要求された価格の近くにあることを必要とするのを忘れました. そのデザインは、市場がアップドリフトすることができただろう 10 ピップとその後, スプレッドが狭くなった場合, 劇的取引で取得する余分に払います.

スプレッドが広すぎる場合に支払わ広がりをキャッピングするための新しい方法は、指値注文を使用しています. この方法の利点は、2つの同時の問題を解決することです. 第1は、理解しやすいです. 指値注文は、限られた価格を持っています. 上の段落で説明した価格ドリフトが発生することはありません. 私は私なしで私が欲しい価格や市場の動きを得るどちらかと私は貿易を欠場します.

私は月に実行変更を行ったため、エクイティ・カーブ 16.

私は月に実行変更を行ったため、エクイティ・カーブ 16.

エントリに指値注文を使用する第2の利点は、指値注文は、ブローカーのサーバー上に載っているという事実であります. スプレッドは一時的に許容可能な価格に狭くなる場所冬眠方法は、潜在的に第二の画分を見逃す可能性が. 指値注文は、すべての見積価格をキャッチ, フィルの私の理論的可能性を向上させます.

現実には、取引の週後に理論を証明しました. 代わりに取っての 75% すべての可能な信号の, 私は今取っています 87.5% 信号の. つまり、新しい制限法の結果だと私の意欲は、貿易を入力して、より広いスプレッドを支払うこと.

もっと改善

私の心の上部に疑問がありました, “私はこれらの取引を入力するためにさらに多くを支払うことを喜んでなければなりません?” 良いような 約, 私はすぐに質問を算出することを決めたの代わりに、でたらめに推測します.

私はキャンセルされたアカウント内のすべての指値注文を検索するためのメタトレーダーでスクリプトを書きました. 私は単純に法外な広がりを支払っていた場合、私は、それらの取引の仮想的な性能があったであろうものを見て.

これは、これらの取引を入力するために、私はより多くのお金を支払うことを喜んでなければならないことが判明します.

があった 50 過去一週間以内に指値注文をキャンセル, 44 理論的に収益性の高いそのうちの. トレードあたりの平均の理論的利益は、すべての実行取引のための€0.33比べ€1.28. それは巨大です 287% 収益性の違い!

他のショッカーは%の精度でした. 44 うち 50 の精度を暗示 88%, 比較すると 64% 執行した取引上の精度. 50 信号は多くはありません. 私は逃した利益についてあまり興奮またはその不運でいます?

基本的な統計は、高精度で答えを与えます. 実際の精度があれば 64%, あなたが見ることを期待します 50 * 0.64 = 32 ランダムサンプリングで勝ちトレード. 私の観察, これらの指値注文との理論上の精度がありました 44 のうち受注 50, あります。 88% 正確です.

これは、これらの取引を入力するために、私はより多くのお金を支払うことを喜んでなければならないことが判明します.

、 標準偏差 ため 64% 上の精度 50 注文されました 0.48, 私たちは、その後、計算に使用することができます 標準誤差. 標準エラーに 50 注文はSQRTです(50) * 0.48 = 3.42 注文.

そして最後に, 標準誤差は、私たちにZスコアを計算するのに十分な情報を提供します. Zスコアは、観測値、期待値/標準エラーです, あります。 (44-32) / 3.42 = 3.5. A z スコア の 3.5 の確率を有します 0.000233 偶然によって生じます, または約 1 で 4,299 テスト.

結論: 統計は私の未実行の注文は私の実行注文よりも実質的に正確であることを高い信頼度で言います.

受注は両方のより正確であると貿易値ごとに高いと, 私は私がによって支払うことを喜んだ最大の広がりを増加しました 53%. それが妙に正確な聞こえますが, 取引あたりの値は、実質的に過大評価されるかもしれません. 私はボールが払っていることを推測を停め 40% 高品質の貿易のための貿易コストが妥当であると思わ. その数は私が詳細を測定するためには、より高い行かなければならないことがあり.

探査のためのアイデア

ライブ次数解析から驚くべき外挿は、スプレッドが成功の私の可能性を予測するために思われることです. スプレッドの拡大は、私はもっと成功する可能性が高い、より良いリスクで作ります:報酬率. 今後数日間の私のプロジェクトでは、スプレッドが私の信号の収益性を予測するかどうかを評価するために、信号生成時に私のスプレッドのログを開始することになります.

奇妙なことに, でも、狭いスプレッドが私の故障を予測逆説的な結果があるかもしれません. 私が質問に答えるための十分なデータを持っている場合、その上の詳細.

以下の下でファイルさ: ルール タグが付いて: 実行, 制限, 約, スリッページ, 標準偏差, 標準誤差, 統計情報, Z スコア

Have Your Algo Running like a Swiss Watch

1 月 11, 2016 によって リオル Alkalay 6 コメント

Setting up a trading algo that works smoothly, like a well-oiled machine, is not a trivial endeavor. 沢山あります, many parameters that you have to take into account. It begins with the signals your algo is generating to the margins in your account, ボラティリティ, gains and, もちろんです, リスク. Certainly you’ve used our previous tips to build your algo and to draft your strategy. So how do you incorporate all those elements and optimize your algo for the greatest precision?

How do all the quants make their algos run smoothly like a Swiss watch? You have to treat your algo like a machine, built up with numerous mechanisms. Because of course, that’s what an algo really is. I like to call those mechanisms boxes. Now don’t despair if you think it all sounds a bit too complicated. By the time you reach this article’s conclusion you’ll have realized that it’s all quite simple and logical.

An Algo Made of Boxes

So what is the approach quants use that I like to call boxes? You divide your algo into separate mechanisms, or boxes, あなたがする場合. Each box will become a stand-alone mechanism that receives input data and generates an output. There will be one box that we can consider the brain; that box decides if it is a go/no go for the specific trade. The brain box gets all the inputs from all the other boxes.

Algo Boxes

Signal Box- The signal box scans prices and parameters, such as the moving average or any other condition you have written into it. 基本的には, these inputs are the rules of engagement you had early written for your algo. One simple rule could be, しましょう, 14 days moving average < 30 days moving average = signal to sell. 通常, this box will be running prices in several pairs.

他の言葉で, its input data and its output would normally be three parameters; an entry signal, a recommended stop loss and a limit. もちろんです, もう一度, these inputs are according to the parameters you have already defined.

Risk Box- The risk box, as its name implies, is the box in charge of risk monitoring. This one is a bit more complicated. The risk box gets input from several sources. It gets the risk, すなわち. stop loss required, from the signal box. さらに, the risk box constantly reads your available margin.

Its output is a go/no go on each trade that exists, based on the parameters you entered. たとえば, how much you want to risk in total or the minimal available margin to be left in the account.

Let’s say you have a free margin of 11% and you set up a minimal margin of 10% in the risk box. The signal box will send output of an upcoming trade.

The risk box can calculate that the executed trade would take 2% from your remaining margin. You started with 11% so that would leave your free margin at 9%. したがって, the output from your risk box will be a no go for this trade.

If you had had 13% free margin rather than the 11%, the output would be a go. もちろんです, there are many more options to program into this box but this is the simplest one.

Volatility Box- The volatility box might be the most complicated to program. しかし, volatility charting is something we covered fairly thoroughly in these articles – ボラティリティ & あなたの貿易, ビクスの世界, ビクスの代替を使用. The box’s task is to chart market volatility and provide an output if volatility is about to change dramatically. A major change to volatility could, もちろんです, warrant a change in your strategy.

Execution Box (aka the Brain Box)- Easily can be considered the most important box of all. This box is in charge of making the finally decision. It gets input from all the other boxes and decides if the trade should be opened or not. It also decides if a strategy needs to be changed.

たとえば, if the volatility box signals an upcoming surge in volatility the execution box may decide to close some trades. Or it could instruct the signal box to change into a secondary signal model suited to high volatility. There are many other ideas that you can program into it.

Algo

How Boxes Help You Win

All of those boxes can help you make your algo run more smoothly and efficiently. どのように? Quite simply because it lets you optimize your algo to a much higher level. It provides you with flexibility to easily adjust each mechanism. もっと重要なこと, it lets you monitor the inputs and outputs of each box and assess which needs fixing.

Algo Box: The Bottom-line

もちろんです, the partitioning into various boxes is not a new algo concept. It’s also not rigid; there’s no need to do it exactly as I did. If you’re intrigued by the Algo mechanism box concept and want to delve into it a bit farther you’re in luck. I highly recommend the book Inside the Black Box by Rishi K. Narang. I’ve found that it sheds a great deal of light on what some might construe as a complicated strategy.

And for those of you that are short of time? You can use this as a basic guide on how to make your algo run smoothly, without reinventing the wheel.

以下の下でファイルさ: 戦略の取引のアイデア タグが付いて: アルゴリズム取引, 実行, リスク, ビクス, volatilty

メールで無料の取引戦略

トレンド分析

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

アーカイブ

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

翻訳


無料の取引戦略

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

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