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

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

Coppock 曲線 : 取引の成功への直線

4 月 15, 2014 によって エディ ・花 Leave a Comment

Coppock 曲線, 呼ばれる Coppock インジケーターまたは Trendex 指標, クオンツトレーダーにシンプルでありながら成功した機械的な取引システムを構築するための強固な基盤を提供していますインジケータの種類は、.

以下でより詳細に記載されるように, 私はSで売買シグナルを生成するために、私の機械的な取引システムでCoppock曲線を使用&P 500 または他の流動性の高いインデックス. Coppock曲線はまた、取引iシェアーズETFのとではうまく機能.

Coppock曲線とは何ですか?

Coppock曲線は運動量指標であります. 時間をかけて, 彼らは何度ゼロの下で振動します. Coppockカーブインジケータは、最初に説明しました 1962 エコノミストやトレーダーエドウィンCoppockによって. 実際, それは市場の技術者協会ようにうまく動作します (MTA) 認識博士. 功労賞のあるCoppock 1989.

Spiraling staircase

その値は、株式やインデックスの価格動向の長期的な変化の始まりを示すことにあります, 特に上昇傾向の初めに. このインジケータはまた、先物や外国為替市場の底部に信号を送ることができます, まだ私はそれが信頼性が低いことがわかりました.

あなたは、任意の時間枠にわたって、この指標に基づいて売買シグナルを生成するために、機械的な取引のアルゴリズムをプログラムすることができますが、, 私は、一般的に株式や指数市場の幅広い毎月のチャートで使用. まだ, アクティブなトレーダーは確かに毎日、あるいは時間単位の期間でCoppockカーブを使用することができます.

具体的には, 私は、クマの市場の下部にある「買い」信号を生成するCoppock曲線を使用. このインジケータは、クマの集会や実際の市場底とを区別するために特に良いです.

これは、トレンド追従指標であります, ので、正確に市場の底が表示されません. 代わりに, それは私を示していたときに強いです, 強気の集会を安全に自信を持って取引を十分に定着しています.

すべてのベスト, 私の経験でCoppocks曲線に基づいて、信号からの取引がshakeoutsとwhipsawsにかなり耐性があります. Coppock曲線が遅いです, 彼らは安全です.

Coppock曲線は「喪の期間」の終了を知らせます

背景として、, それは注意することは価値があるという博士が主導し、元のアイデア. Coppock彼の指標を開発するためには、生活の自然のサイクルに基づいていました, 死, そして再び新しい生活に戻る前に、喪.

彼は株式市場の通常の上方行進と思いました (したがって、株価指数) サイクルの「生活」の部分のようでした, もちろん、これはつまり「死」が続きました, 弱気市場の間の価格下落の期間.

Dr. Coppockは、株式市場の「喪」期間の長さを計算する際に特に興味がありました, その後、再び市場「長い」再入力しても安全になります. 論理的に, 喪期間の終了時にこのエントリポイントは次の長期的な上昇トレンドの始まりを表すことになります.

作り話の話は、彼が地元の聖公会で司教に尋ねたことを言います, 彼の投資のいずれかのクライアント, 通常bereavements後に喪に費やさどのくらいの人々. 彼は人間の喪が典型的に必要であることを言われました 11 宛先 14 ヶ月, ので、これらは、株価が再び上昇し始めるとき、彼は彼の元の方程式に採択された値を決定することでした.

Coppockカーブは最初毎月のチャートに基づいて長期的な指標として使用しました. もちろんです, 毎月の時間枠で生成された信号はかなりまれです. まだ, 私は市場の様々な取引をCoppockカーブを使用しているため, 私は、売買シグナルの多くを受け取ります.

特に, 毎月の時間枠は、株式やインデックス取引のため、非常に信頼性が高いです. 研究があることを示しました, 以来、 1920 米中. 株式市場, Coppock曲線は、約で勝利信号を生成しています 80% 周波数.

この頃, 現代の市場の急速な売上高と, それは取引サイクルが速くなってきているようです. 毎月の時間枠に加えて、, 一部のトレーダーは、毎日の時間枠が成功Coppockカーブ信号を生成する際に非常にうまく機能することを発見しました.

トレーダーは、毎日または毎時時間枠に基づいて認識し、信号に対応するための機械的な取引システムをプログラムすることができます, 追加のアルゴ取引パラメータは放漫経営の機会を減らすために追加する必要がありますが、.

あなたは、より短い時間枠で信号を生成するCoppock曲線を使用する場合, あなたの特定の市場のためのメイクセンス」喪の期間」のさまざまな方法を使って、あなたの機械的な取引システムを実験でした.

Coppock曲線を計算する方法

Coppockインジケータは、三つの変数に基づいています: 変化の短期率 (ROCと略記), やや長期ROC. Coppock曲線は、加重移動平均を使用して開発されています (WMA) 特定の市場指数の選択された時間帯由来.

言葉で述べた古典的な式:

Coppock曲線は、14期間ROCプラス11-期間ROCの10周期WMAを=

または, プログラミングのための式として、:

Coppock曲線= WMA[10] の (ROC[14] + ROC[11])

ときROC = [(閉じる - 閉じるN周期前) / (閉じるN周期前)] * 100

nが時間期間の数であります.

古典的なシナリオでは, 11 と 14 期間. 別々のROC計算を行うようにしてください.

あなたが見ることができます。, 基本的なセットアップは非常に簡単です - 移動に基づき, 私は与えられたインデックスの変化の割合を計算するために、私の機械的な取引システムをプログラム (Sを言います&PまたはDJIA) 14ヶ月前から.

その後、, 私の機械的な取引プログラムは、11ヶ月前から同じインデックスの変化率を算出し、. 次, 機械的な取引システムは、2つの異なるパーセント変化を加算. その後、, それは上記の合計の10-期間加重移動平均を算出し、.

それはあなたがROCの計算とWMAの計算に異なる期間を使用できることに注意することが重要です. 私は時々古典を使用するために私の機械的な取引システムをプログラム 11- ROCおよび14ヶ月の期間古典10ヶ月の期間よりも短いWMAの時間期間を使用している間.

だから, 私は、多くの場合、2ヶ月または3ヶ月のWMAを使用して使用します (代わりに 10 ヶ月) ROCを使用して計算されている間 11- そして、14ヶ月の価格.

または, あなたは、計算の一部またはすべてのためのより短い時間を使用することがあなたの機械的な取引システムを変更することができます, すなわち. 毎日使用したり、毎時価格の代わりに毎月の価格チャート. これは、複数の信号を生成します, あなたは追加のフィルタを追加しない限り、私の経験では、彼らは信頼性が低いです, 以下に説明するように.

同様, あなたがあなた自身のニーズに合わせて追加の装飾を追加することができます. 任意のイベントで, 一般的な方法は同じまま. 基本的な入力をグラフ化すると, あなたは、出力がかなり滑らかな円弧であることがわかります, この指標の名前の由来.

任意のイベントで, 機械的な取引システムをプログラムするための古典的なCoppock曲線の方程式は次のように述べることができます: 変更の14ヶ月のレートと変化の11ヶ月の率の合計, 10ヶ月の加重移動平均を適用することによって平滑化と.

