Inverse MACD + DMI Scalping with Volatility Stop
Jul 19, 2022

The Inverse MACD + DMI Scalping with Volatility Stop indicator is a comprehensive trend-following tool designed to identify short-term bearish momentum shifts for short-selling opportunities. By combining momentum and directional movement indicators, the script filters out low-volatility periods and focuses on high-probability entries during established downtrends.
Usage
The script is primarily used to catch the start of short-term downtrends. It is particularly effective for traders looking to hedge long-term holdings or for active trading in futures markets.
- Short Entry: The system looks for confluence between the MACD and DMI. An entry is triggered when the MACD histogram turns bearish (signal line crosses above the MACD line) and the Negative Directional Index (-DI) is greater than the Positive Directional Index (+DI).
- Exits: The strategy utilizes a dual-exit approach. It employs a fixed Take Profit percentage and a dynamic Volatility Stop.
- Trailing Stop: The Volatility Stop acts as a trailing mechanism, adapting to market volatility to lock in profits or mitigate losses as the trend evolves. If the price crosses above the Volatility Stop, the position is closed.
Details
The script integrates three primary technical components:
- MACD (12, 26, 9): Used to identify momentum shifts. In this "Inverse" logic, it focuses on bearish crossovers to signal the exhaustion of upward movement.
- DMI (14): Provides trend direction confirmation. By requiring the -DI to be above the +DI, the script ensures that the bearish momentum is backed by a dominant negative directional trend.
- Volatility Stop: This calculation uses Average True Range (ATR) to create a dynamic boundary. It helps distinguish between normal market noise and a genuine trend reversal that should trigger an exit.
Settings
Strategy Settings
- Show Date Range: Toggles the visibility of the backtesting period constraint.
- Take Profit %: Sets the fixed target for profit taking relative to the entry price.
Volatility Stop Settings
- Length: The period used for the underlying ATR calculation within the Volatility Stop.
- Source: The price source used for the Volatility Stop calculation (default is Close).
- vStop Multiplier: The multiplier applied to the ATR to determine the distance of the trailing stop from the price.
FAQ
How do I interpret the Volatility Stop line? The Volatility Stop line changes color based on the trend. When the price is below the red line, it indicates a bearish environment suitable for maintaining short positions.
On which timeframes does this work best? Based on historical analysis, the indicator performs optimally on mid-range timeframes such as the 45-minute, 1-hour, and 2-hour charts across various liquid assets.
How can I access the Inverse MACD + DMI Scalping with Volatility Stop? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.