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:
if (CrossAbove(RSI(TEMA(High, 14), 14), Bollinger(RSI(TEMA(14), 14), 2, 20).Upper, 1)
Any input would be much appreciated. Maybe there's even a more elegant way to do this?
-V

Comment