Indikator

Indikator

Indikator

Indikator

[uxo, @envyisntfake] accurate strike -> futures conversion*It is recommended to use this on the lowest timeframe for accuracy.*
Options traders often analyze strike levels on standard ETFs and Indices (like SPY, SPX, or QQQ) to identify key market structures such as call walls, put walls, or heavy gamma levels. However, if you are executing your trades on the corresponding Futures contracts (like ES or NQ), there is a problem: Futures trade at a premium or discount to the spot/ETF market due to factors like time to expiration, dividends, and interest rates.
This indicator seamlessly bridges that gap. It calculates the dynamic ratio between an ETF/Index and its corresponding Futures contract, applies smoothing to filter out micro-volatility, and plots exact Future price targets based on your ETF options strikes.
**How it Works (The Math):**
The script calculates a continuous premium/discount ratio using the formula: `Current Futures Price / Current ETF Price`.
Because this raw ratio can fluctuate tick-by-tick and cause erratic line drawings, the indicator applies a Simple Moving Average (SMA) to the ratio (configurable via the "Level Smoothing" input). It then multiplies your desired ETF strike by this smoothed ratio to pinpoint the exact level on the Futures chart. Furthermore, it calculates an "implied" ETF price to ensure strikes generate continuously 24/5, even when the underlying ETF market is closed during overnight trading.
**Key Features & Input Guide:**
* **Asset Selection:** Choose from pre-configured popular pairings (e.g., ES/SPX, NQ/QQQ) or manually input your own ticker combination.
* **Conversion Engine:** Adjust the "Level Smoothing" (default 100). Higher timeframes may require less smoothing, while 1-minute or 5-minute charts benefit from higher smoothing to keep levels stable.
* **Strike Generation Mode:** * *Batch Text:* Paste your custom levels of interest manually (e.g., pasting levels from an external data provider). Supports optional text labels (e.g., `5100 "Call Wall"`).
* *Auto Strikes around Price:* Automatically generates a configurable number of strikes above and below the current implied price at standard intervals (e.g., every 5 points for SPX, every 1 point for SPY).
* **Batch Processing & Style:** Toggle between Drawing Lines or Boxes (zones). You can also toggle "Mitigated" extension logic, which automatically stops drawing a line to the left once historical price action has touched it, keeping your chart clean.
* **Live Price Monitor:** A customizable on-chart HUD that displays the live prices of your selected Index and ETF so you don't have to look away from your main chart.
*Credit to @envyisntfake for the foundational conversion concept that he has allowed me to use, which has been expanded here with moving average smoothing, auto-strike generation, and advanced drawing styles.*
**Disclaimer:** This is an educational tool designed to visualize price parity between related assets. It does not guarantee accurate fills or predictive levels, as the premium between cash and futures is dynamic and can compress or expand rapidly during high volatility. Indikator

