• 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

I want to create custom indicator

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

    I want to create custom indicator

    Hi

    I want to create custom indicator based on the following condition

    1 I am using range bars to view charts.
    2 MACD is above Zero lines and signal lines = Green Bars
    3 When RSI is above 70 = Green Triangles below the bars
    4 MACD is below Zero lines and signal lines = Red Bars
    5 When RSI is below 30 = Red triangles below the bars.

    Please have a look at the following link for more information.
    http://tinypic.com/r/2z8rztl/7

    #2
    Welcome to our forums here : a comprehensive intro into custom coding for NinjaScript can be reviewed here: http://www.ninjatrader.com/support/h.../tutorials.htm

    Several custom scripts shared by users can be found here and might provide a valuable starting point:

    http://www.ninjatrader.com/support/f...splay.php?f=37
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Bertrand View Post
      Welcome to our forums here : a comprehensive intro into custom coding for NinjaScript can be reviewed here: http://www.ninjatrader.com/support/h.../tutorials.htm

      Several custom scripts shared by users can be found here and might provide a valuable starting point:

      http://www.ninjatrader.com/support/f...splay.php?f=37
      Hi Bertrand,

      Thanks for replay, but still I did not get any solution for my threat.

      Comment


        #4
        You would need to start looking into the tutorials I gave you so you could put together your custom indicator - if you're a programmer and like this code to be developed professionally for you a NinjaScript consultant could further assist:

        http://www.ninjatrader.com/partners#...pt-Consultants
        BertrandNinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_Bertrand View Post
          Welcome to our forums here : a comprehensive intro into custom coding for NinjaScript can be reviewed here: http://www.ninjatrader.com/support/h.../tutorials.htm

          Several custom scripts shared by users can be found here and might provide a valuable starting point:

          http://www.ninjatrader.com/support/f...splay.php?f=37
          Bertrand,

          Is there this level of support for NT8 indicators yet?

          Dolfan

          Comment


            #6
            Hello Dolfan,
            Thanks for your reply.
            NinjaTrader does not provide custom development. If you would like to have something custom developed for you there are 3rd party NinjaScript consultants who can do this for you. If you would like more information, I can have a NinjaTrader Ecosystem representative follow up with you.
            BrandonNinjaTrader Customer Service

            Comment


              #7
              Not what I was asking. Specifically I am seeking the kind of documented support for building things in NT8 like there is in NT7 like you see here. http://ninjatrader.com/support/helpG...?tutorials.htm The code changes found here http://ninjatrader.com/support/helpG...-us/?state.htm fall far short of explaining the structural changes that have apparently taken place in NT8. For example the word Initialize seems to be replaced by OnStateChange, but that is not true in all cases, is it? I have found a code by someone that converts over NT7 script to NT8 and I see where Initialize is still used. These converted indicators do in fact work, So, structurally speaking, some rules have changed, yes? The help guide for NT7 is a great deal more useful with this guidance.

              Best regards,

              Dolfan

              Comment


                #8
                Hello Dolfan,

                Thanks for your reply.

                NinjaTrader 8 is still in beta and some of the documentation will be lagging until we get a more finished state. For your understanding, in beta testing it is possible that methods can change (and they have changed through the beta versions) and each change requires documentation change. Our focus has been on getting NinjaTrader 8 production ready. The helpguide in NT8 by design will feature and currently does feature significantly more programming information that NT7.

                As you are just getting your feet wet with Ninjascript and working now in NinjaTrader 8, I recommend that you spend the time to read and review the NT8 helpguides section regarding OnStateChange as the documentation does describe what elements go where. The NT8 "code breaking" section will also be a great value to review when converting. The code breaking changes section will also help you to see where things have moved so make sure you read the collapsed section of "Implementation Changes Overview" Finally, review the NT8 indicators themselves, as they are open source you can see how they are constructed.

                references:
                http://ninjatrader.com/support/helpG...tatechange.htm
                http://ninjatrader.com/support/helpG...ng_changes.htm
                Paul H.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by UltraNIX, Today, 12:31 AM
                1 response
                9 views
                0 likes
                Last Post NT-Roland  
                Started by hedgeplay, Yesterday, 08:04 PM
                0 responses
                4 views
                0 likes
                Last Post hedgeplay  
                Started by DTSSTS, Yesterday, 07:02 PM
                0 responses
                6 views
                0 likes
                Last Post DTSSTS
                by DTSSTS
                 
                Started by arguru, Yesterday, 04:07 PM
                2 responses
                16 views
                0 likes
                Last Post arguru
                by arguru
                 
                Started by lakersfan, Yesterday, 06:02 PM
                0 responses
                14 views
                0 likes
                Last Post lakersfan  
                Working...
                X