Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Complicated (maybe not) Input Series Question...

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

    Complicated (maybe not) Input Series Question...

    Hello again all!

    I'm experimenting with different features of the indicators in NinjaTrader and I've come across something which is giving me some trouble regarding the input series field.

    I've added an RSI to the chart, then I decided to add Bollinger Bands to that RSI.

    I first added the RSI.

    I then added the Bollinger Bands, and as the input series of the Bollinger Bands, I've chosen the RSI of the same period and smoothness as the original RSI.

    Next... I simply overlaid it on the same panel as the original RSI. That worked fine.

    THEN...

    I decided I wanted to create an alert when the RSI line neared the Bollinger Bands.

    I decided I wanted to use the "high" of the RSI as the condition. So, when the "high" of the RSI crosses the Upper Bollinger Band, there is an alert.

    So far, so good... everything works as expected... BUT...

    Then I decided I wanted to add a smoothing MA to the RSI... so I added the TEMA... and here's where things got a bit strange... I'm hoping some kind and knowledgeable soul can answer this for me...

    When I add the TEMA to smooth the RSI (I replaced "high" in the Input Series field of the RSI with the TEMA as the input series. Do I then select the "high" of the TEMA?

    Is the following line of code correct:

    Code:
    if (CrossAbove(RSI(TEMA(High, 14), 14), Bollinger(RSI(TEMA(14), 14), 2, 20).Upper, 1)
    The reason I'm asking is because the alerts seem to be occurring in the wrong places. I've added dots just to be sure and the dots are appearing in the wrong places also.

    Any input would be much appreciated. Maybe there's even a more elegant way to do this?

    -V

    #2
    Hello Aurum,

    Thanks for your post.

    I think you want to add the high to the TEMA, which is fed to the RSI, which is fed to the BollingerBands.

    e.g.
    Code:
    if (CrossAbove(RSI(TEMA(High, 14), 14), Bollinger(RSI(TEMA([B]High,[/B] 14), 14), 2, 20).Upper, 1)
    Last edited by NinjaTrader_ChelseaB; 07-16-2014, 02:02 PM.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      ChelseaB!!

      I'll give that a try!

      -V

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      648 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      369 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      108 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      572 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      573 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X