Viprasol Sniper Confluence Entry/Exit## Overview
The Sniper Confluence Entry/Exit indicator builds on Sniper Entry/Exit with SL&TP by , which provided EMA crossover signals with ATR-based stop-loss/take-profit levels, a VWAP overlay, RSI/MACD display, and retest candle highlighting. This version adds a 7-factor confluence scoring engine that gates every signal — crossovers only fire when multiple technical factors align, dramatically reducing false entries. Built for swing and intraday traders who want clean, high-probability setups with automatic risk management.
## How It Works
**Signal Generation (from original):**
Entries are triggered by a Fast EMA / Slow EMA crossover. When the fast EMA crosses above the slow EMA, a long signal is generated; when it crosses below, a short signal is generated. The original script displayed these crossovers alongside supporting indicators (VWAP, RSI, MACD) but did not require them to agree before firing a signal.
**7-Factor Confluence Engine (new):**
This version adds a scoring layer that sits between the crossover and the signal output. Each bar, the indicator evaluates 7 independent factors and assigns 1 point for each that confirms the trade direction. A signal only fires when the total score meets your minimum threshold (default: 4/7).
Scoring logic (pseudocode):
```
confluenceScore = 0
// Factor 1: Price vs VWAP
if (long and close > vwap) or (short and close < vwap) → score += 1
// Factor 2: RSI direction
if (long and rsi > 50) or (short and rsi < 50) → score += 1
// Factor 3: MACD trend
if (long and macdLine > signalLine) or (short and macdLine < signalLine) → score += 1
// Factor 4: EMA alignment
if (long and fastEMA > slowEMA) or (short and fastEMA < slowEMA) → score += 1
// Factor 5: ADX + directional index
if adx > 25 and ((long and diPlus > diMinus) or (short and diMinus > diPlus)) → score += 1
// Factor 6: Volume confirmation
if volume > volumeSMA and ((long and close > open) or (short and close < open)) → score += 1
// Factor 7: Secondary timeframe RSI
if (long and secondaryRSI > 50) or (short and secondaryRSI < 50) → score += 1
signal fires only if confluenceScore >= minimumScore
```
A score of 5/7 or higher typically indicates a strong, well-supported setup. The configurable minimum lets you tune signal frequency vs. quality.
**Bar-Close Confirmation (new):**
When enabled, signals are delayed until the bar closes, preventing premature entries from intra-bar wicks that reverse before close.
**ATR-Based Stop-Loss & Take-Profit (from original, extended):**
The original calculated a single stop-loss and take-profit from ATR. This version extends that to:
- **Stop-Loss** — ATR multiplied by your chosen risk factor (same core logic as original)
- **Take-Profit Levels (1-5)** — Configurable number of TP levels at 1R, 2R, 3R, 4R, 5R distances (new — original had fixed levels)
- **Trailing Stop to Breakeven** — Optionally moves SL to entry price once TP1 is hit (new)
**Retest Candle Highlighting (from original):**
Bars that pull back to the fast EMA after a signal are highlighted in orange, marking potential add-on or re-entry opportunities.
**Secondary Timeframe RSI (from original, extended):**
The original included a secondary timeframe RSI hardcoded to the 5-minute chart. This version makes the timeframe user-configurable.
## Key Features
**From the Original:**
- EMA crossover signal generation (fast/slow EMA)
- ATR-based stop-loss and take-profit calculation
- VWAP overlay with directional coloring
- RSI and MACD display
- Retest candle highlighting at EMA pullbacks
- Secondary timeframe RSI confirmation
**Added in This Version:**
- 7-factor confluence scoring engine with configurable minimum score threshold
- Bar-close confirmation filter to prevent wick-driven false entries
- Trailing stop-loss to breakeven after TP1 is hit
- Configurable number of take-profit levels (1-5, was fixed)
- Configurable secondary timeframe (was hardcoded to 5m)
- SL label showing breakeven status when trailing is active
- 5 alert conditions with dynamic messages
- Full dashboard showing all 7 confluence factors, position status, and targets hit
## 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.
## Credits & Attribution
This indicator is derived from **"Sniper Entry/Exit with SL&TP (open-source, TradingView). The following components originate from that script:
- EMA crossover signal generation logic
- ATR-based stop-loss and take-profit calculation
- VWAP overlay
- RSI and MACD display
- Retest candle highlighting concept
- Secondary timeframe RSI (originally hardcoded to 5m)
Viprasol additions: 7-factor confluence scoring engine, bar-close confirmation, trailing stop to breakeven, configurable TP levels (1-5), configurable secondary timeframe, breakeven status labels, alert conditions, and dashboard.
Indikator

