OPEN-SOURCE SCRIPT
Diupdate Vortex Pro with Moving average [point algo]

Vortex Pro with MA Dropdown is an enhanced version of the classic Vortex Indicator (VI), designed to help visualize directional strength by comparing positive and negative trend movement.
This version includes a smoothed “Vortex Pro” line, adjustable moving-average filtering, and dynamic zone coloring for improved readability.
How It Works:
The script calculates VI+ and VI− using directional movement and true range.
“Vortex Pro” is derived from the difference between VI+ and VI−, scaled for clarity.
A customizable moving average (EMA, SMA, HMA, WMA) is applied to help smooth volatility and highlight shifts in momentum.
Features :
• Vortex Pro Line
A scaled trend-strength line showing when positive movement is dominating or weakening.
• MA Type Dropdown
Choose between EMA, SMA, HMA, or WMA to smooth the Vortex Pro line.
• Zero-Line Structure
A plotted zero line is used to compare positive vs. negative strength visually.
• Dynamic Fill Zones
Green shading when the Vortex Pro line is above zero, red when below.
Usage:
This tool is designed for visual analysis of trend direction and momentum strength.
It does not generate buy/sell signals and should be used as part of a broader analysis approach.
Suitable for all timeframes and markets.
This version includes a smoothed “Vortex Pro” line, adjustable moving-average filtering, and dynamic zone coloring for improved readability.
How It Works:
The script calculates VI+ and VI− using directional movement and true range.
“Vortex Pro” is derived from the difference between VI+ and VI−, scaled for clarity.
A customizable moving average (EMA, SMA, HMA, WMA) is applied to help smooth volatility and highlight shifts in momentum.
Features :
• Vortex Pro Line
A scaled trend-strength line showing when positive movement is dominating or weakening.
• MA Type Dropdown
Choose between EMA, SMA, HMA, or WMA to smooth the Vortex Pro line.
• Zero-Line Structure
A plotted zero line is used to compare positive vs. negative strength visually.
• Dynamic Fill Zones
Green shading when the Vortex Pro line is above zero, red when below.
Usage:
This tool is designed for visual analysis of trend direction and momentum strength.
It does not generate buy/sell signals and should be used as part of a broader analysis approach.
Suitable for all timeframes and markets.
Catatan Rilis
Vortex Pro with MA Dropdown is an expanded version of the traditional Vortex Indicator (VI), designed to help traders analyze directional trend strength and momentum shifts.The original Vortex concept measures two components:
- VI+ (positive directional movement)
- VI− (negative directional movement)
These values show whether upward or downward price movement is dominating during the chosen period.
What This Script Does
This version introduces a derived metric called Vortex Pro, calculated as the difference between VI+ and VI−, then scaled for readability.
This creates a clearer oscillating line that visually highlights the strength of one directional force over the other.
The script also adds:
- A customizable moving average (EMA, SMA, HMA, or WMA)
- A zero-line comparison to determine positive vs. negative trend zones
- A dynamic color-filled region showing whether directional strength is positive or negative
These additions aim to make the Vortex tool easier to interpret, especially for users who prefer oscillator-style indicators.
Underlying Concepts Used
1. True Range & Directional Movement
The Vortex indicator is based on the distance between the current highs/lows and previous highs/lows.
This reflects whether buyers or sellers are pushing the market harder.
2. Vortex Pro (VI+ − VI−)
Instead of displaying both VI lines separately, this script converts them into a single oscillating value:
Vortex Pro = (VI+ − VI−) * 10
This form makes momentum shifts easier to see, similar to how MACD turns two EMAs into a single histogram.
3. Moving Average Smoothing
A dropdown allows choosing between:
- EMA
- SMA
- HMA
- WMA
This lets traders reduce noise or highlight momentum acceleration depending on preference.
4. Zero-Line Structure
When Vortex Pro is:
Above 0 → positive directional bias
Below 0 → negative directional bias
The script uses a fill between the Vortex Pro line and zero to visually mark strength zones.
How To Use It
Identify Trend Bias
Green fill (above zero) indicates positive directional movement dominating.
Red fill (below zero) indicates negative dominance.
Use the MA for Smoothing
The MA helps filter noise and highlight shifts in momentum direction.
Look for Crossovers
Crossings of the zero line may indicate momentum shifts between buyers and sellers.
Use Multi-Timeframe or Other Indicators Together
This indicator is designed as a momentum-structure visualizer, not a standalone signal generator.
Combine with trend tools, structure analysis, or volume indicators.
Originality of This Script
This script is different from the standard Vortex Indicator because:
It converts VI+ and VI− into a single “Vortex Pro” oscillator, making directional bias easier to interpret.
It adds an MA-type dropdown, allowing users to experiment with different smoothing techniques.
It includes dynamic zone filling, enhancing readability of momentum phases.
It is structured as an oscillator instead of two overlaid lines, offering an alternative representation of Vortex logic.
These modifications provide a more visually intuitive version of the classic Vortex concept.
Notes
This indicator is designed for analysis and visual observation only.
It does not produce trading signals and should be used as part of a broader strategy.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Unlock powerful tools & indicators → pointalgo.com
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Unlock powerful tools & indicators → pointalgo.com
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.