PROTECTED SOURCE SCRIPT

Pulsar Trading System-LITE

40
📡 Pulsar Trading System


OVERVIEW

Pulsar is a comprehensive breakout trading system that combines dynamic support/resistance detection, trend filtering, and volume confirmation to identify high-probability entry opportunities. Unlike simple breakout indicators, Pulsar uses multi-timeframe analysis and adaptive ATR-based calculations to filter false signals and provide complete trade management from entry to exit.

WHAT MAKES THIS ORIGINAL
This indicator is unique in its integration of multiple complementary systems:

-Adaptive ATR Zones: Support and resistance levels are not static—they dynamically adjust based on current market volatility (ATR), creating entry zones that expand and contract with market conditions rather than using fixed price levels.

-Multi-Timeframe SuperTrend Filter: The trend filter operates on a higher timeframe than the chart (e.g., 5-minute SuperTrend on a 1-minute chart) to prevent counter-trend trades while maintaining granular entry precision. The visual ribbon with humorous warning text ("🚫 Don't Short - Trend is Your Friend! 📈") provides immediate trend awareness.

-Intelligent Cooldown System: After any trade exit (stop loss or take profit), the system enters a configurable cooldown period, preventing overtrading during choppy or consolidating market conditions—a critical feature often missing in breakout systems.

-Dynamic Trailing Stops: The trailing stop uses ATR multipliers to lock in profits while adapting to volatility, moving only in the favorable direction and never loosening.

-Comprehensive Dashboard: Real-time analysis displays trade status, entry prices, distances to targets in both points and ATR multiples, volume confirmation status, and cooldown countdown.


HOW IT WORKS
Core Detection Logic:
Pulsar identifies breakout opportunities by monitoring price interaction with dynamically calculated support and resistance levels:

Support/Resistance Calculation: Uses ta.lowest() and ta.highest() over a configurable lookback period to identify key levels, then adds ATR-based buffers (0.5 × ATR) to create entry zones.
Breakout Conditions:

Long Entry: Price closes above support buffer AND recent low touched support AND volume exceeds threshold
Short Entry: Price closes below resistance buffer AND recent high touched resistance AND volume exceeds threshold


SuperTrend Filter: A separate higher-timeframe SuperTrend calculation determines overall trend direction. Entries only trigger when breakout direction aligns with SuperTrend (bullish breakout + bullish trend, or bearish breakout + bearish trend).
Volume Confirmation: Current volume must exceed a configurable multiple of the 14-period SMA (default 1.0×) to confirm genuine interest in the breakout.
Cooldown Mechanism: After exit, the system tracks bars elapsed and blocks new signals until the cooldown period completes, preventing rapid-fire entries in ranging markets.

Trade Management:

Stop Loss: Calculated as entry zone ± (ATR × SL Multiplier)
Take Profit 1: Entry zone ± (ATR × TP1 Multiplier)
Take Profit 2: Entry zone ± (ATR × TP2 Multiplier)
Trailing Stop (optional): Updates every bar, moving the stop closer by maintaining distance of (ATR × Trailing Multiplier) from current price, but only in favorable direction

SuperTrend Calculation:
The SuperTrend uses standard methodology:

Upper Band = (High + Low) / 2 + (Multiplier × ATR)
Lower Band = (High + Low) / 2 - (Multiplier × ATR)
Direction changes when price crosses opposite band

The ribbon visualization adds a width offset (ATR × Ribbon Width) to create a filled zone rather than a single line.

HOW TO USE
Setup:

Add Pulsar to your chart (works best on liquid instruments like NQ, ES, CL)
Configure timeframe-specific settings (see recommendations below)
Enable SuperTrend Filter for trend-following mode, or disable for pure breakout mode
Set up alerts for Entry, TP1, TP2, and Stop Loss events

Recommended Settings by Timeframe:
1-Minute Charts:

Lookback Period: 10-15
SuperTrend Timeframe: 5 min
ATR Timeframe: 5 min (for stability)
Cooldown: 8-12 bars
Trailing Stop: Enabled with 0.8-1.0 multiplier

5-Minute Charts:

Lookback Period: 15-20
SuperTrend Timeframe: 15 min
ATR Timeframe: current chart
Cooldown: 5-8 bars
Trailing Stop: Optional

15-Minute+ Charts:

Lookback Period: 20-30
SuperTrend Timeframe: 1 hour
ATR Timeframe: current chart
Cooldown: 3-5 bars
Trailing Stop: Optional

Interpreting Signals:

Long/Short Zone Box: Green (long) or red (short) box appears when breakout conditions are met
Blue Entry Line: Shows your entry price
Red/Orange SL Line: Red = fixed stop, Orange = trailing stop (moves in real-time)
Green TP Lines: TP1 (closer) and TP2 (further) targets
SuperTrend Ribbon: Green = bullish trend (favor longs), Red = bearish trend (favor shorts)
Dashboard Status: Monitor trade state, distances, volume confirmation, and cooldown