MA Cross with ATR TargetsBYBIT:BTCUSDT.P Overview
The MA Cross with ATR Targets is a comprehensive trading indicator designed for traders who follow moving average crossovers and want precise, ATR-based risk management. It detects crossovers between a fast MA (SMA or EMA) and MA200, then automatically calculates and displays three key levels: Stop Loss, First Take Profit (TP1), and Second Take Profit (TP2) based on ATR multipliers.
Additionally, it includes a multi-timeframe MA200 position table to quickly assess market context across 5min, 15min, 1h, 4h, and 1d timeframes.
Key Features
Moving Average Cross Signals
Detects crossovers between MA20 (configurable as SMA or EMA) and MA200
Visual signals:
Green triangle below bar -> Bullish crossover (MA20 crosses above MA200)
Red triangle above bar -> Bearish crossover (MA20 crosses below MA200)
ATR-Based Target Levels
When a crossover occurs, the indicator automatically plots:
Stop Loss (SL) – Red dashed line
First Take Profit (TP1) – Green dashed line (closer target)
Second Take Profit (TP2) – Green dashed line (main target)
All levels are calculated using the current ATR value with customizable multipliers:
SL Distance = ATR x Stop Multiplier
TP1 Distance = SL Distance x First Take Multiplier
TP2 Distance = SL Distance x Take Multiplier
Multi-Timeframe MA200 Context Table
A compact table in the bottom-left corner shows the position of MA200 relative to current price across five timeframes:
5m, 15m, 1h, 4h, 1d
Green cell -> Price is above MA200 (bullish bias)
Red cell -> Price is below MA200 (bearish bias)
This helps you quickly assess the broader trend direction before entering a trade.
Signal Display
All historical signals are displayed on the chart
Older signals appear without price scale markers and without background fill for cleaner visualization
Only the most recent signals have full visual formatting
How to Use
Entry Signals
LONG entry when a green triangle appears below the bar (MA20 crosses above MA200)
SHORT entry when a red triangle appears above the bar (MA20 crosses below MA200)
Exit / Management
Stop Loss – Place your stop at the red dashed line
Take Profit 1 (TP1) – Consider taking partial profits at the first green line
Take Profit 2 (TP2) – Full profit target at the second green line
Context Check
Before entering, glance at the bottom-left table:
If most timeframes show green -> strong bullish alignment
If most timeframes show red -> strong bearish alignment
Mixed colors -> exercise caution
Recommended Additional Indicators
For better confluence and higher probability setups, it is recommended to use this indicator alongside:
MACD – for momentum confirmation
RSI – for overbought/oversold conditions
ADX and DI v4 – for trend strength and direction
Tips
Adjust ATR multipliers based on your risk tolerance and the asset's volatility
Use the multi-timeframe table to avoid trading against the larger trend
The indicator works on all timeframes – from 1-minute to monthly charts
Combine with the recommended indicators for additional confirmation
Notes
This is a visual indicator only – it does not execute trades automatically
All levels are calculated based on the closing price of the signal bar
Historical signals remain visible but without price scale markers or background fill for cleaner chart presentation
Indikator

Indikator

Indikator

Directional SMA Trend LineShort description
A directional trend line based on the fast SMA. The line changes color when the trend regime shifts, using the relationship between a short SMA and a long SMA. Simple, visual, and effective for trend-following and swing trading.
Full description
The Directional SMA Trend Line is a clean trend-following indicator built around two simple moving averages.
The indicator plots the fast SMA as the main trend line. Its color changes depending on the relationship between the fast SMA and the slow SMA:
Green when the fast SMA is above the slow SMA
Purple when the fast SMA is below the slow SMA
This creates a clear directional line that helps traders stay aligned with the prevailing trend. When the color changes, it signals a potential shift in trend direction or market regime.
Suggested settings
On the weekly timeframe , a 10-period fast SMA and a 20-period slow SMA work very well for swing trading. This combination offers a strong balance between responsiveness and trend stability. In many cases, the 10/20 weekly setup is a reliable way to follow medium-term directional moves.
On the daily timeframe , shorter combinations such as 4/7 can also be effective. However, there is no universal setting that works best for every stock. Each stock has its own rhythm and volatility profile, so traders are encouraged to test different fast/slow ratios to find what fits best.
Over time, you may notice that certain categories of stocks tend to respond well to similar SMA relationships. Even so, the weekly 10/20 setup remains a strong baseline for identifying swing trends.
Core idea
The trend is your friend. This indicator is designed to keep the trend visually simple: follow the line, watch the color, and stay on the right side of momentum.
How to use it
Use the line color to quickly identify bullish or bearish trend conditions
Stay cautious when the color changes, as it may indicate a new trend phase
Apply weekly 10/20 settings for swing trading
Test shorter settings on daily charts for stock-specific optimization
Notes
This is a trend-following tool, not a prediction tool. Like all moving-average-based indicators, it may react later in fast reversals or sideways markets. Indikator

