INVITE-ONLY SCRIPT
Pivot Breakout Strategy (Break of Structure + Risk Management)

DESCRIPTION
This strategy is a pivot-based breakout system designed for $BINANCE:JUPUSDT. It identifies pivot highs and pivot lows using a configurable lookback period, then enters trades when price breaks through these pivot levels. The strategy includes flexible risk management with two exit methods: automatic SL/TP orders or manual position management with trailing stops and breakeven protection.
Core concept
Entry signals
Exit methods (choose one)
Risk management
How to use
Key inputs snapshot
Pine Script®
Visual features
This strategy is a pivot-based breakout system designed for $BINANCE:JUPUSDT. It identifies pivot highs and pivot lows using a configurable lookback period, then enters trades when price breaks through these pivot levels. The strategy includes flexible risk management with two exit methods: automatic SL/TP orders or manual position management with trailing stops and breakeven protection.
Core concept
- Pivot detection: Identifies pivot highs (PH) and pivot lows (PL) using a configurable period (default: 18 bars).
- Breakout entries: Enters long when price breaks above a pivot high; enters short when price breaks below a pivot low.
- Signal flip: Automatically closes opposite positions when a new signal appears, allowing for quick reversals.
- Visual markers: Draws neon-style lines and labels ("BoS PH" / "BoS PL") to mark pivot breakouts on the chart.
Entry signals
- Long entry: Price breaks above a confirmed pivot high (PH).
- Short entry: Price breaks below a confirmed pivot low (PL).
Exit methods (choose one)
- Method 1: Automatic SL/TP (default): Uses strategy.exit() with fixed stop loss and take profit levels. Orders are placed automatically when entry occurs.
- Method 2: Manual management: Uses strategy.close() with optional trailing stop and breakeven protection. Provides more control but requires manual exit logic.
Risk management
- Long positions: Default SL 3.5%, TP 4.5% (configurable).
- Short positions: Default SL 2.0%, TP 3.5% (configurable).
- Trailing stop (optional, Method 2 only): Trails from the best price since entry.
- Breakeven stop (optional, Method 2 only): Moves stop loss to breakeven after a profit trigger.
How to use
- Apply to $BINANCE:JUPUSDT. The strategy works on any timeframe, but pivot period may need adjustment for different timeframes.
- Choose your preferred exit method in the settings:
Use Automatic SL/TP for simpler, hands-off trading.
Use Manual management if you want trailing stops and breakeven protection. - Adjust pivot length based on market volatility: shorter periods catch more signals but may be noisier; longer periods are more selective.
- Enable/disable long or short strategies independently based on market conditions.
Key inputs snapshot
Pivot Detection:
Length: 18 bars
Risk (Long):
SL: 3.5%, TP: 4.5%
Risk (Short):
SL: 2.0%, TP: 3.5%
Optional (Method 2 only):
Trailing Stop: 1.5%
Breakeven Trigger: 1.5%
Breakeven Offset: 0.1%
Visual features
- Neon-style lines mark pivot breakouts with glow effects.
- Labels show "BoS PH" (Break of Structure Pivot High) and "BoS PL" (Break of Structure Pivot Low).
- Customizable colors for bull and bear signals.
Educational use only. This is not financial advice. Pivot-based strategies can generate frequent signals; always validate with forward testing and consider transaction costs. The strategy automatically flips positions on opposite signals, which may result in higher trade frequency.
초대 전용 스크립트
이 스크립트는 작성자가 승인한 사용자만 접근할 수 있습니다. 사용하려면 요청 후 승인을 받아야 하며, 일반적으로 결제 후에 허가가 부여됩니다. 자세한 내용은 아래 작성자의 안내를 따르거나 andreans에게 직접 문의하세요.
트레이딩뷰는 스크립트의 작동 방식을 충분히 이해하고 작성자를 완전히 신뢰하지 않는 이상, 해당 스크립트에 비용을 지불하거나 사용하는 것을 권장하지 않습니다. 커뮤니티 스크립트에서 무료 오픈소스 대안을 찾아보실 수도 있습니다.
작성자 지시 사항
© andreans
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
초대 전용 스크립트
이 스크립트는 작성자가 승인한 사용자만 접근할 수 있습니다. 사용하려면 요청 후 승인을 받아야 하며, 일반적으로 결제 후에 허가가 부여됩니다. 자세한 내용은 아래 작성자의 안내를 따르거나 andreans에게 직접 문의하세요.
트레이딩뷰는 스크립트의 작동 방식을 충분히 이해하고 작성자를 완전히 신뢰하지 않는 이상, 해당 스크립트에 비용을 지불하거나 사용하는 것을 권장하지 않습니다. 커뮤니티 스크립트에서 무료 오픈소스 대안을 찾아보실 수도 있습니다.
작성자 지시 사항
© andreans
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.