- First program
- Main indicator event: OnCalculate
- Skip drawing on initial bars
I am having difficulty understanding your issue, because an EMA of period 1 does nothing but return the actual underlying value. It does not apply any averaging or any smoothing!
In other words, applying an EMA(1) does nothing and might as well not even be placed on the chart or on the RSI anyway.
Also inserting a price based EMA into the RSI window (not an EMA of the RSI itself), is useless. They have different units and scales. It is like mixing apples and oranges.
So, don't do it, because it has no mathematical relevance—it is just plain gibberish.
Also inserting a price based EMA into the RSI window (not an EMA of the RSI itself), is useless. They have different units and scales. It is like mixing apples and oranges.
So, don't do it, because it has no mathematical relevance—it is just plain gibberish.
Is there a solution to this as this gives me a very important confirmation?
A period of 1 will essentially create a line chart.
You need to normalize MA values in order to have them in range 0-100.
Actually, what I wanted was to display the price chart inside the RSI indicator. That’s why I added a 1-period EMA—because a line chart of the price and a 1-period EMA both look the same. The issue is, at first it worked fine for about 5 months without any problems, but later it started showing auto jumps/sudden spikes.
Actually, what I wanted was to display the price chart inside the RSI indicator. That’s why I added a 1-period EMA—because a line chart of the price and a 1-period EMA both look the same. The issue is, at first it worked fine for about 5 months without any problems, but later it started showing auto jumps/sudden spikes.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use