Indikator

Indikator

Indikator

Indikator

Strict 1-Trade/Day SMC + ORB This is a trend-continuation strategy designed to capture intraday volatility after the initial market direction is established. It combines Price Action (Opening Range) to define the bias and SMC mechanics (CHoCH + FVG) for precise entries.
The strategy strictly limits trading to one high-probability setup per day to combat overtrading.
Key Components
1.The Setup (Opening Range)The strategy ignores the first 15 minutes of the Regular Trading Session (9:30 AM - 9:45 AM EST). The high and low of this period establish the Opening Range (OR).Bullish Bias: Price breaks above the Opening Range High (ORH).Bearish Bias: Price breaks below the Opening Range Low (ORL).
2. Entry Trigger (CHoCH + FVG)Once the bias is established, the strategy waits for a retracement to create a Change of Character (CHoCH) on a lower timeframe, coupled with a Fair Value Gap (FVG).
Long Entry: Price breaks above the most recent swing high (CHoCH) and leaves a gap between the low of the current candle and the high of the candle two bars prior (Bullish FVG).
Short Entry: Price breaks below the most recent swing low (CHoCH) and leaves a gap between the high of the current candle and the low of the candle two bars prior (Bearish FVG).
3. Risk Management & Exit Strategy Risk is defined immediately based on the opening range. Stop Loss: Placed at the opposite side of the Opening Range ($1R$ Risk).Initial Take Profit ($2R$): The first target is set to two times the range of the opening 15 minutes ($2R$).Immediate Trailing Stop (ATR): Immediately upon entry, a trailing stop loss based on $4 \times$ Average True Range (ATR) is activated to protect capital against sudden reversals. Advanced Management (Partial Exit): If the trade reaches $1R$ profit, or if the $10$ SMA crosses the $20$ SMA in the opposite direction of the trade, $50\%$ of the position is closed. Break-Even Move: If the position is still open $3$ hours after entry, the stop loss is moved to the entry price to guarantee a risk-free trade.
best result on nq last 30days 59 trades, P/L +50%, max drawdown 10%, 67% win rate(40/59), profit factor 3.1.
To ensure this strategy holds up under different market conditions, it is crucial to backtest it over a long timeframe (e.g., at least 2–3 years of data) to see how it handles both trending and choppy markets in NQ and ES.
Once you have tested it, please share your results, specifically for: Total Net Profit, Max Drawdown, Profit Factor, Win Rate. Appreciate it and thanks. Strategie

Indikator

