Profitable Vortex Indicator Scanner

The Vortex Indicator is a technical indicator invented by Etienne Botes and Douglas Siepman (Technical Analysis of Stocks & Commodities, V.28:1 (January, 2010): "The Vortex Indicator") to identify the start of a new trend or the continuation of an existing trend within financial markets.
It is composed of two lines, +VI and -VI. +VI represents up trending momentum and -VI represents down trending momentum.
The most basic strategy is to use the crossovers as trade signals:
- when +VI crosses above -VI, go Long
- when -VI crosses above +VI, go Short
- Exit when a crossover occurs in the opposite direction
What is this tool?
This tool is a performance scanner that uses a decision tree-based algorithm under the hood to find the most profitable period's setting for the indicator. It analyzes the range of periods between 2 to 100 and backtests the Vortex Indicator for each period using the strategy mentioned above across the entire history of an instrument.
Settings
Net Profit line is optional and can be hidden through settings.
Alerts
It has an alert that notifies when a more profitable period was detected.
NOTE: It does not change what has already been plotted.
Good luck!
- Now it uses "Early Switch" version of the algorithm
- Removed Net Profit line from script because it can be shown in the strategy backtester
- Made minor optimizations
- Made optimization fixes
- Update
- Security update
- Updated the main algorithm
- Updated the alert
- Optimized inputs
Invite-only script
Only users authorized by the author have access to this script, and this usually requires payment. You can add the script to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author — learn more here. For more details, follow the author's instructions below or contact everget directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.
Author's instructions
Warning: please read our guide for invite-only scripts before requesting access.
A list of FREE indicators:
bit.ly/2S7EPuN
A list of PAID indicators:
bit.ly/33MA81f
Earn $15:
tradingview.com/pricing/?share_your_love=everget
Disclaimer
Invite-only script
Only users authorized by the author have access to this script, and this usually requires payment. You can add the script to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author — learn more here. For more details, follow the author's instructions below or contact everget directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.
Author's instructions
Warning: please read our guide for invite-only scripts before requesting access.
A list of FREE indicators:
bit.ly/2S7EPuN
A list of PAID indicators:
bit.ly/33MA81f
Earn $15:
tradingview.com/pricing/?share_your_love=everget