PROTECTED SOURCE SCRIPT

ATR Multi Confluence BUY/SELL LITE

126
ATR Multi Confluence Dashboard LITE - TradingView Publication

═══════════════════════════════════════════════════════════════════════════════

⚠️ IMPORTANT: This is the FREE LITE version with NO ALERTS
- Full visual functionality for manual trading and evaluation
- Cannot send notifications or automate trading
- Perfect for testing before upgrading to the full version with alerts

═══════════════════════════════════════════════════════════════════════════════

OVERVIEW

This indicator combines 13 technical indicators into a comprehensive confluence system that generates BUY and SELL signals based on multi-timeframe analysis. It features dynamic ATR-based take profit and trailing stop loss levels, VWAP acceptance filters, and configurable trading session time windows designed for scalping and day trading.

The LITE version provides complete visual functionality including signal generation, TP/SL lines, confluence dashboard, and all filtering capabilities. However, it does NOT include any alert functionality - making it suitable for manual trading, strategy evaluation, and optimization before considering the full version with automation capabilities.

═══════════════════════════════════════════════════════════════════════════════

WHAT MAKES THIS INDICATOR ORIGINAL

Multi-Confluence Scoring System: Aggregates 13 independently configurable technical indicators (RSI, VWAP, EMA crosses, MACD, Stochastic, Bollinger Bands, ADX, Momentum, Volume Breakout, VWAP Bands, 200 EMA, 50 EMA Trend, and Price Action patterns) into a single percentage-based signal strength metric. Each indicator can be individually enabled or disabled, allowing traders to create custom confluence combinations tailored to their specific markets and trading styles.

VWAP Acceptance Kill Switch: Automatically blocks counter-VWAP trades after price acceptance is confirmed for a configurable number of consecutive closes, preventing trades against established institutional positioning. Visual markers (⛔) appear on the chart when VWAP acceptance blocks activate, providing transparency into when the filter prevents counter-trend signals.

Separate ATR Timeframe Control: Allows users to calculate TP/SL levels using a different timeframe's ATR (e.g., 1-minute ATR for tighter stops on 5-minute charts). This provides granular control over risk management parameters independent of the main indicator's calculation timeframe.

Dynamic Trailing Stop: Real-time ATR-based trailing stop that locks in profits as price moves favorably, recalculating on every bar. The trailing stop only moves in the favorable direction, creating a ratcheting effect that protects gains while giving positions room to breathe based on current market volatility.

Three Independent Take Profit Targets: TP1, TP2, and TP3 levels with individual ATR multipliers, each toggleable and color-customizable. This allows traders to scale out of positions at multiple price levels, managing risk and locking in partial profits while letting runners work.

Trading Session Time Filters: Three independently configurable time windows (London, NY Open, Afternoon) with intuitive 12-hour format inputs and timezone offset adjustment. Traders can limit signal generation to specific market hours known for higher liquidity or better performance, avoiding choppy lunch periods or overnight low-volume conditions.

═══════════════════════════════════════════════════════════════════════════════

HOW IT WORKS

The indicator calculates a confluence percentage by counting how many enabled indicators agree on bullish or bearish bias. When the percentage exceeds the user-defined threshold (default 60%) for a specified number of confirmation bars, a visual BUY or SELL signal appears on the chart.

Signal Generation Logic:
• Each enabled indicator contributes 1 point to either bullish or bearish confluence
• Confluence % = (Agreeing Indicators / Total Enabled) × 100
• Signals trigger when threshold is met for N consecutive bars
• Optional VWAP filter: only allows longs above VWAP and shorts below VWAP
• VWAP acceptance kill switch blocks trades against VWAP after confirmed acceptance
• Time filters restrict signals to specified trading session windows

TP/SL Calculation:
• Entry price set at signal close
• TP levels = Entry ± (ATR × user-defined multiplier)
• Stop loss = Entry ∓ (ATR × user-defined multiplier)
• Trailing stop updates each bar: new_sl = close ∓ (ATR × multiplier), only moves in favorable direction
• Visual lines and labels show entry, TP1, TP2, TP3, and SL levels on chart

Time Filter Operation:
• Convert 12-hour format inputs to 24-hour with timezone offset adjustment
• Compare current bar time against configured session windows
• When enabled: signals only generate during active trading sessions
• Session markers and background highlighting provide visual feedback
• Each session (London/NY/Afternoon) can be independently toggled on/off

