OPEN-SOURCE SCRIPT

Momentum Swing

360
Description:
This indicator detects structural breakouts triggered by a single engulfing candle that decisively breaks out of a range formed by previous candles.

📦 Key Features:

Detects breakouts from a lateral range defined by N previous candles

Identifies only clean breakouts using a single engulfing candle (optional: body-only breakout)

Visually highlights the broken range with a rectangle

Displays directional arrows when a breakout occurs (long or short)

Fully customizable settings

🛠 Custom Inputs:

Number of candles used to define the range

Option to require the breakout to occur with the candle’s body only

Option to show or hide the breakout rectangle

📈 Perfect for traders looking to identify strong breakouts after consolidation phases.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.