Nifty Trendometer - Nifty 50 Live Tracker🚀 Nifty Trendometer — The Ultimate Live Market Tracker for the Nifty 50 🚀
🔍 One glance, total clarity. One tool, total control.
The Nifty Trendometer is a next-generation TradingView indicator designed for serious traders and portfolio managers who want to see what institutions see. It merges advanced demand–supply analytics, live breadth monitoring, and macro stress signals — all in one clean, self-updating dashboard.
🧭 What It Does?
Tracks Nifty 50 internals live: See how many of India’s top 30 stocks are gaining, losing, or collapsing beyond key thresholds.
Identifies actionable demand and supply zones: The algorithm automatically scans for low-volume demand zones, supply imbalances, and high-volume consolidation clusters (HVNs) — letting you spot where smart money is active.
Generates precision buy/sell decisions: Smart zone-touch detection coupled with real-time volume validation gives you high-confidence reversal or breakout signals — without repainting.
Measures macro risk instantly: Integrated India VIX, USDINR, Bank Index, and Basis stress readings tell you when the market’s underlying engine is overheating or calming down.
⚡ Key Highlights
✅ Dynamic Zone Mapping — Automatically highlights fresh demand (green), supply (purple), and HVN (blue) regions as they form — no manual drawing needed.
✅ Smart Volume Logic — Detects price reactions backed by significant volume surges — confirming genuine breakouts, not noise.
✅ Crash & Rally Detector — A proprietary “Crash Probability” engine calculates live risk and momentum balance, showing how close the market is to tipping into panic or breakout.
✅ ORB & Gap Analysis — Monitors intraday open-range breakouts, gap fades, and continuation patterns with volatility confirmation.
✅ Macro Stress Dashboard — Instantly shows whether India’s market risk is local, global, or liquidity-driven — using DXY-relative INR movement, bank index health, and basis stress.
✅ Smart Alerts — Be notified automatically when the system detects:
• Crash Symptoms (Warning)
• Crash Confirmation (Crisis)
• Rally Watch
• Rally Start (Go Signal)
🧠 The Logic — Simplified
The Trendometer combines the following:
Volume profile geometry (for hidden demand/supply zones)
Price reaction mapping (for confirmed reversals and rejections)
Multi-factor stress scoring (VIX, currency, banks, basis, and breadth)
Probability modeling (a smooth blend of seven risk dimensions, scaled to a live “Crash–Rally Probability” score)
Everything updates tick-by-tick, producing a dynamic, data-driven market weather report.
📊 One Dashboard, Infinite Insight
The indicator creates a compact, color-coded table on your TradingView chart showing:
VIX % change
USDINR strength (absolute or DXY-relative)
Bank index trend
Nifty breadth and depth (number of stocks down / deeply down)
Basis stress (futures vs spot)
ORB/gap behavior
Overall crash or rally probability (e.g., “↓ 68% | ↑ 32%”)
Visual cues instantly shift from green (safe) to orange (watch) to red (crisis) — no guessing required.
💡 Ideal For:
Intraday traders seeking early directional bias confirmation
Swing traders spotting reversals at demand/supply pivots
Investors wanting macro stress signals before volatility spikes
Quant-oriented analysts tracking multi-factor market health
⚙️ Plug-and-Trade Simplicity
Just add the Nifty Trendometer to your TradingView chart and watch the market structure, sentiment, and institutional footprints reveal themselves in real time.
No parameter tuning. No manual drawing. No data delays.
📈 Nifty Trendometer — When precision meets perspective.
Because the best traders don’t predict — they measure the factors which affect the market.
Forecasting
Economic Cycle Signal (USA)📊 Economic Cycle Signal (USA)
This indicator overlays both the U.S. Federal Reserve Funds Rate (Fed Funds) and the U.S. Inflation Rate YoY directly onto your stock market chart (e.g., S&P 500). It visually connects monetary policy and inflation dynamics with equity market performance, helping traders and analysts understand how macroeconomic shifts impact risk assets.
🔹 Key Features
• Plots the monthly U.S. Fed Funds Rate alongside your chart.
• Overlays the U.S. Inflation Rate YoY, offering a direct and realistic view of inflation pressure instead of CPI.
• Shades the background to reflect different economic cycle phases (recovery, recession, expansion, late cycle).
• Highlights how the stock market reacts during shifting monetary and inflationary conditions.
• Provides a clear traffic-light style signal for quick macro interpretation.
• Now includes dynamic inflation color logic based on the Fed’s 2% target and 5% threshold (explained below).
🔹 Inflation Line Color Logic (New)
The inflation line now changes color dynamically to show whether inflation is within or outside the Federal Reserve’s comfort zone, and whether it’s rising or falling:
Inflation Condition Interpretation Line Color
Inflation > 5% and Rising Inflation overheating (well above target) 🔴 Red
Inflation > 5% and Falling Cooling off from high levels 💚 Lime
Inflation < 5% and Falling Disinflation / stable price environment 🟢 Green
Inflation < 5% and Rising Early inflation rebound 🟡 Yellow
This color-coded logic mirrors the interest rate phase colors, giving traders an instant visual cue about inflationary pressure and possible policy turning points.
🔹 How Traders & Analysts Can Use It
• Visualize the interaction between U.S. monetary policy and inflation cycles in real time.
• Identify historically supportive phases when low or easing rates follow moderate inflation.
• Detect tightening cycles when inflation spikes first and the Fed reacts, signaling potential equity headwinds.
• Use as a macro compass to anticipate inflation pressure, policy changes, and market regime shifts.
• Combine with technical analysis, fundamentals, or leading indicators for deeper macro insights.
🔹 Color Legend (Economic Phases)
🟩 Light Green → Recovery (Early Cycle)
• Rates: low or falling
• Inflation: low/stable
🟩 Green → Recession (Down Cycle)
• Rates: cut aggressively
• Inflation: falling
🟨 Yellow → Expansion (Mid Cycle)
• Rates: rising gradually
• Inflation: moderate
🟥 Red → Overheating (Late Cycle)
• Rates: high / rising fast
• Inflation: high
🔹 Inflation Context
• Inflation typically leads the policy rate cycle, offering early insight into future Fed actions.
• The U.S. Inflation Rate YoY provides a direct measure of consumer price changes compared to the same month last year — a clearer gauge of inflation pressure than CPI.
• The new color logic helps visualize whether inflation is accelerating or cooling, relative to the Fed’s 2% target and 5% upper threshold.
• This dual-overlay makes it easy to interpret the cause (inflation) and effect (interest rate policy) in one synchronized chart.
⚠️ Disclaimer
This script is for educational and informational purposes only. It does not provide financial advice or trading signals. Always combine it with your own research, proper risk management, and professional judgment.
ATR Daily (Classic vs Robust, NY-Fix, Spike Control)📘 What this indicator does
This tool provides an advanced view of daily market volatility by comparing two versions of the Average True Range (ATR):
Classic ATR — the standard Wilder method, measuring raw volatility.
Robust ATR — an enhanced version that filters out extreme spikes and anomalies for more realistic readings.
Both versions are calculated using daily data aligned to the New York trading session, so volatility resets at the same time institutional markets do.
This ensures consistency across crypto, forex, and stocks — even when you view them on intraday charts.
⚙️ How it works (in simple terms)
Instead of relying on the regular ATR, which can be distorted by one big candle or a news spike,
the Robust ATR uses median-based filtering and spike control logic:
It checks every True Range (TR) value against a normal range based on the Median Absolute Deviation (MAD).
If today’s volatility is abnormally high, the script either clamps the spike (limits it) or freezes ATR updates for that day — depending on the selected mode.
A hard cap (for example, 4× the median TR) prevents unrealistic volatility jumps from distorting the calculation.
This gives traders a stable, trustworthy ATR baseline that reflects real market behavior — not one-off events.
📊 What you’ll see on the chart
Two lines — Classic (orange) and Robust (teal) — showing daily ATR levels fixed at the start of each New York day.
Histogram bars showing how much of the day’s ATR has already been covered (in $ or %).
When the current range exceeds 100% of ATR, the bar turns red — meaning the market has already reached or exceeded its average daily move.
A data table (top-right) displaying current ATR values, volatility ratios, and other key stats.
Background highlights (red tint) mark days with abnormal volatility spikes.
💡 How traders can use it
✅ Detect when a market has already used up its daily volatility (for example, after 100% ATR is reached — potential reversal or slowdown).
✅ Compare Classic vs Robust ATR to spot news-driven distortions or liquidity spikes.
✅ Use Robust ATR for more accurate stop-loss and take-profit placement.
✅ Track volatility expansion or contraction across different days using the table metrics.
⚙️ Key Settings Explained
Setting Description
ATR period Standard smoothing length (default 14).
Robust mode Clamp, Freeze, or Off — defines how the script handles spikes.
MAD multiplier (k) Controls sensitivity to outliers (default 3).
Cap × median(TR) Maximum allowed spike size (default 4).
Base for passed ATR Choose which ATR (Classic or Robust) is used to calculate daily % progress.
Freeze on weekends Keeps ATR constant on Sat/Sun (useful for crypto).
🧩 Unique concept
Unlike typical ATR indicators, this one redefines how volatility is measured:
it combines statistical robustness (median + MAD) with session-based fixation (NY time).
That means the ATR you see reflects the true realized volatility of each New York trading day, not just the last 14 candles.
This makes it ideal for professional traders who care about volatility structure, range exhaustion, and intraday timing accuracy.
🔒 Source code
This script is published with protected source code to preserve its statistical framework and prevent misuse.
If you want access for study or integration purposes, please message the author (@CryptoShturman) on TradingView.
🧭 Summary
ATR Daily (Classic vs Robust, NY-Fix) gives you a clear, spike-free view of daily volatility.
It helps you see how far the market has moved within the day — and whether today’s move is still building or already exhausted.
💡 Use this indicator for daily volatility tracking, range exhaustion detection, and as a foundation for dynamic risk management systems.
Net Long/Short Flow — Stable (Log + MER × Volume) (Misu)Indicator Name: Net Long Short Flow (Log and MER Volume ATR Normalized)
This indicator estimates the net bullish and bearish capital flow without using open interest data. It evaluates how effectively each candle’s trading volume pushes the price in either direction, using candle structure efficiency, logarithmic price change, and normalized volume and volatility weighting.
The Momentum Efficiency Ratio (MER) measures the efficiency of price movement inside each candle. It is calculated as the ratio between the candle body and its total range. Full body candles have MER close to 1, while candles with long wicks have low MER values, indicating indecision or neutral trades.
The indicator then multiplies MER by the logarithmic return of price to capture proportional price momentum across different price levels. Volume is normalized by its moving average to remove scale differences between symbols or timeframes. Volatility is normalized using ATR divided by price to reduce distortion from high volatility periods.
The effective flow per bar is defined as
EffFlow = (Normalized Volume × Log Return × MER^p) ÷ (ATR Normalized)
Positive values represent bullish effective flow, and negative values represent bearish effective flow. Both bullish and bearish flows are smoothed separately using EMA to prevent large spikes, and their difference forms the Net Flow line.
When Net Flow is above zero, bullish effective capital dominates and indicates upward pressure. When Net Flow is below zero, bearish pressure dominates. Frequent small oscillations around zero suggest a consolidating or low conviction market.
This model adapts to any instrument or timeframe, filters out false signals caused by long wicks, and remains stable through volume and volatility normalization. It provides a smooth and intuitive view of the market’s real directional energy.
EMA Panel — 7/12/21 vs 147 (Cross-Over Marks + ALL) (Misu)Full Technical Description
Overview:
The EMA Subpanel — Cross-Over Tracker (7/12/21 vs 147) is designed to visualize multi-layer EMA dynamics in a dedicated subwindow, separating it from price candles.
It focuses on identifying momentum shifts and medium-term trend transitions based on interactions between short-term and long-term exponential moving averages (EMAs).
Core Logic:
Plots four EMAs: 7, 12, 21, and 147 periods on a separate panel.
Marks every crossover event where EMA7, EMA12, or EMA21 moves above EMA147.
Once all three short-term EMAs (7, 12, 21) are above EMA147 (either sequentially or simultaneously), the script labels the bar with “ALL(7/12/21 > 147)”, indicating a potential strong bullish structure.
When any of the short-term EMAs crosses below EMA147, the system resets the tracking state and waits for a new crossover sequence.
Usage Notes:
This indicator does not overlay price candles (it runs in a separate panel).
Traders can use the “ALL” signal as confirmation of multi-timeframe bullish alignment.
The logic can be inverted or expanded to detect bearish phases (e.g., “ALL”) by mirroring the crossover conditions.
Works well as a trend confirmation filter alongside price action, BOS/CHoCH structure, or volume-based models.
Alerts:
Custom alert conditions are included for:
Each individual EMA crossover above EMA147.
The completion of the full 3-line alignment (ALL event).
Institutional Signal Engine (ISE) 🧭 Overview
ISE is a multi-layer institutional trading system that combines trend, volatility, volume, and multi-timeframe logic into one advanced framework.
It identifies high-probability reversals, institutional accumulation/distribution phases, and Smart Buy/Sell setups confirmed by higher-timeframe filters.
The indicator integrates:
TSI–RSI–ATR dashboard (weekly basis)
Monthly trend filter (long-term direction)
A/D Line divergences and volume spikes on compression
Dynamic Sigma ±1…±4 volume bands (VWMA-based)
Smart visual signals, alerts, and real-time data tables
⚙️ Core Logic – Step by Step
1️⃣ Multi-Timeframe Engine
Calculates TSI, RSI, and ATR on the weekly timeframe to filter out short-term noise.
Uses a 10-period SMA on monthly close as long-term filter:
Above = monthly bullish bias
Below = monthly bearish bias
2️⃣ Weekly Trend Change Detection
A 10-bar SMA defines the weekly trend:
Green arrow “▲” = Bullish reversal
Red arrow “▼” = Bearish reversal
Automatic alerts are triggered when a reversal occurs.
3️⃣ Directional Score (0–100%)
A 4-factor composite score measures directional strength:
Component Weight Effect
TSI trend direction 25% Momentum bias
RSI above/below 50 25% Market strength
ATR above volatility threshold 25% Volatility confirmation
Monthly trend alignment 25% Institutional filter
Score ≥ 75% = strong institutional confirmation
Combined with monthly bias, this defines Smart Entry Zones
4️⃣ Institutional Module
🔸 A/D Line Divergences
Detects when volume flow diverges from price:
Price down + A/D up → bullish divergence (accumulation)
Price up + A/D down → bearish divergence (distribution)
🔸 Volume Spikes on Compression
Flags breakouts when price range contracts but volume surges sharply.
Indicates institutional activity and momentum expansion.
🔸 Smart Buy / Smart Sell Conditions
Smart signals appear only when all conditions align:
Divergence or volume spike,
Score ≥ 75%,
Monthly trend confirmation,
(Optional) Weekly trend reversal if enabled.
✅ Smart Buy (C) → Green triangle below bar
✅ Smart Sell (V) → Red triangle above bar
5️⃣ Advanced Visual Signals
Symbol Meaning Interpretation
▲ / ▼ Weekly trend reversal Direction change
🟢 C / 🔴 V Smart Buy / Smart Sell Institutional setup
🔵 / 🟠 Circles Ideal confirmed trades Retrospective validation
💠 Fuchsia Diamond Probable low Anticipated bullish reversal
↟ / ↡ RSI/SMA extreme cross Visual early warning
6️⃣ Sigma ±1..±4 Volume Bands (VWMA-70)
Based on Volume Weighted Moving Average (VWMA 70), not Bollinger.
Defines 4 upper and 4 lower Sigma levels relative to the current equilibrium (POC).
Acts as a probabilistic map of volume balance zones.
Labels display real-time price values for each band (auto-updated each bar).
7️⃣ Real-Time Information Tables
📋 Oscillator Table (Right side)
Displays the status of three oscillators:
Indicator Signal
Stochastic BUY / SELL / NEUTRAL
Fisher Transform BUY / SELL / NEUTRAL
Williams %R BUY / SELL / NEUTRAL
Colors: 🟢 = Buy, 🔴 = Sell, 🟠 = Neutral
📊 Volume Table (Top right)
Shows:
Volume Direction: buying / selling / neutral
Trend vs previous bar: increasing / decreasing / stable
Current vs previous volume values
🧠 How to Use and Interpret
🔹 Step 1 – Identify Context
Use the monthly filter and weekly arrows to determine the institutional direction.
📈 Both up = bullish environment
📉 Both down = bearish environment
Mixed = neutral / uncertain
🔹 Step 2 – Wait for Alignment
Trade only when Smart Signals appear in the same direction as the higher timeframe trend.
Green “C” = buy signal within bullish structure
Red “V” = sell signal within bearish structure
🔹 Step 3 – Confirm with Volumes and Sigma Bands
If price is near Sigma −2 / −3, expect potential rebound (buy zones).
If price is near Sigma +2 / +3, expect exhaustion (sell zones).
Strong volume spike + Smart signal = institutional confirmation
🔹 Step 4 – Manage Trades
Use weekly ATR or Sigma ±2 as volatility-based stop levels.
Exit on opposite Smart signal or trend reversal arrow.
📈 Interpretation Summary
Condition Meaning Bias
Green ▲ + Smart Buy + Score ≥75 Confirmed bullish reversal Long setup
Red ▼ + Smart Sell + Score ≥75 Confirmed bearish reversal Short setup
Fuchsia Diamond ⚡ Probable local bottom Early long opportunity
Narrow Sigma bands Compression → Pre-breakout Wait for expansion
Wide Sigma bands High volatility / exhaustion Avoid new entries
⚡ Summary
Aspect Description
Name Lanfranco Bilotti – Institutional Trading + Alert
Structure Multi-timeframe, multi-indicator system
Core Modules TSI, RSI, ATR, A/D Divergence, Volume Spike, Sigma Bands
Signals Smart Buy/Sell, Probable Low, Trend Arrows
Alerts Automatic weekly reversal alerts
Filters Weekly and monthly trend filters
Output Visual dashboard + dual data tables
Best timeframe Weekly or Daily (for institutional flow)
Main goal Detect institutional trend phases and confirm high-probability entries
💼 Trading Instructions (Usage Guide) !!!!
🔹 Step-by-Step Usage
1️⃣ Choose timeframe
Recommended use on Daily or Weekly charts.
Institutional alignment works best when Weekly = Monthly trend.
2️⃣ Identify market context
📈 Bullish environment: Monthly filter = UP and weekly arrow ▲
📉 Bearish environment: Monthly filter = DOWN and weekly arrow ▼
3️⃣ Wait for confirmation
Smart BUY (C) → appears only when volume, trend, and oscillators align.
Smart SELL (V) → confirmed institutional distribution setup.
4️⃣ Entry rules (example)
Long entry: when Smart BUY (C) appears and the current price is near Sigma −1 or −2.
Short entry: when Smart SELL (V) appears and the price is near Sigma +1 or +2.
5️⃣ Stop loss suggestion (statistical)
Use weekly ATR or next Sigma band as volatility-based stop.
Example: if entry at Sigma −1 → stop below Sigma −2.
6️⃣ Exit strategy
Exit when the opposite Smart Signal appears (C → V or V → C).
Or when a new weekly reversal arrow ▲ / ▼ is printed.
🔹 Interpretation Summary
Symbol Meaning Action Bias
▲ / ▼ Weekly trend reversal Confirms long / short bias
🟢 C Smart Buy Long entry zone
🔴 V Smart Sell Short entry zone
💠 Fuchsia Diamond Probable low Early long opportunity
↟ / ↡ RSI/SMA extreme Momentum exhaustion zone
=================================================
Trade only in the direction of the higher timeframe trend.
Smart BUY (C) → enter long when price is near Sigma −1 / −2 and monthly trend = UP.
Smart SELL (V) → enter short when price is near Sigma +1 / +2 and monthly trend = DOWN.
Exit on the opposite Smart signal or when a new weekly arrow ▲ / ▼ appears.
Use the weekly ATR or next Sigma band for stop-loss placement.
Always confirm signals at candle close.
Cyclical Phases of the Market🧭 Overview
“Cyclical Phases of the Market” automatically detects major market cycles by connecting swing lows and measuring the average number of bars between them.
Once it learns the rhythm of past cycles, it projects the next expected cycle (in time and price) using a dashed orange line and a forecast label.
In simple terms:
The indicator shows where the next potential low is statistically expected to occur, based on the timing and depth of previous cycles.
⚙️ Core Logic – Step by Step
1️⃣ Pivot Detection
The script uses the built-in ta.pivotlow() and ta.pivothigh() functions to find local turning points:
pivotLow marks a local swing low, defined by pivotLeft and pivotRight bars on each side.
Only confirmed lows are used to define the major cycle points.
Each new pivot low is stored in two arrays:
cycleLows → price level of the low
cycleBars → bar index where the low occurred
2️⃣ Cycle Identification and Drawing
Every time two consecutive swing lows are found, the indicator:
Calculates the number of bars between them (cycle length).
If that distance is greater than or equal to minCycleBars, it draws a teal line connecting the two lows — visually representing one complete cycle.
These teal lines form the historical cycle structure of the market.
3️⃣ Average Cycle Length
Once there are at least three completed cycles, the script calculates the average duration (mean number of bars between lows).
This value — avgCycleLength — represents the dominant periodicity or cycle rhythm of the market.
4️⃣ Forecasting the Next Cycle
When a valid average cycle length exists, the model projects the next expected cycle:
Time projection:
Adds avgCycleLength to the last cycle’s ending bar index to find where the next low should occur.
Price projection:
Estimates the vertical amplitude by taking the difference between the last two cycle lows (priceDiff).
Adds this same difference to the last low price to forecast the next probable low level.
The result is drawn as an orange dashed line extending into the future, representing the Next Expected Cycle.
5️⃣ Forecast Label
An orange label 🔮 appears at the projected future point showing:
Text:
🔮 Upcoming Cycle Forecast
Price:
The label marks the probable area and timing of the next cyclical low.
(Note: the date/time calculation currently multiplies bar count by 7 days, so it’s designed mainly for daily charts. On other timeframes, that conversion can be adapted.)
📊 How to Read It on the Chart
Visual Element Meaning Interpretation
Teal lines Completed historical cycles (low to low) Show actual periodic rhythm of the market
Orange dashed line Projection of the next expected cycle Anticipated path toward the next cyclical low
Orange label 🔮 Upcoming Cycle Forecast Displays expected price and bar location
Average cycle length Internal variable (bars between lows) Represents the dominant cycle period
📈 Interpretation
When teal segments show consistent spacing, the market is following a stable rhythm → cycles are predictable.
When cycle spacing shortens, the market is accelerating (volatility rising).
When it widens, the market is slowing down or entering accumulation.
The orange dashed line represents the next expected low zone:
If the market drops near this line → cyclical pattern confirmed.
If the market breaks well below → cycle amplitude has increased (trend weakening).
If the market rises above and delays → a new longer cycle may be forming.
🧠 Practical Use
Combine with oscillators (e.g., RSI or TSI) to confirm momentum alignment near projected lows.
Use in conjunction with volume to identify accumulation or exhaustion near the expected turning point.
Compare across timeframes: weekly cycles confirm long-term rhythm; daily cycles refine short-term entries.
⚡ Summary
Aspect Description
Purpose Detect and forecast recurring market cycles
Cycle basis Low-to-Low pivot analysis
Visuals Teal historical cycles + Orange forecast line
Forecast Next expected low (price and time)
Ideal timeframe Daily
Main outputs Average cycle length, next projected cycle, visual cycle map
Statistical Projection over N Days (drift + σ) – v1.2 [EN]🧭 Overview
“Statistical Projection over N Days (drift + σ)” is a quantitative forecasting model that estimates the expected future price range of any asset over a chosen horizon (default = 10 days).
It combines average drift (trend direction) and historical volatility (σ) to produce a probabilistic cone of future price movement.
The indicator displays:
a blue dashed line (expected price path),
1σ / 2σ deviation bands (volatility envelopes),
and a summary table with the key forecast values and expected return.
⚙️ Core Logic (Explained Simply)
The indicator analyses recent price behavior to estimate two key elements:
the average daily tendency of the market (called drift), and
the average daily variability (called volatility).
Here’s how it works, step by step:
Measures daily percentage changes (using logarithmic returns) to understand how much the price typically moves from one bar to the next.
It then calculates the average of those returns over a chosen historical window (for example, 70 bars).
If the average is positive → the market has a rising tendency (upward drift).
If the average is negative → the market tends to decline (downward drift).
At the same time, it computes the standard deviation of those returns — this shows how “wide” the movements are, i.e. how volatile the asset is.
Using these two measures — drift and volatility — it estimates where the price is statistically expected to move over the next N bars:
The mean projection (blue dashed line) represents the most likely price path.
The 1σ and 2σ lines (teal and gray) define confidence zones, where price is expected to remain about 68% and 95% of the time, respectively.
The model updates continuously with every new bar, recalculating both drift and volatility, so the projection cone expands, contracts, or changes direction depending on the latest market behavior.
📉 Interpretation of the Blue Line
The blue dashed line (pMean) is the statistical forecast path of price over the next N bars.
🔹 When the blue line is below the current price
The recent drift (average log return) is negative → the model expects a gradual decline.
Interpretation:
The prevailing statistical bias is bearish — the market is expected to move lower toward equilibrium.
🔹 When the blue line is above the current price
The recent drift is positive → the model expects a continued rise.
Interpretation:
The price is statistically likely to trend upward, maintaining momentum in the direction of the current drift.
🔹 When the blue line is sloping upward
The mean projection pMean is rising with each new bar.
Indicates positive drift → the average daily return is positive.
Interpretation:
The asset is in a growth phase; volatility bands act as potential expansion corridors.
🔹 When the blue line is sloping downward
The mean projection pMean decreases bar after bar.
Indicates negative drift → average daily return is negative.
Interpretation:
The asset is in a corrective or declining phase, with volatility determining potential drawdown limits.
🔹 When the blue line is flat
The drift (μ) is approximately zero.
Interpretation:
The model sees no directional bias; price equilibrium dominates.
Expect a sideways range unless new volatility (σ) expansion occurs.
📈 How to Read the Entire Projection
Blue dashed line → expected mean path (most probable price trajectory).
Teal lines (±1σ) → statistically normal range (≈68% of future outcomes).
Gray lines (±2σ) → extreme bounds (≈95% of outcomes).
Labels on the right show exact forecast prices for each band.
If the actual price moves outside the gray 2σ range →
→ it signals volatility breakout or regime shift, meaning the past volatility no longer explains the present movement.
🧮 Summary Table
Located at the top-right corner, it provides:
Field Description
Projection (days) Number of bars used for projection (h).
Anchor price Starting close used for forecast.
Mean target (h) Expected price after h bars (blue line endpoint).
1σ Band (↓ / ↑) 68% confidence interval.
2σ Band (↓ / ↑) 95% confidence interval.
Expected return Projected % change from current close to mean target.
Colors can be customized — for example:
white headers,
aqua for anchor price,
lime for target,
orange/red for σ bands,
yellow for expected return.
🧠 Practical Meaning
Blue Line State Interpretation Bias
Above price, rising Ongoing positive drift Bullish
Below price, falling Negative drift Bearish
Flat, near price Neutral drift Sideways
Steep slope Strong directional momentum Trend confirmation
Price > +2σ band Excess volatility / overextension Possible correction
Price < −2σ band Undervaluation or panic Reversion likely
⚡ Summary
Aspect Description
Purpose Statistical forecast of expected price range
Method Drift (μ) + Volatility (σ) from log returns
Outputs Mean projection (blue), 1σ & 2σ bands, expected return
Interpretation Directional bias from blue line and its slope
Recommended timeframe Daily
Best use Trend confirmation, probabilistic target estimation, volatility analysis.
Filter Signal 5🧭 Overview
“Filter Signal 5.0” is a professional confirmation and filtering tool designed to validate the true directional bias of any asset.
It combines price structure, volume dynamics, oscillator alignment, and multi-timeframe confirmation to detect high-probability directional setups while blocking false counter-trend signals.
The indicator calculates a directional score (0–4) based on the confluence of several technical conditions and displays both the current trend and the higher-timeframe trend in a compact on-chart dashboard.
⚙️ Core Logic
The indicator integrates four major analytical pillars:
Component Description Purpose
VWMA Trend Compares price to the Volume-Weighted Moving Average (VWMA 20). Detects the base trend (above = bullish, below = bearish).
Volume Flow Evaluates direction (buy/sell) and trend (rising/falling) of volume. Confirms institutional participation.
RSI Extreme Cross RSI crossing its SMA in extreme zones (<27 or >80). Identifies momentum reversals with statistical strength.
Oscillator Concordance Combines 3 signals (Stochastic, Fisher Transform, Williams %R). Measures broad technical consensus.
Each bullish or bearish confirmation adds +1 point to its respective score.
The final output is the comparison between scoreLong and scoreShort.
🧩 Multi-Timeframe Filter (MTF)
A higher-timeframe VWMA (e.g., Weekly or Monthly) is imported through request.security().
If the higher-timeframe trend is UP, bearish scores are suppressed.
If the higher-timeframe trend is DOWN, bullish scores are suppressed.
✅ This ensures entries are only taken in the direction of the dominant market trend.
🎯 Forecast Target System
Each new bar automatically generates a static forecast target (varip) based on the 10-bar average range:
If bullish → target = close + avgRange
If bearish → target = close − avgRange
This level is drawn as a yellow dashed line, providing a short-term statistical price projection.
🧮 Directional Logic Summary
Condition Weight Effect
Price > VWMA +1 Long Trend confirmation
Volume rising in buy candles +1 Long Institutional strength
RSI cross < 27 +1 Long Reversal signal
2 / 3 oscillators in buy mode +1 Long Statistical agreement
Mirror logic applies for short signals.
Final bias is determined by comparing total long vs short scores.
📊 Dashboard Information
Displayed at the bottom-left corner of the chart:
Field Meaning
📊 Trend Now Current directional bias (📈 UP / 📉 DOWN / ➡ NEUTRAL)
🎯 Forecast Target Predicted price level for the current bar
⏱ Filter MTF Higher timeframe used for filtering (e.g., W, 1M)
📐 Trend MTF Trend status of the higher timeframe
The dashboard updates dynamically on each bar close.
⚠️ Alerts
Two automatic alerts are available:
⚠️ Strong Buy: when scoreLong ≥ 3
⚠️ Strong Sell: when scoreShort ≥ 3
These appear only when at least three technical components agree.
📈 How to Use It
Load the indicator on your preferred asset and timeframe (recommended: Daily).
Set the higher timeframe filter (tf_selezione) → use “W” (Weekly) or “1M” (Monthly) for institutional alignment.
Wait for full confirmation:
Trend Now = 📈 UP and Trend MTF = 📈 UP → Long setup confirmed
Trend Now = 📉 DOWN and Trend MTF = 📉 DOWN → Short setup confirmed
Avoid trading when:
Trends are misaligned (different directions).
Score is < 2 / 4 (neutral zone).
🧠 Trading Logic Summary
Scenario Requirements Action
Long Setup Score ≥ 3 and MTF trend = UP Enter or hold long position
Short Setup Score ≥ 3 and MTF trend = DOWN Enter or hold short position
Neutral Mixed signals / MTF mismatch Stay flat – wait for breakout
🧮 Practical Example
When the daily timeframe prints 📈 Trend Now = UP, and the weekly filter shows 📐 Trend MTF = UP, the system has full alignment.
The yellow dashed line projects the short-term target for the move.
If volume direction and oscillators confirm, an alert “⚠️ Strong Buy” is automatically triggered.
✅ Ideal Usage
This indicator is designed to work together with Lanfranco’s other institutional models, such as:
TSI-RSI-ATR Dashboard → internal momentum and volatility,
Institutional Module / Smart Buy-Sell System → predictive divergence and volume compression,
Dynamic Price Targets / Sigma Bands → probabilistic price zones.
The “MTF Filter 4” acts as the final confirmation layer, the traffic-light system:
🟢 Green = confirmed direction,
🔴 Red = blocked signal,
🟠 Orange = neutral wait-state.
⚡ Summary
Type: Multi-factor signal confirmation tool
Core concept: Combine price + volume + oscillators + multi-timeframe filter
Best timeframe: Daily
Typical filter: Weekly or Monthly
Output: Directional bias, short-term forecast, institutional trend alignment
Eagles CompassWhat is Eagles Compass?
1HR, 2HR, 1D timeframe swing analysis script designed to help you spot squeezes, reversals, and large moves
Some stocks will work better on the 1HR timeframe, other stocks will have to be adjsuted to the 2HR or 1D timeframe based on volatility and average volume of the stock
There are some false positives as with any indicator. This is how you spot them:
If a red triangle appears near a support or new low and the stock is down quite a bit, or if it appears after the stock has already been down trending, it is invalid.
If a green triangle appears near a resistance or new high and the stock is already up a lot, or if it appears that the stock has been up trending for a while, it is invalid.
How does it work?
It's looking at key supports and resistances, reversal zones, and candle ratios to determine potential candles that might indicate an upcoming future move.
🐼 Panda EMA-OBV Dual SignalPanda EMA-OBV Dual Signal
Description:
The Panda EMA-OBV Dual Signal combines exponential moving averages (EMAs) with On-Balance Volume (OBV) to identify both trend direction and momentum strength.
This script is designed for professional traders who want clear visual confirmations for reversals and trend continuations.
Main Features:
• Multi-layer EMA system (14 / 20 / 50 / 100 periods) for trend alignment
• OBV divergence detection (Bullish / Bearish)
• RSI confirmation filter for extra accuracy
• Auto signal arrows for buy/sell opportunities
• Works on all timeframes (H1 / H4 / D / W / MN)
How to use:
1️⃣ Look for Buy signal when OBV shows Bullish divergence and price closes above EMA 20.
2️⃣ Look for Sell signal when OBV shows Bearish divergence and price closes below EMA 20.
3️⃣ Use EMA crossovers as confirmation for trend continuation.
Tip:
The script is optimized for XAUUSD and BTCUSD but can also be applied to other assets for swing or intraday analysis.
Created by Millionbears | For educational and analytical purposes only.
Power of 369 [SmartFoxy]The Power of 369 Indicator detects market swing structures and overlays dynamic time-based color labeling using the 3-6-9 numeric pattern.
It highlights price turning points with summed time signatures, aligning intraday structure with temporal symmetry.
Includes OTT session filtering, automatic box plotting, ATR-based validation, and custom color control for 3, 6, 9 digit resonance.
---
## 📘 How to Use
Activate the Indicator
1. Add Magic 369 to your chart.
It works on any timeframe and market — Forex, Crypto, Indices, or Stocks.
2. Adjust the Session Duration to divide the chart into visual time blocks.
3. Use the OTT filter to show activity only during your preferred trading session.
4. Enable “Show sum of times” to display the digit sum of each candle’s time (e.g., m+m or h+h+m+m).
Combine this with “Show Swing Labels” or Market Structures to visualize both time and structure interaction.
5. Turn on “Set new colors 369” in the settings.
Each label changes its color based on the time-sum value:
3 → Orange — Accumulation;
6 → Blue — Manipulation;
9 → Purple — Distribution;
Other digits → Neutral gray.
6. Market Structure Tools:
Detects Swing Highs/Lows automatically;
Marks BoS (Break of Structure) and CHoCH (Change of Character);
Optionally validates swings using ATR deviation for confirmation.
7. Customize Visuals – Adjust label size, line style, colors, and opacity to match your chart theme.
8. Interpretation – Use the 3-6-9 patterns to identify time-based energy shifts in market flow —
3 initiates accumulation, 6 signals manipulation, and 9 completes distribution. Together, they reveal the rhythm behind structural price movements.
---
## ⚙️ Settings Overview
🕓 Session Settings:
Show Boxes Session – enables time-block boxes on chart.
Session Duration – defines how many bars each session lasts.
Show only at OTT – displays sessions only during your chosen trading hours (e.g., 16:30–22:00).
Boxes Drawing Limit – limits the maximum number of boxes drawn on the chart.
🔢 3-6-9 Color Logic
Set new colors 369 – activates unique colors based on the time-sum digit.
/3, /6, /9, /others – customize colors for each digit group:
3 → Accumulation;
6 → Manipulation;
9 → Distribution;
others → Neutral.
🧭 Labels
Show Swings Labels – toggles display of H/L, HH/HL/LL/LH, or symbol ◆.
Show sum of times – displays digit-sum values next to swing labels.
Type of Sum – choose between:
m+m → uses minute sum only
h+h+m+m → uses hour + minute sum combined
Label Size – adjusts label text size.
📈 Market Structure (𝓜𝓢)
Show Market Structures – enables structure detection and visualization.
Show 𝓜𝓢 Validation (ATR) – confirms structure strength using ATR-based deviation logic.
Show 𝓜𝓢 Labels – shows BoS and CHoCH labels directly on the chart.
Show Levels – draws support/resistance levels from recent structures.
Colors – separate settings for bullish and bearish structures.
PDB 4 MA + Candle Strength/Weakness Detector
4MA Strength & Reversal Detector
Unlock the power of momentum with this advanced 4 Moving Average system (20, 50, 100, 200) designed to pinpoint market strength and early reversal zones with precision.
How It Works:
- Bearish Reversal: Triggered when all moving averages align (20 < 50 < 100 < 200) and bearish reversal candles appear — highlighting potential tops.
- Bullish Reversal: Triggered when all moving averages align (200 < 100 < 50 < 20) and bullish reversal candles form — marking potential bottoms
:Best For:
⚡ Scalpers and day traders using 1–5 minute timeframes
📈 Identifying momentum shifts and trend exhaustion early
Tip: Combine this with volume or RSI for stronger confirmation and fewer false signals.
Z-Signal Pro: RSI+BBThe indicator utilizes RSI and Bollinger Bands, incorporates additional logic to filter out noisy signals, and produces long and short entries.
Index of Civilization DevelopmentIndex of Civilization Development Indicator
This Pine Script (version 6) creates a custom technical indicator for TradingView, titled Index of Civilization Development. It generates a composite index by averaging normalized stock market performances from a selection of global country indices. The normalization is relative to each index's 100-period simple moving average (SMA), scaled to a percentage (100% baseline). This allows for a comparable "development" or performance metric across diverse markets, potentially highlighting trends in global economic or "civilizational" progress based on equity markets.The indicator plots as a single line in a separate pane (non-overlay) and is designed to handle up to 40 symbols to respect TradingView's request.security() call limits.Key FeaturesComposite Index Calculation: Fetches the previous bar's close (close ) and its 100-period SMA for each selected symbol.
Normalizes each: (close / SMA(100)) * 100.
Averages the valid normalizations (ignores invalid/NA data) to produce a single "Index (%)" value.
Symbol Selection Modes:Top N Countries: Selects from a predefined list of the top 50 global stock indices (by market cap/importance, e.g., SPX for USA, SHCOMP for China). Options: Top 5, 15, 25, or 50.
Democratic Countries: ~38 symbols from democracies (e.g., SPX, NI225, NIFTY; based on democracy indices ≥6/10, including flawed/parliamentary systems).
Dictatorships: ~12 symbols from authoritarian/hybrid regimes (e.g., SHCOMP, TASI, IMOEX; scores <6/10).
Customization:Line color (default: blue).
Line width (1-5, default: 2).
Line style: Solid line (default), Stepline, or Circles.
Data Handling:Uses request.security() with lookahead enabled for real-time accuracy, gaps off, and invalid symbol ignoring.
Runs calculations on every bar, with max_bars_back=2000 for historical depth.
Arrays are populated only on the first bar (barstate.isfirst) for efficiency.
Predefined Symbol Lists (Examples)Top 50: SPX (USA), SHCOMP (China), NI225 (Japan), ..., BAX (Bahrain).
Democratic: Focuses on free-market democracies like USA, Japan, UK, Canada, EU nations, Australia, etc.
Dictatorships: Authoritarian markets like China, Saudi Arabia, Russia, Turkey, etc.
Usage TipsAdd to any chart (e.g., daily/weekly timeframe) to view the composite line.
Ideal for macro analysis: Compare democratic vs. authoritarian performance, or track "top world" equity health.
Potential Limitations: Relies on TradingView's symbol availability; some exotic indices (e.g., KWSEIDX) may fail if not supported. The 40-symbol cap prevents errors.
Interpretation: Values >100 indicate above-trend performance; <100 suggest underperformance relative to recent averages.
This script blends financial data with geopolitical categorization for a unique "civilization index" perspective on global markets. For modifications, ensure symbol tickers match TradingView's format.
PAMASHAIn this version of 19 OCT 001 UPDATE, this Indicator forecast the future by indicating Hidden divergences and regular Divergences. Besides, it will distinguish order blocks, FVGs, ... .
007 GC"Golden EYE" 007 GC is used to quickly identify reversals on GC/MGC with clear entries and exits.
Aktien Spike Detector by DavidDescription:
This indicator marks the daily high and low on the chart and provides a visual and audible alert whenever the current price touches either of these levels. Additionally, the indicator highlights the candlestick that reaches the daily high or low to quickly identify significant market movements or potential reversal points.
Features:
📈 Daily high and low are automatically calculated and displayed as lines on the chart.
🔔 Alert notification when the price touches the daily high or low.
🕯️ Highlighting of the touch candlestick (e.g., color-coded) for better visual orientation.
💡 Ideal for traders trading breakouts, rejections, or intraday reversals.
Areas of application:
Perfect for day traders, scalpers, and intraday analysts who want to see precisely when the market reaches key daily levels.
Tristan's Devil Mark (Short / Long, with W%R)The Devil’s Mark indicator is a visual tool designed to help traders identify potential short and long opportunities based on candle structure and market momentum. It combines price action analysis with the Williams %R (W%R) oscillator to highlight candles with high potential for reversal or continuation.
Can be used on any timeline, from scalping day trades to swing trades on daily and higher timelines. Know that the higher the timeline the less likely the indicator will show. (Asia and London sessions tend to show many indicators. I find this more useful for NY session.)
How the script works
Candle Structure Conditions
Short (Sell) Wedge: Plotted above green candles that have no bottom wick, indicating that inside that candle there was strong upward momentum without downside hesitation .
Long (Buy) Wedge: Plotted below red candles that have no top wick, indicating that inside that candle there was strong downward momentum without upside hesitation .
These candles are visually emphasized as wedges to mark potential turning points.
Williams %R Filter
The indicator uses Williams %R to measure overbought and oversold conditions:
Proximity to 0 (nearZeroThresh): Determines how close W%R must be to 0 (overbought) to trigger a Sell Wedge. This acts as a “Sell sensitivity” filter.
Proximity to -100 (nearHundredThresh): Determines how close W%R must be to -100 (oversold) to trigger a Buy Wedge. This acts as a “Buy sensitivity” filter.
When the candle meets both the candle structure and the W%R condition, the wedge is plotted in purple (“Within W%R Range”).
When the "ignore W%R filter" toggle is on, all eligible candles are plotted regardless of W%R. Wedges that normally would not meet W%R criteria are plotted in light purple (“Outside W%R Range”) to distinguish them. #YOLO (🚫 I recommend leaving "Ignore W%R Filter" OFF)
Settings Explained
Williams %R Length: The number of bars used to calculate the W%R oscillator. Shorter lengths make it more sensitive; longer lengths smooth the readings.
Proximity to 0 / 100: Controls how “strict” the indicator is in requiring overbought or oversold W%R conditions to trigger. Lower values mean closer to extreme zones, higher values are more permissive.
Ignore W%R Toggle: Option to show Devil’s Marks on every eligible candle regardless of W%R. Useful for visualizing purely price-action-based signals.
What the trader sees
Purple wedges: Candles meeting both candle structure and W%R conditions.
Light purple wedges: Candles meeting candle structure but ignored W%R (when toggle is on). #YOLO (🚫 I recommend leaving "Ignore W%R Filter" OFF)
Short opportunities are wedges above bars (green candles with no bottom wick).
Long opportunities are wedges below bars (red candles with no top wick).
Trading Insight
The Devil’s Mark is a momentum and reversal alert tool:
Look for purple downward-pointing wedges when W%R is near overbought. This is a potential shorting opportunity. Buying at the close of that candle may improve your short trades.
Look for purple upward-pointing wedges when W%R is near oversold. This is a potential
long opportunity. Buying at the close of that candle may improve your long trades.
Light purple wedges show the same price-action cues without W%R confirmation—useful for aggressive traders who want every potential setup. #YOLO #YMMV #noFullPort
Settings / Security
The “Output values” checkbox appears for each plotted series (like a plot or plotshape) and controls whether the series will also be exposed numerically in the Data Window or used by other indicators/scripts.
Here’s what it means in practice:
1. Checked (true)
The series values (like candle high, low, or any computed value) are exported to the Data Window and can be read by other scripts using request.security() or ta functions.
Example: You can see the exact numerical value of each plotted point in the Data Window when you hover over the chart.
Useful if you want to backtest or reference these plotted values programmatically.
2. Unchecked (false)
The series is plotted visually only.
The numeric values are hidden from the Data Window and cannot be accessed by other scripts.
Makes the chart cleaner if you don’t need the numeric outputs.
Treasury Cash-Futures Basis Estimator (stable)An estimation of the Treasury Cash-Futures Basis with help from GPT
Forex FX V2.1💠 Forex FX — Smart Liquidity & FVG Engine
Forex FX is an advanced indicator designed for the forex market, combining multi-timeframe analysis, liquidity zones, and Fair Value Gaps (FVG) to highlight high-probability trading areas.
It automatically detects the market bias (Bull/Bear/Flat), current session activity, and H4–M5 FVG confluence, generating contextual Buy/Sell signals filtered by quality conditions.
🔹 Key Features
• Automatic detection of Bullish & Bearish Fair Value Gaps (FVG) across multiple timeframes
• Identification of Buy/Sell liquidity zones and exhaustion levels
• Real-time market state detection (trend, correction, or idle)
• Session filters optimized for EURUSD (15:00–22:00) and XAUUSD (Full-time)
• Contextual signal states (“Wait”, “Buy”, “Sell”) displayed in a clean on-chart panel
• Automatic LIMIT order expiration to avoid outdated setups
🎯 Purpose:
To provide traders with a visual map of liquidity and fair-value imbalance zones, enabling precise entries only when technical structure, bias, and timing align.
ANF Bottom Watch + Retail Sector Alert (v6) Detect when ANF crosses above its 50-day moving average (technical recovery signal).
Show visual + alert when RSI recovers above 40 (momentum bottom confirmation).
Track peer strength (URBN, LULU, TPR, GPS) — if 3+ peers are trading above their own 50-day MA, the script flags a sector rotation (bullish context).
Give a “Bottom Watch Active” label when all three signals align.






