═══════════════════════════════════════════════════════════════════════════════

KEY FEATURES

✅ INCLUDED IN LITE VERSION:

Customizable Confluence: Toggle any of 13 indicators on/off to match your trading style
Adjustable Signal Threshold: Set minimum confluence percentage (50-100%) required for signals
Confirmation Bars: Require 1-5 consecutive bars of confluence before signaling
Multiple Timeframe Support: Main indicator and ATR calculations can run on different timeframes
Visual Dashboard: Condensed or detailed view showing all indicator states and confluence score
Entry and TP/SL Lines: Automatically plots entry, three take profit levels, and trailing stop with labels
Line Control: Configurable line extension (infinite or fixed bar count) and "show latest only" mode to reduce chart clutter
Visual BUY/SELL Signals: Color-coded triangle markers appear on chart when signals generate
VWAP Line Overlay: Optional VWAP line display with customizable color and width
VWAP Kill Switch Markers: Visual indicators when counter-VWAP trades are blocked/unblocked
Session Time Filters: Three configurable trading windows with 12-hour format inputs
Session Markers: Visual labels showing session open/close times with emoji indicators
Background Highlighting: Optional color-coded backgrounds for active trading sessions
Real-Time Dashboard Updates: Confluence percentage and indicator states update each tick

❌ NOT INCLUDED IN LITE VERSION (Full Version Only):

Alert Conditions: No buy/sell signal alerts
TP/SL Hit Alerts: No notifications when take profit or stop loss levels are reached
Session Alerts: No alerts for trading session opens/closes
VWAP Block Alerts: No notifications when VWAP acceptance blocks activate
Webhook Integration: Cannot connect to automation platforms
Phone/Desktop Notifications: Cannot receive TradingView alerts
Email Alerts: No email notification capability
Automation Compatibility: Cannot trigger automated trades

═══════════════════════════════════════════════════════════════════════════════

INTENDED USE

This LITE version is designed for:

✓ Manual Discretionary Trading: Use visual signals and TP/SL lines for manual trade execution
✓ Strategy Evaluation: Test the confluence approach before committing to paid automation
✓ Optimization & Development: Find optimal settings for your instruments and timeframes
✓ Learning Confluence Trading: Understand how multiple indicators align in real-time
✓ Backtesting Review: Visually review historical signals to assess system quality

This indicator is NOT suitable for:
✗ Automated Trading: No alerts means no automation capabilities
✗ Unattended Monitoring: Must manually watch chart for signals
✗ Notification-Based Trading: Cannot receive alerts when away from screen

Best suited for traders who:
• Want to evaluate the system's signal quality before upgrading
• Prefer manual discretionary entries based on confluence analysis
• Trade only during specific hours when they can monitor charts
• Are developing custom confluence strategies for their markets

═══════════════════════════════════════════════════════════════════════════════

IMPORTANT LIMITATIONS

⚠️ NO ALERTS = NO AUTOMATION
The LITE version contains zero alert functionality. You must manually monitor the chart for signals. This means:
- You will miss signals when away from the screen
- You cannot automate entries or exits
- You cannot receive phone/desktop/email notifications
- You cannot connect to webhook platforms like Trade Manager, 3Commas, etc.

Not a Holy Grail: No indicator guarantees profits. Past confluence patterns do not predict future performance. This is a technical analysis tool that requires proper risk management and trading discipline.

Requires Optimization: Default settings are starting points. Users must backtest and optimize for their specific markets and timeframes. What works on NQ may need adjustment for EUR/USD or BTC/USD.

Lagging Indicators: Most confluence components (EMAs, MACD, RSI) are derived from price, creating inherent lag. The indicator cannot predict future price movements, only assess current alignment of multiple technical factors.

False Signals in Choppy Markets: High confluence can occur during ranging/whipsaw conditions when indicators conflict. The confirmation bars setting and VWAP acceptance filter help reduce false signals but cannot eliminate them entirely.

Trailing Stop Considerations: Trailing stops use close price, not high/low, which may result in wider stops during volatile candles with large wicks. The stop updates on bar close, not intrabar.

No Repainting: All calculations use confirmed bar data; signals appear on bar close per confirmation settings. However, during real-time bar formation, confluence percentages update tick-by-tick until the bar closes and the signal finalizes.

