PROTECTED SOURCE SCRIPT

MNQ 12H Swing

25
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.

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。