• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multi MA Colour slope indicator

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

    Multi MA Colour slope indicator

    Hi All,

    I've had a look at re-coding the Jurbol Multi MA Colour Slope indicator from NT7 but, unfortunately, it is beyond me.

    Is there any coding software out there that may help me or does anyone have the NT8 code for this indicator?

    Any help much appreciated.

    David

    #2
    Hello David, and thank you for your question.

    The two most useful tools for converting NT7 indicators to NT8 indicators, are the code breaking changes page, http://ninjatrader.com/support/helpG...ng_changes.htm , and the code creation wizards built into NT8. A good process to follow for converting NinjaScript files is as follows :

    • From the NinjaTrader Control Center -> New -> NinjaScript Editor
    • Right click the type of object you are importing in the NinjaScript Explorer and choose the option that creates a new version of it. For example, to import an Indicator, right click Indicator and select New Indicator
    • Code as much of your indicator as possible through the wizard. Don't worry about it if a field doesn't make a lot of sense, you will have an opportunity to code later and can leave any field set to its default value. Refer to the NT8 Help Guide frequently, http://ninjatrader.com/support/helpG..._reference.htm
    • Create any parameters and properties that did not get created through the wizard, that exist in your old NT7 code. Use wizard created parameters and properties as a template.
    • Create any private variables that existed in your old NT7 NinjaScript file
    • Copy any code from your Initialize routine in NT7 into the appropriate places in OnStateChange. As a general rule, State == State.SetDefaults covers properties you can set from right-click windows, and State == State.Configure covers any initialization and instantiation. Refer to the Help Guide if you are unsure where something should go.
    • Compile your code with F5. Fix your code and compile again until it compiles without errors.
    • Test your code's interface out. For example, all right-click menu options should appear the way you'd like. Fix your code, compile, and test again until it works correctly
    • Copy your OnBarUpdate method in to your indicator as is, along with any helper methods it relies on. Compile, refer to the code breaking changes page, ask questions here in the forums, and repeat until this section compiles
    • Finally, refer to the Help Guide to see if your other event methods have changed name, and copy this code in. Repeat the procedure you used to get OnBarUpdate compiling
    • Once your code compiles correctly, come up with a test scenario for your old script in NT7, and run your old script through this scenario using the Strategy Analyzer. A test scenario involves a set of known historical data and an instrument
    • Once you have test results, repeat your test in NT8.
    • As a control, run a known good NinjaScript through both your NT7 or NT8 tests to make sure your tests are valid. Good examples of known good NinjaScript are the SMA indicator and the SampleMACrossover strategy. Fix your test until these known good NinjaScript files work the same way in NT7 and NT8, then run your tests again on your NinjaScript


    When questions come up, this forum, http://ninjatrader.com/support/forum...splay.php?f=57 , is the best resource available for any specific questions you may come across.
    Jessica P.NinjaTrader Customer Service

    Comment


      #3
      Thanks for this Jessica. I'll take a look and see what I can come up with.

      Comment


        #4
        Originally posted by David UK View Post
        Hi All,

        I've had a look at re-coding the Jurbol Multi MA Colour Slope indicator from NT7 but, unfortunately, it is beyond me.

        Is there any coding software out there that may help me or does anyone have the NT8 code for this indicator?

        Any help much appreciated.

        David
        Upload the indicator. So that the community can help.

        Comment


          #5
          Hi,

          Just wondering whether this was ever completed? Im also after the Multi MA Colour slope indicator for nt8 but have no idea about coding.

          Cheers

          Comment


            #6
            I have no idea about coding either, so I paid to have it written to my requirements

            Comment


              #7
              Looks like i will have to do that also

              Cheers David

              Comment


                #8
                Any takers?

                Could anyone convert this one,with a little comment about that different between the two?It` s a simple few lines indie.
                Attached Files

                Comment


                  #9
                  Hello outsource,

                  I have provided a link below that will show you the NinjaTrader Ecosystem partners that provide NinjaScript Consulting services, you would need to contact each partner and inquire further regarding the quotes for prices for your custom NinjaScript ideas and work with the consultant(s) directly:




                  Please let me know if you have any questions, concerns or if I can provide any further assistance by responding to this thread at your convenience.
                  Ryan L.NinjaTrader Customer Service

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by simjs, Yesterday, 08:11 PM
                  0 responses
                  3 views
                  0 likes
                  Last Post simjs
                  by simjs
                   
                  Started by mrlucky1x, Yesterday, 06:01 PM
                  0 responses
                  3 views
                  0 likes
                  Last Post mrlucky1x  
                  Started by dedouglas, Yesterday, 03:17 PM
                  1 response
                  9 views
                  0 likes
                  Last Post NinjaTrader_Jesse  
                  Started by Jugado, Yesterday, 02:22 PM
                  2 responses
                  30 views
                  0 likes
                  Last Post Jugado
                  by Jugado
                   
                  Started by login_dejavu, 04-21-2019, 04:58 AM
                  2 responses
                  24 views
                  0 likes
                  Last Post login_dejavu  
                  Working...
                  X