Timezone Considerations: Time filters require proper timezone offset configuration. For CME futures (NQ, ES, etc.) trading from EST, use offset = 1. Verify session markers appear at correct times on your chart and adjust offset as needed.

═══════════════════════════════════════════════════════════════════════════════

INPUT PARAMETERS

Timeframe Settings:
• Indicator Timeframe: Choose timeframe for main calculations (default: current chart)
• ATR Timeframe for TP/SL: Separate timeframe for ATR calculations (default: 1-minute)

Time Filters (EST):
• Enable Time Filters: Master on/off switch (default: OFF)
• Timezone Offset: Hours to adjust for exchange timezone (default: 1 for CME)
• Show Time Status in Table: Display current session in dashboard (default: ON)
• Show Session Markers: Display session open/close labels (default: ON)
• London Session: Start/End Hour, Minute, AM/PM (default: 3:00 AM - 4:00 AM)
• NY Session: Start/End Hour, Minute, AM/PM (default: 9:30 AM - 12:00 PM)
• Afternoon Session: Start/End Hour, Minute, AM/PM (default: 2:00 PM - 4:00 PM)
• Session Colors: Customizable background colors for each session

Signal Settings:
• Enable Signals: Master signal on/off toggle (default: ON)
• Confluence Threshold %: Minimum agreement percentage (default: 60%)
• Confirmation Bars: Consecutive bars required (default: 1)
• VWAP Directional Filter: Only allow directionally appropriate trades (default: OFF)
• VWAP Acceptance Kill Switch: Block counter-VWAP trades after acceptance (default: ON)
• VWAP Acceptance Bars: Consecutive closes for acceptance (default: 2)
• Require Rejection to Resume: Wait for VWAP rejection before resuming (default: ON)
• Show Kill Markers: Display visual VWAP block indicators (default: ON)
• Signal Colors: Customize BUY/SELL triangle colors

TP/SL Settings:
• Show TP/SL Levels: Master TP/SL display toggle (default: ON)
• TP1 ATR Multiplier: First take profit distance (default: 2.0x)
• TP2 ATR Multiplier: Second take profit distance (default: 3.0x)
• TP3 ATR Multiplier: Third take profit distance (default: 4.0x)
• Stop Loss ATR Multiplier: Initial stop distance (default: 1.0x)
• Show TP2/TP3: Individual TP level toggles (default: ON)
• Use Trailing Stop: Enable/disable trailing functionality (default: ON)
• Show TP/SL Lines: Display level lines on chart (default: ON)
• Show Entry Line: Toggle entry price line (default: ON)
• Show TP/SL Labels: Display price labels on lines (default: ON)
• Show Only Latest Signal: Clear old lines on new signals (default: ON)
• Extend Lines Right: Infinite line extension (default: ON)
• Line Extension Bars: Bar count for fixed extension (default: 50)
• Line Colors: Customize colors for Entry, TP1, TP2, TP3, SL

Confluence Toggles (13 Indicators):
• RSI: Enable/disable RSI in confluence (default: ON)
• VWAP: Enable/disable VWAP in confluence (default: ON)
• EMA Cross: Enable/disable EMA crossover (default: ON)
• MACD: Enable/disable MACD (default: ON)
• Stochastic: Enable/disable Stochastic (default: ON)
• Trend (50 EMA): Enable/disable trend filter (default: ON)
• Bollinger Bands: Enable/disable BB (default: ON)
• ADX Strength: Enable/disable ADX (default: ON)
• Momentum: Enable/disable momentum (default: ON)
• Volume Breakout: Enable/disable volume analysis (default: ON)
• VWAP Bands: Enable/disable VWAP standard deviation bands (default: ON)
• 200 EMA: Enable/disable 200 EMA (default: ON)
• Price Action (HH/LL): Enable/disable price action patterns (default: ON)

Display Options:
• Condensed View: Show only confluence score vs detailed indicator states (default: ON)
• Show ATR Info: Display ATR values in table (default: OFF)
• Show VWAP Line: Overlay VWAP on chart (default: ON)
• VWAP Line Color: Customize VWAP color (default: white)
• VWAP Line Width: Line thickness 1-5 (default: 2)

Table Display:
• Table Position: 9 position options (default: top_right)
• Text Size: Size options from tiny to huge (default: small)
• Table Transparency: 0-100% (default: 0)
• Border Width: 1-5 pixels (default: 2)

