All indicators

Volatility stop strategy v1.0

May 4, 2018

Static chart image
SignalsMoving AveragesTrailing-StopVolatility

The Volatility stop strategy v1.0 indicator is a trend-following tool designed to identify potential entry and exit points by tracking market volatility through a trailing stop mechanism. It aims to help traders capture sustained price movements while providing clear levels for risk management.

Usage

The Usage section focuses on interpreting the VStop line and its interaction with price action. When the price is above the VStop line, the indicator signals a bullish trend (green line), and the strategy enters a long position. Conversely, when the price falls below the VStop line, it signals a bearish trend (red line), and the strategy enters a short position.

Traders can use this tool to:

  • Identify Trend Reversals: A change in the color and position of the VStop line relative to price indicates a potential shift in market direction.
  • Trailing Stop Loss: The VStop line acts as a dynamic exit point, adjusting based on price extremes and volatility (ATR).
  • Trend Filtering: While the strategy is standalone, it can be combined with Moving Averages to ensure trades are only taken in the direction of the higher-timeframe trend, potentially reducing whipsaws in sideways markets.

Details

The VStop calculation is rooted in the concept of a volatility-based trailing stop, similar to a Supertrend or Parabolic SAR but with specific logic regarding price peaks and troughs. The script calculates a stop level based on the Average True Range (ATR) multiplied by a user-defined factor.

In an uptrend, the stop level is calculated from the highest high reached since the trend began, and it can only move upward. In a downtrend, it is calculated from the lowest low and can only move downward. A trend reversal is triggered when the closing price crosses the current VStop level, at which point the "Max" or "Min" reference points are reset.

Settings

  • Trend Decider: Determines the length used for the internal EMA calculation of the low prices, used to assist in trend baseline calculations.
  • Length: The lookback period for the Average True Range (ATR) calculation, which dictates the sensitivity to recent volatility.
  • Multiplier: A coefficient applied to the ATR value. A higher multiplier creates a wider gap between the price and the VStop, reducing sensitivity to minor price fluctuations.

FAQ

How do I access Volatility stop strategy v1.0?

You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Can this be used on any timeframe?

Yes, the strategy is mathematically adaptive to different timeframes, though users should adjust the Length and Multiplier settings to suit the specific volatility profile of the asset and timeframe being traded.

Does this strategy include built-in alerts?

Yes, the script includes alert conditions for both "Bullish Trend Started" and "Bearish Trend Started" which trigger at the close of the bar when a crossover occurs.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.