OPEN-SOURCE SCRIPT
RMA vs EMA Comparison Tool

If you're looking for a quick entry point to follow a trend, it's best to look at the EMA.
If you need confirmation of a long-term trend change or are working with oscillators (like the RSI), use the RMA.
What to look for on the chart:
Reaction speed: You'll notice that the EMA (red line) adheres much more closely to the price. It reacts more quickly to sharp reversals or impulses.
Smoothness: The RMA (blue line) appears smoother and "lazier." It changes direction more slowly, which helps filter out false signals (noise), but allows for a slightly later entry into a trade.
Distance: During periods of strong trending, the RMA is usually further from the price than the EMA of the same period.
If you need confirmation of a long-term trend change or are working with oscillators (like the RSI), use the RMA.
What to look for on the chart:
Reaction speed: You'll notice that the EMA (red line) adheres much more closely to the price. It reacts more quickly to sharp reversals or impulses.
Smoothness: The RMA (blue line) appears smoother and "lazier." It changes direction more slowly, which helps filter out false signals (noise), but allows for a slightly later entry into a trade.
Distance: During periods of strong trending, the RMA is usually further from the price than the EMA of the same period.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.