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

Convert NT7 TRIX indicator for NT8 use

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

    Convert NT7 TRIX indicator for NT8 use

    Greetings. I have a Trix indicator that is coded for NT7. & I would like to migrate over to the NT8 platform with this indicator. I am attaching this indicator for the community to use and perhaps modify for NT8 use.

    Thank you all in advance
    Attached Files

    #2
    Hello denalek2419,

    Thank you for your post.

    When converting a NinjaScript from NinjaTrader 7 to NinjaTrader 8, start by creating as much of the script as possible in NinjaTrader 8 using the Strategy Builder (New > Strategy Builder). 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 script's OnBarUpdate to the OnBarUpdate 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

    If you get stuck at any time looking for equivalent code for NinjaTrader 8, please send an email our way ([email protected]) or create a post on our forums and we will be happy to assist. Below is a link to the forums.


    Please let us know if we may further assist.
    Brandon H.NinjaTrader Customer Service

    Comment


      #3
      Give me money, then i do for you.

      denalek2419

      Comment


        #4
        I do not deal with people that are desperate.

        Comment


          #5
          Ha Ha......

          You very funny.
          There is no such free service exist in this world.

          Then let's see who will help you out.

          Comment


            #6
            Hello denalek2419,
            TRIX is available as standard indicator with NT8, so you can use it directly & for color & alerts I would suggest you to try this:
            Description: This indicator can be used to color the rising and falling conditions of most any other indicators plot when used as the input series to this indicator. ColorThePlot offers the ability to select rising and falling colors, sound alerts, email, alerts, Direction change marking, panel color based on direction, bar coloring based on direction. […]

            Hope it helps!

            Comment


              #7
              Thank you all for your responses.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Human#102, Today, 05:18 AM
              3 responses
              16 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Started by iq200, Today, 08:11 AM
              1 response
              3 views
              0 likes
              Last Post NinjaTrader_Clayton  
              Started by wuannetraam, Today, 07:43 AM
              1 response
              8 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Started by Human#102, Today, 07:52 AM
              1 response
              4 views
              0 likes
              Last Post NinjaTrader_Jesse  
              Started by sofortune, 05-10-2024, 10:28 AM
              8 responses
              63 views
              0 likes
              Last Post NinjaTrader_Erick  
              Working...
              X