INVITE-ONLY SCRIPT
已更新

Profitable Vortex Indicator Scanner

5 567
Introduction
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

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。