OPEN-SOURCE SCRIPT

TASC 2022.05 Relative Strength Exponential Moving Average

█ OVERVIEW

TASC's May 2022 edition Traders' Tips includes the "Relative Strength Moving Averages" article authored by Vitali Apirine. This is the code implementing the Relative Strength Exponential Moving Average (​RS EMA) indicator introduced in this publication.


█ CONCEPTS

​RS EMA is an adaptive trend-following indicator with reduced lag characteristics. By design, this was made possible by harnessing the relative strength of price. It operates in a similar fashion to a traditional EMA, but it has an improved response to price fluctuations. In a trading strategy, ​RS EMA can be used in conjunction with an EMA of the same length to identify the overall trend (see the preview chart). Alternatively, ​RS EMAs with different lengths can define turning points and filter price movements.

​RS EMA is an adaptive trend-following indicator with reduced lag characteristics. By design, this was made possible by harnessing the relative strength of price. It operates in a similar fashion to a traditional EMA, but it has an improved response to price fluctuations.

█ CALCULATIONS

The following steps are used in the calculation process:
• Calculate the relative strength (​RS) of a given length.
• Multiply ​RS by a chosen coefficient (multiplier) to adapt the EMA filtering the original time series. Calculate the EMA of the resulting time series.
The author recommends ​RS EMA(10,10,10) as typical settings, where the first parameter is the EMA length, the second parameter is the ​RS length, and the third parameter is the ​RS multiplier. Other values may be substituted depending on your trading style and goals.
Moving AveragesrelativestrengthtascTrend Analysisvitaliapirine

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


Tools and ideas for all Pine coders: tradingview.com/u/PineCoders/
Pine news broadcasts: t.me/PineCodersSquawkBox or twitter.com/PineCoders
TASC: traders.com/
更多:

免责声明