OPEN-SOURCE SCRIPT

Volume-Weighted Trend Strength index

Zaktualizowano
Volume-Weighted Trend Strength index (VWTSI)

Introduction

The VWTSI is a custom indicator designed to combine trend strength, volume, and volatility to give traders a comprehensive view of market dynamics. It provides flexibility by allowing you to visualize the indicator as either an oscillator or a moving average.

Features

  1. Dual Visualization: Can be displayed either as an oscillator or as a moving average on the chart.

  2. Volume-Weighted: Adjusts trend strength based on current volume compared to its average.

  3. Volatility-Adjusted: Incorporates market volatility into the trend strength calculation.

  4. Customizable: Various parameters can be fine-tuned to suit different trading environments.



How It Works

1. Trend Strength Calculation
The difference between the fast (10-period) and slow (30-period) EMAs is used to calculate trend strength, which gives a percentage-based indication of the trend's strength

2. Volatility Adjustment
The ATR-based volatility is calculated and used to amplify or reduce the trend strength based on the current market conditions

3. Volume Adjustment
The ratio of current volume to the volume SMA adds another layer of adjustment to the final VWTSI value

4. Final VWTSI Calculation
The VWTSI value is the product of trend strength, volatility factor, and volume ratio

5. Normalization
The final VWTSI is normalized to fit within a range of -100 to 100 for better visualization in oscillator mode

Customization Inputs

  1. Fast EMA Length: Default is 10.
  2. Slow EMA Length: Default is 30.
  3. Volume Length: Default is 14.
  4. Volatility Length (ATR): Default is 20.
  5. Oscillator or MA Mode: Toggle between displaying the indicator as an oscillator or moving average.

Informacje o Wersji
renamed a input from french to english
Moving AveragesOscillatorsTrend Analysis

Skrypt open-source

W prawdziwym duchu TradingView autor tego skryptu opublikował go jako open source, aby inwestorzy mogli go zrozumieć i zweryfikować. Pozdrowienia dla autora! Możesz go używać bezpłatnie, ale ponowne użycie tego kodu w publikacji podlega Zasadom Regulaminu. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Chcesz użyć tego skryptu na wykresie?

Wyłączenie odpowiedzialności