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 DJ888, Today, 10:57 PM
      0 responses
      2 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Started by MacDad, 02-25-2024, 11:48 PM
      7 responses
      158 views
      0 likes
      Last Post loganjarosz123  
      Started by Belfortbucks, Today, 09:29 PM
      0 responses
      7 views
      0 likes
      Last Post Belfortbucks  
      Started by zstheorist, Today, 07:52 PM
      0 responses
      7 views
      0 likes
      Last Post zstheorist  
      Started by pmachiraju, 11-01-2023, 04:46 AM
      8 responses
      151 views
      0 likes
      Last Post rehmans
      by rehmans
       
      Working...
      X