Coppock曲線「買い」信号

Coppock曲線に, ゼロラインはトリガであります. 価格ラインは下から上昇すると 0 ラインは、低リスクの購買機会を知らせます. Coppockインジケータが最初に以下のとき私の機械的な取引システムは、購入を実行 0, その後、トラフから上方に向かいます.

これは強気の指標として最も効果的であるので、, 私は反対を無視 ("売って") 信号. まだ, 一部のトレーダー, 短い時間枠を使用して、特に, 売り信号を生成し、ロング・ポジションを閉じて取引を実行するためにアルゴ取引システムでCoppock曲線を使用. Active traders can both close long trades and open shorts when the Coppock Curve crosses below the zero line.

The figure below shows the classic Coppock Curve trading strategy using monthly time periods. The buy signal came in 1991. The sell signal came ten years later, で 2001. Note that this long time frame helped me avoid the slump in late 2001 と 2002.

The next buy signal came in 2003 and the sell signal was in 2008. This helped me escape the slump in 2008 and into 2009. Note, also that the current “buy” position, signaled in early 2010, continues to remain open, at least through the date of this chart.

Coppock Curve on S&P 500 monthly chart

The Coppock Curve on an S&P 500 monthly chart

次, for more-active traders here’s a screenshot showing the strategy applied with shorter time periods, as shown on a daily S&P 500 グラフ. もちろんです, many more signals are generated, although in general they are less likely to be winners.

Coppock Curve on a daily S&P 500 グラフ

Coppock Curve on a daily S&P 500 グラフ

重要なこと, the longer the time period, the safer the buy signal. Since my mechanical trading system based on Coppock indicators is a trend-following system, I don’t necessarily capture the immediate gains from the exact moment of a trend reversal. 代わりに, my mechanical trading system gets me “long” just before the beginning of a profitable advance in a bull market.

Adjusting and filtering signals from Coppock Curves

I’ve found Coppock Curves to be highly reliable when used for monthly time periods. 私の経験で, using weekly, daily or hourly time periods usually means that my entries and exits aren’t as “tight” as I would like, meaning that I don’t capture all the gains I had hoped for, and I also have more losses.

しかし, active traders can decrease the ROC variables, which has the effect of increasing the speed of fluctuation in Coppock Curves and will therefore generate more trading signals. もちろんです, even though monthly time periods are my favorite, an ultra-long-term trader could also increase the ROC time periods to slow fluctuations even more, thus generating fewer signals.

上記述べたよう, in order to receive earlier entry signals, I usually decrease the WMA downward from 10 ヶ月, sometimes to 6 ヶ月, and often to as little as 2 ヶ月. By programming my mechanical trading system carefully with just the right WMA period, and filtering the signals, I maximize my profitability in a given market.

If you want to use Coppock indicators for active trading, I recommend that you filter the trade signals generated by your mechanical trading system so that you only accept trades which are in the same direction as the current dominant trend. You’ll find this mechanical trading strategy to be the most profitable, since you can avoid many losing trades by filtering the signals.

Which markets show reliable Coppock Curves?

I use my Coppock curve-powered mechanical trading system to trade a range of indexes, especially those based directly on stocks, など、:

  • Dow Jones Industrial Average
  • S&P 500
  • NASDAQ Composite
  • EURO STOXX 50
  • FTSE 100
  • Nikkei 225
  • Hang Seng

同様, if you’re focused on ETFs you’ll find that a mechanical trading system using Coppock Curves will allow you to catch the beginning of trends in specific market niches, such as biotechnology, energy, and international or regional equities niches.

The key is to make sure you trade only the liquid indexes. それ以外の場合, you may run the risk of being shaken out during “fake” trend changes.

Trading Coppock Curves in non-equity indexes

同様, for the sake of diversification and to avoid issues with correlation, I also program my mechanical trading system to spot and trade Coppock Curves in non-equity indexes as well. もう一度, I focus on markets which have sufficient liquidity.

There are some profitable non-equity indexes, including iShares and ETFs, which can be traded using Coppock indicators:

  • Bloomberg US Treasury Bond Index
  • Bloomberg Canada Sovereign Bond Index
  • Bloomberg U.K. Sovereign Bond Index
  • Bloomberg US Corporate Bond Index
  • Bloomberg GBP Investment Grade European Corporate Bond Index
  • ブルームバーグユーロ投資適格の欧州コーポレート・ボンド・インデックス
  • ブルームバーグ円投資適格コーポレート・ボンド・インデックス
  • iシェアーズバークレイズ 7-10 年財務省債券ファンド
  • iシェアーズバークレイズ 20 年財務省債券ファンド
  • シュワブ短期米. 財務省ETF
  • バンガード短期国債ETF
  • PIMCO 1-3 年米. 財務省インデックスETF

すべての上に挙げた以外の株式インデックスを取引するとき、私はCoppock曲線から信頼性の高い信号を見てきました. いつものように, キーは非常に液体でのみこれらの市場における機械的取引システムを使用することです, そうアルゴリズムが確認された信号は、それを取引する前に正当であることを合理的に確信していること.

Coppock曲線は、成功への直線を示します

近年では, Coppock曲線は、この実証済みトレーディングツールに再び目を向けているトレーダーから新たな関心を描画されています. 見る, たとえば, これらの最近の金融プレスでCoppock指標の言及します: Jay On The Markets, と、 follow up article, as well as in various trader musings.

要約すると, I can say that Coppock Curves can lead you straight to success, as long as you have the patience to let your mechanical trading system do the work for you. If you use the length of variables’ time periods which are most appropriate for your chosen markets, you should do very well with Coppock Curves.

以下の下でファイルさ: 戦略の取引のアイデア タグが付いて: Coppock curve, Coppock curves, Coppock indicator, Coppock indicators, 専門家アドバイザー, 機械取引, ninjatrader, system, 取引

転送最適化を歩く

1 月 13, 2014 によって ショーンオバートン 6 コメント

歩いていたし、ランダムに雨が降り始めた場合, 明日は傘を持って考慮します。? もちろん、.

人々が行動を観察したとき、私はそのような修辞的な質問をする理由は、, それらはそれに応じて応答します. 彼らは何かが再び起こる可能性があることが予想される場合, 彼らは結果の変化に対応するために彼らの行動を変えます.

あなたは外国為替のロボットを考えるとき, 誰もが永遠に動作する戦略を開発するという夢を持っています. これは、変更する必要はありません. 初期設定は、常に動作. それをオンにし、ビーチに移動.

現実, もちろんです, それよりも複雑です.

walk forward optimization

ウォークフォワード最適化は継続時間の代わりに、静的な設定のいずれかのセットを探して全体最適化

あなたの戦略は、必然的にゆがんで行くときそれはあなたが何をする必要があるかの期待につながります. それはあなたが現在の市場にも驚くほど動作しない戦略を考え出すことは非常に可能性があります. しかし, 過去の天才は、将来の天才を意味するものではありません. あなたの戦略は、もはや将来的に動作しません可能性が常にあります.

