Multitimeframe
EvoTrend-X Indicator — Evolutionary Trend Learner ExperimentalEvoTrend-X Indicator — Evolutionary Trend Learner
NOTE: This is an experimental Pine Script v6 port of a Python prototype. Pine wasn’t the original research language, so there may be small quirks—your feedback and bug reports are very welcome. The model is non-repainting, MTF-safe (lookahead_off + gaps_on), and features an adaptive (fitness-based) candidate selector, confidence gating, and a volatility filter.
⸻
What it is
EvoTrend-X is adaptive trend indicator that learns which moving-average length best fits the current market. It maintains a small “population” of fast EMA candidates, rewards those that align with price momentum, and continuously selects the best performer. Signals are gated by a multi-factor Confidence score (fitness, strength vs. ATR, MTF agreement) and a volatility filter (ATR%). You get a clean Fast/Slow pair (for the currently best candidate), optional HTF filter, a fitness ribbon for transparency, and a themed info panel with a one-glance STATUS readout.
Core outputs
	•	Selected Fast/Slow EMAs (auto-chosen from candidates via fitness learning)
	•	Spread cross (Fast – Slow) → visual BUY/SELL markers + alert hooks
	•	Confidence % (0–100): Fitness ⊕ Distance vs. ATR ⊕ MTF agreement
	•	Gates: Trend regime (Kaufman ER), Volatility (ATR%), MTF filter (optional)
	•	Candidate Fitness Ribbon: shows which lengths the learner currently prefers
	•	Export plot: hidden series “EvoTrend-X Export (spread)” for downstream use
⸻
Why it’s different
	•	Evolutionary learning (on-chart): Each candidate EMA length gets rewarded if its slope matches price change and penalized otherwise, with a gentle decay so the model forgets stale regimes. The best fitness wins the right to define the displayed Fast/Slow pair.
	•	Confidence gate: Signals don’t light up unless multiple conditions concur: learned fitness, spread strength vs. volatility, and (optionally) higher-timeframe trend.
	•	Volatility awareness: ATR% filter blocks low-energy environments that cause death-by-a-thousand-whipsaws. Your “why no signal?” answer is always visible in the STATUS.
	•	Preset discipline, Custom freedom: Presets set reasonable baselines for FX, equities, and crypto; Custom exposes all knobs and honors your inputs one-to-one.
	•	Non-repainting rigor: All MTF calls use lookahead_off + gaps_on. Decisions use confirmed bars. No forward refs. No conditional ta.* pitfalls.
⸻
Presets (and what they do)
	•	FX 1H (Conservative): Medium candidates, slightly higher MinConf, modest ATR% floor. Good for macro sessions and cleaner swings.
	•	FX 15m (Active): Shorter candidates, looser MinConf, higher ATR% floor. Designed for intraday velocity and decisive sessions.
	•	Equities 1D: Longer candidates, gentler volatility floor. Suits index/large-cap trend waves.
	•	Crypto 1H: Mid-short candidates, higher ATR% floor for 24/7 chop, stronger MinConf to avoid noise.
	•	Custom: Your inputs are used directly (no override). Ideal for systematic tuning or bespoke assets.
⸻
How the learning works (at a glance)
	1.	Candidates: A small set of fast EMA lengths (e.g., 8/12/16/20/26/34). Slow = Fast × multiplier (default ×2.0).
	2.	Reward/decay: If price change and the candidate’s Fast slope agree (both up or both down), its fitness increases; otherwise decreases. A decay constant slowly forgets the distant past.
	3.	Selection: The candidate with highest fitness defines the displayed Fast/Slow pair.
	4.	Signal engine: Crosses of the spread (Fast − Slow) across zero mark potential regime shifts. A Confidence score and gates decide whether to surface them.
⸻
Controls & what they mean
Learning / Regime
	•	Slow length = Fast ×: scales the Slow EMA relative to each Fast candidate. Larger multiplier = smoother regime detection, fewer whipsaws.
	•	ER length / threshold: Kaufman Efficiency Ratio; above threshold = “Trending” background.
	•	Learning step, Decay: Larger step reacts faster to new behavior; decay sets how quickly the past is forgotten.
Confidence / Volatility gate
	•	Min Confidence (%): Minimum score to show signals (and fire alerts). Raising it filters noise; lowering it increases frequency.
	•	ATR length: The ATR window for both the ATR% filter and strength normalization. Shorter = faster, but choppier.
	•	Min ATR% (percent): ATR as a percentage of price. If ATR% < Min ATR% → status shows BLOCK: low vola.
MTF Trend Filter
	•	Use HTF filter / Timeframe / Fast & Slow: HTF Fast>Slow for longs, Fast threshold; exit when spread flips or Confidence decays below your comfort zone.
2) FX index/majors, 15m (active intraday)
	•	Preset: FX 15m (Active).
	•	Gate: MinConf 60–70; Min ATR% 0.15–0.30.
	•	Flow: Focus on session opens (LDN/NY). The ribbon should heat up on shorter candidates before valid crosses appear—good early warning.
3) SPY / Index futures, 1D (positioning)
	•	Preset: Equities 1D.
	•	Gate: MinConf 55–65; Min ATR% 0.05–0.12.
	•	Flow: Use spread crosses as regime flags; add timing from price structure. For adds, wait for ER to remain trending across several bars.
4) BTCUSD, 1H (24/7)
	•	Preset: Crypto 1H.
	•	Gate: MinConf 70–80; Min ATR% 0.20–0.35.
	•	Flow: Crypto chops—volatility filter is your friend. When ribbon and HTF OK agree, favor continuation entries; otherwise stand down.
⸻
Reading the Info Panel (and fixing “no signals”)
The panel is your self-diagnostic:
	•	HTF OK? False means the higher-timeframe EMAs disagree with your intended side.
	•	Regime: If “Chop”, ER < threshold. Consider raising the threshold or waiting.
	•	Confidence: Heat-colored; if below MinConf, the gate blocks signals.
	•	ATR% vs. Min ATR%: If ATR% < Min ATR%, status shows BLOCK: low vola.
	•	STATUS (composite):
	•	BLOCK: low vola → increase Min ATR% down (i.e., allow lower vol) or wait for expansion.
	•	BLOCK: HTF filter → disable HTF or align with the HTF tide.
	•	BLOCK: confidence → lower MinConf slightly or wait for stronger alignment.
	•	OK → you’ll see markers on valid crosses.