Best Practices:

Use SuperTrend Filter: Significantly reduces false signals by avoiding counter-trend trades
Enable Cooldown on Fast Timeframes: Prevents overtrading on 1-5 minute charts
Volume Confirmation is Critical: Don't lower volume multiplier below 0.9 on futures
Use Higher Timeframe ATR: On 1-minute charts, use 5-minute ATR for stability
Avoid Major News Events: Disable during FOMC, NFP, CPI releases
Scale Out Strategy: Consider taking partial profits at TP1, letting remainder run to TP2

Parameter Optimization:
Start conservative and adjust based on results:

Too many stop-outs: Increase SL multiplier or SuperTrend multiplier
Missing good trades: Decrease volume multiplier or cooldown period
Too many false signals: Increase volume multiplier, lookback period, or cooldown
Profits not protected: Enable trailing stop or reduce trailing multiplier


KEY FEATURES
✅ Dynamic ATR-Based Zones: Entry, stop loss, and take profit levels automatically adjust to market volatility
✅ Multi-Timeframe Trend Filter: Uses higher timeframe SuperTrend to eliminate counter-trend trades
✅ Volume Confirmation: Filters low-volume false breakouts
✅ Intelligent Cooldown: Prevents overtrading with configurable post-trade waiting period
✅ Trailing Stop System: Optional dynamic stops that lock in profits using ATR distance
✅ Real-Time Dashboard: 13-row analysis showing trade status, targets, distances, volume, and cooldown
✅ Visual Ribbon Warnings: Humorous trend-following reminders on SuperTrend ribbon
✅ Complete Alert System: Notifications for entries, TP1, TP2, fixed stops, and trailing stops
✅ Customizable Visuals: Adjustable colors, dashboard position, text size, and line lengths
✅ Non-Repainting: Uses lookahead = barmerge.lookahead_off for all multi-timeframe calculations

SETTINGS EXPLAINED
SuperTrend Filter:

Enable: Toggle trend filtering on/off
Timeframe: Higher timeframe for trend analysis (recommended 3-5x chart timeframe)
ATR Period: Period for ATR calculation in SuperTrend (10-14 standard)
Multiplier: Distance from center band (2.5-3.5 for most markets)
Ribbon Width: Visual thickness of trend ribbon (0.2-0.5)

Core Parameters:

Lookback Period: Bars used to identify support/resistance (lower = more sensitive)
ATR Period: Bars for Average True Range calculation (14 is standard)
ATR Timeframe: Use higher timeframe ATR for smoother calculations on fast charts
Volume Multiplier: Required volume vs average (1.0 = average, 1.5 = 50% above average)

TP/SL:

SL Multiplier: Stop loss distance in ATR units (1.0-2.0 typical)
TP1 Multiplier: First target in ATR units (1.5-2.5 typical)
TP2 Multiplier: Second target in ATR units (2.0-3.5 typical)

Trailing Stop:

Enable: Activate dynamic trailing stop
Multiplier: Distance from current price in ATR units (0.8-1.5 typical)

Cooldown:

Enable: Prevent new signals after trade exit
Bars: Number of bars to wait before allowing next trade (higher on fast timeframes)


IMPORTANT NOTES
⚠️ Not a Holy Grail: No indicator is perfect. Pulsar is a tool that requires proper risk management, position sizing, and trading discipline.
⚠️ Backtest First: Test settings on historical data before live trading. Results vary by instrument, timeframe, and market conditions.
⚠️ Market Conditions Matter: Breakout systems perform best in trending markets. Consider reducing size or disabling during known choppy periods.
⚠️ Stop Loss is Mandatory: Always use the provided stop loss levels. Markets can move against you rapidly.
⚠️ Volume Data Required: This indicator requires volume data to function properly. It will display a warning if volume is unavailable.
⚠️ No Repainting: All multi-timeframe calls use non-repainting settings. What you see in real-time is what will be plotted historically.

TECHNICAL SPECIFICATIONS

Version: Pine Script v6
Type: Indicator (overlay = true)
Max Boxes: 500 (for zone visualization)
Max Lines: 500 (for TP/SL levels)
Max Labels: Unlimited (for annotations)
Repainting: None (uses lookahead = barmerge.lookahead_off)


COMPATIBLE INSTRUMENTS
Works best on liquid instruments with reliable volume data:

✅ Futures: NQ, MNQ, ES, MES, YM, MYM, RTY, M2K, CL, GC
✅ Forex: Major pairs (EUR/USD, GBP/USD, etc.)
✅ Stocks: Large-cap stocks with high volume
⚠️ Crypto: Works but requires higher ATR multipliers
❌ Low Volume Stocks: May produce unreliable signals


SUPPORT
For questions, suggestions, or to report issues, please comment below. I actively maintain this indicator and appreciate feedback from the community.
Enjoy trading with Pulsar! 🌟

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.