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

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

NinjaTrader コンパイル エラー

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

I try compile strategies all the time in NinjaTrader. Whenever errors pop up, they are usually directly related to the file that I’m working on. 時折, I get the dreaded orange errors referencing files that have nothing to do with what I’m working on. Life quickly turns to misery if 20+ indicators all use the problematic file.

If you’ve ever wondered why it takes NinjaTrader so long to compile a simple indicator, it’s because it compiles all indicators and strategies every single time you push the compile button. Instead of compiling one files, it does something more like 100 files.

A quick way to avoid this nightmare situation is to get rid of the file in question and deal with it later. Especially when I’m under deadline, the last thing I want to do is to spend several hours hunting bugs in unrelated files. The steps involved are very simple.

NinjaTrader Compile Error

The orange highlights indicate that a compile error occurred in another NinjaTrader file. Hints to the problem files name are found in the far left column of the orange box.

 

  1. Identify the name of the problem file. 時々, the file name is directly mentioned in the File Name. 時々, the files share dependencies with a common file like SMA or another common indicator that you accidentally modified. When that’s the case, you’ll have to spend a bit of time going through the source of some of the files identified to see which indicators they share.
  2. Navigate to My Documents\NinjaTrader 7\bin\Custom\Indicator

    NinjaTrader Indicator Source Folder

    This screenshot shows the hierarchy of where NinjaTrader stores its indicator and strategy files.

  3. Remove the problem file. You could delete it. It’s probably better to move it somewhere like Desktop where you will remember to deal with it later
  4. Push compile. If you identified the true source of the problem, the compile errors disappear.

以下の下でファイルさ: NinjaTrader ヒント タグが付いて: compile, ninjatrader

コメント

  1. ジム 言う

    1 月 27, 2016 で 03:02

    ポストをありがとう. それは非常に有用だった

    返信
    • ショーンオバートン 言う

      1 月 28, 2016 で 14:02

      どういたしまして!

      返信

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

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

メールで無料の取引戦略

トレンド分析

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

アーカイブ

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

翻訳


無料の取引戦略

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

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