Göstergeler ve stratejiler
Price-EMA Z-Score Backgroundhe “Price‑to‑EMA Z‑Score Background” indicator is designed to give you a clear, visual sense of when price has moved unusually far away from its smoothed trend, and to highlight those moments as potential overextension or mean‑reversion opportunities. Under the hood, it first computes a standard exponential moving average (EMA) of your chosen lookback length, then measures the raw difference between the current close and that EMA on every bar. To make that raw deviation comparable across different markets and timeframes, it converts the series of differences into a z‑score—subtracting the rolling mean of the deviations and dividing by their rolling standard deviation over a second lookback window.
Once you’ve normalized price‑to‑EMA distance into z‑score units, you can set two simple trigger levels: one upper threshold and one lower threshold. Whenever the z‑score climbs above the upper threshold, the chart background glows green, signaling that price is extended far above its EMA (and might be ripe for a pullback). Whenever the z‑score falls below the lower threshold, the background turns red, calling out an equally extreme move below the EMA (and a possible oversold bounce). Between those bands, no shading appears, letting you know price is trading within its “normal” range around the trend.
By adjusting the EMA period, the z‑score lookback, and the two trigger levels, you can dial in early warning signals (e.g. ±1 σ) or wait for very stretched moves (±2 σ or more). Used in concert with your favorite momentum or pattern tools—or even as a standalone visual cue—this simple background‑shading approach makes it easy to spot when a market is running too hot or too cold relative to its own recent average.
Yield Curve Regime Shading with LegendTakes two symbols (e.g. two futures contracts, two FX pairs, etc.) as inputs.
Calculates the “regime” as the sign of the change in their difference over an n‑period lookback.
Lets you choose whether you want to color the bars themselves or shade the background.
How it works
Inputs
symbolA, symbolB: the two tickers you’re comparing.
n: lookback in bars to measure the change in the spread.
mode: pick between “Shading” or “Candle Color”.
Data fetching
We use request.security() to pull each series at the chart’s timeframe.
Regime calculation
spread = priceA – priceB
spreadPrev = ta.valuewhen(not na(spread), spread , 0) (i.e. the spread n bars ago)
If spread > spreadPrev → bullish regime
If spread < spreadPrev → bearish regime
Plotting
Shading: apply bgcolor() in green/red.
Candle Color: use barcolor() to override the bar color.
Live SPX Buy/Sell Zones (Simulated)This indicator allows you to see when people bought and sold by the grace of Jesus Christ
Live SPX Buy/Sell Zones (Simulated)This is a indactor that best indicates whats happening with buyers and sellers
FlexMAFlexMA – Time-based moving average
FlexMA plots a moving average based on real-world time (like “5 days”) instead of fixed bar lengths.
Choose the MA type (SMA, EMA, etc.), enter a timespan and unit, and the script automatically adjusts across any chart timeframe.
This was created out of a demand for moving average indicator that was easy to configure across any time frame but the results end up consistent. For example, a 5 Day SMA where it looks the same at every interval.
Powered by:
Electrified/Time – Converts spans to lengths
Electrified/MovingAverages – Provides modular MA logic
Example: Want a 3-day EMA? Just set:
Plot: EMA
Timespan: 3
Unit: Days
Clean, adaptive, and great for multi-timeframe setups.
Z Score 主图策略 — v1.02Hello Traders,
Here is my new year gift for the community, Digergence for Many Indicators v4. I tried to make it modular and readable as much as I can. Thanks to Pine Team for improving Pine Platform all the time!
How it works?
- On each candle it checks divergences between current and any of last 16 Pivot Points for the indicators.
- it search divergence on choisen indicators => RSI , MACD , MACD Histogram, Stochastic , CCI , Momentum, OBV, VWMACD, CMF and any External Indicator!
- it checks following divergences for 16 pivot points that is in last 100 bars for each Indicator.
--> Regular Positive Digergences
--> Regular Negative Digergences
--> Hidden Positive Digergences
--> Hidden Negative Digergences
- for positive divergences first it checks if closing price is higher than last closing price and indicator value is higher than perious value, then start searching divergence
- for negative divergences first it checks if closing price is lower than last closing price and indicator value is lower than perious value, then start searching divergence
Some Options:
Pivot Period: you set Pivot Period as you wish. you can see Pivot Points using "Show Pivot Points" option
Source for Pivot Points: you can use Close or High/Low as source
Divergence Type: you can choose Divergence type to be shown => "Regular", "Hidden", "Regular/Hidden"
Show Indicator Names: you have different options to show indicator names => "Full", "First Letter", "Don't Show"
Show Divergence Number: option to see number of indicators which has Divergence
Show Only Last Divergence: if you enable this option then it shows only last Positive and Negative Divergences
you can include any External Indicator to see if there is divergence
- enable "Check External Indicator"
- and then choose External indicator name in the list, "External Indicator"
- External indicator name is shown as Extrn
- related external indicator must be added before enabling this option
Coloring, line width and line style options for different type of divergences.
Following Alerts added:
- Positive Regular Divergence Detected
- Negative Regular Divergence Detected
- Positive Hidden Divergence Detected
- Negative Hidden Divergence Detected
Now lets see some examples:
Dashboard Trends📊 Dashboard Trends + Anchored Daily VWAP
This indicator provides a real-time multi-timeframe trend dashboard alongside a daily anchored VWAP system, helping you assess both macro and intraday market sentiment at a glance.
🔍 Key Features
✅ Multi-Timeframe Trend Analysis
Tracks whether EMA(22) is above EMA(200) across:
1m, 10m, 30m, 4h, 1D timeframes
Color-coded "Bullish"/"Bearish" status for each
Aggregated trend summary using 6 signals (including VWAP)
✅ Anchored Daily VWAP
Uses ta.vwap to provide a session-resetting daily VWAP
VWAP resets at the beginning of each trading day
Live update throughout the day
Supports pre-market and after-hours if chart includes ETH
✅ VWAP Bands (±1σ to ±3σ)
Optional bands show price deviation from VWAP
Fully customizable:
Enable/disable each band
Set deviation multiplier
Adjust color and visibility
✅ Visual Dashboard
Table display in the bottom-right corner
Shows trend status per timeframe + VWAP + Summary
Easy-to-read green/yellow/red color codes
⚙️ Customization
Toggle VWAP line on/off
Enable or disable any band level
Adjust standard deviation multiplier
Choose your VWAP and band colors
🧠 Summary Logic
Strong Bull: 6 bullish signals
Bull: 5 signals
Mixed: 3–4 signals
Bear: 2 signals
Strong Bear: 0–1 signals
This tool is perfect for traders looking to combine trend-following and intraday mean-reversion awareness, with all the critical data visualized in one compact dashboard.
Daily & Pre-Market Key LevelsThis can be used to identify Pre market high, Pre market low, Previous day high, Previous day low, Daily high & Daily Low. In between PMH & PML, there is a red shaded area where you do not trade.
Velocity + Momentum (SMA-Based)Velocity + Momentum (SMA-Based) is a clean, powerful oscillator that measures price acceleration using SMA-derived velocity and dual momentum signals. This tool is ideal for identifying directional shifts, exhaustion points, and early entries across any market or timeframe.
How It Works:
This indicator calculates velocity as the distance between the current close and a simple moving average of the open price. Then, it applies two smoothed moving averages to this velocity line:
• Internal Momentum (shorter-term smoothing)
• External Momentum (longer-term context, hidden by default)
The result is a layered view of how fast price is moving and whether that move is gaining or losing strength.
How to Use:
• The green/red histogram shows current velocity (positive = bullish, negative = bearish)
• The teal/maroon line tracks internal momentum and provides short-term signal turns
• The black/gray (hidden) line reflects external momentum and supports broader trend alignment
• Watch for crosses above/below the zero line for confirmation of directional strength
• Use the built-in alerts to catch real-time shifts in all three layers of movement: velocity, internal, and external
Why It's Useful:
• Detects subtle transitions before price structure changes
• Helps filter out noise by comparing short-term vs long-term motion
• Ideal for scalpers, swing traders, and trend-followers alike
• Pairs well with structure-based tools or price action zones
• Works on any asset and timeframe
This indicator simplifies momentum analysis by giving you actionable, multi-layered feedback on how price is accelerating — and when that’s likely to reverse.
CM_Williams_Vix_Fix v5The Kompas Volatility Signal (KVS) is a smart volatility-based indicator powered by the Williams Vix Fix (WVF) method. It’s designed to detect moments of heightened market fear or extreme price compression — often signaling potential reversal zones or deep pullbacks.
Key Features:
⚡️ Histogram spikes that react to price capitulation
📈 Optional Bollinger Bands and percentile thresholds for filtering extremes
🔄 Dual EMA smoothing (WVF EMA 10 & 50) to track volatility momentum
🛠️ Flexible settings for advanced traders to adjust sensitivity
How to Use: Use KVS to identify volatility spikes that align with oversold conditions or after major downswings. When paired with other momentum tools (like RSI or MACD), it becomes a powerful signal for early trend reversals or accumulation zones.
SMA Smooth Market Structure (Multi-Timeframe)SMA Market Structure (Multi-Timeframe) is a powerful tool for tracking structural price action, using simple moving averages across any higher timeframe (HTF). It blends Smart Money Concepts with clean swing logic to reveal trend shifts, breaks of structure, and supply/demand zones.
This indicator highlights key structure features:
• Break of Structure (BOS) – Automatic detection of bullish or bearish swing breaks
• Internal Shifts – Early clues that the market is building toward a reversal
• Liquidity Sweeps (LS) – Detects swing failures that may trap traders
• Zigzag Swing Lines – Cleanly connects swing highs and lows
• Dynamic Zones – Demand (green) and supply (red) blocks drawn from engulfing breakouts
How to Use:
• Set your preferred HTF (e.g. 1H on a 15m chart) to view structure in proper context and
adjust SMA to smooth out market structure for directional consistency
• Watch BOS lines and swing labels like HH, HL, LH, LL for directional clarity
• Use the MS (Market Shift) label to identify full reversals after internal shifts + BOS
• Demand/Supply zones mark areas of previous strength and will update or mitigate automatically
• Alerts notify you of every BOS, MS, HH, LL, and LS event — no need to monitor manually
Customization Features:
• Toggle visibility of market shift markers, internal shifts, and zones
• Choose how internal shifts are calculated (High/Low or Open)
• Customize line style, width, and colors for BOS and zigzag lines
• Control zone duration and how mitigated zones behave (fade or delete)
• Built-in safety for Pine Script’s history limits using smart offset caps
Best Use Tips:
• Combine with price action patterns or volume for confirmation
• MS + BOS + zone tap often marks a high-probability reversal setup
• Use it to align lower timeframe entries with higher timeframe structure
For traders who want structure clarity without clutter, this tool is built to keep your chart actionable and adaptive.
Dual Supertrend Pro|ask2maniishDual Supertrend | ask2maniish
🔍 Overview
The Dual Supertrend indicator overlays two distinct Supertrend layers (Main & Fast) to deliver enhanced trend detection, signal filtering, and trade management. It combines traditional ATR-based trend logic with an optional dynamic risk model and visual trade tracking tools — ideal for intraday scalping, swing trading, or institutional-style strategies.
⚙️ Key Features
🔁 Dual Supertrend Logic: Combines a Main and Fast Supertrend for multi-layer confirmation.
🧠 Smart Entry Signals: Generates buy/sell signals only when both layers agree (combined confirmation).
🎯 Dynamic Trade Management:
Entry/SL/Target logic using ATR.
Auto Breakeven, Trailing SL, and Exit after Target 3.
📊 Trade State Dashboard:
On-chart table showing live status, targets, and trade side.
Visual labels for entry, SL hit, and each target.
🧾 Tooltip for SL Settings: Detailed ATR configurations based on strategy style (Scalping, Swing, Institutional, etc.).
🧠 Use Cases
Strategy Type ATR Period Multiplier Notes
Conservative Trading 14 1.0 – 1.5× Balanced, avoids whipsaws, better R:R
Volatile Markets 21 1.5 – 2.5× For crypto, indices, strong trends
Intraday Scalping 5 – 10 0.5 – 1.0× Tighter SLs for rapid trades
Swing Trades 14 – 21 1.5 – 3.0× Handles spikes, rides long trends
Institutional Logic Dynamic 1.5× below OB SL below CHoCH or Order Block structure zones
You can view this tooltip in the Trade Management group inputs.
🧰 Inputs
📌 Supertrend (Main)
ATR Period
ATR Multiplier
ATR Method (SMA/True Range)
Signal Toggle
Highlight Toggle
⚡ Supertrend (Fast)
ATR Period (Shorter)
ATR Multiplier (Smaller)
ATR Method (SMA/True Range)
Signal Toggle
Highlight Toggle
🎯 Trade Management
SL & Target ATR Period
Target Multiplier
Auto Exit after Target 3
Entry/Exit Label Toggle
Target Hit Label Toggle
Show SL/Target Lines
🧮 Trend State Table
Location Selectable
Combined Trend Label: Strong Up 🔼 / Down 🔽 / Mixed ⚠️
📈 Signals & Alerts
Trigger alerts for all the following:
Main Supertrend Buy/Sell
Fast Supertrend Buy/Sell
Confirmed Combined Buy/Sell when both layers align
📊 Visualization
📉 Supertrend bands with optional background fill
✅ Entry label with trend direction
🎯 Target hit labels with color-coded levels
🧾 Trade Dashboard with real-time trade info
📌 Best Practices
Use combined signals (CB, CS) for filtered trend entries.
Adjust ATR multiplier based on market volatility.
Use in confluence with SMC, OB, or CHoCH zones for higher accuracy.
Enable trade table for real-time tracking of SL and targets.
👨💻 Credits
Script developed by @ask2maniish, with adaptive trade logic and dual-layer Supertrend logic optimized for precision entries and automated exits.
Kompas Peluang (CCI Focused View)
📌 Kompas Peluang — Smart Signal Detection Based on Momentum & Volatility Confluence
Kompas Peluang is a multi-signal indicator designed to help traders identify potential entry zones using a fusion of four key components: ✅ CCI (Commodity Channel Index) ✅ RSI (Relative Strength Index) ✅ MACD (Moving Average Convergence Divergence) ✅ WVF (Williams Vix Fix for volatility spikes)
When two or more signals align, the indicator highlights a strategic buy zone — ideal for disciplined “Buy the Dip” or DCA-style entries.
⚙️ Key Features:
Filters opportunities based on multi-signal confluence, not a single trigger
Blends momentum and volatility to detect potential reversals
Clean visuals, intuitive logic, and highly customizable
Use it standalone or pair it with the Kompas Trend EMA tool to boost timing precision and avoid false entries.
Rolling Correlation (Forex)//@version=5
indicator("Rolling Correlation (Forex)", shorttitle="ρ-Corr", overlay = false)
// ── User inputs ────────────────────────────────────────────────────────────────
sym1 = input.symbol("FX_IDC:EURUSD", "First symbol") // Change if your broker uses another prefix
sym2 = input.symbol("FX_IDC:GBPUSD", "Second symbol")
len = input.int(20, "Look-back length", minval = 2)
// ── Pull closing prices from both symbols on the chart’s timeframe ────────────
p1 = request.security(sym1, timeframe.period, close,
barmerge.gaps_off, barmerge.lookahead_on)
p2 = request.security(sym2, timeframe.period, close,
barmerge.gaps_off, barmerge.lookahead_on)
// ── Convert to log-returns (removes price-level bias) ─────────────────────────
r1 = math.log(p1 / p1 )
r2 = math.log(p2 / p2 )
// ── Rolling Pearson correlation ───────────────────────────────────────────────
corr = ta.correlation(r1, r2, len)
// ── Plot ──────────────────────────────────────────────────────────────────────
plot(corr, title = "ρ", linewidth = 2)
hline( 1, "+1 (perfect)", color = color.green)
hline( 0, "0", color = color.gray)
hline(-1, "-1 (inverse)", color = color.red)
0.7x ATR (5m)5Minute ATR Length 14 times 0.7.
Great for scalping M1 Dow Jones counter trend and protrend.
Crypto Master IndicatorThe Crypto Master Indicator (CMI) is a custom technical indicator for the TradingView platform, developed in Pine Script, designed to assist traders, especially in the cryptocurrency market, in identifying buy and sell opportunities based on multiple technical indicators combined. It is an overlay indicator that integrates multiple technical analysis tools to generate clear and visually accessible trading signals.
Z-Score Volume with CVD ConfirmationZ-Score Volume with CVD Confirmation is a volume-based confluence tool that enhances traditional volume analysis by combining Z-Score volume anomalies with Cumulative Volume Delta (CVD) confirmation. This indicator helps traders identify unusual volume activity that aligns with directional order flow, offering a cleaner signal for potential breakout or reversal scenarios.
🔍 Key Features:
Z-Score Calculation: Measures how extreme current volume is relative to its recent average, highlighting statistically significant surges or drops.
CVD Confirmation: Uses Cumulative Volume Delta candles (open/high/low/close) to assess buying vs. selling pressure in lower timeframes.
Bar Color Logic:
Green: High Z-Score volume confirmed by CVD bullish candle
Red: High Z-Score volume confirmed by CVD bearish candle
Other color bands show progressively strong or weak volume outliers
Real Volume Bar Heights: Volume bars retain true scale while color reflects underlying order flow strength and direction.
💡 Use Cases:
Breakout validation: Confirm price range breaks when volume surge is supported by CVD direction
Fade setups: Detect unsustainable high-volume moves lacking CVD support
Trend continuation: Spot momentum when both Z-Score and CVD align in the direction of the trend
⚙️ How to Use:
Adjust the Z-Score length to define how far back to measure average and deviation.
Select your anchor timeframe (typically 1D) and a lower timeframe for CVD calculations (e.g., 1-minute).
Use color-coded volume bars to assess volume significance and directional flow at a glance.
Add the standard volume indicator to the chart so one can compare the difference between the standard volume indicator and the Z-Score Volume with CVD Confirmation script. Useful at specific price levels and exiting ranges or not.