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

RSI with SMA and EMA

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

    RSI with SMA and EMA

    Hi,

    Can anyone give me a RSI indicator that contains SMA (that is default - smooth) and an additional EMA?

    I'd appreciate that.

    Thank you.

    #2
    kt5ssm, I don't recall where I picked this one up, but you could check out the file attached. It will work only with SMA's internally in the RSI and Avg calcs. You can then smooth any plot with an additional EMA if desired (also from the UI in your NT chart, as you can for example set the standard EMA to use the RSI as it's input series).
    Attached Files
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Originally posted by kt5ssm View Post
      Hi,

      Can anyone give me a RSI indicator that contains SMA (that is default - smooth) and an additional EMA?

      I'd appreciate that.

      Thank you.
      The RSI is calculated by using 2 moving averages. These are the steps

      (1) Determine whether current close is up or down relative to prior close. If it is up, then upmove = Close[0] - Close[1], else upmove = 0. If it down, then downmove = Close[1] - Close[0], else downmove = 0.

      (2) Calculate a moving average of both upmove and downmove

      (3) Calculate raw RSI = 100 - 100 / ( 1 + avgUp/avgDown)

      (4) Smooth the RSI by calculating a moving average of the RSI.

      Basically you can select the moving average in step 2, and you can again select the moving average in step 4.The only restriction applies that you may not use any moving averages that overshoot the value range of the input series, such as many digital filters or zerolagging averages.

      Welles Wilder used an EMA for both steps (2) and (4), but you can use anything that you think is good to determine overbought and oversold conditions or price reversals. Attached below is a sample chart showing Wilder's RSI and two modified RSIs built from TMAs and Nyquist moving averages.

      Which average would you like to see for step (2) ?
      Which average would you like to see for step (4) ?
      What is the additional EMA all about?

      Are you looking for something like the Traders Dynamic Index, which has the raw RSI smoothed with 3 different SMAs? See second chart attached.
      Attached Files

      Comment


        #4
        wow I need the second attached chart's RSI

        Comment


          #5
          Originally posted by kt5ssm View Post
          wow I need the second attached chart's RSI
          The indicator is available here:

          The best futures trading community on the planet: futures trading, market news, trading charts, trading platforms, trading strategies


          Elite membership is required at Big Mike's for downloading indicators.

          You can also send me a private message with your e-mail, and I will send it to you.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by RubenCazorla, 08-30-2022, 06:36 AM
          3 responses
          77 views
          0 likes
          Last Post PaulMohn  
          Started by f.saeidi, Yesterday, 12:14 PM
          9 responses
          23 views
          0 likes
          Last Post f.saeidi  
          Started by Tim-c, Today, 03:54 AM
          0 responses
          3 views
          0 likes
          Last Post Tim-c
          by Tim-c
           
          Started by FrancisMorro, Today, 03:24 AM
          0 responses
          4 views
          0 likes
          Last Post FrancisMorro  
          Started by Segwin, 05-07-2018, 02:15 PM
          10 responses
          1,772 views
          0 likes
          Last Post Leafcutter  
          Working...
          X