Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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.
    Brandon H.NinjaTrader Customer Service

    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 StockTrader88, 03-06-2021, 08:58 AM
      44 responses
      3,966 views
      3 likes
      Last Post jhudas88  
      Started by rbeckmann05, Today, 06:48 PM
      0 responses
      4 views
      0 likes
      Last Post rbeckmann05  
      Started by rhyminkevin, Today, 04:58 PM
      4 responses
      54 views
      0 likes
      Last Post dp8282
      by dp8282
       
      Started by iceman2018, Today, 05:07 PM
      0 responses
      5 views
      0 likes
      Last Post iceman2018  
      Started by lightsun47, Today, 03:51 PM
      0 responses
      8 views
      0 likes
      Last Post lightsun47  
      Working...
      X