Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Help with indicators

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

    Help with indicators

    1) How do I get the Stochastic Momentum Index indicators in NT?
    2) how do i display the macd histogram only
    3) how do i add a simple moving average to the MACD histogram?

    #2
    Hi muna580, thanks for the post!

    1. The SMI would need to be custom coded, there was a post on the forum but the version posted wasn't bug free if I remember correctly. To get started coding indicators, please consider those tutorials - http://www.ninjatrader-support.com/H...verview18.html

    2. For the standard MACD indicator try setting the Avg and Macd plots to a transparent color.

    3. For a SMA on the MACD histogram, you can work with this snippet -
    Code:
     
    double macdHistoSMA = SMA(MACD(12, 26, 9).Diff, 10)[0];

    Comment


      #3
      how do i use that script? i don't undertand

      Comment


        #4
        Hi,

        If you have limited programming knowledge, I recommend contacting a NinjaScript consultant: http://www.ninjatrader.com/webnew/pa...injaScript.htm

        Also, this feature of adding indicators to indicators will be supported in NinjaTrader 7 (beta due out in June), so you will not have to reprogram it.
        Ray S.NinjaTrader Customer Service

        Comment


          #5
          if u give me steps, i will be able to install the code

          Comment


            #6
            Hello,

            Please go through the tutorials located here: http://www.ninjatrader-support.com/H...verview18.html
            *Use the arrows at the top of the page to navigate between pages.

            If you are still unable to create your indicator, you will have to consult a NinjaScript consultant as we do not provide this service.
            Thank you for understanding!
            Ray S.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            88 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            48 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            30 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            34 views
            0 likes
            Last Post TheRealMorford  
            Started by Mindset, 02-28-2026, 06:16 AM
            0 responses
            68 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Working...
            X