何故ですか? それが今日雨が降れば、それはあなたが明日傘を運ぶかもしれないのと同じ理由です. 人々は一貫した方法で行う市場を観察. より多くの人々は、観測を行うと, 人々はそれに取引を開始します. 市場では、これらの変化に対応, あまりにも多くの人々がそれについて耳いるとして、最終的に機会が完全に洗います.

ウォークフォワードテストは、あなたの戦略が洗い流さしたかどうかを決定するプロセスです. データの1セットでテストすることにより, そして、ブラインドセットにそれをテスト, あなた自身にあなたの戦略が悪いかどうかの指標を与えることができます. ウォークフォワードの目標は、あなたの戦略が良好であることを証明することではありません. それはあなたの戦略が悪いことが知られていないことを証明することです.

ウォークフォワードテストのプロセスは非常に簡単です. あなたは、あなたのテストに使用する情報のセットを識別し、 最適化. 実際の例を使用して, 今ではの始まりに 2014. だから、多分あなたはからデータを見て、テストしたいです 2011 を通じて 2012. それはあなたの中のサンプルデータになります, し、サンプルデータのうち、あなたはすべての可能性があります 2013.

歩行フォワードテストを行うために, あなたはあなたの戦略をテストし、分析することになります 2011-2012. その後、, それはだかどうかを判断します “悪いことが知られていません”, あなたは、その後に先に歩きます 2103 見るために性能を確認.

あなたがやったことはブラインドテストであります. あなたはどのように戦略がで実行することになりかわかりませんでした 2013 あなたはそれをテストしたとき 2011-2012. ブラインドサンプルの上に置くことによって、, あなたはそれを失敗する機会を与えます.

それはあなたの最適化の弱点を識別するための絶対的な最高のツールだから非常に多くのトレーダーは徒歩フォワードテストで自分たちの信仰を置く理由は、. あなたは戦略をテストしているとき, それはあなたが過去の機会にオーバーフィットをした可能性が非常に高いです.

自己フィードバックは、現在の市場でループ

私はあなたに例を挙げましょう. 現在の市場では, トレーダーの多くはされています 叩い金 市場にどこの市場で毎日が開いて開きます。, 彼らはおそらくできる限り金を売却. 場合によっては、数分のスパンでの年間生産量の数倍です. あなたは何を参照してください5または10分間の絶対的自由落下であります. その状態は、一度日間持続します. しかし、それは永遠に続きません. 十分なトレーダーは、人々がオープンに金を強打することを見て起動すると、, 彼らは同じことをやって起動します.

効果的, 誰が彼らのためにその取引を行うために他のトレーダーを教えていた金は、市場のオープンにフォールオフしたいです. 人々は金が開いて最初の5分で落ちることを期待したよう, 彼らはその後、彼らの行動を変えます. いくつかは、オープンを叩いにジャンプし、短い移動しよう.

他の人は自分の動作を変更する開始します. 彼らは、5分間その金無料の落下に注意してください. その後、, 突然止まります, そのようなよりは平均値に戻ります. 非常に多くの分が開いてから経過した彼らは、タックと買いを変え始めましょう. 彼らは販売に先行重いボリュームが最終的に正常に戻ることを期待. 人々は彼らの行動を変更すると, 他の人が親切に対応します.

十分な人々がオープンに販売を開始し、その後、オープン5分で購入する場合, あなたは一人が別​​のアクションに応答する場合はパターンが形成されていることがわかります. それは日の最初のカップルのために働いていた状態がもはや将来的に機能する自己フィードバックループです.

あなたはこれらの条件に耐えることがある戦略を識別することができた場合, あなたが任意のテストと最適化をしなかった条件に耐えることがあります, あなた自身の将来に成功したのより良いオッズを与えます. それは非常に多くはないトレーダーは、あなたが発見したこの取引チャンスに物事をよく分かっていることを意味し.

フォワードテストを歩くためのアプローチは、として知られている問題に対する解毒剤であります カーブフィッティング. カーブフィッティングはcould haveの縮約形should haveの縮約形戦略究極のwould haveの縮約形であります. 昨日から、チャートを開いて、私はここで買っただろうと私はここに販売したと言っに似です, すでに蒸散何を知ります.

もちろん、あなたがしようとしています “稼ぐ” 其れでは. あなたは、市場が何をしたか、完璧な情報を知っています. 将来は, あなたは完璧な情報がわかりません. 戦略の目標は、そのあいまいさに対処することです.

新しい状況が必然的に発生していることをあなたが過去の市場の状況にまで完璧にフィットのすべてをしたカーブフィッティング手段, フレーズに似て一種の, “歴史は繰り返さありません, それは韻を踏みます,” あなたの戦略は、同じことを行い.

あなたは過去の実績でもない戦略をしたいです, しかし、あなたは歴史的な市場でお金を稼ぐための戦略を考え出すていません. 戦略を開発する目的は、将来の市場でお金を稼ぐことです. あなたはバックテストしているとき, あなたは、固体の歴史的性能とのバランスをしようとしています, 最も重要なこと, その歴史的知識が将来の業績に外挿することを確認すること. あなたの目標は、お金を稼ぐことです.

ローリングウォークフォワード最適化

ローリングウォークフォワード最適化は徒歩前方にアイデアを取り、継続的に新しいデータにそれを暴露することによって、戦略を改善. それでは、あなたが24ヶ月のサンプル期間を持っているとしましょう. それについて移動するための一つの方法は、二ヶ月の期間、あなたの戦略を最適化することであろう, その後、3ヶ月目に前方に歩いて. あなたは行動を観察し、あなたは、第2、第3の月の再最適化, その後、4番目の月を楽しみにして歩きます.

連続的にそうすることによって, あなたは戦略の減衰時間を排除し、それを継続的な市場の状況に適応する機会を与えます. これは、機械学習に赤毛の継子の一種であります. 経験と損失は戦略に徒歩フォワード最適化により改善し、市場の変化に適応する機会を与えます.

…あなたは戦略の減衰時間を排除し、それを継続的な市場の状況に適応する機会を与えます

散歩フォワード分析のためのもう一つの重要な考慮事項であります 自由度 系内で. たとえば, 例えば、あなたが、移動averaageクロスを分析しているとしましょう. あなたは、2つの移動平均を使用して、固定stoplossを使用して、利益を取るしています. それはあなたに4度の自由度を与えるだろう. 高速移動平均は、最初の学位であります. ゆっくりと移動平均は、二度あります. 第三はstoplossで、4番目はテイク利益であります.

あなたはシステムで許可するより多くの自由度が大幅に過去のデータにあなたのシステムをフィッティングチャンス0F曲線を増加させ. 絶対的な最高のシステムは、12自由度以下に保ちます. あなたは、大規模な取引の数、あなたが満足すること申し出性能を有する取引の機会を見つけたいです.

あなたの最適化の際に考慮すべきもう一つの要素は、あなたがのために最適化されたものです. ほとんどの人は絶対リターンに焦点を当てます. 戻り値は素晴らしいです, ほとんどのトレーダーは、について多くを気に どうやって 彼らはお金を稼ぐの代わりに、 いくら. 私はあなたに例を挙げましょう. 私が作っシステムを持っていた場合 $25,000 昨年, あなたはそれを望みます? ほとんど誰もがそう言います.

