SMMA Multi-Timeframe-11, 21Is Script ki Khoobiyan:
Custom Inputs: Aap indicator ki settings mein jaakar 11 aur 21 ki jagah koi bhi number daal sakte hain bina code chhede.
Visual Crossover: Jab 11-period SMMA (Blue) 21-period SMMA (Red) ko upar ki taraf cross karega, to chart par ek Green Triangle dikhega.
Smoothing: SMMA normal Moving Average se zyada "smooth" hota hai, isliye ye noise ko kam karta hai.
Fixed Timeframe SMMA: Isme Orange rang ki ek moti line (linewidth 3) dikhegi. Ye hamesha 15 minute ka SMMA 21 calculate karegi.
Visual Clarity: * Blue: SMMA 11 (Aapke current chart ka)
Red: SMMA 21 (Aapke current chart ka)
Orange (Moti Line): SMMA 21 (Sirf 15-Minute chart ka)
Ek Zaruri Baat:
Jab aap 15-minute se bade timeframe par honge (jaise 1-hour ya Daily), toh 15-min ki line thodi "zigzag" ya seedhi dikh sakti hai kyunki bade timeframe ke ek candle mein 15-min ki kai candles hoti hain. Ye bilkul normal hai.
Kya aap isme koi specific Buy/Sell Signal set karna chahte hain jo tabhi trigger ho jab price is 15-min wali line ke upar ho?
Educational
Custom EMA Ribbon Pro🌊 Custom EMA Ribbon Pro 🌊
The Ultimate Trend-Following System | Now with Dynamic Cloud Technology 🚀
Stop guessing the trend and start seeing it. The Custom EMA Ribbon Pro is a precision-engineered trading system that transforms standard moving averages into a vibrant, dynamic "Cloud." It is designed to filter out noise, visualize momentum, and help you catch massive trends on any timeframe. 🧘♂️✨
🌟 What makes this "Pro"?
This isn't just a set of lines—it’s a complete Visual Ecosystem.
We have upgraded the classic ribbon with a Dynamic Fill Algorithm that creates a glowing "Cloud" between the lines. This allows you to instantly gauge trend strength just by looking at the intensity of the color on your chart.
⚡ Key Features
🎀 8-Strand Precision: Uses 8 distinct EMAs, to show the full "Flow" of price action.
🌫️ Dynamic Cloud Fill: (NEW!) Toggleable background glow that fills the ribbon.
Green Glow: Strong Bullish Momentum 🟢
Red Glow: Strong Bearish Momentum 🔴
Note: The fill opacity is optimized to pop on dark themes while keeping price action visible!
🕯️ Trend-Based Bar Coloring: Optional feature to paint your candlesticks Green or Red based on the ribbon's direction. never trade against the trend again!
🔔 Integrated Alerts: Never miss a move. Set instant alarms for:
Bullish Cross: When the fast band crosses above the slow band.
Bearish Cross: When the fast band crosses below the slow band.
---
🛠️ How to Trade
1. The Expansion: Watch for the Ribbon (Cloud) to expand and glow bright. This indicates a high-momentum trend is active.
2. The Pullback: In a strong trend, price often pulls back into the "Cloud." This is your dynamic support/resistance zone for entries! 🎯
3. The Twist: When the Green Cloud twists and turns Red (or vice versa), it signals a potential major trend reversal.
---
⚙️ Fully Customizable
Toggle Everything: Turn the Cloud Fill, Bar Colors, or specific lines On/Off to suit your style.
Tooltips Included: Hover over any setting in the menu for a detailed explanation of what it does.
---
🔒 Invite-Only Access
This is a premium Invite-Only script.
To gain access to the Custom EMA Ribbon Pro:
📩 DM me here on TradingView for access.
See the flow. Trade the flow. 🌊📈
---
Disclaimer: Trading involves risk. This tool is for educational and analytical purposes only and does not constitute financial advice.
Ultras ADX Heat (Strength Gradient)Ultras ADX Heat (Strength Gradient) — Description
Ultras ADX Heat is a lower-pane ADX visualizer that turns raw ADX values into a strength “heat map”.
What it measures
ADX (Average Directional Index) measures trend strength on a 0–100 scale.
ADX does not tell direction (bull/bear) — only how strong the current directional movement is.
How to read the gradient
This indicator colors the ADX area using a gradient:
Red (weak) = low ADX → market is often choppy / range-bound
Blending red → teal = strength building → trend becoming more tradable
Teal (strong) = high ADX → strong trend strength (can also mean you’re late; pullbacks can be sharp)
Key levels
By default the gradient is mapped between:
20 = “trend starting / tradable” zone
40 = “strong trend” zone
You’ll see dotted horizontal lines at these levels to quickly spot when the market shifts from chop → trend.
Best use
Use this as a regime filter:
Favor strategies that trend-follow when ADX is above ~20
Avoid or tighten rules when ADX is below ~20
Inputs
ADX Length / Smoothing: controls the ADX calculation.
Weak → Strong Start / End: defines where the gradient begins (weak) and reaches full strength (strong).
Typical defaults: 20 → 40
Weak/Strong Colors: customize gradient endpoints.
Fill / Outline settings: control how bold the heat map appears.
Edgecraft - Volume SurgeEdgecraft — Volume Surge highlights moments when trading activity meaningfully increases, by flagging candles where volume exceeds a user-defined percentage of the recent average. A sudden rise in volume often signals that participation has changed — more traders are involved, liquidity is improving, and price action may be transitioning from “noise” to “decision.”
⸻
What it does
At its core, this script compares the current candle’s volume to the average volume over a lookback period and triggers when that candle reaches your chosen threshold (example: 150%, 185%, 250%, etc.). When a surge happens, the indicator plots a marker and can also trigger alerts.
⸻
What problem it solves
A breakout, breakdown, or reversal that occurs on weak participation can fail quickly. This tool helps you quickly answer:
• “Is this move attracting real attention?”
• “Is volume expanding in the direction of price?”
Rather than trying to “predict,” it gives you a participation filter to support better decision-making.
⸻
How it helps your decision process
• Helps you start thinking in a top-down way: Price + Participation
• Makes it easier to spot when the market is actually “awake”
• Reduces confusion from random intraday wiggles by focusing on meaningful activity
• Adds a clean confirmation layer to breakouts, breakdowns, ORB moves, trend continuation, and reversals
• Helps identify when liquidity/attention returns after consolidation
• Useful as a “trigger condition” for scanners and alerts without needing heavy overlays
⸻
Key features
• Custom Volume Surge Threshold (%)
Choose exactly what “surge” means to you: 150%, 185%, 250%, etc.
• Volume Average Length
Control how sensitive the baseline is by adjusting the averaging period.
• Direction Filter (Any / Bullish / Bearish)
Only show surges aligned with candle direction if you want cleaner signals.
• RTH Filter (Exchange Time)
Optionally restrict signals to Regular Trading Hours to avoid thin-liquidity noise.
• Minimal chart markers
Diamond markers appear only when the conditions are met. Clean by design.
⸻
Alert system
The script provides two alert conditions:
• Bullish Volume Surge
• Bearish Volume Surge
This makes it easy to create alerts that match your trading bias:
• set separate notification tones,
• route them to different webhooks,
• or use them for different trade plans.
⸻
How to use it
• Breakout confirmation: A breakout with a bullish surge signal suggests stronger participation.
• Breakdown confirmation: A bearish surge signal can help validate downside continuation.
• Reversal check: If price flips but volume doesn’t expand, you may treat the move as lower quality.
• Intraday focus: Enable RTH filtering to prioritize higher-quality market hours.
⸻
Edgecraft tools aim to stay simple, readable, and decision-focused — giving traders clearer context without turning the chart into a dashboard. If you find this useful, give us a like! Look for more releases from Edgecraft Indicators soon.
Ultimate Trade By MJ1. Core Concept
This is a professional Trend-Following system designed to filter out market noise and capture high-probability moves. It uses a proprietary "Trend Anchor" line combined with a dynamic "Volatility Cloud" to determine trade entries.
2. Visual Components
The Trend Anchor (Center Line):
This line represents the "fair value" of the market.
Green: The market bias is Bullish (Up).
Red: The market bias is Bearish (Down).
The Cloud (Bands):
These are the shaded zones around the Trend Anchor. They expand and contract based on market activity.
Function: The Cloud acts as a "Safe Zone." As long as price is stuck inside the cloud, the market is considered choppy/ranging (No Trade Zone).
3. The "Cloud Breakout" Strategy
This strategy prevents you from entering too early or too late. It requires momentum to break through the Cloud barrier before signaling a trade.
🟢 BUY Signal Rules:
Trend Check: The Center Line must be Green.
The Breakout: A candle must close ABOVE the top of the Previous Cloud.
Logic: We compare against the previous bar's cloud to ensure a true breakout has occurred.
Exit/Stop Loss: The Stop Loss is automatically calculated at the bottom of the Cloud (the invalidation point).
🔴 SELL Signal Rules:
Trend Check: The Center Line must be Red.
The Breakout: A candle must close BELOW the bottom of the Previous Cloud.
Exit/Stop Loss: The Stop Loss is automatically calculated at the top of the Cloud.
4. Re-Entry Signals (Triangles)
Once a trend is established, the system looks for "pullbacks" to add to the position.
Green Triangle: Price dipped into the cloud but found support and bounced back up. (Buy the Dip).
Red Triangle: Price rallied into the cloud but hit resistance and dropped back down. (Sell the Rally).
[HM Trades]🔥 HM Trades X Pro - Exclusive for HM Trades Members
The Ultimate All-in-One HM Trades X Trading Indicator
After months of development and real-market testing, I'm proud to release the most comprehensive exclusively for HM Trades Academy members.
⚡ Core Features:
📊 OPC (Opposing Candle) Detection
Automatic bullish/bearish OPC level identification
Real-time market bias tracking (OPC+ / OPC-)
Smart level completion detection with visual styling
📈 Fair Value Gaps (FVG)
Dynamic shrinking FVGs that adjust in real-time
Midline visualization for precision entries
Customizable colors for bullish/bearish gaps
🕯️ HTF Candles Panel
Auto-aligned Higher Timeframe candles on your chart
Dual HTF display: Custom TF + Fixed Daily
Live countdown timer for each HTF candle
OHLC price labels & projection lines
Stetson IndicatorManual Rays if wanted, 18-3 Asian Session for Chicago Time, 2-7 for London Time, and 1,2,3,5 Minute unmitigated FVGs.
KCP TEMA 20 & VWAP Trend [Dr.K.C.Prakash]This indicator plots TEMA 20 High and Low lines to show fast-reacting dynamic support and resistance, with VWAP displayed as an intraday reference. It helps identify short-term trend direction and price strength relative to volume-weighted levels.
Edgecraft Indicators - ADR + ATR + Daily H/LEdgecraft ATR + ADR + Daily H/L is a simple “heads-up display” for one thing many traders overlook: context.
Instead of guessing whether today is a normal day or a stretched day, this indicator shows you (in a small strip on your chart):
• ATR (Average True Range) – how much this market typically moves per day (including gaps).
• ADR (Average Daily Range) – how much the market typically moves from the daily high to the daily low.
• Daily High / Daily Low – today’s running high and low, even if you’re on a lower timeframe chart.
• Exhaustion alert (emoji) – a visual warning when today’s range is unusually large compared to its average.
This is designed to work on any timeframe (1m, 5m, 15m, 1H, etc.) while still giving you daily-level context.
⸻
Why ATR and ADR matter
If you’re new to these terms, here’s the simple idea:
Markets don’t move the same distance every day. Some days are calm and tight. Other days are wild and stretched.
ATR and ADR help you measure what “normal” looks like, so you can avoid making decisions based on emotion or noise.
ATR (Average True Range)
Think of ATR as the market’s “typical daily movement,” including gaps.
It helps answer questions like:
• “Is this move big for this stock, or just normal behavior?”
• “Am I expecting too much (or too little) from today?”
ADR (Average Daily Range)
ADR is the average distance between the daily high and daily low.
It’s a great “how much room is left?” tool during the session.
⸻
How traders use this (top-down usefulness)
This tool is intentionally lightweight, but it solves big problems:
1) Avoid chasing late moves
If today’s range is already very large vs its typical range, chasing breakouts can become lower probability.
The indicator can help you recognize when a move may already be “spent.”
2) Improve risk and stop placement
Knowing typical daily movement helps you avoid placing stops unrealistically tight (easy to get shaken out), or unrealistically wide (too much risk).
It’s not telling you where to put stops — it’s giving you context so your decisions match the instrument.
3) Set realistic targets
If a stock typically moves ~$3 per day and it’s already moved ~$2.80 today, expecting another huge push may be less likely without a catalyst.
This indicator helps you calibrate expectations.
4) Understand the day you’re trading
Many traders struggle because they trade every day the same way.
This HUD helps you quickly determine:
• Is today normal?
• Is today compressed (quiet / coiled)?
• Is today extended (big range already printed)?
⸻
Exhaustion emoji: what it means
When the indicator shows the emoji, it means:
Today’s current Daily Range ÷ ADR is above your threshold.
In other words, today’s movement is large compared to what’s typical.
This can be useful as a caution flag:
• avoid adding late
• be mindful of “mean reversion” risk
• tighten management if you’re already in a trade
You can adjust the threshold in settings to match your style.
⸻
Customization
• Move the HUD to any corner (Vertical/Horizontal settings)
• Adjust text size
• Toggle the HUD on/off
• Toggle the exhaustion emoji on/off
• Change the emoji character
⸻
Final note
This indicator doesn’t generate buy/sell signals. It’s meant to be a context tool — a steady reference point that helps your decisions become more consistent.
If you find this helpful, give this indicator a like and keep an eye out for more tools from Edgecraft Indicators in the future!
PSP/PC [Pro+] | SoMiLPSP/PC | SoMiL — Precision Swing Points & Precision Candles
Multi-asset divergence & concordance tool: highlights Precision Candles or Precision Swing Points across correlated dyads/triads. Auto presets (futures/CFD aware) + powerful manual dyad/triad setup and DXY/inversion control.
🔥 WHAT MAKES PSP/PC UNIQUE?
🎯 INTELLIGENT AUTO-DETECTION
Zero Setup Required: Load any chart—the script instantly identifies your asset type and selects optimal correlated pairs!
Broker-Agnostic Design: Works flawlessly with OANDA, Capital.com, Vantage, Pepperstone, IC Markets, Tickmill, BlackBull, FXPro , and more!
Smart Symbol Resolution: Automatically converts between futures contracts and CFDs—no manual adjustments needed!
📊 DUAL OPERATIONAL MODES
🔍 Precision Candles Mode: Highlights EVERY divergence candle for maximum market awareness
🎯 Precision Swing Point Mode: Focuses ONLY on divergence at significant swing points (higher-probability setups)
⚡ADVANCED MANUAL CONFIGURATION
Custom Dyads & Triads: Create up to 4 manual dyads and 4 triads with independent inversion controls
Flexible Correlation Rules: Define your own asset relationships with granular control
Smart Match Detection: Automatically finds your current chart within configured setups
🌐 COMPREHENSIVE MARKET COVERAGE
📈 EQUITY INDICES
Futures! Preset: Complete futures coverage (NQ/ES/YM/RTY/M2K and micro contracts)
Indices Triad: Nasdaq ↔ S&P 500 ↔ Dow Jones correlation
YM/RTY: Russell 2000 ↔ Dow Jones specialized analysis
Multi-Broker CFD Support: Automatic symbol translation across all major providers
💵 FOREX MARKETS
Forex Triad: EURUSD ↔ GBPUSD ↔ DXY (with intelligent DXY inversion)
UJ/UC/DXY Triad: USDJPY ↔ USDCHF ↔ DXY (no inversion needed)
Forex Dyad: USDJPY ↔ USDCHF direct correlation
🥇 PRECIOUS METALS
Metals Dyad: Gold (XAU/GC) ↔ Silver (XAG/SI) correlation
Metals Triad: Multi-currency exposure analysis (USD/EUR/GBP)
⚡ ENERGY & CRYPTO
Energy Triad: Crude Oil ↔ RBOB Gasoline ↔ Heating Oil
Crypto Major: Bitcoin ↔ Ethereum correlation
🛠 REVOLUTIONARY MANUAL MODE
🎛 ULTIMATE FLEXIBILITY
Create your own custom correlation setups with unprecedented control:
🔹 4 CUSTOM DYADS
Pair any two assets with independent inversion controls
Perfect for custom spread trading strategies
Visualize relationships between unrelated markets
🔹 4 CUSTOM TRIADS
Link three assets in complex correlation webs
Individual inversion settings for each relationship
Ideal for sophisticated intermarket analysis
🔹 SMART CONFIGURATION
Enable/disable setups as needed
The script automatically detects which setup matches your current chart
No need to manually switch between configurations
🎨 VISUAL MASTERY
COLOR-CODED SIGNAL SYSTEM
🟢 Bullish Divergence: Subtle green tones for bullish reversal signals
🔴 Bearish Divergence: Warm red shades for bearish reversal signals
Dual Marker System: Circle shapes + bar coloring for maximum visibility
INTELLIGENT PLACEMENT
Above/Below Bar Markers: Clean, non-intrusive signal placement
Swing Point Offset: PSP mode perfectly aligns with pivot points
Dynamic Color Coding: Immediate visual recognition of signal type
📖 QUICK START GUIDE
1️⃣ INSTANT STARTUP
▶Add script to any chart
▶Watch automatic asset detection in action
▶See immediate divergence highlights—no configuration needed!
2️⃣ PRESET SELECTION
Auto: Let the script choose the optimal preset
Futures!: Complete futures indices coverage
Indices Triad: Major US equity indices correlation
Forex/Metals/Energy/Crypto: Specialized market presets
Manual: Unleash custom correlation power
3️⃣ MODE SELECTION
Precision Candles: See all divergence opportunities
Precision Swing Points: Focus on high-probability setups at key levels
4️⃣ ADVANCED CUSTOMIZATION
▶ Manual Dyads: Create custom two-asset correlations
▶ Manual Triads: Build complex three-asset relationships
▶ Inversion Controls: Fine-tune correlation direction
Disclaimer: This tool is for educational and informational purposes. Past performance does not guarantee future results. Always practice proper risk management and trade responsibly.
Feeno.io [LIQUIDITY + TRENDLINE]See the market through the lens of AI. Our algorithm filters out the noise to show you the high-probability path hidden in the charts.
XAUUSD - Scalping [ChartCode]📈 HOW TO TRADE
*XAUUSD – Scalping *
This is a **rule-based intraday scalping system** built on:
* Trend + Correlation
* VWAP positioning
* Institutional candles
* Volume confirmation
Best for **XAUUSD (Gold)** on **M5 / M15**.
---
⏰ BEST TRADING SESSIONS
Trade ONLY during **high-liquidity hours**:
* **London Session**
* **New York Session**
❌ Avoid Asian session (low volatility for Gold)
---
🟢 BUY (LONG) SETUP
You buy **ONLY when ALL conditions align**:
1️⃣ Trend Confirmation (Top Label)
* Label shows: **BULLISH (CONFIRMED)**
* Meaning:
* Price > EMA 20 > EMA 50
* DXY is weak (Dollar falling)
2️⃣ VWAP Position
* Price is **above VWAP**
* VWAP acting as **support**
3️⃣ EMA Alignment
* EMA 9 > EMA 20 > EMA 50
* Clean bullish structure (no crossing mess)
4️⃣ Institutional Candle (Yellow Border)
* Bullish candle
* Appears near:
* VWAP
* EMA 20 / EMA 50
* Shows **smart money entry**
5️⃣ Volume Confirmation
* Blue background appears
* Means **above-average volume**
6️⃣ Correlation Filter
* Correlation label is **negative**
* Ideally: `Corr < -0.3`
* Confirms **Gold ↑ when DXY ↓**
---
🔔 ENTRY
* Enter **BUY at candle close**
* Or on **VWAP retest dot (green circle)**
---
🛑 STOP LOSS
* Below:
* VWAP **OR**
* Institutional candle low
* Typical SL: **5–8 points (Gold scalping)**
---
🎯 TARGET
* First target: **+1R**
* Second target:
* Previous high
* Or trail using EMA 9
---
🔴 SELL (SHORT) SETUP
Exact opposite rules 👇
Conditions:
* **BEARISH (CONFIRMED)** label
* Price **below VWAP**
* EMA 9 < EMA 20 < EMA 50
* Bearish institutional candle
* High volume (blue background)
* Correlation negative
* Red triangle or VWAP retest dot
---
🛑 STOP LOSS
* Above VWAP or institutional candle high
---
🎯 TARGET
* Previous low
* Or trail using EMA 9
---
❌ WHEN NOT TO TRADE
* Trend label shows **RANGE / NO CONFIRM**
* Price chopping around VWAP
* Correlation close to `0`
* Low volume (no blue background)
* News time (USD CPI, NFP, FOMC)
---
🧠 RISK MANAGEMENT (VERY IMPORTANT)
* Risk **max 1% per trade**
* Max **2–3 trades per session**
* Skip trades after **2 losses**
---
🔥 PRO TIP (Edge Booster)
Best trades happen when:
* London high or low is broken
* VWAP retest happens with volume
* DXY makes opposite structure
That’s where **institutions step in**.
[FNOTrader] Trend Identifier Trend Identifier using Adaptive MA
What is Adaptive MA in simple words?
Adaptive MA as name suggests uses dynamic moving average that changes its sensitivity based on market conditions.
In strong trending markets → it becomes faster, stays close to price
In sideways or choppy markets → it becomes slower, filters noise
Think of Adaptive MA as:
“A moving average that understands when to react and when to wait.”
That’s why it works extremely well as a trend identifier, not just a crossover indicator.
| Problem with traditional MAs | How Adaptive MA helps |
| ------------------------------------------------------| -------------------------------- |
| EMA reacts too fast in range | Adaptive MA slows down |
| SMA reacts too slowly in trends | Adaptive MA speeds up |
| Frequent whipsaws | Noise-adaptive smoothing |
| Manual parameter tuning | Market-driven adaptation |
How to use Adaptive MA as a Trend Identifier
1. Directional Bias (Primary Use)
-------------------------------------------------------------
Rules:
Bullish Trend
Price consistently above Adaptive MA
Adaptive MA is sloping upward
Pullbacks respect the Adaptive MA
Bearish Trend
Price consistently below Adaptive MA
Adaptive MA is sloping downward
Pullbacks fail near the Adaptive MA
👉 Trading Bias
Price above Adaptive MA → only long trades or bullish option structures
Price below Adaptive MA → only short trades or bearish option structures
Flat Adaptive MA → avoid directional trades
2. Trend Strength via Adaptive MA Slope
--------------------------------------------------------------
Slope Interpretation:
Steep slope
Strong directional momentum
Trend-following trades perform well
Option buying or directional spreads preferred
Moderate slope
Healthy but controlled trend
Pullback-based entries work best
Flat Adaptive MA
Range-bound or indecisive market
Directional strategies lose edge
Focus on non-directional or theta strategies
3. Adaptive MA as Dynamic Support & Resistance
----------------------------------------------------------------------
In trending markets, Adaptive MA behaves like a dynamic support or resistance line.
In uptrends → Adaptive MA acts as support
In downtrends → Adaptive MA acts as resistance
Usage:
Look for long entries near Adaptive MA in an uptrend
Look for short entries near Adaptive MA in a downtrend
Exit or reduce exposure if price closes decisively on the opposite side
This helps remove emotional entries and late chasing.
MCX Silver Cross-Market Price Normalization MCX–COMEX Silver Relative Value Normalization
This indicator presents an educational relative-value normalization framework for analyzing Indian MCX Silver prices in a global context.
Rather than plotting raw price spreads or performing direct arbitrage calculations, the script focuses on structural price normalization to study how domestic futures pricing deviates from internationally quoted silver prices after accounting for unit and currency differences.
Conceptual Framework
Silver is traded across different markets using different currencies and contract units, which makes direct price comparison misleading.
This script addresses that issue through a three-stage normalization process.
1. Contract Unit Standardization
Indian MCX Silver is quoted in ₹/kg, while global COMEX Silver is quoted in $/oz.
The indicator standardizes domestic pricing into global units using a fixed physical conversion factor.
2. Currency Translation Layer
After unit normalization, prices are translated into a common currency reference.
This step isolates currency effects so that relative price behavior can be studied independently of FX movement.
3. Relative Deviation Measurement
The final output expresses the percentage deviation between:
The normalized domestic silver price
The internationally referenced silver price
This produces a dimensionless relative-value metric, enabling comparison across timeframes and market regimes.
Interpretation Guidelines
Positive values reflect periods where domestic pricing expands relative to global parity
Negative values reflect periods of domestic price compression
Extended deviations may highlight temporary dislocations caused by:
Liquidity differences
Session timing gaps
Currency volatility
Local supply-demand dynamics
The indicator is intended to highlight context, not to generate buy or sell signals.
Analytical Use Cases
Studying relative pricing behavior in MCX Silver futures
Observing structural overextension or compression in domestic pricing
Educational analysis of cross-market normalization techniques
Evaluating how currency movement interacts with local commodity pricing
Important Clarifications
This script is not an arbitrage tool
It does not provide trading signals
It does not predict future prices
Designed for educational and analytical purposes only
Why the Source Is Protected
The protected source reflects a specific normalization methodology and analytical structure intended for educational study of cross-market price behavior.
The goal is to preserve the integrity of this framework while allowing users to interpret its outputs visually.
Recommended Application
Apply the indicator on MCX Silver charts and interpret results alongside price action, volume, and broader market context.
RSI PROMAX by joshRSI PROMAX is an all-in-one technical analysis indicator designed for educational and experimental use, combining multiple RSI-style engines with trend confirmation, momentum/power filtering, divergence visualization, and customizable UI/visual themes.
This script helps users study trend direction, momentum shifts, and potential reversal behavior across different market conditions by switching between multiple calculation modes and layered signal types.
Key Components
1) Multi-Engine Oscillator System
You can select different engines depending on your preference and market style:
Standard RSI (Classic)
Laguerre RSI
Connors RSI
Stochastic RSI
Money Flow Index (MFI)
Traders Dynamic Index (TDI)
MACD (MT5 Style)
Each engine displays a main value line (and when applicable, a signal line + dynamic bands).
2) Dual Trend Filter (Two-Layer Trend Logic)
This indicator uses EMA layers to confirm direction:
EMA 200 = Main/Grand Trend filter
EMA 50 = Fast trend filter (independent faster signals)
This helps reduce counter-trend signals and separates Main vs Fast setups.
3) Momentum + Trend Strength Filters
Optional filters to improve signal quality:
Momentum filter using short EMAs (e.g., EMA10 vs EMA12)
ADX Power filter to require sufficient trend strength
These filters aim to reduce signals during low-energy or choppy conditions.
4) Independent Signal Types (Separated Logic)
Signals are displayed in different “tiers,” so you can understand context:
SNIPER: Early entry signals in deep zones (aggressive/early)
MAIN BUY/SELL: Primary signals aligned with EMA200 trend logic
FAST: Independent faster signals aligned with EMA50 logic
BIG BUY / BIG SELL: Trend-confirmation signals triggered when oscillator bias (above/below mid level) matches the EMA200 trend
Sweep 50: Midline sweep behavior (crossing 50 in-trend and snapping back), designed to highlight pullback/reversal behavior inside the main trend
5) Divergence Module (Refined)
Includes divergence visualization tools:
Bullish/Bearish divergence detection (pivot-based)
“Water lines” to connect divergence points for clarity
Optional Real-Time Shadow Divergence (formation preview)
6) UI / Visual Theme & Dashboard
Gradient “Trinity” color engine (trend bias visualization)
Optional mist/nebula visual layers & background warp effect
Candle coloring based on oscillator bias
Dashboard panel displaying: Trend, Momentum, ADX Power, RSI Risk Zone, and Divergence status
⚠️ Disclaimer (Educational Use Only)
This indicator is provided for educational, experimental, and technical analysis purposes only. It is not financial advice, not an investment recommendation, and not a solicitation to buy or sell any asset. No guarantee is made regarding accuracy, profitability, or signal performance.
Signals may vary based on market conditions, timeframe, liquidity, volatility, and user settings. False signals can occur. Features that display real-time divergence formation (e.g., shadow/preview logic) may repaint or change as new candles form.
Always backtest and paper-trade before live use, and apply proper risk management. All trading decisions are solely the user’s responsibility. The developer(s) are not liable for any losses or damages arising from use of this script.
Feeno.io AI System [MBE UPGRADED]STOP TRADING BLINDLY.
The market doesn't move randomly. It moves from one Liquidity Pool to another. If you cannot see where the Institutional Orders are stacking up, you become the liquidity.
The Feeno.io System is not just an indicator. It is an Institutional Roadmap. It removes the noise and visualizes exactly where the market is heading next.
WHAT THIS SYSTEM DOES FOR YOU:
1. X-RAY VISION (Liquidity Pools & Voids)
Stop drawing manual lines. The system automatically highlights the hidden "Buy" and "Sell" zones where banks and institutions are waiting to fill their orders.
GREEN ZONE:** Where Smart Money buys.
RED ZONE: Where Smart Money sells.
2. 🔮 FUTURE PRICE PROJECTION (AI Arrow)
Why guess the target? Our proprietary engine analyzes volatility and momentum to project a High-Probability Path into the future.
The Ghost Box: Shows you exactly where price is likely to land before it happens.
* **The Arrow:** Your visual confirmation to execute.
3. 🛡️ DYNAMIC RISK SHIELD
Never place a bad Stop Loss again. The **Risk Cloud** auto-adjusts to market volatility. It keeps your stop tight during quiet markets and gives you breathing room during high-impact news.
4. ⚡ ULTIMATE SCANNER (HUD)
Trade with full context. The built-in Heads-Up Display scans M15, H1, H4, and Daily trends simultaneously. Know the big picture without switching charts.
HOW TO TRADE IT:
1. CHECK: Look at the Scanner. Is the trend Bullish or Bearish?
2. WAIT: Let price enter a Green/Red Liquidity Zone.
3. EXECUTE: When the **Arrow** appears, enter the trade.
4. PROFIT: Target the Ghost Box.
Stop guessing. Start seeing.
Disclaimer: Trading involves risk. Use this tool to enhance your analysis, not as financial advice.
Risk & Lot Calculator PanelFXMANS Risk & Lot Panel
Smart Risk Management Tool for TradingView
- Overview
FXMANS Risk & Lot Panel is a lightweight and professional risk management tool designed to help traders calculate position size (lot) and take-profit levels directly on the chart, without cluttering the screen.
The panel is displayed as a minimal table in the top-right corner of the chart and automatically adapts to the currently opened symbol.
This tool focuses on clarity, precision, and usability, making it suitable for scalpers, day traders, and swing traders.
- Key Features
Automatic Direction Detection
The script can automatically determine BUY or SELL direction based on:
Entry Price
Stop Loss Price
Logic:
Stop Loss below Entry → BUY
Stop Loss above Entry → SELL
Manual override is available if auto direction is disabled.
Risk-Based Lot Size Calculation
Calculates position size based on:
User-defined risk amount in USD
Distance between Entry and Stop Loss
Symbol-specific tick size and point value
Ensures consistent risk management across all markets.
Automatic Take Profit (RR Based)
Take Profit is calculated automatically using a predefined Risk / Reward (RR) ratio.
Supports both BUY and SELL scenarios.
- Symbol-Aware Calculation
Uses TradingView’s built-in symbol properties:
syminfo.mintick
syminfo.pointvalue
Works correctly on:
Forex
Indices
Metals
Crypto
- Minimal & Non-Intrusive UI
Small, fixed panel located at the top-right corner
Designed to avoid covering price action
Clean FXMANS-style color palette
- Safe Panel Size Control
Panel size can be adjusted from settings:
Small
Medium
Large
Size changes are handled without modifying layout geometry, preventing UI bugs.
- How It Works
Enter your Entry Price and Stop Loss Price
Define your Risk Amount ($)
Set your desired Risk / Reward ratio
The script automatically calculates:
Trade Direction (BUY / SELL)
Lot Size
Take Profit Level
All results are displayed instantly in the panel
- Example Use Case
Risk: $100
Entry: 1.0850
Stop Loss: 1.0800
RR: 2.0
- The panel will automatically display:
Direction: BUY
Lot Size adjusted to risk exactly $100
Take Profit at 2R
- Important Notes
Entry and Stop Loss prices must be valid (greater than zero).
The tool does not place trades automatically.
Calculations are for position sizing only and may vary slightly depending on broker specifications.
- Disclaimer
This script is intended for educational and analytical purposes only.
Trading involves risk, and users are responsible for their own trading decisions.
- Ideal For
Traders who follow strict risk management rules
Forex, crypto, and index traders
Scalpers and intraday traders
Anyone who wants clean and fast position sizing on TradingView
Dynamic Ladder Leverage AllocatorOverview This indicator is designed for long-term investors who utilize a "Dual Engine" portfolio strategy—mixing a Safe Asset (e.g., VOO, QQQ) with a Leveraged Risk Asset (e.g., UPRO, TQQQ).
The Ladder Leverage Allocator mathematically calculates the optimal risk exposure based on market drawdowns. Instead of guessing when to "buy the dip," this script provides a systematic, step-by-step roadmap to increasing leverage as the market falls, and decreasing leverage (taking profits) as the market recovers.
How It Works The strategy is based on a "Sticky All-Time High" logic. It tracks the highest close price and calculates the current drawdown percentage.
Fair Weather (Base Mode): When the market is near highs, the indicator suggests a conservative "Base Leverage" (e.g., 25% or 35%).
The Ladder Down (Risk On): For every defined step the market drops (e.g., every -5%), the indicator signals a "RISK UP" alert, increasing your target allocation to the leveraged asset. This forces you to buy low aggressively.
The Cap: The script includes a hard "Max Leverage Cap" (default 80%) to prevent total account exposure during catastrophic crashes.
The Recovery Reset (Risk Off): Unlike simple rebalancing, this script waits for a confirmed bounce (Recovery Trigger). Once the market recovers by a set percentage from the bottom, it signals a "RESET," telling you to return to Base Leverage. This effectively locks in the profits from the dip-buying phase.
Key Features
Sticky ATH Tracking: Automatically tracks the true drawdown from the cycle peak.
Customizable Ladder Steps: Define your own Drop % (Trigger) and Risk Increase %.
Bar Confirmation: Option to wait for the Daily Close to prevent intraday "fake-out" alerts.
Visual Dashboard: A clean table in the bottom-right corner displays the current Stage, Drawdown, and Target Allocation.
Automated Alerts: Built-in alerts for "Risk On" and "Risk Off" events, ready for automation.
How to Use
Add this indicator to a Daily (1D) chart for your underlying index (e.g., VOO for the S&P 500, QQQ for the Nasdaq).
Configure Inputs:
Base Leverage: Your standard allocation to the 3x ETF (e.g., 25%).
Drop Step: How much the market must fall to trigger a rebalance (e.g., 5%).
Max Cap: The maximum risk you are willing to take (e.g., 80%).
Set Alerts: Create an alert using the "Once Per Bar Close" setting.
Risk Up: Increase your 3x ETF position.
Reset: Decrease your 3x ETF position (sell/profit).
Disclaimer This script is for informational and educational purposes only. Trading leveraged ETFs (3x) involves significant risk and is not suitable for all investors. Past performance of a ladder strategy does not guarantee future results.
DE BETONG CRYPTO MARKET STRUCTURE STRATEGY
DE BETONG CRYPTO MARKET STRUCTURE STRATEGY is a professional, education-first market structure indicator designed to help traders identify when market conditions align — without using buy/sell signals.
The script combines higher-timeframe structure, liquidity behavior, and fair value gaps (FVGs) to highlight readiness zones, allowing traders to apply their own execution and risk management rules.
This tool is built for traders who prefer process, context, and discipline over prediction or indicator stacking.
This script does not provide trading signals or automated entries.
Core Features
Higher-timeframe market structure bias
Liquidity sweep (stop-run) detection
Bullish & bearish Fair Value Gap zones
Optional auto-invalidation of mitigated FVGs
Strict readiness filtering to reduce noise
Performance-optimized and non-repainting logic
Recommended Timeframes
Optimized for:
15m
1H
4H
What Makes This Different?
Common Indicators DE BETONG MARKET STRUCTURE STRATEGY
Buy/Sell signals Readiness only (no signals)
Indicator-based logic Price action & structure logic
Frequent triggers Strict filtering & patience
Predictive focus Reaction-based framework
Encourages overtrading Encourages discipline
One-click entries Trader-controlled execution
Intended Use
This indicator is intended to support market analysis and decision-making, not to replace trading judgment.
Traders should wait for their own confirmations and manage risk independently.
Disclaimer
This script is provided for educational and analytical purposes only and does not constitute financial advice or investment recommendations. Trading involves risk.
MVRV Ratio Indicator [captainua]MVRV Ratio Indicator - Market Value to Realized Value Ratio
Overview
This professional indicator calculates and visualizes the MVRV (Market Value to Realized Value) ratio (raw, non-Z-score) with optional MVRV-Z overlay, comparing current market capitalization to realized capitalization to help identify potential market tops and bottoms for cryptocurrency markets.
Unlike MVRV-Z which normalizes the ratio using standard deviation (creating a Z-score), the raw MVRV ratio provides direct comparison between market cap and realized cap. This indicator enhances the raw ratio with historical percentile bands, percentile rank calculation, divergence detection, historical event logging, dynamic color gradients, enhanced visualization options, optional MVRV-Z comparison, and NEW advanced metrics including Risk Score, MVRV Momentum, Time in Zone tracking, and Price Target calculations.
NEW Features in This Version:
• Risk Score (0-100): Composite indicator based on MVRV level and percentile rank for instant risk assessment
• MVRV Momentum: Rate of change indicator showing trend direction (↑ Increasing, ↓ Decreasing, → Flat)
• Time in Zone: Tracks how long MVRV has been in the current zone (top/bottom/neutral) in bars
• Price Targets: Calculates price levels at key MVRV thresholds (fair value, top, bottom)
• Input Validation: Warns about invalid parameter combinations (e.g., extreme thresholds out of order)
• Multiple Smoothing Options: SMA, EMA, WMA, RMA for noise reduction
• Performance Optimized: Cached request.security() calls, ta.percentrank() for efficiency
• Human-Readable Timestamps: Event log now shows dates (YYYY-MM-DD) instead of bar indices
Core Calculations
MVRV Ratio Calculation:
The script calculates MVRV ratio using the standard formula: MVRV Ratio = Market Cap / Realized Cap. This formula provides a direct ratio without normalization, showing how many times the current market cap exceeds (or falls below) the realized cap.
Market Capitalization (Market Cap): The total market value of all coins in circulation, calculated as current price × circulating supply. This represents the market's current valuation of the asset.
Realized Capitalization (Realized Cap): The sum of the value of each coin when it last moved on-chain, representing the average cost basis of all coins.
Raw Ratio Interpretation:
- Ratio > 3.5: Extreme overvaluation (market cap significantly above realized cap)
- Ratio 2.5-3.5: Moderate overvaluation
- Ratio 1.0-2.5: Fair value to moderate overvaluation
- Ratio 0.8-1.0: Fair value to moderate undervaluation
- Ratio < 0.8: Undervaluation (market cap close to or below realized cap)
Risk Score (NEW):
Composite risk indicator ranging from 0-100:
- 80-100: Very High Risk (extreme overvaluation)
- 60-80: High Risk (overvaluation)
- 40-60: Moderate Risk (fair value range)
- 20-40: Low Risk (undervaluation)
- 0-20: Very Low Risk (extreme undervaluation)
The risk score uses percentile rank when available, or normalizes MVRV ratio to the 0-100 scale based on configured thresholds.
MVRV Momentum (NEW):
Rate of change indicator showing trend direction:
- ↑ Increasing: MVRV ratio rising (momentum > 0.01)
- ↓ Decreasing: MVRV ratio falling (momentum < -0.01)
- → Flat: MVRV ratio stable
- Displays percentage change over configurable period (default: 14 bars)
Time in Zone (NEW):
Tracks duration in current zone:
- Top Zone: Bars spent above top threshold (3.5)
- Bottom Zone: Bars spent below bottom threshold (0.8)
- Neutral Zone: Bars spent between thresholds
- Resets when zone changes
- Helps identify prolonged extreme conditions
Price Targets (NEW):
Calculates price levels at key MVRV thresholds:
- Price @ Fair Value: Price when MVRV = 1.0
- Price @ Top Threshold: Price when MVRV = 3.5
- Price @ Bottom Threshold: Price when MVRV = 0.8
- Based on estimated realized price (current price / MVRV ratio)
Data Source Selection:
The indicator supports multiple data source options for maximum flexibility:
Glassnode (Recommended):
- Uses Glassnode Market Cap data
- Calculates MVRV from Market Cap / Realized Cap
- Symbol format: GLASSNODE:{TOKEN}_MARKETCAP
- Requires Glassnode data subscription
- Also requires CoinMetrics for Realized Cap
- Best for comprehensive analysis with MVRV-Z comparison
IntoTheBlock:
- Direct MVRV ratio data from IntoTheBlock
- Simplest option - no calculations required
- Works for BTC and other supported tokens
- Symbol format: INTOTHEBLOCK:{TOKEN}_MVRV
- Requires IntoTheBlock data subscription on TradingView
Historical Percentile Bands:
The indicator calculates rolling percentile bands over a configurable period (default: 500 bars):
- 5th Percentile: Very low historical values (extreme undervaluation range)
- 25th Percentile: Lower quartile (undervaluation range)
- 50th Percentile: Median (fair value center)
- 75th Percentile: Upper quartile (overvaluation range)
- 95th Percentile: Very high historical values (extreme overvaluation range)
Percentile bands use ta.percentile_nearest_rank() for efficient calculation.
Percentile Rank:
Percentile rank shows where the current MVRV ratio sits in the historical distribution (0-100%):
- 0-25%: Bottom quartile (undervaluation)
- 25-50%: Lower half (moderate undervaluation to fair value)
- 50-75%: Upper half (fair value to moderate overvaluation)
- 75-100%: Top quartile (overvaluation)
Now uses efficient ta.percentrank() instead of array-based calculation.
Input Validation (NEW):
The indicator validates input parameters and displays warnings for:
- Extreme High Threshold should be > Top Threshold
- Extreme Low Threshold should be < Bottom Threshold
- Min Lookback Range must be < Max Lookback Range
- Top Threshold should be > Moderate Overvalued
- Moderate Overvalued should be > Fair Value
- Fair Value should be > Bottom Threshold
- Rapid Increase Threshold should be > 0
- Rapid Decrease Threshold should be < 0
Smoothing Options (Enhanced):
Multiple smoothing types available:
- SMA: Simple Moving Average (equal weight)
- EMA: Exponential Moving Average (more weight to recent)
- WMA: Weighted Moving Average (linear weight)
- RMA: Running Moving Average (Wilder's smoothing)
Reference Levels
Overvalued (Potential Top) - 3.5:
The 3.5 level indicates potentially extreme overvaluation. When MVRV ratio exceeds this threshold:
- Market cap is significantly above realized cap
- Potential selling opportunities for profit-taking
- Risk of market corrections or reversals
- Risk Score typically >80 (Very High Risk)
Moderately Overvalued - 2.5:
The 2.5 level indicates moderate overvaluation:
- Market cap is above realized cap but not extreme
- Caution warranted but not necessarily sell signal
- Risk Score typically 60-80 (High Risk)
Fair Value - 1.0:
The 1.0 level indicates fair valuation:
- Market cap equals realized cap
- Balanced market conditions
- Risk Score typically 40-60 (Moderate Risk)
Undervalued (Potential Bottom) - 0.8:
The 0.8 level indicates potentially undervalued conditions:
- Market cap is close to or below realized cap
- Potential buying opportunities for accumulation
- Risk Score typically <40 (Low Risk)
Visual Features
MVRV Ratio Line:
The main indicator line displays the calculated MVRV ratio with dynamic color gradient:
- Bright Red: Extreme overvaluation (ratio ≥ top threshold + 0.5)
- Orange: High overvaluation (ratio ≥ top threshold)
- Cornflower Blue: Neutral/Fair value (around fair value level)
- Deep Sky Blue: Low/Undervaluation (ratio ≤ bottom threshold)
- Bright Green: Extreme undervaluation (ratio ≤ bottom threshold - 0.1)
Can also be displayed as histogram/bar chart.
Historical Percentile Bands:
Five percentile bands with optional fills:
- 5th Percentile (Blue): Very low historical range
- 25th Percentile (Blue): Lower quartile
- 50th Percentile (Gray): Historical median
- 75th Percentile (Orange): Upper quartile
- 95th Percentile (Red): Very high historical range
Reference Lines:
Horizontal reference lines at key levels (all customizable):
- Top Threshold (default 3.5): Purple/violet
- Moderate Overvalued (default 2.5): Orange
- Fair Value (1.0): Gray
- Bottom Threshold (default 0.8): Blue
Background Highlights:
Optional background color highlights:
- High Zone (Maroon/Red): MVRV ratio ≥ top threshold
- Low Zone (Green): MVRV ratio ≤ bottom threshold
Divergence Detection:
Advanced divergence detection between price and MVRV ratio:
- Regular Bullish Divergence: Price lower low + MVRV higher low
- Regular Bearish Divergence: Price higher high + MVRV lower high
- Hidden Bullish Divergence: Price higher low + MVRV lower low
- Hidden Bearish Divergence: Price lower high + MVRV higher high
- Visual markers with icons (🐂/🐻) and connecting lines
Historical Event Log (Enhanced):
Comprehensive event tracking:
- Tracks zone entries/exits, extreme values, cross events
- Now displays human-readable dates (YYYY-MM-DD) instead of bar indices
- Color-coded events (red for top/high, green for bottom/low)
- Configurable log size (5-50 events)
Information Table (Enhanced):
Comprehensive on-chart table with NEW metrics:
Current Values:
- MVRV Ratio: Current ratio value
- Percentile Rank: Position in historical distribution (0-100%)
- Risk Score (NEW): Composite risk indicator (0-100) with risk level
- Market Status: Current market condition
- Signal: Trading signal (Strong Buy/Buy/Hold/Sell/Strong Sell)
- MVRV Momentum (NEW): Trend direction with percentage change
- Time in Zone (NEW): Current zone and duration in bars
Price Information (Enhanced):
- Current Price: Current market price
- Est. Realized Price: Estimated realized price
- Price @ Fair Value (NEW): Price when MVRV = 1.0
- Price @ Top Threshold (NEW): Price when MVRV = 3.5
- Price @ Bottom Threshold (NEW): Price when MVRV = 0.8
Other Metrics:
- Percentile Bands: Range from 5th to 95th percentile
- MVRV-Z Score: Z-score value (when comparison enabled)
- Change (1D/1W/1M): Ratio change over timeframes
- To Top/Bottom: Percentage distance to key levels
- Historical Range: Percentage below ATH / above ATL
- 30D Volatility: Standard deviation
Historical Event Log:
- Recent events with dates and values
- Color-coded for quick identification
Alert System
Comprehensive alerting capabilities:
Zone Alerts:
- Top Zone Entry/Exit
- Bottom Zone Entry/Exit
Cross Alerts:
- Cross Above/Below Top Threshold
- Cross Above/Below Fair Value (1.0)
Extreme Value Alerts:
- Extreme High (configurable, default: 4.5)
- Extreme Low (configurable, default: 0.7)
Rate of Change Alerts:
- Rapid Increase/Decrease
Divergence Alerts:
- Bullish/Bearish Divergence
- Hidden Bullish/Bearish Divergence
All alerts support cooldown to prevent spam.
Usage Instructions
Getting Started:
1. Select data source (Glassnode recommended)
2. Enable Risk Score for composite risk assessment (0-100)
3. Enable MVRV Momentum to track trend direction
4. Enable Time in Zone to see zone duration
5. Enable Price Targets to see price levels at key thresholds
6. Use weekly timeframe for cleaner signals
Risk-Based Position Sizing:
Use Risk Score to guide position sizing:
- Risk Score >80 (Very High Risk): Reduce/exit positions
- Risk Score 60-80 (High Risk): Smaller positions, caution
- Risk Score 40-60 (Moderate Risk): Normal positions
- Risk Score 20-40 (Low Risk): Larger positions opportunity
- Risk Score <20 (Very Low Risk): Strong accumulation zone
Momentum-Based Analysis:
Use MVRV Momentum for trend confirmation:
- ↑ Increasing + High MVRV: Late bull market, caution
- ↑ Increasing + Low MVRV: Recovery phase, bullish
- ↓ Decreasing + High MVRV: Distribution, potential top
- ↓ Decreasing + Low MVRV: Capitulation, accumulation opportunity
Zone Duration Analysis:
Use Time in Zone for context:
- Extended time in Top Zone: Late cycle, increased reversal risk
- Extended time in Bottom Zone: Accumulation opportunity
- Quick zone transitions: Higher volatility regime
Price Target Usage:
Use Price Targets for planning:
- Price @ Fair Value: Natural equilibrium level
- Price @ Top Threshold: Potential distribution target
- Price @ Bottom Threshold: Potential accumulation target
Technical Specifications
- Pine Script Version: v6
- Indicator Type: Non-overlay (displays in separate panel)
- Repainting Behavior: Minimal - calculations based on confirmed bar data
- Performance: Optimized with cached request.security() calls and ta.percentrank()
- Input Validation: Validates parameter combinations with warnings
- Compatibility: Works on all timeframes (data sources provide daily resolution)
- Edge Case Handling: Zero-division protection, NA value handling, boundary checks
Performance Optimizations:
- Cached request.security() calls for Market Cap, Realized Cap, and IntoTheBlock data
- Efficient ta.percentrank() replaces array-based percentile calculation
- Consolidated duplicate code (color functions, state tracking)
- Single-line ternary expressions for Pine Script compatibility
Constants:
- MAX_HISTORY_BARS = 5000 (TradingView's limit)
- PERCENTILE_EXTREME_HIGH = 90.0
- PERCENTILE_HIGH = 75.0
- PERCENTILE_MID = 50.0
- PERCENTILE_LOW = 25.0
- MIN_PERCENTILE_SAMPLES = 10
- DEFAULT_VOLATILITY_HIGH = 0.1
Known Limitations
- Data availability: Requires valid data subscription (IntoTheBlock, Glassnode, or CoinMetrics)
- Token support: Works with tokens supported by the selected data source
- Historical data: Percentile calculations require sufficient history (200+ bars recommended)
- Timeframe: Always uses daily resolution data from providers; works on all chart timeframes
- History limit: All lookback periods capped at 5000 bars
Changelog
Latest Version:
- Added Risk Score (0-100) composite indicator
- Added MVRV Momentum with trend direction
- Added Time in Zone tracking
- Added Price Target calculations
- Added Input Validation with warnings
- Added multiple smoothing options (SMA, EMA, WMA, RMA)
- Improved performance with cached security calls
- Replaced array-based percentile with ta.percentrank()
- Human-readable timestamps in event log (YYYY-MM-DD)
- Fixed hline() conditional value bug
- Consolidated duplicate code
- Updated indicator name for clarity
For detailed usage instructions, see the script comments.
Edgecraft Indicators - ADR + ATR + Daily H/LEdgecraft ATR + ADR + Daily H/L is a simple “heads-up display” for one thing many traders overlook: context.
Instead of guessing whether today is a normal day or a stretched day, this indicator shows you:
• ATR (Average True Range) – how much this market typically moves per day (including gaps).
• ADR (Average Daily Range) – how much the market typically moves from the daily high to the daily low.
• Daily High / Daily Low – today’s running high and low, even if you’re on a lower timeframe chart.
• Exhaustion alert (emoji) – a visual warning when today’s range is unusually large compared to its average.
This is designed to work on any timeframe (1m, 5m, 15m, 1H, etc.) while still giving you daily-level context.
⸻
Why ATR and ADR matter -
If you’re new to these terms, here’s the simple idea:
Markets don’t move the same distance every day. Some days are calm and tight. Other days are wild and stretched. ATR and ADR help you measure what “normal” looks like, so you can avoid making decisions based on emotion or noise.
ATR (Average True Range)
Think of ATR as the market’s “typical daily movement,” including gaps. It helps answer questions like:
• “Is this move big for this stock, or just normal behavior?”
• “Am I expecting too much (or too little) from today?”
ADR (Average Daily Range)
ADR is the average distance between the daily high and daily low. It’s a great “how much room is left?” tool during the session.
⸻
How traders use this -
This tool is intentionally lightweight, but it solves big problems:
1) Avoid chasing late moves
If today’s range is already very large vs its typical range, chasing breakouts can become lower probability. The indicator can help you recognize when a move may already be “spent.”
2) Improve risk and stop placement
Knowing typical daily movement helps you avoid placing stops unrealistically tight (easy to get shaken out), or unrealistically wide (too much risk). It’s not telling you where to put stops — it’s giving you context so your decisions match the instrument.
3) Set realistic targets
If a stock typically moves ~$3 per day and it’s already moved ~$2.80 today, expecting another huge push may be less likely without a catalyst. This indicator helps you calibrate expectations.
4) Understand the day you’re trading
Many traders struggle because they trade every day the same way.
This HUD helps you quickly determine:
• Is today normal?
• Is today compressed (quiet / coiled)?
• Is today extended (big range already printed)?
⸻
Exhaustion: what it means
When the indicator shows the emoji, it means:
Today’s current Daily Range ÷ ADR is above your threshold.
In other words, today’s movement is large compared to what’s typical.
This can be useful as a caution flag:
• avoid adding late
• be mindful of “mean reversion” risk
• tighten management if you’re already in a trade
You can adjust the threshold in settings to match your style.
⸻
Customization
• Move the HUD to any corner (Vertical/Horizontal settings)
• Adjust text size
• Toggle the HUD on/off
• Toggle the exhaustion emoji on/off
• Change the emoji character
⸻
Final note
This indicator doesn’t generate buy/sell signals. It’s meant to be a context tool — a steady reference point that helps your decisions become more consistent.
If you find this helpful, give us a like and keep an eye out for more tools from Edgecraft Indicators in the future.






