Indicator Settings:
• RSI Length (default: 14)
• ATR Length (default: 14)
• Fast EMA (default: 9)
• Slow EMA (default: 21)
• Trend EMA (default: 50)
• Volume SMA Length (default: 20)
• Volume Breakout Multiplier (default: 2.0x)
• Bollinger Bands Length (default: 20)
• BB StdDev (default: 2.0)
• ADX Length (default: 14)
• ADX Threshold (default: 25)
• Momentum Length (default: 10)

═══════════════════════════════════════════════════════════════════════════════

HOW TO USE

1. Add Indicator to Chart
Apply to any liquid instrument on appropriate timeframe for your trading style (1m-15m for scalping, 1h-4h for swing trading)

2. Configure Confluence Indicators
Go to "Select Confluences" group and enable/disable indicators based on your analytical preferences. Enabling 5-8 indicators typically provides good balance between signal frequency and quality.

3. Set Signal Threshold
In "Signal Settings" group, adjust confluence threshold percentage:
- Higher (70-80%): Fewer but stronger signals
- Lower (50-60%): More frequent signals, potentially weaker confluence

4. Configure TP/SL Levels
In "TP/SL Settings" group, adjust ATR multipliers for your risk tolerance:
- Conservative: TP1=1.5x, TP2=2.5x, SL=1.0x
- Standard: TP1=2.0x, TP2=3.0x, SL=1.0x
- Aggressive: TP1=3.0x, TP2=5.0x, SL=1.5x

5. Optional Time Filters
In "Time Filters (EST)" group:
- Enable time filters if desired
- Configure session start/end times in 12-hour format
- Verify timezone offset produces correct session markers on your chart
- Toggle individual sessions on/off based on your trading schedule

6. Customize Display
In "Table Display" and "Display Options" groups:
- Choose table position (top_right recommended)
- Select size (small for minimal clutter)
- Toggle between condensed/detailed view
- Adjust colors and transparency to preference

7. Backtest and Optimize
Review historical signals visually. Adjust threshold, enabled indicators, and TP/SL multipliers based on your instrument's characteristics and your risk tolerance.

8. Trade Manually
Watch for visual BUY/SELL triangles. Use TP/SL lines as reference for manual exits. Monitor confluence dashboard for signal strength assessment.

═══════════════════════════════════════════════════════════════════════════════

RECOMMENDED MARKETS

E-mini Futures: NQ, MNQ, ES, MES, RTY, M2K, YM, MYM
- High liquidity and tight spreads
- Defined market hours align well with session filters
- Strong institutional VWAP respect

Major Forex Pairs: EUR/USD, GBP/USD, USD/JPY, AUD/USD
- 24-hour liquidity
- Respond well to confluence-based analysis
- Adjust timezone offset for broker server time

Liquid Crypto: BTC/USD, ETH/USD
- Continuous trading but concentrated volume during certain hours
- Time filters less relevant unless limiting to preferred trading times
- Higher volatility may require wider ATR multipliers

Any instrument with:
✓ Sufficient liquidity (tight spreads, minimal slippage)
✓ Adequate volatility (ATR-based targets achievable)
✓ Technical price behavior (respects support/resistance, trendlines, VWAP)

═══════════════════════════════════════════════════════════════════════════════

DISPLAY OPTIONS

Condensed View:
Shows only the most critical information in compact format:
- Current confluence percentage with bullish/bearish counts
- Signal bias (LONG/SHORT/NEUTRAL) with percentage
- Active TP/SL levels (if in trade)
- Current trading session status (if time filters enabled)
- Optional ATR value

Detailed View:
Displays comprehensive indicator breakdown:
- All 13 indicators with current values
- Individual bullish/bearish signal for each indicator
- Color-coded signal lights (🟢 bullish, 🔴 bearish, ⚪ neutral)
- Confluence score summary row
- Trading session status
- Optional ATR info

Table Customization:
• 9 position options (corners, edges, center)
• 6 text size options (auto, tiny, small, normal, large, huge)
• Adjustable transparency (0-100%)
• Configurable border width (1-5 pixels)

═══════════════════════════════════════════════════════════════════════════════

UPGRADE TO FULL VERSION

The full version adds comprehensive automation capabilities that the LITE version lacks:

10 Alert Conditions:
✓ Buy Signal Alert
✓ Sell Signal Alert
✓ TP1 Hit (Long) Alert
✓ TP1 Hit (Short) Alert
✓ TP2 Hit (Long) Alert
✓ TP2 Hit (Short) Alert
✓ TP3 Hit (Long) Alert
✓ TP3 Hit (Short) Alert
✓ Stop Loss Hit (Long) Alert
✓ Stop Loss Hit (Short) Alert
✓ London Session Open Alert
✓ NY Session Open Alert
✓ Afternoon Session Open Alert
✓ VWAP Shorts Blocked Alert
✓ VWAP Longs Blocked Alert

Additional Full Version Benefits:
✓ Webhook-Ready JSON Formatting for automation platforms
✓ Real-Time Notifications (mobile, desktop, email via TradingView)
✓ Compatible with Trade Manager, 3Commas, Alertatron, etc.
✓ Automated entry/exit execution
✓ Priority Support with direct communication
✓ Lifetime Updates with all future features

When to Upgrade:
→ You like the LITE version's signal quality and want automation
→ You miss signals while away from the screen
→ You want to connect to webhook automation platforms
→ You need phone/desktop notifications for trade management
→ You want to avoid manual chart monitoring

The LITE version provides everything you need to thoroughly evaluate whether this confluence approach fits your trading style. When you're ready to automate, the full version unlocks complete alert functionality.

═══════════════════════════════════════════════════════════════════════════════

TECHNICAL SPECIFICATIONS

Indicator Type: Overlay
Pine Script Version: v6
Repainting: No - uses confirmed bar data
Lookahead Bias: No - proper request.security() indexing
Real-Time Calculation: Yes - updates each tick, signals on bar close
Max Drawing Objects: Managed via "show only latest" option

All calculations use Pine Script's standard built-in functions:
• ta.atr() for ATR calculations
• ta.vwap() for VWAP calculations
• ta.rsi(), ta.macd(), ta.stoch() for oscillators
• ta.ema(), ta.sma() for moving averages
• ta.bb() for Bollinger Bands
• ta.dmi() for ADX and directional indicators
• ta.mom() for momentum
• ta.stdev() for standard deviation bands

═══════════════════════════════════════════════════════════════════════════════

DISCLAIMER

⚠️ IMPORTANT NOTICE:
• This indicator is for educational and demonstration purposes only
• Not financial advice - always perform your own due diligence
• Past performance does not guarantee future results
• Trading involves substantial risk of loss
• Never risk more than you can afford to lose
• Backtest thoroughly before live trading
• The LITE version lacks automation capabilities and requires manual monitoring
• No indicator guarantees profitable trading

═══════════════════════════════════════════════════════════════════════════════

FREQUENTLY ASKED QUESTIONS

Q: Can I automate trading with the LITE version?
A: No. The LITE version has zero alert functionality, so you cannot connect it to automation platforms or receive notifications. You must manually watch for signals.

Q: What's the difference between LITE and Full versions?
A: LITE includes all visual features (signals, TP/SL, dashboard, filters) but NO ALERTS. Full version adds 10+ alert conditions for automation and notifications.

Q: Does the LITE version repaint signals?
A: No. All calculations use confirmed bar data. Signals appear on bar close based on your confirmation bar settings.

Q: Will my settings transfer to the Full version if I upgrade?
A: No. You'll need to reconfigure when upgrading, but you can screenshot your LITE settings for reference.

Q: What timeframe should I use?
A: Depends on your style. Scalpers: 15s-2m. Day traders: 3m-15m. Swing traders: 1h-4h. Lower timeframes generate more signals.

Q: Can I use this on multiple instruments?
A: Yes, apply to any liquid market. Optimize settings per instrument as volatility characteristics vary.

Q: How do the session time filters work with different timezones?
A: The timezone offset parameter adjusts your input times to match the exchange's timezone. For CME futures (NQ, ES), use offset=1 when thinking in EST.

Q: Why are my session markers appearing at the wrong time?
A: Adjust the timezone offset parameter. Verify that the session markers align with your intended clock times on the chart.

═══════════════════════════════════════════════════════════════════════════════

Try the LITE version free today to evaluate the multi-indicator confluence approach. When you're ready to automate, upgrade to the Full version for complete alert functionality and webhook integration.

Remember: The LITE version is fully functional for manual trading but contains NO ALERTS. Upgrade to Full Version for automation capabilities.

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.