私が作っシステムを使用している場合 $25,000 昨年, しかし、あなたはに負けなければなりませんでした $15,000 あなたはお金を作った前に. ほとんどの人は、そのシステムを望んでいません. これが意味することは、最終的な結果ではなく、日々のパフォーマンスについてより多くを気にしていることです. 最適化、さらには徒歩フォワード最適化の問題点は、必ずしもあなたが現実の世界で気に何に焦点を当てていないということです: あなたがあなたのお金を作っている方法.

ほとんどのチャートパッケージは、ネット結果に焦点を当て、それはあなたのシステム内のいくつかの弱点を引き起こす可能性があります. あなたはレンジ取引している場合, あなたが本当にやったことは桜が少なくとも実質的なニュースの影響を受けている結果を選ぶです. 効果で, あなたはまだ影響を受けていません設定を選択しました 脂肪のしっぽ.

あなたはトレンド取引している場合, あなたは正反対をやりました. あなたが意図的に過去に起こった脂肪tailesを最大化の設定を選びます. トレンド取引戦略で, あなたはおそらく安定したパフォーマンスを見つけることするつもりはありません. 代わりに, 何を見つけることは、最適化を頻繁に長い引き起こすことがあります, 絶え間ないドローダウンの継続的な干ばつ. そして、突然、, ほとんどどこからともなく, それはあなたが経験したドローダウンの数倍を返すメガモンスターの勝者を見つけます. これは、架空のbacktestsの罰金です, しかし、現実の世界で、あなたは近く、日常的に損失を被るている場所, ほとんどのトレーダーは、痛みを取ることができません. 私はほとんどの最適化を見つけるの弱点は、彼らはパフォーマンスの一貫性を見ていないということです. 戦略を最適化するための潜在的な代替が見れることになります 線形回帰 経時株式曲線の. 最高の株式曲線は最強の線形回帰の傾きを有します.

ローリングウォークフォワード最適化を実装する人気チャートパッケージはAmibrokerです, 売買, MultichartsとNinjaTrader.

NinjaTraderでウォークフォワード最適化

コントロールセンターから戦略アナライザを開きます. [ファイル] をクリックします。 / 新機能 / 戦略分析.

NinjaTrader Strategy Analyzer selection

NinjaTrader中戦略・アナライザを開きます。

  1. 楽器や機器のリストの上でマウスの左クリックと右のマウス、マウスの右クリックメニューを表示します. メニュー項目ウォークフォワードを選択. また、上でクリックすることができます “で” 戦略分析ツールバーのアイコン. あなたがホットキーを好む場合, あなたはまた、Ctrlキーを使用することができます + W. 最後に, あなたもプッシュすることができます “W” 戦略分析の左上のアイコン.
  2. 戦略引き出しメニューから戦略を選択します
  3. ウォークフォワードプロパティを設定 (参照してください。 “ウォークフォワードの特性を理解します” プロパティ定義については、以下のセクション) し、[OK]ボタンを押してください.
NinjaTrader Walk Forward Optimization

NinjaTraderに散歩前方最適化を選択するための多くの方法があります

ウォークフォワード進行は、コントロール・センターのステータスバーに表示されます.

以下の下でファイルさ: NinjaTrader ヒント, あなたの概念を歴史的にテストします。 タグが付いて: AmiBroker, バックテスト, カーブフィッティング, 脂肪のしっぽ, ゴールド, MultiCharts, ninjatrader, 範囲の取引, 自己フィードバックループ, 短い, 戦略・アナライザ, 売買, トレンド, 前方を歩く

NinjaTrader スクリーン ショット

7 月 26, 2013 によって ショーンオバートン Leave a Comment

NinjaTrader でのグラフのスクリーン ショットを取って、 3 ステップのプロセス. 外部のソフトウェアや特別なスキルを必要としません。.

  1. グラフを開く
  2. 右クリックします。. 選択します。 “イメージ” メニューから, その後、 “付けて保存”
  3. ファイルを保存する場所を選択します。
ninjatrader screenshot

スクリーン ショットを取るグラフ上で右クリックします。.

私は常に非常に精通したコンピューターでない場合、ファイルをデスクトップに保存をお勧めします. あなたは簡単にそれらを見つけることができます。.

以下の下でファイルさ: NinjaTrader ヒント タグが付いて: ninjatrader, スクリーン ショット

取引のロボットを構築します。

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

I talk a lot about the importance of building your trading plan. The same thing applies for building a trading robot or an expert advisor.

Most people approach EA development as digging frantically looking for huge gold nuggets. That approach is a good way to waste a lot of time and money.

Most people dive into the process without considering the details. The purpose of this post is to slow everything down so that you can develop some sort of business plan for your trading.

Steps to building a trading robot

Three long, difficult steps are involved with deploying a trading robot. You first need to obtain data for testing. A good strategy, once discovered, then needs to be programmed to automatically place trades. 最後に, you need to select a broker to execute the orders in the live market.

The importance of data

A good number of traders brag about their best trades. One trade gave them a million dollar profit and other such and such.

What newbie system traders don’t realize is the tedious process of how these people reached their status. Knowing whether or not a system has an edge or not entails researching your idea using historical price data. Here are some tips that you can use when looking for data:

• You need to get data, you need to analyze it, and then you need to trade it. It is really simple on the surface, but when you are trying to go about this, every step creates huge obstacles. The easiest work around is to use the trading platforms listed at the bottom of the article.

• If you are looking for free options, you might go look somewhere like Yahoo! Finance where you can get data on lots of stuff that is mostly end of day prices. It’s no good for high frequency. You can get some options data, you can get forex and you can get some indices and some futures data.

• The reason why data quality is important is when we go on to analyze and come up with potential ways that you might want to trade algorithmically, if you have garbage data, you have a garbage analysis. Be very careful about the data that you decide to accept.

Problems gathering data

Now that we learned how important data is, we now discuss the other side of the picture in data gathering which is its disadvantages.

• Unreliable. Sometimes it’s just wrong. Sometimes there are duplicate entries. Sometimes there are gaps in the data that are unexplained. And if you don’t really know what you’re looking for, what kind of problems there might be in the data, you can come up with some weird discoveries.

• Delays. Technology bridges the information gap. しかし、時, due to time differences and the most annoying part when your broker or you are having problems on your internet connection at times, delays are inevitable.

• Clutter. There are a gazillion sources of information on the internet. This equates to a huge amount of data. Different brokers have their own set of websites and blogs which displays various analyses on a single instrument. It will now be a problem on what data will you consider credible and useful in your trade. 時々, analysts just anticipate most especially technical analysts posting price forecasts and so on. Those who waits for news like Unemployment rate has their own views on figures that will show up prior and during the announcement which basically creates clutter.

The Trading Platform

When you trade online, a trading platform is like your playing field. It is the software through which you manage your trades when you open, close or set limits or stops. 通常, a trading platform is provided by the broker.

There are platforms, APIs and all sorts of different companies that offer data and trading capabilities all in the same product. The advantage to those types of software is that it makes your life a lot easier because if you go about this on your own it’s a monumental task.

A lot of people that like to play with R, and you can just custom program your own research platform. Matlab and R are the most common tools in this category. The problem is that you have to build the trading components entirely on your own.