Trend Alignment Ribbon - Multi Timeframe Moving AveragesTrack trend direction across multiple timeframes — all in one view.
Trend trading works best when the short, medium, and long-term views all agree. This indicator places four moving averages on your chart simultaneously and highlights the moment they fall into full alignment — giving you a simple, visual confirmation that a trend is in control.
──── What You're Looking At ────
Four smooth lines on your chart, each tracking price at a different speed:
MA1 (fastest, default: 8 bars) — reacts quickly to price. The first line to turn when momentum shifts.
MA2 (default: 21 bars) — short-to-intermediate direction. Confirms or challenges what MA1 is saying.
MA3 (default: 50 bars) — the medium-term trend backbone. Widely watched by institutions.
MA4 (slowest, default: 200 bars) — the long-term trend anchor. The most important line on most charts.
──── How to Read It ────
Green background — all four lines are stacked in order, fastest on top. The trend is strongly up. High-confidence environment for long trades.
Red background — all four lines are stacked in reverse order. The trend is strongly down. High-confidence environment for short trades.
No background — the lines are tangled or out of order. The market is ranging or in transition. Reduce risk or wait for clarity.
Triangle up ▲ below a candle — the fast line just crossed above the medium line. Early momentum shift to the upside.
Triangle down ▼ above a candle — the fast line just crossed below the medium line. Early momentum shift to the downside.
──── Multi-Timeframe Mode ────
Each of the four lines can be pinned to a different timeframe , independent of the chart you are on. For example, while viewing a 15-minute chart you can display the 200-bar average as it appears on the daily chart — so the big picture is always visible.
Leave the Timeframe field blank to use the current chart's timeframe (default behaviour).
──── Settings ────
Each moving average has its own settings group (Moving Average 1–4):
Show — toggle each line on or off independently.
Type — choose between four calculation methods:
EMA (Exponential) — reacts faster to recent price. Most commonly used. Default.
SMA (Simple) — a plain average of all bars. Slower to react, widely respected by institutions.
WMA (Weighted) — middle ground, heavier weight on recent bars.
HMA (Hull) — very fast and smooth. Minimises lag while reducing noise.
Length — how many bars are included in the average. Higher number = slower, smoother line.
Timeframe — leave blank for the current chart. Enter 1D for daily, 1W for weekly, 4H for four-hour, etc.
Color — fully customisable per line.
Under Visuals :
Ribbon Fill — fills the space between MA1 and MA4 with a transparent green or red shade. Useful for seeing trend strength at a glance.
Alignment Background — highlights the chart background when all 4 lines agree on direction. On by default.
Cross Signals — places small triangle markers on the chart when MA1 and MA2 cross. On by default.
──── Alerts ────
MA Bull Cross — the fast line crossed above the medium line
MA Bear Cross — the fast line crossed below the medium line
Full Bull Alignment — all 4 lines just entered bullish order for the first time
Full Bear Alignment — all 4 lines just entered bearish order for the first time
──── Tips ────
Set an alert for Full Alignment — these moments often mark the start of the strongest, cleanest trend moves on any instrument.
A cross signal that fires while the alignment background is already lit is a higher-confidence entry than a cross signal in a mixed or choppy environment.
A "tight stack" of closely spaced lines means the trend is young and orderly. Wide spacing with tangled lines means the market is extended or breaking down — not an ideal entry point.
On intraday charts, try pinning MA3 or MA4 to the daily timeframe. This keeps your long-term bias anchored without switching charts.
All timeframe calculations use confirmed (closed) bars only — there is no repainting.
Indikator

Indikator

MTF LIVE SMA Heatmap This tool displays a multi‑timeframe heatmap for SMA 9, SMA 20, and SMA 200.
It combines trend direction, pip distance, and market structure in a compact table.
Features
Pip distance between price and SMA (automatically calculated for each symbol)
Yellow highlight when price is between SMA 9 and SMA 20
Green when price is above both SMAs
Red when price is below both SMAs
SMA‑200 heatmap based on percentage distance (with neutral zone)
Trend comparison 9 vs 20 (9>20, 20>9, or neutral)
Additional row for the current timeframe
Supports Forex, Gold, Silver, Indices, Crypto, and Energies
Pip Engine
A universal pip engine automatically detects the correct pip size for each symbol
(e.g., XAU = 0.10, XAG = 0.01, BTC = 1.0, EURUSD = 0.0001, etc.).
Use Cases
Perfect for:
Trend filtering
Multi‑TF confirmation
Scalping / intraday trading
Identifying transition zones (yellow area)
SMA cluster analysis
9to20 Pip Distance Indikator

