PROTECTED SOURCE SCRIPT
MNQ 12H Swing

MNQ 12H Swing — Independent Trades + Push Alerts (Fixed 3-bar Trade Lines)
This strategy is designed for 12-hour MNQ charts and focuses on swing trading setups aligned with the short-term trend.
It uses a 9-period SMA as a directional bias filter to confirm bullish or bearish continuation patterns.
Each entry is triggered when a candle breaks the previous bar’s high/low in the direction of the SMA.
Position sizing is risk-based, using a fixed USD risk per trade divided by the stop size in points.
Stops are determined either by Bar Low/High or an ATR-based multiplier for adaptive volatility control.
Take-profit targets can be defined by fixed points or R-multiples, ensuring flexible reward structures.
Each trade creates fixed horizontal lines (Entry / SL / TP) that persist for exactly 3 bars.
Multiple stacked trades per direction are supported (default 3), with independent management and exits.
The system includes Chandelier ATR trailing stops, optionally activated only after reaching +1R.
Break-even logic allows automatic SL movement to entry once the position gains 1R profit.
Alerts are sent automatically on new entries and trade closures, with detailed PnL reporting.
A visual debug mode highlights valid and invalid setup conditions for transparency and testing.
No hedging is allowed — long and short trades are mutually exclusive by design.
The script enforces strict time-frame validation (12-hour only) to maintain signal integrity.
All SL and TP lines are dynamically recreated if updated (e.g., trailing stop adjustments).
The strategy supports pyramiding (up to 50 total trades) for layered swing scaling.
Each trade instance is tracked with arrays for full state management and line references.
The goal: structured swing trading with precise risk control, automation, and clean visualization.
This strategy is designed for 12-hour MNQ charts and focuses on swing trading setups aligned with the short-term trend.
It uses a 9-period SMA as a directional bias filter to confirm bullish or bearish continuation patterns.
Each entry is triggered when a candle breaks the previous bar’s high/low in the direction of the SMA.
Position sizing is risk-based, using a fixed USD risk per trade divided by the stop size in points.
Stops are determined either by Bar Low/High or an ATR-based multiplier for adaptive volatility control.
Take-profit targets can be defined by fixed points or R-multiples, ensuring flexible reward structures.
Each trade creates fixed horizontal lines (Entry / SL / TP) that persist for exactly 3 bars.
Multiple stacked trades per direction are supported (default 3), with independent management and exits.
The system includes Chandelier ATR trailing stops, optionally activated only after reaching +1R.
Break-even logic allows automatic SL movement to entry once the position gains 1R profit.
Alerts are sent automatically on new entries and trade closures, with detailed PnL reporting.
A visual debug mode highlights valid and invalid setup conditions for transparency and testing.
No hedging is allowed — long and short trades are mutually exclusive by design.
The script enforces strict time-frame validation (12-hour only) to maintain signal integrity.
All SL and TP lines are dynamically recreated if updated (e.g., trailing stop adjustments).
The strategy supports pyramiding (up to 50 total trades) for layered swing scaling.
Each trade instance is tracked with arrays for full state management and line references.
The goal: structured swing trading with precise risk control, automation, and clean visualization.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.