Here are some popular platforms MetaTrader, NinjaTrader, ThinkorSwim and Multicharts. All these platforms use their own different language and solve the data problem. They also include the ability to trade automatically. Most of the heavy lifting has already been done.

MetaTrader uses a custom language called MQL4, which is really a C Scripting Language. NinjaTrader uses C# .NET 3.5. Trade Station and Multicharts is a language called EasyLanguage, which for programmers will probably bore you to tears. To understand more about these platforms, you can check different brokers and their offerings.

Trading Platforms and data

We’ve covered the languages, the markets they cover and then, the other problem is really data. These platforms offer very different set-ups and they all handle the data problem differently.

メタト レーダー

MetaTrader is kind of like the AK-47 of Trade Platforms. You download it and it doesn’t matter how novice or not good with computers you are. You will have a hard time not figuring out how to work the platform. It is simple, it’s very friendly. It’s also not sophisticated.

If you’re trying to do something sophisticated, that’s probably not the place to be. And for your analysis, you have to be very careful, because when you download MetaTrader, charts just pop up. You think, “Oh this is great, I got my data and everything looks good”, but the problem is that most of the time the data is junk. You can’t actually rely on it and do any serious analysis.

Getting the data and getting it formatted to MetaTrader is the most convoluted, difficult problem that traders face everyday. This is the platform that we deal with and everybody has problems with their backtesting and getting familiar.

This is good enough if you want to trade every couple of minutes and you’re not super execution sensitive and you are just trying to get something out cheaply. If you try every 4 hours and you trade 3 通貨, MetaTrader is fantastic for that.

But if you try to day trade or trade 20 different currencies at the same time, that’s a disaster, because MT4 isn’t multi-threaded. Every time you push an order into the market, MT4 can only handle it one at a time.

ある場合 5 orders firing off together, this one has to finish, and you have all the latency in the middle where they connect and then bounce and the trade confirms okay. Now you repeat the process four more times to get all 5 trades filled. If you’re pushing too many orders through, MT4 will choke.

NinjaTrader

You have to find somebody to give you the data. There are some paid options, there are some, there’s one that’s free called Kinetick, and they give you end of day data. Brokerages also provide limited historical data. The quantity varies substantially from broker to broker.

The problem when you’re programming all this stuff and you’re trading in the live market, if you program to a broker specific platform, you probably spend 4 宛先 6 months developing and testing it and getting it working, and a lot of money and time. If you go to start trading live and you’re not happy with the broker, too bad. You married them.

What NinjaTrader did is, let’s say that there are Brokers A, B and C. NinjaTrader sits on top to bridge everything together.

NinjaTrader is an API shoved on top of multiple broker APIs so that you can write your strategy in NinjaTrader. They’ve done all the integration with every broker partner they have.

It’s a different way to handle the same problem as MetaTrader. MetaTrader just goes to these brokers and say “You should use our platform”. If you developed in MetaTrader, you can go switch on a whim.

If you have NinjaTrader, you can go switch on a whim. The difference is that you don’t just have NinjaTrader. You have to download the broker platform, then you download NinjaTrader. その後、, you get everything hooked up and make sure everything plays nicely together.

There’s a steep learning curve with getting this all set-up to the point where you can actually download historical data and start trading with your broker. Once you have the data set-up, しかし, NinjaTrader is awesome.

TradeStation and Multicharts

TradeStation and Multicharts offer the same quality of analytics as NinjaTrader. They are easier to develop in. Obtaining data quickly makes these platforms easier for testing trading robots.

If you program with TradeStation, you trade with Trade Station. You can’t go trade with anybody else. しかし, if you’re ever unsatisfied with the broker because they slip you or because they charge bad commissions or whatever goes wrong with your trading, you don’t have any alternative. You’d have to move to MultiCharts or to redevelop the programming completely from scratch in another platform.

A trading robot

The Broker

Remember that your broker is your trading partner. It provides you the platform, data and most importantly the access in the market. Brokers are also service providers, and traders are their customers. It’s common for a customer to encounter some difficulties regarding the provider. There are two common reasons why a customer sometimes feels dissatisfied.

• First, bad service. When you are having difficulties opening your platform to execute a trade, you call on a customer service representative. And just like any other companies, a structured way of handling complaints will be given to you. Sometimes they can’t just give you what you need because they do not want to understand what you need.

• The second reason is bad execution. The broker is the market maker. They set the buying and selling prices at every single second. When you place a trade, they can present prices that are favorable to them. トレーダーとして, when you know that the trend is on your side, sometimes you do not mind trading few pips higher or lower than your order. So you grab the offer. Until you realize that the broker made some hefty spread on your trades. This affects the trader emotionally and emotions should be out of trading. Emotions spoil strategies nut as a human being, it’s natural to feel upset.

結論

Building your own trading robot is not as easy as ABC. It entails allot of effort in research, trying and testing trading signals and detaching every trade from your emotions. All of these steps are built on the foundation of your trading experience.

Remember that building a trading robot is anchored with the basic steps:
• Gathering and identifying the data you will use. Be very keen on what data to retain and what data will go directly to the bin. Not all data fed by your broker, articles written by analysts or data given to you by someone you know are reliable. Make sure to get the right data, analyze the data and trade using the data.

• A trading platform you are comfortable with. Before you start making your own trading robot, feel free to try different trading platforms. It’s like trying on some new pair of shoes before buying them. Do not go for something very complicated and you cannot even decode some basic functions. Remember that your platform is your playing field. It is more fun to trade through a platform you know how to operate than to get the most technical one and read through the help section while some other traders are gaining fast from a current trend.

• A reliable broker that will assist you on your trades. Your broker is your partner. It gives you data, platform and sometimes analysis in real time. Make sure to choose the broker that can give you what you demand and what you need.

If you will follow some of the above tips, you are on the right track on making your own trading robot.

以下の下でファイルさ: 戦略の取引のアイデア タグが付いて: ビジネス プラン, 専門家アドバイザー, メタト レーダー, MultiCharts, ninjatrader, 売買, trading robot

NinjaTrader 戦略をインポートします。

2 月 15, 2013 によって ショーンオバートン 17 コメント

NinjaTrader 戦略またはインジケーターをインポートするは簡単です。. 新しい戦略や指標を見つけるための人気スポット、NinjaTrader フォーラム, 大きなマイクのトレーディングと友達の間でファイルを受け渡し.

コントロール センターに行くには、まずです。, NinjaTrader でメイン画面. クリックしてください。 ファイル, 選択します。 ユーティリティ. 新しいメニューが右に飛び出す. 一番上のオプションを選択します。, あります。 インポート NinjaScript.

import ninjatrader strategy or indicator

NinjaTrader コントロール センターからのスクリーン ショット. クライアント ファイル, ユーティリティ, NinjaTrader に新たな戦略や指標を持って NinjaScript をインポートします。.

Zip ファイル

一度選択, プログラムでは、zip ファイルを検索されたら. あなたはおそらく自分の面白いの拡張機能を使用してプログラムに慣れています。. メタト レーダー, たとえば, その戦略で .mq4 ファイルを使用します。.

.Zip ファイルを使用した戦略とインジケーターの両方 NinjaTrader スティック. NinjaTrader 戦略をインポートするプロセスがこそインジケーターと同じ.

