Viprasol VP - SCE## Overview
The Sniper Confluence Entry/Exit indicator is a precision trade-entry system that combines EMA crossover signals with a 7-factor confluence scoring engine. Unlike basic crossover indicators, this tool only fires signals when multiple technical factors align, dramatically reducing false entries. Built for swing and intraday traders who want clean, high-probability setups with automatic stop-loss and take-profit management.
## How It Works
**Signal Generation:**
Entries are triggered by a Fast EMA / Slow EMA crossover — but only when the confluence score meets your minimum threshold. This two-layer approach filters out weak crossovers that lack supporting momentum, trend, or volume confirmation.
**7-Factor Confluence Engine:**
Each bar, the indicator scores market conditions from 0 to 7 across these independent factors:
1. **Price vs. VWAP** — Is price above/below the volume-weighted average?
2. **RSI (14)** — Is momentum bullish (>50) or bearish (<50)?
3. **MACD Trend** — Is the MACD line above/below its signal line?
4. **EMA Alignment** — Is the fast EMA above/below the slow EMA?
5. **ADX + Direction** — Is trend strength above 25 with price on the correct side?
6. **Volume Confirmation** — Is volume above average with confirming candle direction?
7. **Secondary TF RSI** — Does a different timeframe's RSI confirm the direction?
A score of 5/7 or higher typically indicates a strong, well-supported setup. The default minimum is 4/7.
**Risk Management:**
On each signal, the indicator automatically calculates:
- **Stop-Loss** — Based on ATR multiplied by your chosen risk factor
- **Take-Profit Levels (up to 5)** — Each level is 1x risk distance further from entry (1R, 2R, 3R, 4R, 5R)
- **Trailing Stop to Breakeven** — Optionally moves SL to entry price once TP1 is hit
## Key Features
- 7-factor confluence scoring filters weak EMA crossover signals
- Bar-close confirmation prevents premature entries from wicks
- ATR-based dynamic SL with up to 5 take-profit levels
- Trailing stop to breakeven after TP1 hit
- Visual target-hit detection — lines change color when TPs are reached
- Configurable secondary timeframe for RSI confirmation
- Full dashboard showing all confluence factors, position status, and targets hit
- EMA ribbon fill with adjustable transparency
- VWAP overlay with directional coloring
- Retest candle highlighting (orange bars at EMA pullbacks)
- All visual elements individually toggleable
- 5 alert conditions with dynamic messages
## How to Use
**Setup:**
1. Add to any chart (works on all markets and timeframes)
2. Set your preferred EMA periods (default: 9/21)
3. Adjust the minimum confluence score — higher = fewer signals, better quality
4. Set your ATR multiplier for stop-loss width
**Reading Signals:**
- **LONG label** appears below bar when bullish crossover fires with sufficient confluence
- **SHORT label** appears above bar when bearish crossover fires with sufficient confluence
- Blue line = Entry, Red line = Stop-Loss, Green dashed lines = Take-Profit levels
- Lines turn turquoise when their target is hit
- Orange candles indicate price retesting the fast EMA (potential add-on opportunity)
**Dashboard:**
The side panel shows real-time scores for all 7 factors plus current position info, targets hit, and SL status.
**Recommended Starting Settings:**
- Scalping (1m-5m): Fast EMA 5, Slow EMA 13, Min Score 5, ATR Mult 1.0
- Intraday (15m-1H): Fast EMA 9, Slow EMA 21, Min Score 4, ATR Mult 1.5
- Swing (4H-1D): Fast EMA 9, Slow EMA 21, Min Score 4, ATR Mult 2.0
## Settings
**Signal Settings:** Fast/Slow EMA periods and bar-close confirmation toggle.
**Confluence Filter:** Enable/disable the score filter and set the minimum threshold.
**Risk Management:** ATR period, SL multiplier, number of TP levels, and breakeven trailing toggle.
**Secondary Timeframe:** Choose which timeframe provides the secondary RSI confirmation.
**Dashboard:** Position, font size, and show/hide toggle.
**Visuals:** Toggle EMA ribbon, VWAP, TP/SL lines, retest highlighting, label sizes and offsets.
## Alerts
1. **Long Entry Signal** — Fires when a bullish confluence entry triggers
2. **Short Entry Signal** — Fires when a bearish confluence entry triggers
3. **Any Entry Signal** — Fires on either long or short entry
4. **Strong Bull Bias** — Fires when bull confluence score crosses above 70%
5. **Strong Bear Bias** — Fires when bear confluence score crosses above 70%
All alerts include {{ticker}}, {{close}}, and {{interval}} for dynamic notification messages.
## Limitations & Disclaimer
- EMA crossover signals are inherently lagging — they work best in trending markets and may produce whipsaws during consolidation
- The confluence score uses current-bar values; in fast markets, conditions can change quickly
- The secondary timeframe RSI uses `request.security()` which may repaint on the current bar of that timeframe
- TP/SL levels are visual guides — they do not execute trades automatically
- Past performance of any signal system does not guarantee future results
- This indicator is for educational and analytical purposes only — it is not financial advice. Always use proper risk management and do your own analysis before trading.
---
*Based on a concept by KhanSaab. Significantly enhanced with confluence scoring, bar-close confirmation, trailing stop management, visual toggles, alerts, and full dashboard by Viprasol.*
viprasol.com
Wskaźnik Pine Script®






