⸻
Alerts
Two static alert hooks:
	•	BUY cross — spread crosses up and all gates (ER, Vol, MTF, Confidence) are open.
	•	SELL cross — mirror of the above.
Create them once from “Add Alert” → choose the condition by name.
⸻
Exporting to other scripts
In your other Pine indicators/strategies, add an input.source and select EvoTrend-X → “EvoTrend-X Export (spread)”. Common uses:
	•	Build a rule: only trade when exported spread > 0 (trend filter).
	•	Combine with your oscillator: oscillator oversold and spread > 0 → buy bias.
⸻
Best practices
	•	Let it learn: Keep Learning step moderate (0.4–0.6) and Decay close to 1.0 (e.g., 0.99–0.997) for smooth regime memory.
	•	Respect volatility: Tune Min ATR% by asset and timeframe. FX 1H ≈ 0.10–0.20; crypto 1H ≈ 0.20–0.35; equities 1D ≈ 0.05–0.12.
	•	MTF discipline: HTF filter removes lots of “almost” trades. If you prefer aggressive entries, turn it off and rely more on Confidence.
	•	Confidence as throttle:
	•	40–60%: exploratory; expect more signals.
	•	60–75%: balanced; good daily driver.
	•	75–90%: selective; catch the clean stuff.
	•	90–100%: only A-setups; patient mode.
	•	Watch the ribbon: When shorter candidates heat up before a cross, momentum is forming. If long candidates dominate, you’re in a slower trend cycle.
⸻
Non-repainting & safety notes
	•	All request.security() calls use lookahead=barmerge.lookahead_off, gaps=barmerge.gaps_on.
	•	No forward references; decisions rely on confirmed bar data.
	•	EMA lengths are simple ints (no series-length errors).
	•	Confidence components are computed every bar (no conditional ta.* traps).
⸻
Limitations & tips
	•	Chop happens: ER helps, but sideways microstructure can still flicker—use Confidence + Vol filter as brakes.
	•	Presets ≠ oracle: They’re sensible baselines; always tune MinConf and Min ATR% to your venue and session.
	•	Theme “Auto”: Pine cannot read chart theme; “Auto” defaults to a Dark-friendly palette.
⸻
Publisher’s Screenshots Checklist 
1) FX swing — EURUSD 1H
	•	Preset: FX 1H (Conservative)
	•	Params: MinConf=70, ATR Len=14, Min ATR%=0.12, MTF ON (TF=4H, 20/50)
	•	Show: Clear BUY cross, STATUS=OK, green regime background; Fitness Ribbon visible.
  
2) FX intraday — GBPUSD 15m 
	•	Preset: FX 15m (Active)
	•	Params: MinConf=60, ATR Len=14, Min ATR%=0.20, MTF ON (TF=60m)
	•	Show: SELL cross near London session open. HTF lines enabled (translucent).
	•	Caption: “GBPUSD 15m • Active session sell with MTF alignment.”
  
3) Indices — SPY 1D 
	•	Preset: Equities 1D
	•	Params: MinConf=60, ATR Len=14, Min ATR%=0.08, MTF ON (TF=1W, 20/50)
	•	Show: Longer trend run after BUY cross; regime shading shows persistence.
	•	Caption: “SPY 1D • Trend run after BUY cross; weekly filter aligned.”
  
4) Crypto — BINANCE:BTCUSDT 1H
	•	Preset: Crypto 1H
	•	Params: MinConf=75, ATR Len=14, Min ATR%=0.25, MTF ON (TF=4H)
	•	Show: BUY cross + quick follow-through; Ribbon warming (reds/yellows → greens).
	•	Caption: “BTCUSDT 1H • Momentum break with high confidence and ribbon turning.”
 
