PROTECTED SOURCE SCRIPT
Sweep/Reclaim & Breakout Grading — Long-only

Strategy Overview
Name: LP Sweep & Reclaim — Long-only: Breakout Grading with Position-in-Score + Hybrid SL + 1R→BE
Signals
1) LP Sweep & Reclaim (mean-reversion entry)
2) Trend Breakout (momentum entry)
Risk & Exit Logic
Hybrid Stop-Loss (at entry)
Compute two candidates:
Structure-based SL: reference level (LP low for sweeps, min(low, donchianHigh) for breakouts) minus k × ATR.
ATR-based SL: close − m × ATR.
Hybrid rule (longs): pick the tighter one (the higher price) → initial SL.
1R → Breakeven (BE) transition
Trend Take-Profit (EMA cross)
Exit condition: after at least minHoldBars since entry (default 4), close crosses below the chosen EMA → strategy.close.
Name: LP Sweep & Reclaim — Long-only: Breakout Grading with Position-in-Score + Hybrid SL + 1R→BE
Signals
1) LP Sweep & Reclaim (mean-reversion entry)
2) Trend Breakout (momentum entry)
Risk & Exit Logic
Hybrid Stop-Loss (at entry)
Compute two candidates:
Structure-based SL: reference level (LP low for sweeps, min(low, donchianHigh) for breakouts) minus k × ATR.
ATR-based SL: close − m × ATR.
Hybrid rule (longs): pick the tighter one (the higher price) → initial SL.
1R → Breakeven (BE) transition
Trend Take-Profit (EMA cross)
Exit condition: after at least minHoldBars since entry (default 4), close crosses below the chosen EMA → strategy.close.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarlo liberamente e senza alcuna limitazione – per saperne di più clicca qui.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarlo liberamente e senza alcuna limitazione – per saperne di più clicca qui.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.