PineCodersTASC

TASC 2022.03 Relative Strength Volatility-Adjusted EMA

█ OVERVIEW

TASC's March 2022 edition of Traders' Tips includes the "Relative Strength Moving Averages - Part 3: The Relative Strength Volatility-Adjusted Exponential Moving Average" article authored by Vitali ​Apirine. This is the code that implements the "RS VolatAdj EMA" from the article.


█ CONCEPTS

In a three-part article series, Vitaly Apirine examines ways to filter price movements and define turning points by applying the Relative Strength concept to exponential moving averages. The resulting indicator is more responsive and is intended to account for the relative strength of volatility.


█ CALCULATIONS

The calculation process uses the following steps:
  • Select an appropriate volatility index (in our case it is VIX).
  • Calculate up day volatility (UV) smoothed by a 10-day EMA.
  • Calculate down day volatility (DV) smoothed by a 10-day EMA.
  • Take the absolute value of the difference between UV and DV and divide by the sum of UV and DV. This is the Volatility Strength we need.
  • Calculate a MLTP constant - the weighting multiplier for an exponential moving average.
  • Combine Volatility Strength and MLTP to create an exponential moving average on current price data.

Join TradingView!

Tools and ideas for all Pine coders: www.tradingview.com/u/PineCoders/
Pine news broadcasts: t.me/PineCodersSquawkBox or twitter.com/PineCoders
TASC: traders.com/
开源脚本

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

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?