Special Red & Green CandlesCore Concept
The strategy identifies potential reversal points by looking for candles that show strong rejection (engulfing behavior) at key technical levels across multiple timeframes, combined with specific Fibonacci and volatility conditions.
Key Components
Multi-Timeframe Pivot System
Calculates Daily, Weekly, and Monthly pivot points (Standard & CPR methods)
Tracks traditional pivots (PP, R1-R4, S1-S4) and Central Pivot Range (CPR) values
Includes VWAPs (VWAP, 50-period, 250-period SMAs)
Dynamic Volatility Filter
Uses timeframe-based multipliers to adapt to different chart resolutions:
dynamicMultiplier: Defines minimum candle size requirement (0.015%-0.4% of close)
dynamicMultiplierS: Defines maximum candle size filter (0.025%-0.55% of close)
Special Candle Conditions
For Special Red Candles (Bearish Reversal):
Red candle (close < open)
Open below at least one pivot point (any timeframe)
High touches at least one pivot point
Close below 38.2% Fibonacci level of candle range
Current high is 5-bar highest but low isn't 8-bar lowest
Meets volatility conditions (absolute gap > 0.7% of close)
For Special Green Candles (Bullish Reversal):
Green candle (close > open)
Open above at least one pivot point
Low touches at least one pivot point
Close above 61.8% Fibonacci level
Current low is 5-bar lowest but high isn't 8-bar highest
Meets same volatility requirement
Additional Features
Gap Analysis Table: Shows relationships between key daily/weekly levels
Visual Indicators: Colors background, plots labels, and Fibonacci levels
Comprehensive Level Tracking: Monitors 30+ different pivot points across all timeframes
Trading Logic
This is essentially a fade-the-extreme-move strategy that identifies:
Candles that have significant range (volatility filter)
That show clear rejection at important technical levels
Across multiple timeframes simultaneously
With Fibonacci confluence for additional confirmation
Potential Use Cases
Swing Trading: Identifying reversal points in larger moves
Day Trading: Using lower timeframe signals for intraday reversals
Position Sizing: The strength of confluence could determine trade size
Risk Management
The strategy includes inherent risk controls through:
Multiple confirmation requirements (reduces false signals)
Volatility filters (avoids choppy market conditions)
Multi-timeframe confluence (increases signal reliability)
This is a sophisticated institutional-grade approach that combines traditional pivot analysis with modern volatility-based filtering and Fibonacci theory.
SW's Asia/London H/L'sAccurate Asia and London (with other session) High's and Low's. As well as NY Pre-market and opening bell, and end of day vertical lines. Also created 4 slots in UI to be able to set specific vertical lines with custom label options.
Multi-Timeframe Bias by Atif MuzzammilMulti-Timeframe Bias Indicator
This indicator implements multi TF bias concepts across multiple timeframes simultaneously. It identifies and displays bias levels.
Key Features:
Multi-Timeframe Analysis (Up to 5 Timeframes)
Supports all major timeframes: 5m, 15m, 30m, 1H, 4H, Daily, Weekly, Monthly
Each timeframe displays independently with customisable colors and line weights
Clean visual separation between different timeframe bias levels
ICT Bias Logic
Bearish Bias: Previous period close below the prior period's low
Bullish Bias: Previous period close above the prior period's high
Ranging Bias: Previous period close within the prior period's range
Draws horizontal lines at previous period's high and low levels
Advanced Customisation
Individual enable/disable for each timeframe
Custom colors and line thickness per timeframe
Comprehensive label settings with 4 position options
Adjustable label size, style (background/no background/text only)
Horizontal label positioning (0-100%) for optimal placement
Vertical offset controls for fine-tuning
Smart Detection
Automatic timeframe change detection using multiple methods
Enhanced detection for 4H, Weekly, and Monthly periods
Works correctly when viewing same timeframe as bias timeframe
Proper handling of market session boundaries
Clean Interface
Simple timeframe identification labels
Non-intrusive design that doesn't obstruct price action
Organized settings grouped by function
Debug mode available for troubleshooting
Compatible with all chart timeframes and works on any market that follows standard session timing.
MTF EMA Smooth Indicator By : KaizenotradingPHThis indicator script can display three different timeframe MTF EMA indicators simultaneously. The special thing of this script is that it has smoothing feature that can smooth the MTF EMA but only in minutes and hours timeframe (script limitation). You can enable the anti repainting as well which reference the previous bar. These features are useful for customize strategies scripts to avoid repainting. Additionally, this script have customizable length for the three MTF EMA indicators.
Pro AI Trading - Month Week OpenThis is a indicator that primarily marks monthly 1 hour initial balances, while highlighting every yearly half/quarter. Additionally has 9 different types of MA bands + D/W/M vertical separators. Marks custom % pivot points for easier zone marking. Possibility of generating signals based on mid line candle crosses.
Auto Levels & Smart Money [ #Algo ] Pro : Smart Levels is Smart Trades 🏆 
"Auto Levels & Smart Money   Pro"   indicator is specially designed for day traders, pull-back / reverse trend traders / scalpers & trend analysts. This indicator plots the  key smart levels , which will be automatically drawn at the session's start or during the session, if specific input is selected.
 🔶 Usage and Settings : 
 A :   
⇓  ( *refer 📷 image )  ⇓
 
 B :   
⇓  ( *refer 📷 images )  ⇓
 🔷 Features : 
 a : automated smart levels with #algo compatibility. 
 b : plots auto SHADOW candle levels Zones ( smart money concept ).
c : ▄▀ RENKO Emulator engine ( plots Non-repaintable #renko data as a line chart ).
d : session 1st candle's High, Low & 50% levels ( irrespective of chart time-frame ).
e : 1-hour High & Low levels of specific candle,  ( from the drop-down menu ), for any global market symbols or crypto. 
f : previous Day / Week / Month, chart High & Low.
g : pivot point levels of the Daily, Weekly & Monthly charts.
h : 2 class types of ⏰ alerts ( only signals   or algo execution   ).
i : auto RENKO box size (ATR-based) table  for 30 symbols.
j : auto processes  " daylight saving time 🌓"  data and plots accordingly.
💠Note:  "For key smart levels, it processes data from a customized time frame,  which is not available for the  *free  Trading View subscription users , and requires a premium plan." By this indicator, you have an edge over the paid subscription plan users and  can automatically plot the shadow candle levels and Non-repaintable RENKO emulator for the current chart on the free Trading View Plan at any time frame  . 
 ⬇ Take a deep dive 👁️🗨️ into the Smart levels trading Basic Demonstration ⬇
 
 ▄▀  1: "RENKO Emulator Engine" ⭐ , plots a  noiseless  chart for easy Top/Bottom set-up analysis.  10 types of 💼 asset classes  options available in the drop-down menu.
 LTP is tagged to current RSI ➕ volatility color change for instant decisions. 
⇓  ( *refer 📷 image )  ⇓
 🟣 2: "Shadow Candle Levels and Zones"  will be drawn at the start of the session (which will project shadow candle levels of the previous day), and it comes with a zone. which specifies the Supply and Demand Zone area. *Shadow levels can be drawn for the NSE & BSE: Index/Futures/Options/Equity and MCX: Commodity/FNO market only.
⇓  ( *refer 📷 image )  ⇓https://www.tradingview.com/x/SIskBm77/
 🟠 3: plots "Session first candle High, low, and 50%" levels   ( irrespective of chart time-frame ), which a very important levels for an intraday trader with add-on levels of Previous Day, Week & Month High and Low levels.
⇓  ( *refer 📷 image )  ⇓
 🔵 4: plots "Hourly chart candle" High & Low  levels for the specific candles, selected from the drop-down menu with  Pivot Points levels  of Daily, Weekly, Monthly chart.
Note: The drop-down menu gives a manual selection of the hour candles for all  "🌐 Crypto / XAU-USD / Forex / USA". 
ex: "2nd hr" will give the session's First hour candle "High & Low" level. 
⇓  ( *refer 📷 image )  ⇓
 🔲 5: "Auto RENKO box size" ( ATR based ) :  This indicator is specially designed for 'Renko' trading enthusiasts, where the Box size of the ' Renko chart ' for intraday or swing trading, ( ATR based ) , automatically calculated for the selected  ( editable )  symbols in the table.  
⇓  ( *refer 📷 image )  ⇓
 *NOTE :  
 Table symbols   are for NSE/BSE/USA.
Symbols   are Non-editable (fixed).
Table Symbols   for MCX only.
Table Symbols   for XAU & 🌐CRYTO. 
 ⏰ 6: "Alert functions."  
⇓  ( *refer 📷 image )  ⇓
◻ : Total  8 signal alerts  can be possible in a Single alert.
◻ : Total  12 #algo alerts , ( must ✔ tick the  Consent  check box for algo and alerts execution/trigger ).
💹 Modified moving average line. Includes data from both the exponential and simple moving average.
 This Indicator will work like a Trading System . It is different from other indicators, which give Signals only.  This script is designed to be tailored to your personal trading style by combining components to create your own comprehensive strategy . The synergy between the components is key to its usefulness.
 It focuses on the key Smart Levels and gives you an Extra edge over others. 
 ✅ HOW TO GET ACCESS : 
You can see the  Author's instructions  to get instant access to this indicator & our premium suite.   If you like any of my Invite-Only indicators, let me know! 
 ⚠ RISK DISCLAIMER : 
All content provided by "TradeWithKeshhav" is for informational & educational purposes only.
It does not constitute any financial advice or a solicitation to buy or sell any securities of any type. All investments / trading involve risks. Past performance does not guarantee future results / returns.
 Regards :  
 TradeWithKeshhav & team 
 Happy trading and investing!
Multi-Timeframe High/Low/Close Levels (H1–H4–D–W–M)This indicator plots multi-timeframe levels (High, Low, Close) for the following periods:
H1 (1-Hour)
H4 (4-Hour)
Daily (1-Day)
Weekly (1-Week)
Monthly (1-Month)
Key Features:
Draws High, Low, and Close levels for each timeframe.
Each level starts from its own candle and extends to the right.
Levels are filtered to stay close to the current price, keeping the chart clean.
Automatic line management ensures that the total number of levels never exceeds the user-defined limit (default: 300, adjustable up to 400).
Customizable colors, widths, and visibility for each timeframe in the Style tab.
Usage:
Use these levels as dynamic support and resistance zones.
Higher-timeframe levels are drawn with stronger colors and thicker lines, giving visual priority over lower-timeframe levels.
Apex Edge – HTF Overlay Candles“Trade your 5m chart with the eyes of the 1H — Apex Edge brings higher-timeframe structure and liquidity sweeps directly onto your execution chart.”
Apex Edge – HTF Overlay Candles 
The Apex Edge – HTF Overlay Candles indicator overlays higher-timeframe (HTF) candles directly onto your lower-timeframe chart. Instead of flipping between timeframes, you see HTF structure “breathe” live on your execution chart.
What It Does
     •	HTF Body Boxes → open/close zones drawn as semi-transparent rectangles.
     •	HTF Wick Boxes → high/low extremes projected as envelopes around each body.
     •	Midpoint Line → a dynamic equilibrium line that flips bias as price trades above or below.
     •	Sweep Arrows → one-time markers showing the first liquidity raid at HTF highs or lows.
Under the Hood
This isn’t just a visual overlay — it’s engineered for accuracy and performance in PineScript.
1. HTF Data Retrieval
     •	Uses request.security() to import open, high, low, close, time from any selected HTF.
     •	lookahead=barmerge.lookahead_off ensures OHLC values update bar by bar as the HTF 
        candle builds.
     •	When the HTF bar closes, boxes and midpoint lock to historical values — matching the 
        native HTF chart exactly.
2. Box Construction
     •	Body box: built from HTF open → close.
     •	Wick box: built from HTF high → low.
     •	Boxes extend dynamically across each HTF period, updating in real time, then freeze at 
        close.
3. Midpoint Logic
     •	(htfOpen + htfClose) / 2 calculates intrabar midpoint.
     •	Line drawn edge-to-edge across the active HTF body.
     •	Style, width, color, and opacity are user-controlled.
4. Sweep Detection
     •	Flags (sweepedHigh / sweepedLow) prevent clutter: only the first tap per side per HTF 
        candle is marked.
     •	Lower-timeframe price breaking the HTF high/low triggers the sweep arrow.
     •	Arrows are offset above/below wick envelopes for clean visuals.
5. Customisation
     •	Every layer (body, wick, midpoint, arrows) has independent color + opacity settings.
     •	Arrow size, arrow color, and transparency are adjustable.
     •	Default HTF = 1H (perfect for 5m/15m traders) but can be switched to 30m, 4H, Daily, 
        etc.
Why It’s Useful 
     •	HTF intent + LTF execution without chart hopping.
     •	Liquidity mapping: see where liquidity is swept in real time.
     •	Bias clarity: midpoint line defines HTF equilibrium.
     •	Clean signals: only the first sweep prints — no spam.
What Makes It Different
 Most MTF overlays just plot candles or single lines. This tool:
     •	Splits body vs wick zones for institutional precision.
     •	Updates live intrabar (no repainting).
     •	Highlights liquidity sweeps clearly.
     •	Built for readability and professional use — not another retail signal toy.
Cheat-Sheet Playbook 
1️⃣ Structure Bias 
     •	Above midpoint line = bullish intent.
     •	Below midpoint line = bearish intent.
     •	Chop around midpoint = no clear direction.
2️⃣ Liquidity Sweeps
     •	▲ Green up arrow below wick box = sell-side liquidity taken → watch for longs.
     •	▼ Red down arrow above wick box = buy-side liquidity taken → watch for shorts.
     •	First sweep is the cleanest.
3️⃣ Trade Logic
     •	Body box = where institutions transact.
     •	Wick box = liquidity traps.
     •	Midpoint = bias filter.
     •	Best setups occur when sweep + midpoint flip align.
4️⃣ Example (5m + 1H Overlay)
     1. ▲ Green up arrow prints below HTF wick.
     2. Price reclaims the body box.
     3. Midpoint flips to support.
     4. Enter long → stop below sweep → targets = midpoint first, opposite wick second.
In short:
     •	Boxes = structure
     •	Wicks = liquidity pools
     •	Midpoint = bias line
     •	Arrows = liquidity sweeps
This is your SMC edge on one chart — HTF structure and liquidity fused directly into your execution timeframe.
SMR - Simple Market Recap📊 Simple Market Recap (SMR) 
 🎯 A comprehensive market overview tool displaying price changes, percentage movements, and status indicators for multiple financial instruments across customizable timeframes with intelligent data synchronization. 
━━━━━━━━━━━━━━
 📋 OVERVIEW 
The Simple Market Recap indicator provides a professional market analysis dashboard that displays key performance metrics for major financial instruments. This educational tool features intelligent asset selection, automatic dark mode detection, comprehensive period analysis with bilingual support, and advanced data synchronization ensuring accurate price data regardless of the current chart symbol.
 Perfect for: 
 
 Market overview analysis and educational study
 Multi-asset performance comparison and research
 Weekly, daily, and monthly market recap visualization
 Educational purposes and market trend analysis
 
━━━━━━━━━━━━━━
 🚀 KEY FEATURES & ENHANCEMENTS 
 🌙 Intelligent Dark Mode Detection 
 
 Automatic chart background color analysis and adaptation
 Dynamic color scheme adjustment for optimal visibility
 Enhanced contrast ratios for both light and dark themes
 Professional appearance across all chart backgrounds
 
 📊 Comprehensive Asset Coverage 
 
 Major Forex Pairs:  EURUSD, GBPUSD, AUDUSD, NZDUSD, USDCHF, USDJPY, USDCAD
 Indices & Dollar:  DXY (US Dollar Index), SPX (S&P 500)
 Commodities:  XAUUSD (Gold), USOIL (Crude Oil)
 Bonds:  US10Y (10-Year Treasury)
 Cryptocurrencies:  BTCUSDT, ETHUSDT
 Selective asset display with individual on/off controls
 Fixed asset order: DXY, EURUSD, GBPUSD, AUDUSD, NZDUSD, USDCHF, USDCAD, USDJPY, XAUUSD, USOIL, SPX, US10Y, ETHUSDT, BTCUSDT
 
 ⏰ Flexible Timeframe Analysis 
 
 Multiple Periods:  Daily (1D), Weekly (1W), Monthly (1M)
 Time Selection:  Current Period or Previous Period analysis
 Dynamic Titles:  Automatic report naming with dates and periods
 Historical Comparison:  Compare current vs previous period performance
 
 📈 Enhanced Data Visualization 
 
 Professional table with adaptive row count based on selected assets
 Color-coded price movements: Enhanced green for positive, bright red for negative
 Status emojis: ↗️ Up, ↘️ Down, ↔️ Sideways, ❓ No data
 Smart price formatting based on asset type and price level
 Improved contrast colors for better visibility in all lighting conditions
 
 🔄 Advanced Data Synchronization 
 
 Symbol-Independent Accuracy:  Correct data display regardless of current chart symbol
 Real-Time Security Requests:  Direct data fetching from specific instrument sources
 Cross-Asset Reliability:  Accurate price data for all monitored assets simultaneously
 Data Integrity:  No cross-contamination between different financial instruments
 
━━━━━━━━━━━━━━
 🎨 PROFESSIONAL TABLE LAYOUT 
 Adaptive Design Features: 
 
 Automatic dark mode detection and color adaptation
 Enhanced contrast ratios for better readability
 Professional color scheme with clear data separation
 Responsive design for all screen sizes and themes
 
 Comprehensive Data Display: 
 
 Dynamic Title Row:  Period-specific report titles with dates
 Asset Column:  Selected financial instruments
 Open/Close Prices:  Period opening and closing values
 Change Percentage:  Color-coded performance indicators
 Pips Movement:  Precise pip calculations for each asset
 Status Indicators:  Visual emoji representations of trend direction
 
 Visual Design Features: 
 
 Merged title cells for clean header presentation
 Asset-specific price formatting for optimal readability
 Color-coded positive/negative movements
 Professional table borders and spacing
 
━━━━━━━━━━━━━━
 ⚙️ ADVANCED CUSTOMIZATION 
 Timeframe Controls: 
 
 Report Period selection: Daily, Weekly, or Monthly analysis
 Time Selection toggle: Current vs Previous period comparison
 Dynamic row count based on active asset selection
 Automatic title generation with period-specific formatting
 
 Asset Selection: 
 
 Individual toggle controls for each supported asset
 Major forex pairs with complete coverage
 Cryptocurrency and precious metals options
 Index and commodity instrument support
 
 Display Options: 
 
 9 table positioning options across the entire chart
 5 text size levels from Tiny to Huge for optimal visibility
 Language selection between English and Vietnamese
 Automatic theme adaptation for all chart backgrounds
 
━━━━━━━━━━━━━━
 ⚠️ EDUCATIONAL & ANALYTICAL PURPOSE 
This indicator is designed  exclusively for educational market analysis and research purposes .
 📚 Educational Applications: 
 
 Understanding multi-asset market performance correlation
 Studying period-based price movements and trends
 Analyzing market volatility across different timeframes
 Learning to read and interpret market recap data
 
 📊 Analysis Capabilities: 
 
 Market overview visualization for educational study
 Multi-timeframe performance comparison research
 Historical period analysis and trend identification
 Cross-asset correlation studies and market research
 
 🚨 Important Disclaimer:  This tool provides educational market data visualization only and does NOT generate trading signals or investment advice. All data is for learning and analysis purposes. Users must conduct independent research and consult financial professionals before making any investment decisions.
━━━━━━━━━━━━━━
 🛠️ SETUP & CONFIGURATION 
 Quick Start Guide: 
 
 Add the indicator to your chart from the indicators library
 Select your preferred language (English or Vietnamese)
 Choose your desired reporting timeframe (Daily, Weekly, or Monthly)
 Select Current Period or Previous Period for analysis
 Toggle on/off specific assets you want to monitor
 Adjust table position and text size for optimal viewing
 
 Advanced Configuration: 
 
 Customize asset selection based on your analysis needs
 Configure timeframe settings for different market studies
 Set up language preferences for your region
 Fine-tune display options for your screen setup
 Optimize table positioning for your chart layout
 
 Theme Optimization: 
 
 Indicator automatically detects your chart theme
 Colors adapt automatically for optimal contrast and readability
 No manual adjustments required for theme changes
 Professional appearance maintained across all backgrounds
 
━━━━━━━━━━━━━━
 🔧 TECHNICAL SPECIFICATIONS 
 Performance & Reliability: 
 
 Pine Script v6 with optimized data retrieval
 Real-time updates with minimal CPU and memory usage
 No repainting or lookahead bias in calculations
 Stable performance across all timeframes and instruments
 
 Universal Compatibility: 
 
 Works with all TradingView chart types and instruments
 Compatible with mobile and desktop platforms
 Supports all timeframes with period-specific analysis
 Cross-platform functionality with consistent behavior
 
 Data Precision: 
 
 High-precision floating-point calculations
 Asset-specific formatting and pip calculations
 Real-time price data from multiple exchanges
 Accurate percentage and movement calculations
 
 Advanced Features: 
 
 Automatic chart background detection and color adaptation
 Dynamic table sizing based on active asset selection
 Intelligent price formatting for different asset classes
 Professional status indicators with emoji visualization
 
━━━━━━━━━━━━━━
 📋 VERSION HISTORY 
 v1.7 - Enhanced Data Synchronization & Color Improvements 
 
 Fixed critical data synchronization issue - accurate data regardless of current chart symbol
 Enhanced data retrieval system with symbol-specific security requests
 Improved color scheme: brighter red for negative values, enhanced contrast
 Fixed asset order: DXY, EURUSD, GBPUSD, AUDUSD, NZDUSD, USDCHF, USDCAD, USDJPY, XAUUSD, USOIL, SPX, US10Y, ETHUSDT, BTCUSDT
 Optimized price formatting with proper decimal display and leading zeros
 Enhanced calendar-based time calculations for accurate period reporting
 Improved pip calculations for different asset classes
 Professional color coding with adaptive contrast for all themes
 
 Previous Versions: 
 
 v1.6 - Data accuracy improvements and bug fixes
 v1.5 - Enhanced market analysis with flexible timeframes
 v1.4 - Professional table layout and bilingual support
 Earlier versions - Core market data display functionality development
 
━━━━━━━━━━━━━━
 Author:  tohaitrieu  
 Version:  1.7  
 Category:  Market Analysis / Educational Overview  
 Language Support:  English, Vietnamese  
 License:  Educational Use Only
 This indicator is provided exclusively for educational and analytical purposes to help users understand market overview concepts and multi-asset analysis. It features automatic theme adaptation, flexible timeframe analysis, enhanced data synchronization, and comprehensive market data visualization for the most accurate and informative educational experience. It does not provide trading signals or investment advice. Always conduct thorough research and consider professional guidance before making financial decisions.
HTF Swing High and Low pivotsIndicator plots the swing high and low point from the chosen time frame. Solid lines are active levels, dashed lines are broken levels. Levels can be seen on low timeframes. Stack of levels act as a magnet for price to move to (not always, but most of the time). Look for reversals in these areas.
Quarterly Theory Markers[DarkKnightDrako] 
 Quarterly Theory Zones 
Grayscale Chart Color ( Background colors can be changed)
12PM - 12PM with Asia, London, NewYork AM, NewYork PM lines.
Trinity Multi-Timeframe MA TrendOriginal script can be found here: {Multi-Timeframe Trend Analysis  } www.tradingview.com
1. all credit the original author www.tradingview.com
2. why change this script: 
- added full transparency function to each EMA 
- changed to up and down arrows 
- change the dashboard to be able to resize and reposition
How to Use This Indicator
This indicator, "Trinity Multi-Timeframe MA Trend," is designed for TradingView and helps visualize Exponential Moving Average (EMA) trends across multiple timeframes. It plots EMAs on your chart, fills areas between them with directional colors (up or down), shows crossover/crossunder labels, and displays a dashboard table summarizing EMA directions (bullish ↑ or bearish ↓) for selected timeframes. It's useful for multi-timeframe analysis in trading strategies, like confirming trends before entries.
Configure Settings (via the Gear Icon on the Indicator Title):
Timeframes Group: Set up to 5 custom timeframes (e.g., "5" for 5 minutes, "60" for 1 hour). These determine the multi-timeframe analysis in the dashboard. Defaults: 5m, 15m, 1h, 4h, 5h.
EMA Group: Adjust the lengths of the 5 EMAs (defaults: 5, 10, 20, 50, 200). These are the moving averages plotted on the chart.
Colors (Inline "c"): Choose uptrend color (default: lime/green) and downtrend color (default: purple). These apply to plots, fills, labels, and dashboard cells.
Transparencies Group: Set transparency levels (0-100) for each EMA's plot and fill (0 = opaque, 100 = fully transparent). Defaults decrease from EMA1 (80) to EMA5 (0) for a gradient effect.
Dashboard Settings Group (newly added):
Dashboard Position: Select where the table appears (Top Right, Top Left, Bottom Right, Bottom Left).
Dashboard Size: Choose text size (Tiny, Small, Normal, Large, Huge) to scale the table for better visibility on crowded charts.
Understanding the Visuals:
EMA Plots: Five colored lines on the chart (EMA1 shortest, EMA5 longest). Color changes based on direction: uptrend (your selected up color) if rising, downtrend (down color) if falling.
Fills Between EMAs: Shaded areas between consecutive EMAs, colored and transparent based on the faster EMA's direction and your transparency settings.
Crossover Labels: Arrow labels (↑ for crossover/uptrend start, ↓ for crossunder/downtrend start) appear on the chart at EMA direction changes, with tooltips like "EMA1".
Dashboard Table (top-right by default):
Rows: EMA1 to EMA5 (with lengths shown).
Columns: Selected timeframes (converted to readable format, e.g., "5m", "1h").
Cells: ↑ (bullish/up) or ↓ (bearish/down) arrows, colored green/lime or purple based on trend, with fading transparency for visual hierarchy.
Use this to quickly check alignment across timeframes (e.g., all ↑ in multiple TFs might signal a strong uptrend).
Trading Tips:
Trend Confirmation: Look for alignment where most EMAs in higher timeframes are ↑ (bullish) or ↓ (bearish).
Entries/Exits: Use crossovers on the chart EMAs as signals, confirmed by the dashboard (e.g., enter long if lower TF EMA crosses up and higher TFs are aligned).
Customization: On lower timeframe charts, set dashboard timeframes to higher ones for top-down analysis. Adjust transparencies to avoid chart clutter.
Limitations: This is a trend-following tool; combine with volume, support/resistance, or other indicators. Backtest on historical data before live use.
Performance: Works best on trending markets; may whipsaw in sideways conditions.
DashBoard 2.3.1📌 Indicator Name:
DashBoard 2.3 – Smart Visual Market Overlay
📋 Description:
DashBoard 2.3 is a clean, efficient, and highly informative market overlay, designed to give you real-time context directly on your chart — without distractions. Whether you're swing trading or investing long-term, this tool keeps critical market data at your fingertips.
🔍 Key Features:
Symbol + Timeframe + Market Cap
Shows the current ticker and timeframe, optionally with real-time market cap.
ATR 14 with Volatility Signal
Displays ATR with color-coded risk levels:
🟢 Low
🟡 Moderate
🔴 High
⚫️ Extreme
You can choose between Daily ATR or timeframe-based ATR (auto-adjusted to chart resolution).
Adaptive Labeling
The ATR label updates to reflect the resolution:
ATR 14d (daily)
ATR 14W (weekly)
ATR 14H (hourly), etc.
Moving Average Tracker
Instantly shows whether price is above or below your selected moving average (e.g., 150 MA), with green/red indication.
Earnings Countdown
Clearly shows how many days remain until the next earnings report.
Industry & Sector Info (optional)
Useful for thematic or sector-based trading strategies.
Fully Customizable UI
Choose positioning, padding, font size, and which data to show. Designed for minimalism and clarity.
✅ Smart Logic:
Color dots appear only in relevant conditions (e.g., ATR color signals shown only on daily when enabled).
ATR display automatically reflects your time frame, if selected.
Clean chart integration – the overlay sits quietly in a corner, enhancing your analysis without intruding.
🧠 Ideal for:
Swing traders, position traders, and investors who want fast, high-impact insights directly from the chart.
Anyone looking for a compact, beautiful, and informative dashboard while they trade.
Xauusd DaudenIndicator for XAUUSD that values OB and FVG giving entry points for both purchases and sales in the NY and London sessions
Indicador para XAUUSD que valora los OB y FVG dando puntos de entrada tanto en compras como en ventas en las sesiones de NY y Londres
SATHYA SMA Signal)This indicator overlays 20, 50, and 200 Simple Moving Averages (SMAs) on the chart. It generates bullish signals when the 20 SMA crosses above the 200 SMA before the 50 SMA, with both above 200 SMA. Bearish signals occur when the 20 SMA crosses below the 200 SMA before the 50 SMA, with both below 200 SMA. Signals appear as distinct triangles on the chart, helping traders identify trend reversals based on systematic SMA crossovers and order of crossing.
Bull/Bear Thermometer - GSK-VIZAG-AP-INDIABull/Bear Thermometer - GSK-VIZAG-AP-INDIA
Overview
The Bull/Bear Thermometer is a visual volume-based indicator designed to gauge the cumulative buying (bullish) and selling (bearish) pressure over customization time intervals on any chart. It uses Cumulative Volume Delta (CVD) to track buying and selling dominance and visually represents this data as vertical bar meters with percentage scales.
Key Features
Multi-Time frame Accumulation: Allows users to select accumulation intervals - Daily, Weekly, or Monthly - adapting to their trading style and time frame.
Cumulative Volume Delta (CVD) Computation: Calculates the net buying and selling volume by comparing volume on bullish and bearish bars to measure market strength.
Visual Thermometer Display: Presents buying (CVD+) and selling (CVD-) dominance in colorful vertical bars on an easy-to-read table overlay on the price chart.
Percentage Scale with Highlights: Includes a percentage scale from 0% to 100%, highlighting the important 50% benchmark with a yellow line for quick reference.
Clear Color Coding: Uses green and red color schemes to represent bullish and bearish pressure, with distinctive numeric labels.
Customization Reset Points: Weekly reset day and Monthly reset date options ensure the accumulation aligns with user preference or trading strategy cycles.
Inputs and Usage
Select Time frame: Choose how the buying/selling volume is accumulated — Daily, Weekly (reset day configurable), or Monthly (reset date configurable).
Volume-Based Signals: Monitor changes in buying and selling pressure levels as the market tides shift.
Table Display: A table positioned at the bottom right corner overlays the price chart showing percentage bars for both buying and selling dominance.
Ideal for: Day traders, swing traders, and volume-focused market analysts who want a quick visual summary of market sentiment.
How It Works
The indicator tracks volume on each bar, assigning positive or negative values depending on whether the bar closes higher or lower than the previous.
It accumulates these values over the selected time frame to calculate the cumulative buying (green) and selling (red) volumes.
The data is then converted to percentages and mapped as vertical colored bars in the table.
The midpoint (50%) is highlighted with a yellow line, helping traders quickly assess bullish/bearish balance.
Why Use This Indicator?
Simplicity: Easy to interpret visual thermometer of market sentiment.
Customization: Flexible period settings align with different trading styles.
Volume Insight: Goes beyond price action, factoring volume momentum for deeper market understanding.
Non-intrusive Overlay: Displayed neatly on chart without clutter or distraction.
Recommended Pairings
Use alongside price action or trend indicators.
Suitable for equities, futures, forex, and crypto instruments where volume data is reliable.
Hammer Candle Detector with ATR Wick ConditionThis script detects Hammer candlesticks on any timeframe chart.
Conditions for a valid Hammer:
   1. Small body near the top of the candle range (≤30% of total range)
   2. Lower shadow at least 2× the body
   3. Small or no upper shadow (≤30% of body)
   4. Lower wick height must be greater than half of ATR(14)
   A triangle marker is plotted below each candle that meets these conditions.
Auto Hourly Deviations {Module+}Description
 
This indicator automatically calculates and visualizes the prior hour’s price structure and its deviation levels. By combining core reference lines (high, low, EQ, quarters, open) with dynamic deviation levels and shaded zones, it provides a framework for understanding intraday price behavior relative to the most recent hourly range.
 The tool has three functional sections that work together: 
 
 Core Hourly Structure – Captures the prior hour’s high, low, EQ (50%), and quarter levels (25% and 75%), plus the current open.
 Deviation Levels – Projects standardized deviation multiples (±0.33, ±0.5, ±0.66, ±1.0, ±1.33, ±1.66, ±2.0) above and below the prior hour’s range.
 Shading & Anchoring – Fills zones between key deviation levels for visual emphasis, while allowing projection offsets and anchor line references for precise chart alignment.
 
Together, these layers give traders a structured map of price movement around hourly ranges, making it easier to track expansion, retracement, and trend continuation.
 1. Core Hourly Structure 
 
 Plots the prior hour’s high and low as key reference points.
 Automatically calculates EQ (midpoint), 25%, and 75% levels.
 Tracks the open of the current hour for immediate orientation.
 Optional anchor line marks the start of each hourly window for time alignment.
 
 Use:  Frames the “hourly box” and subdivides it for intraday structure analysis.
 2. Deviation Levels 
 
 Uses the prior hour’s range as a baseline.
 Projects deviation levels above and below: ±0.33, ±0.5, ±0.66, ±1.0, ±1.33, ±1.66, and ±2.0.
 Each level can be individually toggled with full line/label styling.
 
 Use:  Quantifies how far price is moving relative to the last hour’s volatility — useful for spotting overextensions, retraces, and probable reaction zones.
 3. Shading & Anchoring 
 
 Shaded zones between selected deviation bands (e.g., +0.33 to +0.66 or +1.33 to +1.66) highlight potential liquidity or reaction areas.
 Projection offsets allow levels to extend forward into future bars for planning.
 Labels and color controls make the chart highly customizable.
 
 Use:  Provides quick visual cues for potential trading ranges and deviations without clutter.
 Intended Use 
This is a visualization tool, not a buy/sell system. Traders can use it to:
 
 Track how price interacts with the prior hour’s high/low.
 Measure hourly expansion through deviation levels.
 Spot retracements or continuation zones inside and beyond the prior hour’s range.
 
 Limitations & Disclaimers 
 
 Levels are derived from completed hourly candles; they do not predict outcomes.
 Deviations are static calculations and do not account for fundamentals or volatility shifts.
 This indicator does not provide financial advice or trading signals.
 For informational and educational purposes only.
 Trading involves risk; always apply proper risk management.
 
 Closed-source (Protected):  Logic is accessible on charts, but the source code is hidden. A TradingView paid plan is required for protected indicators.
FrameBox — Configurable Timeframe Candle GroupsVisualize candle clusters with configurable timeframe boxes and numeric counts. Perfect for high timeframe (HTF) analysis, spotting consolidation zones, and tracking bullish/bearish periods across any chart.
 
 Highlight periods of any configurable timeframe with colored boxes
 Numeric labels show candle positions within each period
 Retains previous periods for context and trend analysis
 Ideal for HTF analysis on lower timeframe charts
 Clean, non-intrusive, and easy to read
 
 How to Use: 
 
 Set your Reference Timeframe:  Select the higher timeframe (HTF) you want to analyze. FrameBox will group lower timeframe (LTF) candles into periods that match the selected HTF, giving you higher timeframe context on your chart. 
 Read the Candle Numbers:  Each candle shows its position in the period. For example, "1" is the first candle, "5" is the fifth candle in a 5-candle period.
 Observe the Boxes:  Colored boxes highlight each period. Green = bullish period (close ≥ open), Red = bearish period (close < open). Use these boxes to spot trend direction and consolidation zones.
 HTF Analysis:  FrameBox works even on lower timeframe charts. Compare the period boxes to higher timeframe trends to make better decisions.
 Context & Strategy:  Retained previous periods give visual context for support/resistance. Use this to identify breakouts, reversals, or consolidation areas.
 Important Note:  FrameBox works best when the chart timeframe is equal to or lower than the selected reference timeframe. If the chart timeframe is higher than the reference timeframe, each chart candle will represent an entire period, and candle counting may show "1" for each candle.
 
BTC Spread: Coinbase Spot vs CME Futures (skullcap)BTC Spread: Coinbase Spot vs CME Futures
This indicator plots the real-time spread between Coinbase Spot BTC (COINBASE:BTCUSD) and CME Bitcoin Futures (CME:BTC1!).
It allows traders to monitor the premium or discount between spot and futures markets directly in one chart.
⸻
📊 How it Works
	•	The script pulls Coinbase spot BTC closing prices and CME front-month BTC futures prices on your selected timeframe.
	•	The spread is calculated as:
Spread = CME Price – Coinbase Spot Price
🔧 How to Use
	1.	Add the indicator to your chart (set to any timeframe you prefer).
	2.	The orange line represents the spread (USD difference).
	3.	The grey dashed line marks the zero level (parity between CME and Coinbase).
	4.	Use it to:
	•	Compare futures vs. spot market structure
	•	Track premium/discount cycles around funding or expiry
	•	Identify arbitrage opportunities or market dislocations
⸻
⚠️ Notes
	•	This indicator is informational only and does not provide trading signals.
	•	Useful for traders analysing derivatives vs spot price action.
	•	Works best when paired with order flow, funding rate, and open interest data.
US Net Liquidity + M2 / US Debt (FRED)US Net Liquidity + M2 / US Debt
🧩 What this chart shows
This indicator plots the ratio of US Net Liquidity + M2 Money Supply divided by Total Public Debt.
US Net Liquidity is defined here as the Federal Reserve Balance Sheet (WALCL) minus the Treasury General Account (TGA) and the Overnight Reverse Repo facility (ON RRP).
M2 Money Supply represents the broad pool of liquid money circulating in the economy.
US Debt uses the Federal Government’s total outstanding debt.
By combining net liquidity with M2, then dividing by total debt, this chart provides a structural view of how much monetary “fuel” is in the system relative to the size of the federal debt load.
🧮 Formula
Ratio
=
(
Fed Balance Sheet
−
(
TGA
+
ON RRP
)
)
+
M2
Total Public Debt
Ratio=
Total Public Debt
(Fed Balance Sheet−(TGA+ON RRP))+M2
	
An optional normalization feature scales the ratio to start at 100 on the first valid bar, making long-term trends easier to compare.
🔎 Why it matters
Liquidity vs. Debt Growth: The numerator (Net Liquidity + M2) captures the monetary resources available to markets, while the denominator (Debt) reflects the expanding obligation of the federal government.
Market Signal: Historically, shifts in net liquidity and money supply relative to debt have coincided with major turning points in risk assets like equities and Bitcoin.
Context: A rising ratio may suggest that liquidity conditions are improving relative to debt expansion, which can be supportive for risk assets. Conversely, a falling ratio may highlight tightening conditions or debt outpacing liquidity growth.
⚙️ How to use it
Overlay this chart against S&P 500, Bitcoin, or gold to analyze correlations with asset performance.
Watch for trend inflections—does the ratio bottom before equities rally, or peak before risk-off periods?
Use normalization for long historical comparisons, or raw values to see the absolute ratio.
📊 Data sources
This indicator pulls from FRED (Federal Reserve Economic Data) tickers available in TradingView:
WALCL: Fed balance sheet
RRPONTSYD: Overnight Reverse Repo
WTREGEN: Treasury General Account
M2SL: M2 money stock
GFDEBTN: Total federal public debt
⚠️ Notes
Some FRED series are updated weekly, others monthly—set your chart timeframe accordingly.
If any ticker is unavailable in your plan, replace it with the equivalent FRED symbol provided in TradingView.
This indicator is intended for macro analysis, not short-term trading signals.






