Pivot Pro - CPR PDH/PDL EMA by Sani═══════════════════════════════════════════════
PIVOT POINTS PRO — CPR + PDH/PDL + EMA
Full Historical | No Repaint | All Customizable
═══════════════════════════════════════════════
A professional all-in-one indicator combining the
Standard Pivot Point system with CPR (Central Pivot Range),
Previous Day High/Low, and dual EMAs — all non-repainting,
fully customizable per level, and drawn across complete
chart history.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔷 PIVOT POINTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Supports all 6 types: Traditional, Fibonacci,
Woodie, Classic, DM, Camarilla
- Timeframe anchoring: Auto, Daily, Weekly, Monthly,
Quarterly, Yearly, and multi-year periods
- Every level (P, R1–R5, S1–S5) has its own
independent Color, Line Style, and Line Width
- Lines extend to the right edge of the chart
- Historical pivot count controlled by "Number of Pivots Back"
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔶 CPR — CENTRAL PIVOT RANGE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Calculated from previous day OHLC (non-repainting)
- Draws CPR Pivot, BC (Bottom Central), TC (Top Central)
- Visible across ALL historical sessions — not just today
- Each line has its own Color, Style (Solid/Dashed/Dotted),
and Width
- Current session extends to right edge automatically
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔹 PDH / PDL — PREVIOUS DAY HIGH & LOW
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Previous day High and Low plotted per session
- Full chart history — every completed day visible
- Independent Show/Hide, Color, Style, and Width
for PDH and PDL separately
- Current session extends to right edge automatically
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 EMA — FAST & SLOW WITH TREND COLORING
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Dual EMA (default 10 / 20) with dynamic color:
→ Green when Fast > Slow (bullish)
→ Red when Fast < Slow (bearish)
→ Yellow when flat
- Optional EMA Band background highlight (purple)
when price is between the two EMAs
- EMA Touch + 2-Candle confirmation alerts included
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ SETTINGS OVERVIEW
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Pivot Type & Timeframe
- Labels: Show/Hide, position (Left or Right), prices
- Per-level: P, R1–R5, S1–S5 — Color, Style, Width
- CPR: Master toggle + individual Pivot / BC / TC controls
- PDH/PDL: Master toggle + individual PDH / PDL controls
- EMA: Lengths, Width, Band background
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🛡️ NO REPAINT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
All values fetched using:
request.security(..., lookahead=barmerge.lookahead_on)
with shift on daily OHLC — values are locked to
the previous completed day and never change on the
current bar.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📌 BEST USED ON
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Intraday timeframes: 1m, 3m, 5m, 15m, 30m, 1H
Works on any market: Stocks, Forex, Crypto, Futures
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 BUILT-IN ALERTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- EMA Bullish Cross
- EMA Bearish Cross
- Price Touched PDH
- Price Touched PDL
- Price Near CPR Pivot Indikator

High Volatility EMA Extension Bands
An EMA-based trend indicator with extension bands and statistical tracking for higher-volatility assets.
What it shows:
8 EMA (yellow) and 34 EMA (white) lines
Three extension bands at 10%, 25%, and 35% above and below the 34 EMA
Color-coded zones: green (10%), amber (25%), red (35%)
Extension statistics table showing current %, price difference, min/max/median values for EMA 34, 50-week SMA, and 200-week SMA
Settings:
Adjustable EMA lengths (default: 8 and 34)
Customizable extension percentages (default: 10%, 25%, 35%)
Toggle extension bands on/off
Toggle statistics table on/off
Indikator

Low Volatility EMA Extension Bands
An EMA-based trend indicator with tight extension bands and statistical tracking for lower-volatility assets.
What it shows:
8 EMA (yellow) and 34 EMA (white) lines
Three extension bands at 10%, 15%, and 20% above and below the 34 EMA
Color-coded zones: green (10%), amber (15%), red (20%)
Extension statistics table showing current %, price difference, min/max/median values for EMA 34, 50-week SMA, and 200-week SMA
Settings:
Adjustable EMA lengths (default: 8 and 34)
Customizable extension percentages (default: 10%, 15%, 20%)
Toggle extension bands on/off
Toggle statistics table on/off
Indikator

