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

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.

    #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:

    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:

        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 Stanfillirenfro, Yesterday, 09:19 AM
                7 responses
                51 views
                0 likes
                Last Post NinjaTrader_Gaby  
                Started by TraderCro, 04-12-2024, 11:36 AM
                4 responses
                69 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by Mindset, Yesterday, 02:04 AM
                1 response
                15 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by agclub, 04-21-2024, 08:57 PM
                4 responses
                18 views
                0 likes
                Last Post NinjaTrader_Gaby  
                Started by Irukandji, Today, 04:58 AM
                0 responses
                3 views
                0 likes
                Last Post Irukandji  
                Working...
                X