どこに保存した zip ファイルを選択します。. デスクトップは常に安全な場所にファイルをダウンロード. あなたは、インジケーターをダウンロードしましたが、それを置く場所がわからない場合, ダウンロード フォルダーをチェックし、. C 言語で見つけることができます。:\ユーザー\あなたのユーザー名\ダウンロード\. インターネット エクスプ ローラー, すべて Chrome と Firefox は、既定の設定の一部としてこのフォルダーにファイルをダウンロードします。.

Zip ファイルを使用して NinjaTrader についての素晴らしい事は変な見ているアイコンのすべての種類が表示されません。. 不利な点はファイルが NT7 戦略や指標かどうかを確認することが可能です。, または全く別の何かである場合.

あなたは zip ファイルを参照してくださいし、NinjaTrader に属しているかどうか言うことができない場合, 見つける最も簡単な方法は、ファイルを開く、します。. それをダブルクリックしてください。.

NinjaTrader zip file

Info.xml と可能性のある 2 つのフォルダーにエクスポートした NinjaTrader zip ファイルが含まれて: インジケーターや戦略

フォルダーが開いたら、, Info.xml と呼ばれるファイルが表示されます。. ファイルの種類によって異なりますが表示されますフォルダーの数. Zip ファイルにはのみインジケーターが含まれている場合, インジケーター フォルダーのみが表示されます。. 指標と戦略の両方の戦略を含む zip ファイルが表示可能性が高い以上のフォルダー.

結論

ファイルをインポートするときにポップアップ一般的なエラーがあります コンパイル エラー. 新しいファイルをインポートしようとして動けなくなる場合その記事を読んでください。.

プロセス中に任意のイライラ エラーに遭遇した場合, その後、以下のブログにコメントを残してください。. 私あなたを助けて喜んでいるだろう.

以下の下でファイルさ: NinjaTrader ヒント タグが付いて: エクスポート, インポート, ninjatrader, ジッパー

順序の再試行ロジック

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

バックテストとライブ取引の違いは、何がうまくいかない、バックテストの. 戦略はでEURUSDに対して正しく取引場合 2011 昨日, あなたは同じテストが今日正常に動作することを知っています.

backtesterを設計したり、それはライブ取引で発生する問題の種類をキャッチすることができますされていません. 私は、最も一般的なソリューションプラットフォームによって、一般的な問題を一覧表示するための努力をしたと細部へ.

 

メタト レーダー

ほとんどの古いEAが停止を添付したり、注文に利益を取ります. 周りからNFAルール 2009 接続されているすべての終了条件なしで入力するすべての外国為替取引を必要とします.

ルールは米国のMT4ブローカーのための悪夢を作成しました. 彼らは戻って行くことを余儀なくされました, メタトレーダーを変更し、とチケットを禁止 停止または制限します.

解決策は、取引の正確な実行を確認することです. 貿易が入ると, だけにしてエキスパートアドバイザーの試みは停止を追加したり、利益を取る必要があります.

それは追加の通信時間を必要とするルールが残念です. プロセスは、オーダー実行を遅く, 引き起こす可能性があります トレード状況がビジー状態 エラー.

order denied

これらはあなたが生きて取引を配置するときに見たい言葉はありません

当社のエキスパートアドバイザープログラミングテンプレート

カマルO. 私たちのEAのテンプレートコード内の単語RETRYCOUNTとはretryDelayについて金曜日に尋ね. これらの 2 言葉はすべての可能な状況を処理するコードを維持するために重要です, または少なくとも 99.9% そのうちの.

我々はにそれらをデフォルトで設定します 10 試みと 1,000 (ミリ秒), それぞれ. それです, 順序は、までご注文しようとします 10 別々の時間. 各試行は、少なくとも待機します 1,000 (ミリ秒) (1 2 番目) 別の試みを行う前に.

試行の間で, 我々はまた、貿易コンテキストが使用中であるかどうかを確認してください. それがない場合には, 我々は進みます. それ以外の場合, コー​​ドは、指定された最大値まで新しい注文を提出する機会を待ちます.

同じリトライ広告待機ロジックは、ストップロスを提出に適用され、利益を取ります. トレーダーは発見することができ、最も恐ろしい現実の世界の出来事の一つは接続しない終了条件で開かれた貿易であります. このような事が本当に起こるのか.

同じ再試行ロジックは劇的にその発生の可能性を減らすために私達のテンプレートコード内の所定の位置にあります. 我々はプログラムごとに専門家の顧問のためにこれを行います. あなたは、再試行ロジックが含まれていないエキスパートアドバイザーを使用している場合, その後、あなたのEAのソースコードは、より堅牢なことについてお問い合わせ.

NinjaTrader

NinjaTraderは、主にプログラマのためのエラーや問題を処理します. しかし, NinjaTraderのソリューションは、ユーザーを失望させる一般的な状況があります. 戦略を無効とするたびにすべての取引を閉じます いっぱいになります。 発生頭に浮かぶ.

最も単純な取引戦略が、何が良く使用して処理されます 管理対象外のアプローチ. 保留中の注文を使用して管理対象のアプローチは、ほとんどの戦略を書き換える必要性を作成します。.

NinjaTraderのユーザーが私たちを契約最も一般的な理由の一つは、彼らのライブ取引に間違って何かに関し、. 二回何かをプログラミング回避する最善の方法は、最初の試行で現実世界の取引のためのコードをご用意することによるものです.

以下の下でファイルさ: メタト レーダーのヒント, NinjaTrader ヒント タグが付いて: managed order, メタト レーダー, ninjatrader, トレード状況がビジー状態, unmanaged order

自動化された取引 Ii

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

The second part in Nathan’s interview series with me focuses on the role of high frequency trading in the markets and testing trading strategies. If you missed the first automated trading interview in the series, you can read it here.

Nathan Orange(Nathan):
Do you have any specific thoughts or opinions on HFT (High Frequency Trading)? This is such a hot topic among traders and I would imagine you have a unique insight into algo trading in general.

Do you see machines eventually replacing the “human” trader or could HFT eventually get banned from the markets? At least for day traders it seems to give quite an unfair advantage to the HFT camp for executions?

ショーンオバートン(ショーン):
There is a huge difference between algorithmic trading and HFT. HFT is obviously automated due to the speeds involved, but that does not imply that all automated trading is HFT. It’s only a subgroup.

 

Nathan Orange(Nathan):
確認して, there are plenty of automated systems that are not HFT. I bring it up under the context that HFT uses deceptive algorithms for their order posting tactics.

 

 

ショーンオバートン(ショーン):
HFT is uniformly destructive to capital markets and their purpose. It nickels and dimes investors and traders through market manipulation. Just last week Nanex detected a single organization that pushed through 4% of all the order flow on US equities quotes. さらに悪いこと, not a single one of the orders executed. Posting orders without the intent to trade is blatantly illegal.

The other negative consequence of HFT comes from the rebates that the dark pools and exchanges pay to “liquidity providers,” which are really the HFT bots. The arrangement tangibly alters the motivation for participating in markets. Rather than investing or even speculating on price, the HFT algos generally do not care about market movements. They just want the liquidity rebate.