Custom EMA SMA Ribbon
Indicator name and purpose
Custom EMA SMA Ribbon is a six-layer moving average ribbon built to show trend alignment, momentum structure, and signal readiness in a single glance. Rather than relying on one crossover, it renders a stacked relationship between fast, medium, and slow averages so the trend context is visible without extra indicators. The purpose is to make trend direction, trend stability, and momentum alignment readable at a glance, while also providing filtered entry signals and a visual status matrix that summarizes the current bias against each moving average.
Long set up
Short set up
Mixed scenario
What it does
Each moving average layer is colored based on whether it is above or below the next slower layer. When the ribbon is stacked with fast lines above slow lines, the structure is bullish. When fast lines fall below the slower lines, the structure is bearish. This layered coloring reveals whether the trend is cleanly aligned or mixed. The script also highlights full alignment, where all fast layers sit above or below the slowest line, which is usually the most stable trend condition. In addition to the visual ribbon, it generates trend-filtered signals: a bullish signal appears only when the slow ribbon is aligned bullish and MA1 crosses above MA2, while a bearish signal appears only when the slow ribbon is aligned bearish and MA1 crosses below MA2. A signal status matrix in the chart corner shows whether price is above or below each moving average, giving a compact snapshot of current bias without scanning every line.
How it works in detail
The indicator calculates six moving averages from a single price source. You can use EMA for a more responsive ribbon or SMA for a smoother ribbon that reduces noise. Each line’s color is determined by its position relative to the next slower line, building a visible map of internal trend health. The slowest line acts as the anchor. If all faster lines remain above it, the ribbon is fully bullish. If all faster lines remain below it, the ribbon is fully bearish. The trend-filtered signals add a momentum layer: they require a clean macro stack first, then confirm entry with the fast crossover of MA1 and MA2. Signals are plotted as tiny circles, so they do not clutter the chart. Bullish signals plot at the bottom in green, bearish signals plot at the top in red. Optional background shading emphasizes the full alignment zones, and all signal states can be confirmed on bar close with the non-repainting toggle. The signal status matrix is updated on the last bar and labels each MA as LONG or SHORT depending on whether the current close is above or below that line, allowing quick context checks during live monitoring.
Default settings
The default lengths 10, 20, 50, 100, 150, and 200 create a balanced mix of short-term, mid-term, and long-term context. The 10 and 20 lengths capture fast swings and early shifts. The 50 and 100 lengths reflect the core trend structure. The 150 and 200 lengths anchor the ribbon to the broader market bias. This combination makes it easy to see if short-term momentum is moving with the larger trend or if it is fighting it. EMA is selected by default to keep the ribbon responsive enough for intraday and swing traders, but you can switch to SMA for smoother, slower trend mapping. With the default configuration, the signal logic is naturally conservative because the faster cross must occur only after MA3, MA4, MA5, and MA6 are stacked in the same direction, filtering many counter-trend crosses. The matrix defaults to the bottom right so it stays visible without covering price action, but you can move it to any corner or center position.
How to use it on charts
Use the ribbon as a trend filter first. When most lines are green and stacked in order, the trend is bullish and pullbacks can be treated as potential continuation zones. When most lines are red and stacked downward, rallies can be treated as corrective unless the stack flips. The strongest trend environments occur when the ribbon is fully aligned above or below the slowest line. If the ribbon becomes mixed with alternating colors, that signals transition or consolidation and signals should be treated more cautiously. In those mixed states, ignore the MA1/MA2 crosses because the macro alignment filter will not allow signals, which is intentional to reduce noise. The matrix helps confirm whether price is holding above multiple layers during a bullish trend or below multiple layers during a bearish trend, which can support trade management decisions like scaling in or tightening stops.
Signal logic explained
Bullish signal requirements: MA3 above MA4, MA4 above MA5, and MA5 above MA6 must all be true, confirming a clean bullish macro stack. Once that macro alignment exists, a bullish signal is generated when MA1 crosses above MA2. This is the earliest momentum entry that still respects the larger trend. Bearish signal requirements: MA3 below MA4, MA4 below MA5, and MA5 below MA6 must all be true. Once that macro alignment exists, a bearish signal is generated when MA1 crosses below MA2. This ensures the momentum entry is taken only in the direction of the larger ribbon stack. Signals appear as tiny circles to keep the chart clean: white at the bottom for bullish signals, black at the top for bearish signals. The matrix adds a second layer of confirmation by showing whether the close remains above each MA during a bullish signal or below each MA during a bearish signal.
Practical usage examples
Trend continuation example: price rises, the ribbon is fully bullish, and fast lines stay above the slowest line during pullbacks. When MA1 crosses back above MA2 after a shallow pullback, the green circle appears at the bottom, indicating a momentum continuation aligned with the macro structure. If the matrix also shows LONG across most rows, it confirms that price remains above the key layers. Trend reversal example: the ribbon compresses, fast lines cross down, and the full alignment flips bearish after several mixed states. Once MA3 to MA6 are stacked bearish, the red top circle appears when MA1 crosses below MA2, signaling the first momentum entry in the new trend direction. If the matrix shifts to SHORT across multiple rows, it confirms the shift in control.
All Long signals on matrix
Mixed signals on matrix
How the components work together
The layered coloring shows immediate, mid, and macro alignment in one view. The full alignment state acts as a high confidence filter for trend bias. Optional background shading gives a quick visual signal of those high confidence zones. The trend-filtered MA1/MA2 cross signals provide a concise momentum trigger that only fires when the broader ribbon is aligned. The signal status matrix summarizes price position versus each MA, helping traders quickly gauge whether momentum entries are supported by broader structure. Together these components provide a complete trend map, entry framework, and state dashboard without overloading the chart.
What makes this script original
This ribbon is not a simple fast slow crossover. Each layer is colored relative to its adjacent layer, which exposes the internal order of the ribbon and the health of the trend rather than only the outer edges. The macro alignment filter combined with a fast crossover creates a structured momentum signal that is stricter than most ribbons, helping avoid counter trend entries. The added status matrix provides a compact decision aid that shows whether price is above or below each layer in real time, which most ribbons do not include. The non-repainting toggle ensures the behavior is consistent between historical and live data. The indicator focuses on structural clarity and disciplined signals rather than generic crossover spam.
Markets, timeframes, and trading styles
This indicator is suitable for any liquid market including Forex, Crypto, Stocks, Commodities, and Indices. For scalping on 1m to 5m charts, keep lengths shorter or use EMA to maintain responsiveness, and focus on quick momentum continuation after macro alignment while using the matrix to confirm price remains above the faster layers. For day trading on 5m to 1H charts, the default lengths provide a balanced view of trend and pullback structure. For swing trading on 1H to daily charts, the default lengths remain effective and reduce noise. For position trading or investing on weekly charts, consider increasing all lengths proportionally to match the longer holding horizon and only take signals that align with the macro stack and matrix bias.
Settings guidance
Shorter lengths create faster signals but more noise; longer lengths create smoother signals but more lag. EMA reacts faster and suits active styles, while SMA smooths the ribbon for broader trend interpretation. Line styles and thickness controls let you emphasize the layers you care about most. Background shading is best kept subtle to preserve chart readability and should be used primarily to highlight full alignment states. Signal markers can be toggled off if you want a purely visual ribbon without entries. The matrix position can be moved to any corner or center area of the chart to avoid overlapping price action or other annotations.
Alerts
The script includes alerts for full bullish alignment, full bearish alignment, fast crosses between MA1 and MA2, and the trend-filtered bullish and bearish cross signals. All alerts respect the non-repainting toggle, so they fire on confirmed bars only when that option is enabled. Messages include symbol, timeframe, and price placeholders for automation or logging.
Non-repainting behavior
When non-repainting mode is enabled, all signal conditions and background states are confirmed on closed bars. This avoids signals appearing and disappearing mid bar and ensures live behavior mirrors historical behavior. Disabling the toggle makes the ribbon update in real time but signals should be treated as provisional until the bar closes.
Disclaimer
This indicator is a technical analysis tool and does not constitute financial advice. Always test settings on your chosen market and timeframe, use risk management, and confirm signals with additional context. No indicator is perfect; use this ribbon as one component of a broader trading plan.
Indikator
