PROTECTED SOURCE SCRIPT

Magic Swing Suite: Trend, Pullback & Risk Dashboard

34
Magic Swing Suite: Trend, Pullback & Risk Dashboard

This indicator is a complete Swing Trading System designed to identify high-probability trend continuation setups. It combines classic trend-following principles with a unique "3-Bar Retest" logic and provides a real-time Strategy Dashboard to help you manage positions without needing a separate strategy script.

How it Works:

The system looks for a "Confluence" of factors before generating a signal. It scores every bar out of 140 points based on the following criteria:

Trend Alignment: Price must be above EMA 10, and EMA 10 must be above EMA 20.

Momentum (RSI): RSI must be in the "Bullish Control Zone" (60-80) and above its SMA.

Volume: Volume must be significantly higher than the average (1.5x by default).

The "Magic" Retest: The script checks the last 2-5 bars to see if the price has pulled back to "kiss" the EMA 10. This ensures we are buying a dip in a trend, not chasing a top.

Breakout Confirmation: Checks for Darvas Box breakouts and price position relative to Pivot R1.

Features:

🎯 Virtual Strategy Dashboard: A table that mimics a strategy tester. It tracks Entry, Stop Loss (Trailing), Target 1, and Target 2 in real-time.

📊 Confluence Scorecard: A detailed table showing exactly why a signal was (or wasn't) generated (Trend, Retest, RSI, Volume, etc.).

🛡️ Risk Management: automatically calculates a Trailing Stop (EMA 10) and fixed Risk:Reward targets based on recent highs.

📉 Multi-Layered Overlays: Includes Auto-Pivots (Traditional, Fib, Woodie, etc.) and Darvas Boxes to identify support/resistance levels.

How to Use:

Wait for a Signal:

"FULL BUY SIGNAL" (Green): All conditions are met, including a recent retest of the EMA. This is the highest probability setup.

"BUY - NO RETEST" (Orange): Trend and momentum are strong, but price hasn't pulled back recently. Use caution, as this may be a breakout trade.

Monitor the Dashboard: Once a trade is active, the dashboard will change to "IN POSITION." Follow the "Action" row.

If the trend weakens, the Trailing Stop (EMA 10) will move up to protect profits.

Targets:

T1: Previous Swing High (or 5% if no high found).

T2: 1:1.6 Risk/Reward extension.

Settings:

Volume Spike Factor: Adjust how much volume is needed to confirm a move. Default is 1.2.

Retest Tolerance: Adjust how close the price needs to get to the EMA 10 to count as a "retest."

Dashboard Toggles: You can hide the tables if you prefer a clean chart.

Pivot Timeframes: customizable lookback for S/R levels.

FAQ:

Does this repaint?
No. All signals trigger only on confirmed bars.

Can I use this intraday?
Yes. Works great from 5m to 1D.

Are exits manual or automated?
The indicator tracks SL, T1, and T2, and marks them on the chart.

Does retest affect the buy signal?
Retest is optional. The buy logic does not require it, but adds weight to the score.

Disclaimer: This tool is for educational purposes only. The "Strategy Dashboard" is a simulation based on script calculations and does not execute real trades. Always manage your own risk.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.