Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Converting NT 7 Indicator to NT 8

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Converting NT 7 Indicator to NT 8

    Hello,

    I need to convert a custom indicator of which i have the source code from NT 7 to 8. I haven't been involved in writing code for decades (don't even have a compiler anymore).

    Is there a guide or vids that gets someone going from the begining?

    Thanks,

    Joseph

    #2
    Hello Joseph,

    Thanks for your post.

    I understand that you would like to convert a NinjaTrader 7 indicator to NinjaTrader 8.

    My advice is to start by creating as much of the script as possible in NinjaTrader 8 using the Strategy Builder (or Strategy Wizard). This will create the framework of the indicator or strategy which has large changes from NinjaTrader 7 to NinjaTrader 8.

    Then copy all code from the NinjaTrader 7 scripts OnBarUpdate() method to the OnBarUpdate() method of the NinjaTrader 8 script. This will introduce errors that will need to be resolved.

    Below I am including a link to a list of the code-breaking changes from NinjaTrader 7 to NinjaTrader 8.
    http://ninjatrader.com/support/helpG...ng_changes.htm

    The help guide will be the best way to see how things have changed from NinjaTrader 7 to NinjaTrader 8.

    When first starting to convert scripts, I myself would open the NinjaTrader 7 help guide and the NinjaTrader 8 help guide to the same sections so that I could compare. The majority of code supported by NinjaTrader is included in the help guides.

    Below is a link to a forum post with helpful information about getting started with NinjaScript.
    https://ninjatrader.com/support/foru...040#post786040

    Please let us know if we may assist further.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      Originally posted by OChem View Post
      Hello,

      I need to convert a custom indicator of which i have the source code from NT 7 to 8. I haven't been involved in writing code for decades (don't even have a compiler anymore).

      Is there a guide or vids that gets someone going from the begining?

      Thanks,

      Joseph
      What is your NT7 indicator? Most likely there is already a free or shared conversion for that here or out there that you can be pointed to.

      Cheers!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      637 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      366 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      107 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      569 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      572 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X