Nathan Orange(Nathan):
This to me is the bigger issue. The whole arrangement is shady and as you said it alters the motivation for market participation. What steps or changes do you recommend?

 

 

ショーンオバートン(ショーン):
、 Market Ticker blog is one of my favorites on that subject. Karl Denninger advocates a regulatory rule of a two second minimum order time. I support the idea. Nobody can plausibly claim that an order placed for such a short duration is for any trading purpose. If an order is not intended to be filled, it should be not permitted.

 

Nathan Orange(Nathan):
I cannot argue with that logic. Back to testing, how important is accounting for commissions and slippage to the integrity of any back-testing data in your opinion? To me, as you go down the scale from longer term trading to day-trading the importance grows exponentially.

 

ショーンオバートン(ショーン):
I fully agree. The consequences of trading costs pile up with increased frequency. Shorter time frames multiply the frequency, which as you pointed out, grows exponentially.

My personal preference is to skip trading costs and commissions on short time frames so that I can obtain a sufficient sample size for my analysis. I do not foresee myself ever trading on one minute charts, but I almost always use one minute tests to analyze randomness within a strategy. Unlike most systems developers, the profitability of a system is a backseat concern.

I read a newsletter this morning written by a multi-million dollar businessman. He concluded today’s article saying that if you start a business to make a lot of money, you’ll more than likely fail. You have to excel at providing a quality product and service in order to succeed over the long run. When the inherent business excels, only then does the long term money follow.

Trading is a business in precisely the same sense. Most traders rush through the system development process to spit out quick profits. They rarely, if ever, consider a strategy’s performance over a lengthy period of time. Everything is about the here and now. さらに, good systems frequently lose money. You need something more in the toolkit besides the random scorecard of profit and loss.

Nathan Orange(Nathan):
Good systems do have losing periods, yet many traders seem to be convinced there is a “holy grail” approach out there that will buck this fact. If some of the most successful traders ever have posted losing periods (or even years) and have been around for 20+ years it seems hard to fathom beating their performance from day 1.

Regarding testing platforms, you were one of the first people that really explored the issues with back-testing Forex – can you provide more detail on the problems for those that are interested in developing and back-testing a system for FX (MetaTrader platform)?

ショーンオバートン(ショーン):
You’re opening a can of worms on this one. MetaTrader is hands down the worst platform available for backtesting. The data is notoriously unreliable. Even when good data is at hand, the instructions for importing it and turning it into something usable fill a dozen pages of instructions.

You’re much better off doing real analysis in NinjaTrader, TradeStation or MultiCharts. The metrics are vastly superior and require a tiny fraction of the effort. I still think that MetaTrader is sufficient for live trading most strategies.

Nathan Orange(Nathan):
I am a huge fan of live testing/trading alternate strategies. One of my biggest “A Ha” moments came during live testing alternate exit strategies. I traded my account with my original exit approach but also demo traded alternate exit strategies in real time. There is value gained that you don’t always get from a back-testing print out. How do you compensate for slippage when testing a strategy?

 

ショーンオバートン(ショーン):
Forex is thankfully unique in that it doesn’t come with unique problems other than rollover. The markets are the most liquid in the world. As a retail forex trader looking at charts longer than five minutes, you can generally assume that the historical prices are reasonably reflective of executable prices for the strategy.

I compensate for slippage and bad ticks by doubling my expected transaction costs. たとえば, I pay 1.5 pip spread on the EURUSD. When I test a strategy, I demand that it must hold up on 3 pips transaction cost on every trade.

Nathan Orange(Nathan):
Before we wrap this up, are there any specific strategies or common parameters that you have noticed in systems that make it? We both know how small of a percentage of traders become successful, but as it relates to mechanical systems are there recurring themes for those that are profitable?

 

ショーンオバートン(ショーン):

いいえ, there are no recurring themes that I see. The lowest common denominator is that they do not overtrade and that they use low leverage. Other than those two items, each successful strategy differs substantially from all the others.

The most important ingredient in system development is the developer. I have yet to program a successful trading system for someone without years of full time trading experience under their belt. You have to go through the school of hard knocks if you’re going to make it. Almost all of us are too stubborn to listen to good advice.

Nathan Orange(Nathan):
ショーン, I can’t thank you enough for providing such honest responses and sharing your insight. If you are interested in learning more or considering coding your system, go to MetaTrader Programming for more information.

以下の下でファイルさ: メタト レーダーのヒント, NinjaTrader ヒント, 戦略の取引のアイデア タグが付いて: アルゴリズム, バックテスト, HFT, high frequency trading, メタト レーダー, mt4, Nathan Orange, ninjatrader, 取引

取引戦略グループ

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

フランシス・D. オーストラリアから私のオフに異なるEAのアイデアをバウンスするのが好き. 彼は、最新の電子メールに長いか短いのどちらかである信号から二重の損をしたばかりの恐怖を述べました.

この種の問題は、すべての時間を発生します. 私は最初の移動平均の上に価格十字架をフェードシンプルな戦略とそれを検出しました. たび価格十字架と移動平均の下に閉じ, 長い行きます. ショーツは同じ規則に従います. それは私が常に提唱愚かな単純な範囲の取引戦略のようなものです.

SMA Range Trading Rules

価格が下に交差したとき購入 200 SMA. 販売と価格は戻って上記交差したときに短い行きます

上記の例では、フランシスは文句同じことを強調し. どこにも行かせず、移動平均の周りの価格山車.

ランダム成果

SMA上記価格交差点に基づいて取引が損益分岐近くで出てきます. 受賞者は約発生します 66% 時間のと敗者の三分の一サイズであります. このような戦略は、どちらも作ることも、取引コストを無視したときにお金を失います.

戦略の受賞者の大半は小さな小さなされています. それはSMAに最も近いときは常に戦略は、その最大の機会に遭遇. 遠くにそれが行きます, それは間違った道を進んで保持可能性が高いです.

取引を反転すると、まだランダムな結果をもたらします. 唯一の違いは、勝者がに落ちるということです 33% 精度, しかし、平均的な勝者は今 2:1.

取引戦略の誕生

私はいつもスケーリング戦略が結果に影響を与える可能性があるか疑問. 戦略は、機会が最小になるとき勝つために最も可能性がある場合, 戦略は、市場に悪影響を移動すると、その位置のサイズを小さくしようとすると何が起こります?

別の方法として, それは位置にすべての小さな勝者とスケールでパスを取る場合何が起こります? [はい], それは敗者に調整されます, それはまた、結果の勝者を大きくする必要があります. 質問はその後、敗者の救済へのスケーリングとするときのレートを決定する方法になります.

ありがとう, フランシス! 新しいブログシリーズが誕生. 今、私は取引に拡張することを決定したこと, 私はいつ、どのようにそれを行うことを選択する必要があります.

洞察力や特別なものは何も心に跳ね上がっていません. 私は視覚的な人間です, 私はNinjaTraderを使用してExcelでほとんどのグラフを作成する午後の大半を過ごしました. 何簡単なプロジェクトとして開始すると、常に自分自身に成長します. それはほぼ取りました 4 時間情報を取得し、正しい書式設定します.

