Updated Description:
Overview
This strategy is designed for traders looking to capture clean breakout opportunities while maintaining precise risk control. It identifies trade setups based on pivot breakouts, ensuring entries align with market momentum. The system integrates a configurable time filter to focus trades within specific sessions and employs dynamic position sizing to manage risk effectively.
By combining pivot-based breakout logic with volatility-adjusted stop-loss placement, this strategy adapts to different market conditions and works across multiple timeframes. The visual elements—entry markers, stop-loss/take-profit zones, and pivot structures—help traders interpret setups at a glance.
Core Concepts & Methodology
This strategy relies on pivot high/low breakouts, a widely used concept in technical trading. A breakout is confirmed when price closes above a pivot high (bullish) or below a pivot low (bearish). This method helps traders identify moments when price structure shifts, signaling a potential trend continuation.
Trades are only executed when a candle closes beyond the pivot level, filtering out false breakouts. The strategy includes a built-in risk management system where stop-loss placement is determined dynamically using ATR-based levels, prior candle highs/lows, or fixed point values. A risk-reward multiplier is applied to calculate take-profit targets. Additionally, an optional time filter allows traders to restrict entries to specific sessions, helping to avoid low-liquidity periods.
How It Works
The script identifies pivot highs and lows based on a customizable lookback period. A long trade is triggered when price closes above a pivot high, and a short trade is triggered when price closes below a pivot low. If the time filter is enabled, trades will only execute within the defined session window.
Stop-loss placement is calculated using one of three methods: ATR (adjustable with different smoothing options such as RMA, SMA, EMA, or WMA), the prior candle’s high/low, or a fixed point value. The take-profit level is determined by multiplying the stop-loss distance by the risk-reward ratio. Position sizing is dynamically adjusted based on the percentage of equity risked per trade.
Breakout signals are displayed as triangles on the chart. Entry, stop-loss, and take-profit levels are plotted with customizable lines, while shaded zones visually represent risk and reward. ATR lines can be enabled to provide additional insight into volatility-adjusted stop placement. If the time filter is active, the background is shaded during the allowed trading hours.
Settings & Customization
Users can configure the pivot length to adjust breakout sensitivity. Risk management settings allow traders to modify the risk percentage per trade, risk-reward ratio, and stop-loss type. ATR length, smoothing method, and multipliers can be adjusted to refine stop placement. The time filter can be enabled or disabled, with customizable start and end times to define active trading hours. Visual elements such as breakout colors, entry/stop-loss/take-profit line colors, and ATR line display options are fully customizable.
Why This Strategy Is Unique
Unlike generic breakout strategies, this system incorporates multiple layers of risk control, ensuring structured trade execution. The dynamic stop-loss system adapts to volatility, improving trade sustainability. The ability to restrict trading hours enhances efficiency by focusing on optimal market conditions. By combining breakout logic, adaptive stop placement, and equity-based position sizing, this strategy provides traders with a complete framework for disciplined and risk-managed trading.