EURUSD price distance from SMA 200

グラフは、周波数に対するSMAからの価格のパーセントの距離が表示されます (すなわち, 価格はこの遠くからどのくらいの頻度であります 200 SMA?)

価格からさらに移動すると、私は取引にスケーリングを気に 200 SMA. 上のグラフを見てから私の本能は、私は変曲点に焦点を当てるべきであると言います. 曲線は、周りの素敵な屈曲部を形成し 0.3% 離れSMAから. 私が取得するまで、たぶん私は変曲点での購入を開始することができます 0.6% とか、ぐらい.

何をすればいいと思いますか?

アフターの考え

このシリーズは、最終的に収益性の高い取引戦略につながった. 旅を読むしたい場合, 記事を順番に読んでほしい

適切なタイム フレームを選択します。
研究計画
初期 backtests の厄介な驚き
範囲の取引の試み
範囲の取引結果
移動平均エンベロープ ダフ屋

以下の下でファイルさ: NinjaTrader ヒント, お金を失うことを停止します。, 戦略の取引のアイデア タグが付いて: エクセル, ninjatrader, scaling, SMA

MetaStock の第一印象

12 月 21, 2012 によって ショーンオバートン 2 コメント

MetaStock の開発は難しいことじゃないです。, それが異なるだけ. I am used to working with MetaTrader and more recently NinjaTrader. MetaStock offers all of the great features one would look for in a trading platform. Navigating around is a bit difficult, しかし. The biggest obstacle for me is how differently MetaStock handles tasks when compared to other platforms

Of course I recognize comparing anything to MetaTrader isn’t fair in some respects. MetaTrader is a much simpler platform to be sure. MetaStock is significantly more robust in its features and abilities. Where MetaTrader instantly opens charts for you right after installation, MetaStock opens to a kind of passive mode. The platform does not display anything until the user requests it.

When I develop for MT4, I only have to locate and copy an EA for delivery to our customers. That’s not the case with MetaStock. Thankfully MetaStock, like NinjaTrader, has an import/export tool to help. In MetaStock you simply run the Organizer and the wizard will guide you through all of the details of creating an export for backup or delivery to another user.

Each of the major trading platforms has its own set of unique features and each has its own quirks. As noted earlier MetaTrader feels like it’s quicker and easier to get started. The learning curve is short. しかし, in comparison to NinjaTrader and MetaStock, MT4’s feature set is limited. The best analogy that I can think of is a bike doesn’t take as much skill and practice as driving a car on the highway.

My biggest beef with MetaStock at this point would be the language used for the indicators and EAs. Compared to MQL and C#, the language feels limited and somewhat clunky. It requires DLL programming much more often than other platforms.

以下の下でファイルさ: 未分類 タグが付いて: MetaStock, メタト レーダー, mt4, ninjatrader, organizer

NinjaTrader Backtest

12 月 19, 2012 によって ショーンオバートン Leave a Comment

Running backtests で NinjaTrader is relatively straight forward, once you learn the ropes. NinjaTrader uses a special window, called the Strategy Analyzer, to run all backtests and optimizations. The first step to finding this window is to click on File \ 新機能 \ 戦略分析.

When the Strategy Analyzer opens, the window is divided into 3 vertical panes. The left window allows the user to select the instrument to test. The middle window contains the statistics and バックテスト 情報. The final window on the right is not visible; it slides out when you put the mouse over the word “Backtest” in the top right corner.

Finding the symbol that you want to test

It’s important to emphasize that you need a data connection before diving into any of this. NinjaTrader is not a standalone platform. The information that you would like to test is not available by default. 代わりに, NinjaTrader uses the Account Connection to go out to the broker or data provider to obtain the historical data. Everything below is a moot point if you have not already downloaded historical data and/or do not have an open Account Connection.

The left pane lists all lists that have been created using the 楽器マネージャー. NinjaTrader supplies lists of the most common instruments available: the DOW, S&P 500 and major forex pairs. Testing an instrument like a junior gold mining stock or something less common requires creating a new list in the Instrument Manager.

One cool feature is that you can test multiple instruments at the same time. If you want to view your strategy’s historical performance on all S&P 500 株式, then select the list name. It is not necessary to select them individually. Every stock in the list will be included in the analysis.

If this all sounds terribly confusing (Account Connection, 楽器マネージャー, など), you’re right. It’s very confusing, which is why the learning curve for NinjaTrader is so steep. It takes a long time to figure out how all of these pieces fit together. Even my staff of professional programmers experienced an ugly few weeks when I started training them. If programmers have trouble figuring out how to use the software, you don’t have to feel bad about your own difficulties.

Strategy options

The right pane opens when the mouse appears over the word “Backtest” on the far right. Within it, the menu contains multiple sections that allows the user to define the strategy. Options near the top under “パラメータ” are the inputs or variables that the strategy uses. Common examples include the number of shares to trade, the stop loss distance and others.

The Data series section controls the chart period. 言う, たとえば, that you would live to バックテスト AAPL on 5 1 分チャート. The necessary steps are:

  1. Select APPL in the left pane
  2. Choose Last for Price Based on
  3. The type is Minute
  4. The value is 5, which here stands for 5 1 分チャート

Time Frame controls the period over which the バックテスト runs. Running an AAPL strategy for 2011 would cause a trade to enter 1/1/2011 for the Start Date and 12/31/2011 for the End Date.

The remaining sections largely do not apply. When they do cause problems, most stem from the Order Handling セクション. If you want to trade several signals in the same direction, then the option for Entries per direction must change from 1 to a predefined maximum.

Other sections

Anyone with trading experience in other platforms will find the middle pane intuitive, especially TradeStation users. Tabs at the top of the middle pane include the Summary and Graphs. Most of my personal trading analysis concentrates on these two tabs. The others are helpful for more detail oriented folks.

The Strategy Analyzer contains a number of buttons at the top left of the screen. There are four which I find to be useful.

The floppy disc icon stands for saving a file. とき、 バックテスト completes, and especially if it takes several minutes to run, then option to save results may save a significant amount of time. If you have multiple backtests and would like to share them, the only way to do so is to send someone all of your backtests. NT stores all of its saved results in a local database. The exact location is Documents\NinjaTrader 7\db\NinjaTrader.sdf. Sending your friends or colleagues this file includes all saved backtests to date. Make sure that the recipient backs up his own NinjaTrader.sdf file before using yours. それ以外の場合, the information will be lost.

Right clicking in the middle pane allows the user to export the summary grid to an Excel file. Although it does not look as convenient as the NinjaTrader format, the above problem highlights the need for sending and saving individual test results.

NinjaTrader doesn’t give the b, o and w enough visual importance in my opinion. The buttons are tiny, yet they control the most important feature of the バックテスト – the type of test to run. Do you want to run a バックテスト, optimization or a walk-forward optimization? These little buttons control the type of test run.

以下の下でファイルさ: NinjaTrader ヒント, 戦略の取引のアイデア タグが付いて: バックテスト, ninjatrader, 戦略・アナライザ

  • 1
  • 2
  • 3
  • Next Page »
メールで無料の取引戦略

トレンド分析

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

アーカイブ

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

翻訳


無料の取引戦略

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

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