Correlation Stability3 CORRELATION STABILITY INDICATOR
This indicator is shown as a table on the main chart.
WHAT IT DOES
It evaluates how stable the statistical relationship between two assets is over time using correlation analysis.
HOW IT WORKS
• Correlation between two assets is calculated over rolling windows
• The test is performed periodically
• Each window is marked as pass or fail depending on correlation strength
• If more than half of the tested windows pass, the pair is considered stable
The result is displayed as a simple table showing the current status of the pair.
HOW TO USE
This indicator is a filter, not a trading signal.
It helps the trader:
• Select suitable pairs for statistical arbitrage
• Avoid trading pairs where the relationship has broken down
• Improve the quality of mean-reversion signals
RECOMMENDED TO USE WITH
• Ornstein–Uhlenbeck Z-score for signal generation
• OU Signals Overlay for trade visualization
TRIGONUM STATISTICAL ARBITRAGE INDICATORS
This is a series of indicators developed by Trigonum for statistical arbitrage and pairs trading.
The core idea of the series is to trade the relationship between two assets, not the direction of a single market.
All signals are based on mean reversion of a spread between two instruments and are intended to be used with hedged positions (long one asset and short the other).
The series consists of three indicators, each serving a different purpose.
基本面分析
Auto-DCF and Margin of Safety SetupDescription
Overview This indicator provides a dual-layered approach to stock valuation by combining a Discounted Cash Flow (DCF) model with Technical Momentum filters. It is designed for investors who seek to align fundamental "Fair Value" with high-probability technical entry points.
How It Works The script automates the valuation process by fetching real-time financial data directly from TradingView’s database.
Fundamental Valuation (DCF):
FCF Projections: It retrieves Free Cash Flow (TTM) and Total Shares Outstanding to calculate FCF per share.
Growth & Discounting: It projects FCF forward for 10 years based on your "Expected Annual Growth Rate" and discounts those values back to the present using the "Discount Rate" (WACC).
Terminal Value: A terminal value is calculated using a exit multiple (P/FCF) at Year 10 to account for the company's value beyond the projection period.
Intrinsic Value: The sum of all discounted cash flows and the terminal value represents the Intrinsic (Fair) Value, plotted as gray circles.
Margin of Safety (MoS):
A "Buy Limit" line (green) is plotted at a user-defined percentage below the Intrinsic Value. This represents the "Margin of Safety" popularized by Benjamin Graham to account for errors in estimation.
Technical Filters (The "Buy Setup"):
A visual Buy Zone appears only when three conditions align:
Value: Price is trading below the Margin of Safety.
Momentum: The RSI is in "Oversold" territory (default < 35).
Price Action: The stock is in a "Deep Pullback" (defined as a 15% drop from its 50-bar high).
How to Use
Settings: You must adjust the Growth Rate and Discount Rate based on the specific company’s historical performance and risk profile.
Visuals: When a setup occurs, the script draws a green box, a technical Stop Loss (based on a buffer below the low), and a Tech Target (a 50% retracement of the recent drop).
Limitations: This script requires request.financial data. It is intended for Stocks only. If no financial data is available for a ticker (e.g., Crypto or Forex), an error label will appear.
Disclaimer This script is for educational purposes only and does not constitute financial advice. DCF models are highly sensitive to input variables; small changes in growth or discount rates can significantly alter the Fair Value.
Institutional ROC + Z-Score HeatmapInstitutional ROC + Z-Score Heatmap
Identifies statistically significant daily price moves by calculating the z-score of the rate of change (ROC) against a configurable historical lookback period. Designed for cross-asset regime monitoring and volatility detection.
How it works:
Calculates the daily percentage change (ROC)
Compares that move to the historical distribution of daily moves
Expresses the result as a z-score (standard deviations from the mean)
Color coding:
Teal: Extreme positive move (>3σ) — rare upside, potential blowoff top
Red: Extreme negative move (<-3σ) — rare downside, potential capitulation
Orange/Lime: Warning zone (2-3σ) — unusual but not extreme
Gray: Normal volatility — nothing actionable
Use cases:
Identify regime shifts across asset classes (equities, crypto, commodities)
Spot potential mean-reversion setups after extreme moves
Monitor cross-asset risk appetite (BTC, XBI, SPY) for tactical hedging signals
Recommended settings:
ROC Length: 1 (daily moves)
Lookback: 252 (1 year) for stable assets, 60-90 for volatile biotech
EMA 9 & 26 Crossover By SN TraderEMA 9 & 26 Crossover – Trend & Momentum Indicator For Scalpers
The EMA 9 & EMA 26 Crossover Indicator is a simple yet powerful trend-following tool designed to identify high-probability buy and sell signals based on short-term and medium-term momentum shifts.
This indicator is widely used by scalpers, intraday traders, and swing traders across Forex, Crypto, Stocks, Indices, and Commodities.
🔹 Indicator Logic
EMA 9 (Green) → Fast momentum
EMA 26 (Red) → Trend direction
BUY Signal
When EMA 9 crosses above EMA 26
Indicates bullish momentum and possible trend reversal or continuation
SELL Signal
When EMA 9 crosses below EMA 26
Indicates bearish momentum and potential downside movement
Clear BUY / SELL labels are plotted directly on the chart for easy visual confirmation.
📈 How to Trade Using This Indicator
✔ Enter BUY trades after EMA 9 crosses above EMA 26
✔ Enter SELL trades after EMA 9 crosses below EMA 26
✔ Use higher timeframes (15m, 1H, 4H) for stronger signals
✔ Combine with RSI, MACD, UT Bot, VWAP, Support & Resistance for confirmation
✅ Best Use Cases
Trend reversal identification
Momentum-based entries
Scalping & intraday strategies
Swing trading trend confirmation
Works on all timeframes
⚙️ Features
✔ Lightweight & fast
✔ Beginner-friendly
✔ Non-repainting signals
✔ Pine Script v6 compatible
✔ Clean visual design
⚠️ Disclaimer
This indicator is for educational purposes only and should not be considered financial advice. Always apply proper risk management and confirm signals with additional analysis.
Lele-Trend Market AnalysisThis is a TradingView Pine Script indicator for analyzing futures trading trends. Here's what it does:
Core Functionality:
Analyzes market trends using multiple technical indicators on a customizable timeframe
Displays trend strength classifications from "Neutral" to "Super Bullish/Bearish"
Key Indicators Used:
EMAs: 7, 21, 50, and 200-period exponential moving averages to identify trend direction
RSI: Relative Strength Index (14-period default) for momentum
ADX: Average Directional Index (14-period) to measure trend strength
VWAP: Volume Weighted Average Price for intraday levels
Parabolic SAR: For trend reversals and stop-loss placement
Trend Classification Logic:
Bullish: When 7 EMA > 21 EMA, price > VWAP, RSI > 50, ADX > 22
Bearish: When 7 EMA < 21 EMA, price < VWAP, RSI < 50, ADX > 22
Upgrades to "Very" or "Super" based on price position relative to 50 and 200 EMAs
Visual Features:
Plots all indicators on the chart with color-coded lines
Shows percentage and price difference labels on each candle
Dashboard table in the top-right displaying all indicator values and current trend status
It's essentially a comprehensive trend-following system that combines multiple timeframe analysis with strength classification.
Intraday Refuges/Shelters (RID)==========================================
RID (INTRADAY SHELTERS/REFUGES) INDICATOR
==========================================
*Fair warning: this may be more words than a humble, simple indicator truly
needs… but Claude insisted.
// ** INTRODUCTION ** //
RID (Intraday Shelters/Refuges) is a lightweight, fast, and easy-to-implement
indicator designed for monitoring price action on intraday timeframes — the same
ones used by institutional operators to execute their trades within each market session.
The indicator generates a framework of support and resistance levels automatically
calculated from the asset's Daily Opening Price (D.O.P.). These levels are established
using fixed percentages that have proven their effectiveness in institutional trading
for decades, constituting "textbook" references widely adopted by market professionals.
RID integrates as an optional module within our Weekly Shelters (RS) indicator, allowing
the operator to simultaneously control their weekly positions and, when conditions warrant,
move down to intraday operations without loading additional indicators or losing sight
of the higher timeframe.
// ** INDICATOR FUNDAMENTALS ** //
The foundation of RID rests on a proven market principle: the daily opening price acts
as a "psychological anchor" that influences participant behavior throughout the entire session.
Why does this method work?
• UNIVERSAL REFERENCE POINT: The daily opening price is objective data, visible to all
market participants simultaneously. Institutions, algorithms, and retail traders use it
as a common reference to calibrate their decisions.
• STANDARD PERCENTAGE LEVELS: The percentages used (0.382%, 1.0%, 1.5%, 2.0%, 2.5% and
extensions) are not arbitrary. They represent intraday volatility thresholds that have
historically acted as inflection points across multiple asset classes.
• SELF-FULFILLING PROPHECY EFFECT: When a critical mass of operators place orders at the
same percentage levels —whether for profit-taking, protective stops, or entries—
these levels become high-probability price reaction zones.
• INSTITUTIONAL RISK MANAGEMENT: Institutional trading desks frequently define their daily
loss limits and profit targets in percentage terms relative to the open. RID captures
this logic and makes it visible for retail operators.
The ±0.382% level deserves special mention: it's a derivation of the Fibonacci golden ratio
(0.382) applied to the intraday context, representing the first significant movement threshold
from the opening.
// ** INDICATOR OBJECTIVES ** //
1) Facilitate manual intraday trade execution by providing a framework of target prices
established under a scheme of mathematical certainty, eliminating subjectivity in
defining entries, exits, and stops.
2) Serve as a lightweight and modular tool, easily integrable —either as an overlay or
source code— with strategies and indicators specialized in intraday trade execution,
both manual and automated.
3) Provide a visual reference framework that allows the operator to quickly assess the
intraday market "temperature": Is price near a key support or resistance? Has it already
reached the session's typical movement target? Is it time to seek entries or protect profits?
// ** INDICATOR TECHNICAL FEATURES ** //
• 21 CONFIGURABLE LEVELS: 11 main levels (±0.382%, ±1.0%, ±1.5%, ±2.0%, ±2.5% and D.O.P.)
plus 10 extended levels (±3.0% to ±5.0%) for high volatility sessions. Each level can
be individually enabled or disabled according to operator needs.
• AUTOMATIC D.O.P. DETECTION: The indicator automatically identifies the start of each daily
session and captures the opening price without user intervention.
• CONFIGURABLE HISTORY LIMIT: Option to limit processing to the last N days (default: 3),
optimizing performance on very low timeframes (1m, 5m) where excess historical data can
slow down the chart.
• PROFESSIONAL VISUALIZATION: Labels with formatted price (thousands separators) and
percentage, placeable with configurable offset. The D.O.P. level (0%) is highlighted
with differentiated width.
• VERTICAL REFERENCE LINES: From D.O.P. to each level, facilitating visualization of the
percentage distance traveled.
• FULL CUSTOMIZATION: Colors, widths, line styles (solid, dashed, dotted), label opacity,
and forward extension fully adjustable.
• PRICE SCALE INTEGRATION: Levels can be displayed on the right margin of TradingView,
controllable from the indicator's Style tab.
• BAR REPLAY COMPATIBILITY: Works perfectly with Bar Replay for back-testing
intraday strategies.
• OPTIMIZED PERFORMANCE: Efficient architecture with persistent arrays and intelligent
updating, suitable for timeframes down to 1 minute.
// ** OPERATING INSTRUCTIONS ** //
INITIAL SETUP:
1) Load the indicator on a chart with 4H or lower timeframe (1H, 30m, 15m, 5m, 1m).
2) Enable "Limit history by days" and adjust "Maximum days to display" according to your needs:
• For scalping (1m-5m): 1-2 days
• For day trading (15m-1H): 2-3 days
• For intraday swing (4H): 3-5 days
OPERATIONAL USE:
3) Identify the D.O.P. (0% line): This is your central reference point for the session.
4) Observe current price position relative to levels:
• Price above D.O.P. → Session with bullish bias
• Price below D.O.P. → Session with bearish bias
5) Use levels as:
• ENTRIES: Look for reversal signals when price reaches S1-S5 (buys) or R1-R5 (sells)
• TARGETS: Set take-profits at the next resistance level (longs) or support (shorts)
• STOPS: Place protective stops beyond the immediate opposite level
PRACTICAL RULES:
6) The ±1.0% and ±2.0% levels are historically most respected; prioritize them.
7) If price exceeds ±2.5% from open, it might be time to take profits and close your position
or consider enabling extended levels (±3.0% to ±5.0%).
8) High volatility days (news, earnings): wait for price to respect at least one level
before trading in its direction.
9) Combine RID with other indicators from our ecosystem (RS, RMP, RLP/RLPS) to confirm level
confluence across multiple timeframes.
VISUAL OPTIMIZATION:
10) For clean charts: keep enabled only main levels (±0.382% to ±2.5%).
11) For detailed volatile asset analysis: also enable extended levels.
12) Adjust "Label margin" to prevent overlap with current price.
// ** INTEGRATION WITH OTHER SHELTER VALUE INDICATORS ** //
RID is part of a complete shelter-based analysis ecosystem we have developed:
• RLP (Long-Term Shelters): For automatic determination of the preponderant phase
of a Zigzag, which institutional investors choose as the base of a Fibo whose
levels calculate order placement projection over the following months and years.
• RLPS (Simplified Long-Term Shelters): Simplified version of RLP where known
coordinates of the preponderant phase are captured, obtained through own analysis
or automatically with the RLP indicator.
• RMP (Medium-Term Shelters): Provides psychological shelter and resistance levels
that institutional investors establish at the beginning of each year. They
constitute the main framework used by professionals to plan operations
throughout the year.
• RS (Weekly Shelters): For short-term tactical analysis (4H, 1H) based on selected
phases of one or two Zigzags that define Fibo tracing, over recent major and minor
degree pauses, whose levels take effect during the current and following weeks.
• RID (Intraday Shelters): This indicator. For intraday operations based on levels
calculated from daily opening price, designed for 4H or lower timeframes,
including scalping strategies.
By combining RID with RLP/RLPS, RMP and RS, a multilevel scaffolding is built that
allows trading with clarity on any time horizon, from minute positions to operations
projected over months and years.
// ** NOTES ** //
• All comments regarding detected errors and improvement suggestions are welcome and deeply appreciated. Your feedback helps us refine these tools.
• To our Hispanic speaking friends, we sincerely regret to inform you that we have not
included the Spanish translation in the published version, due to our latent concern
regarding the ambiguous rules about prohibitions on publishing indicators documented
or described in languages other than English.
• Sharing is motivating because there’s no better way to receive genuine feedback
of real acceptance.
• RECOMMENDED VALIDATION METHOD: Use TradingView's Bar Replay to verify, session by
session, how price of your favorite asset interacts with RID levels. This personal
validation will give you statistical confidence before incorporating the indicator
into your actual trading.
Happy hunting in this magnificent jungle!
Historical Annual Avg Growth Lines + 1-Year ProjectionThis script creates an overlay indicator on your TradingView chart that visualizes the historical average annual growth rate of the selected instrument (e.g., TSLA) in a specific way. Here's a step-by-step summary of what it represents and how it works:
Overall Purpose
It calculates the average annual percentage gain (arithmetic mean) across the instrument's entire trading history, using non-overlapping periods of 252 trading days each (approximating one year, excluding weekends/holidays).
It then draws horizontal green lines on the chart for each complete "year" segment, showing a projected "fair value" price level for that year based on the overall average growth rate.
This helps you compare actual historical price action against what the price "would have been" if it had grown steadily at the stock's long-term average annual rate. Lines above actual prices suggest periods where growth exceeded the average (potentially overvalued in hindsight), while lines below suggest underperformance (potentially undervalued).
The calculation excludes the most recent incomplete year (any bars beyond the last full 252-day segment), ensuring only fully realized historical periods are used.
Key Calculations
Identifying Complete Years: It divides the chart's data from the first trading day (bar_index 0) into segments of exactly 252 bars each. For example:
Year 1: Bars 0 to 251
Year 2: Bars 252 to 503
And so on, up to the last full segment before the current bar.
If the total bars aren't a perfect multiple of 252, the partial current year is ignored.
Average Annual % Gain: For each complete year segment:
It computes the % gain as (end_price - start_price) / start_price.
Sums these % gains across all years and divides by the number of years to get the overall average (e.g., if TSLA averaged 42% per year historically, that's the value used).
Projected Price Lines: For each year segment:
Takes the starting price of that year.
Applies the overall average % gain to project a "target" end-of-year price: start_price * (1 + average_annual_gain).
Draws a horizontal line at that projected price level, spanning only the bars of that specific year (e.g., a flat green line covering 252 bars, positioned above or below the actual price action for visual comparison).
Visual Representation
Horizontal Lines: Each green line is flat and covers one historical year block on the chart. Earlier years (left side) will have lower projected prices (reflecting lower starting prices), while later years (right side) will have higher ones as the base price compounds over time—but each is independent and based on that year's start.
No Smoothing or Rolling: Unlike a moving average, these are static historical segments (non-overlapping), recalculated only on the last bar for efficiency.
Example on TSLA: Assuming TSLA's long-term average annual gain is ~42% (based on its history since 2010 IPO), the line for Year 1 would be at * 1.42, spanning the first 252 bars. Year 2 would start from the actual price at bar 252 and project * 1.42, and so on. If lines are consistently above actual prices in recent years, it might indicate recent growth slowing relative to historical averages.
Forward Projection (1 Year Out)
The script also extends a dashed orange horizontal line to the right of the current bar, projecting the price one year into the future based on the same historical average annual growth rate.
It starts from the end price of the last complete historical year as the base.
Applies the average % gain once more to estimate the "target" price after another 252 trading days (e.g., base_price * (1 + average_annual_gain)).
The line is dashed and orange for distinction, extending approximately 252 bars to the right (scroll or zoom right to view the full projection). This provides a visual guide for where the price "might" trend if growth continues at the historical average, helping with long-term investment planning like setting targets or assessing potential upside.
Group 0HVN Boundary Assist FRVP + ATR Tempo Auto TF DefaultsThis indicator is a structure-assist tool, not a signal generator. It is designed to standardize High-Volume Node (HVN) boundary placement and evaluation when using TradingView’s Fixed Range Volume Profile (FRVP) on weekly and monthly timeframes.
The script does not attempt to discover HVNs automatically. The trader selects the HVN visually using FRVP and inputs the HVN center (effective VPOC). From there, the script applies consistent, rules-based logic to define boundaries, track interaction, and prevent lower-timeframe levels from conflicting with higher-timeframe structure.
What the indicator does
1. Standardizes HVN boundary placement
Using the active timeframe’s ATR, the indicator identifies the first candle that regains tempo on each side of the HVN center.
A valid boundary requires:
A bar range ≥ a fixed fraction of ATR
A close that breaks prior rotational overlap
The close of that candle becomes the candidate HVN high or low. Wicks are ignored for structure.
2. Automatically adapts to timeframe
The indicator enforces locked system defaults:
Weekly: 0.33 ATR expansion, 10-bar overlap lookback
Monthly: 0.25 ATR expansion, 8-bar overlap lookback
These values adjust automatically based on chart timeframe, eliminating discretionary tuning.
3. Tracks retests without redefining structure
HVN interaction is tracked via wick touches within a tight ATR-based tolerance.
Retests are informational only and never move boundaries. This captures recognition and rejection behavior without violating close-based structure rules.
4. Ranks HVN strength (0–3)
Each HVN is scored using:
Tightness relative to ATR
Relative volume confirmation
Presence of at least one retest
This produces a simple, comparable strength ranking without overfitting.
5. Enforces clean monthly → weekly nesting
An optional monthly gate restricts weekly logic to operate only inside a defined monthly HVN.
If conflicts arise, monthly structure always overrides weekly, preventing level overlap and structural ambiguity.
What the indicator does NOT do
It does not read FRVP data (TradingView limitation)
It does not auto-detect HVNs
It does not generate trade signals
It exists to remove subjectivity and inconsistency from HVN boundary placement and evaluation.
Intended use
Apply FRVP and visually identify the HVN
Enter the HVN center price into the indicator
Let the script define precise boundaries and interaction metrics
Use monthly HVNs as structural rails and weekly HVNs for execution
Design philosophy
Structure is defined by closes and volatility, not wicks
Retests measure recognition, not acceptance
Higher timeframe structure always dominates
This tool enforces those rules mechanically so the trader doesn’t have to.
Daily Alpha vs XBIDaily alpha of stock versus sector benchmark. In this case we looked at the biotech sector but you can replace it with whatever benchmark that fits the type of stocks that you are analyzing. Simply we take the delta between stock performance in the chosen time frame versus the index. Simple but effective!
Group 1: Monthly Permission + Value LocationThis indicator is your monthly gatekeeper: it decides whether trading is allowed and shows where price sits in long-term value, before you ever think about entries.
This script answers one question, clearly and consistently:
“Should I even be trading right now, and where is price sitting inside the big monthly map?”
It is not an entry tool.
It does not tell you when to buy or sell.
It sets permission and context so you don’t make trades in bad environments.
Think of it as the front gate to your system.
What you see on the chart
1. Monthly value levels (manually entered)
You manually enter:
Monthly VAL (Value Area Low)
Monthly VAH (Value Area High)
Optional: Monthly POC, HVN1, HVN2 (display only)
These levels define the monthly value area.
The script never recalculates them or moves them.
Why manual?
Your system defines value from FRVP anchoring.
Automation would break your rules.
This keeps the indicator honest and predictable.
2. Monthly permission: Risk ON vs Risk OFF
The script evaluates the last three completed monthly candles and checks for environments where price is unreliable.
It will mark Risk OFF if any of the following are true:
A. Monthly alternation (chop)
The last three non-doji monthly candles alternate direction
Example: up → down → up
This means direction is not sticking
B. Repeated high volatility
Monthly RangeRatio ≥ your threshold
Happens in 2 of the last 3 months
Indicates unstable movement, not controlled expansion
C. Volume spike during chop
Monthly VolumeRatio spikes above your threshold
Occurs while alternation or chop is present
Indicates emotional participation without structure
If any of those are true → Risk OFF
Otherwise → Risk ON
This matches your rule:
“Avoid environments where closes don’t stick.”
3. Monthly location badge (where price is sitting)
The script classifies the current monthly close into one of five clear states:
Outside Above VAH
Outside Below VAL
Inside (Near VAH)
Inside (Near VAL)
Inside Value
“Near” is defined as a percentage of value width (default 10%), not a guess.
This gives you a fast answer to:
Am I inside value or outside?
If inside, am I near an edge or in the middle?
No interpretation required.
4. Readout dashboard (optional table)
If enabled, the dashboard shows:
Monthly Permission: Risk ON / Risk OFF
Location status (from the badge logic)
Monthly RangeRatio
Monthly VolumeRatio
Monthly ADX(14)
Anchor age (days since you anchored monthly value)
This is a status panel, not a signal board.
How you’re meant to use it
Step 1: Check permission first
If Risk OFF → you do nothing
You do not look for setups
You do not drop to weekly or daily
This enforces discipline.
Step 2: Note monthly location
Inside value → only value rotation logic is allowed later
Outside value → expansion logic may be allowed later
Near an edge → expect interaction, not immediate continuation
This sets the boundaries for all lower-timeframe decisions.
Step 3: Move on to Group 2 only if allowed
This script does not:
Choose Roadmap A or B
Trigger entries
Select targets
That happens later, on weekly and daily charts.
Group 1 only answers:
“Is the environment tradable, and where are we in the big picture?”
What this script deliberately does NOT do
No entries
No exits
No alerts
No pattern guessing
No automated value calculation
No repainting
It is intentionally boring.
That’s the point.
Why this matters (especially for newer traders)
Most traders lose money before the trade:
Trading during chop
Trading inside value as if it’s trending
Trading high volatility without structure
This script prevents that by:
Forcing you to check environment first
Giving you objective monthly context
Removing emotional decision-making
If this script says Risk OFF, you’re already doing the right thing by standing aside.
RSI Exhaustion Gate (Visual Flip)An RSI-based indicator that highlights potential overbought and oversold exhaustion points with visual dots. Provides clear signals when RSI reaches extreme levels and flips, helping traders identify short-term reversal opportunities. Includes customizable colors, RSI levels, and alerts for both long and short exhaustion triggers.
Detailed Description (for Publishing):
RSI Exhaustion Gate (Visual Flip) is designed to help traders identify potential overbought and oversold exhaustion levels on any timeframe.
Key Features:
Plots RSI with standard overbought (70) and oversold (30) levels.
Visually flipped exhaustion dots appear when RSI crosses into extreme zones and reverses, signaling potential trade entries.
Customizable colors for overbought and oversold dots.
Option to toggle visibility of RSI levels and dots.
Alerts for both long and short exhaustion points, so you can set TradingView notifications.
Works on any chart timeframe.
This tool is intended as a visual guide for spotting RSI-based exhaustion signals and can be used in conjunction with your trading strategy for improved timing and clarity.
ICT KillZones + ICT NY Midnight Open "YECHALALE"This powerful indicator combines:
- Asia, London, NY AM, and NY PM sessions with configurable colors and kill zones.
- Automatic alerts when price touches session kill zone highs or lows.
- NY Midnight Open line, drawn both vertically and horizontally, DST-adjusted to always align with 00:00 New York time.
- Ideal for traders following ICT/Smart Money Concepts, spotting liquidity sweeps, session overlaps, and potential reversal zones.
- Fully customizable to match your trading style.
Day Trading Levels and Wick Zones_PublicDay Trading Starter Pack
- Previous Day Levels
- Previous Day Wick Zones
- Weekly Wick Zones
REMOVE WEEKLY WICK ZONE TO ELIMINATE GRAY SHADED AREA.
Its only purpose is to show you quickly the weekly candle wicks and the magnitude of the candle.
Entropy Divergence (No Repaint) [PhenLabs]📊 Entropy Divergence (No Repaint)
Version: PineScript™ v6
📌 Description
The Entropy Divergence Scalper (EDS) is a sophisticated trading indicator that applies information theory to market analysis. By calculating Shannon Entropy on price returns, it identifies periods when market behavior becomes more predictable and orderly—the ideal conditions for divergence-based trading.
Traditional divergence indicators generate signals regardless of market conditions, leading to many false signals during chaotic, high-entropy periods. EDS solves this by acting as an intelligent filter: it only triggers signals when entropy drops below your specified threshold, indicating that the market has entered a more structured, tradeable state.
This indicator is built with a strict non-repainting guarantee. All signals use barstate.isconfirmed and only appear after bar close, giving you reliable signals you can trust for live trading.
🚀 Points of Innovation
Shannon Entropy integration measures market randomness using information theory mathematics
Dual divergence engine detects both RSI and Volume divergences simultaneously
Entropy-filtered signals eliminate noise by only triggering in low-entropy (predictable) market conditions
100% non-repainting architecture ensures all signals are confirmed and historically accurate
Multi-layer confirmation combines entropy state, RSI divergence, and volume divergence for higher probability setups
Dynamic color visualization provides instant visual feedback on current market entropy state
🔧 Core Components
Shannon Entropy Calculator: Bins price returns into histograms and calculates entropy using H(X) = -Σ p(x) × log₂(p(x))
RSI Divergence Detector: Identifies when price makes lower lows while RSI makes higher lows (bullish) or price makes higher highs while RSI makes lower highs (bearish)
Volume Divergence Detector: Spots increasing volume interest at price lows (bullish) or decreasing conviction at price highs (bearish)
Pivot Detection System: Uses configurable lookback periods to identify and track price, RSI, and volume pivots
Signal Classification Engine: Labels signals as RSI, VOL, or RSI+VOL based on which divergences triggered
🔥 Key Features
Entropy Threshold Control: Set your preferred entropy level (default 2.5) to filter out signals during chaotic market periods
Configurable Smoothing: EMA smoothing on entropy values reduces noise while maintaining signal responsiveness
Flexible Pivot Detection: Adjust left/right lookback bars to tune sensitivity for different trading styles
Divergence Search Range: Control how far back the indicator looks for divergence patterns (20-200 bars)
Minimum Pivot Distance: Prevents false signals from pivots that are too close together
Complete Alert System: Four alert conditions for bullish signals, bearish signals, any signal, and low entropy zone entry
🎨 Visualization
Dynamic Entropy Line: Color gradient shifts from green (low entropy/tradeable) to orange (high entropy/chaotic)
Entropy Threshold Line: Dashed reference line shows your configured entropy threshold
Low Entropy Zone Fill: Background highlighting indicates when market is in tradeable low-entropy state
Scaled RSI Plot: RSI overlay scaled to fit the entropy pane for easy correlation analysis
Normalized Volume Bars: Volume displayed as columns normalized against 20-period average
Signal Labels: Clear LONG/SHORT labels with divergence type (RSI, VOL, or RSI+VOL)
Information Table: Real-time display of entropy value, state, RSI, and current signal status
📖 Usage Guidelines
Entropy Lookback Period — Default: 20, Range: 5-100 — Controls how many bars are used for entropy calculation; higher values provide smoother readings but slower response
Histogram Bins — Default: 10, Range: 5-50 — Number of bins for probability distribution; more bins provide finer granularity
Low Entropy Threshold — Default: 2.5, Range: 0.5-4.0 — Signals only trigger when entropy drops below this value; lower settings are more selective
Entropy Smoothing — Default: 3, Range: 1-10 — EMA smoothing applied to raw entropy values for noise reduction
RSI Length — Default: 14, Range: 5-50 — Standard RSI calculation period
Pivot Lookback Left — Default: 5, Range: 2-20 — Bars to the left for pivot detection
Pivot Lookback Right — Default: 2, Range: 1-10 — Bars to the right for pivot confirmation; lower values produce faster signals
Divergence Search Range — Default: 60, Range: 20-200 — Maximum bars to look back for divergence comparison
Min Bars Between Pivots — Default: 5, Range: 3-30 — Minimum distance between pivots for valid divergence detection
✅ Best Use Cases
Scalping during low-volatility consolidation periods when entropy drops and price becomes more predictable
Swing trade entry timing by waiting for divergence signals in low-entropy market conditions
Trend reversal identification when both RSI and Volume divergences align with low entropy readings
Multi-timeframe confirmation by checking entropy state on higher timeframes before taking signals
Filtering existing strategies by adding entropy as a confirmation layer to reduce false signals
⚠️ Limitations
Signals appear with a delay due to pivot confirmation requirements (pivotLookbackRight bars after pivot forms)
May generate fewer signals during strongly trending markets where entropy remains elevated
Entropy threshold requires optimization for different instruments and timeframes
Not designed for high-frequency trading due to bar-close confirmation requirement
Divergences can fail in extremely strong trends where momentum overwhelms the signal
💡 What Makes This Unique
First indicator to combine Shannon Entropy filtering with multi-factor divergence detection
Information theory approach provides mathematical foundation for identifying tradeable market states
Triple confirmation requirement (low entropy + divergence + bar close) significantly reduces false signals
Non-repainting guarantee makes it suitable for strategy backtesting and live trading
Open-source PineScript v6 code allows traders to understand and customize the methodology
🔬 How It Works
Step 1 — Entropy Calculation: The indicator calculates logarithmic returns, bins them into a histogram, and computes Shannon Entropy to measure market randomness
Step 2 — Entropy Filtering: When smoothed entropy drops below the threshold, the market is considered to be in a tradeable low-entropy state
Step 3 — Pivot Detection: The system continuously tracks price, RSI, and volume pivots using configurable lookback parameters
Step 4 — Divergence Analysis: When a new pivot is confirmed, the indicator compares it against previous pivots to detect bullish or bearish divergences
Step 5 — Signal Generation: A final signal only triggers when low entropy conditions coincide with a confirmed divergence pattern on a closed bar
💡 Note:
This indicator is designed for educational purposes and technical analysis. Always use proper risk management and never risk more than you can afford to lose. The non-repainting guarantee means signals will only appear after bar close—watch the indicator in real-time to verify this behavior. For optimal results, consider combining EDS signals with support/resistance levels and overall market context.
Long-Term Investment Manager [Manual]Long-Term Investment Manager (Manual) is a portfolio decision support indicator designed for investors managing long-horizon equity or crypto positions with a rules-based, evidence-informed framework.
This script is not a trading signal generator and does not place orders. Instead, it functions as a structured portfolio advisor that contextualizes price action relative to trend, volatility, momentum, and your own cost basis, then translates that context into clear, interpretable guidance.
Core Philosophy
The indicator formalizes how disciplined long-term investors typically think:
Stay invested in primary uptrends
Protect capital when trends break
Trim into strength, not fear
Accumulate selectively during healthy pullbacks
Anchor decisions to entry price and position size, not emotions
What You Configure (Manual by Design)
Average Buy Price – your actual cost basis
Position Size – used for unrealized PnL calculation
Profit Trim Targets – two customizable percentage levels
Volatility Stop Multiplier – controls long-term trailing risk
This ensures the indicator adapts to your portfolio, not a hypothetical backtest.
Evidence-Based Components
200-period Simple Moving Average
Defines the long-term trend using a widely accepted institutional standard.
ATR-based Volatility Stop (Chandelier-style)
Adjusts dynamically to market noise and provides an objective exit when the trend fails.
Relative Strength Index (RSI) + Bollinger Bands
Identifies extension and overheating for profit trimming, and controlled pullbacks for accumulation.
Decision Hierarchy (Capital First)
The logic prioritizes decisions in a strict order:
Exit / Capital Protection
Triggered when price breaks the volatility stop or falls below the long-term trend.
Profit Management
Graduated trimming based on extension and predefined return thresholds.
Accumulation or Hold
Differentiates between healthy pullbacks in an uptrend versus conditions that warrant patience.
Visual & Dashboard Outputs
Entry price and profit targets plotted directly on the chart
Long-term trend and trailing stop visualized clearly
A compact dashboard displaying:
Return on investment percentage
Unrealized profit or loss in currency terms
Current recommended action
Explicit reasoning behind that action
Distance to stop as a quantified risk metric
Intended Use
This tool is best suited for:
Long-term investors managing core positions
Swing-to-position traders seeking structure and discipline
Portfolio managers who prefer rules over reactions
It is intentionally manual, transparent, and conservative—designed to support judgment, not replace it.
Disclaimer:
This indicator is for educational and informational purposes only and does not constitute financial advice. Always integrate broader risk management and personal judgment when making investment decisions.
ISM Manufacturing PMIDescription
The ISM Manufacturing PMI (Purchasing Managers' Index) is a key economic indicator derived from monthly surveys of private sector companies. It provides insight into the health of the US manufacturing sector.
Above 50.0: Indicates Expansion.
Below 50.0: Indicates Contraction.
This script visualizes the ISM Manufacturing PMI using TradingView's available economic data (ECONOMICS:USBCOI), providing traders and analysts with a clear view of macroeconomic trends directly on their charts.
Key Features
Intuitive Visualization:
Dynamic Color Coding: The line turns Green during expansion (>50) and Red during contraction (<50).
Baseline Fill: Optional shading between the data line and the 50.0 baseline emphasizes the current economic state.
Histogram Mode: Toggle a histogram view to easily spot momentum shifts.
Customizable Data Source: Defaults to ECONOMICS:USBCOI but can be configured to use other tickers (e.g., FRED:NAPM) if preferred.
Smoothing: Built-in SMA, EMA, RMA, or WMA smoothing to filter out noise and see the longer-term trend.
Alerts: Set alerts for significant crossovers (Expansion/Contraction start) or extreme levels.
How to Use
Add to Chart: Apply the indicator to any chart. It works best on higher timeframes but pulls monthly data automatically.
Interpret the Trend:
Look for the line crossing the 50.0 level. A cross above suggests the manufacturing sector is growing (Bullish for economy). A cross below suggests slowing down or contraction (Bearish for economy).
Watch for extreme readings (above 60 or below 40) which often mark economic peaks or troughs.
Adjust Settings:
Style: Toggle the Line, Histogram, or Fill visibility in the settings.
Smoothing: If the raw data is too jagged, increase the "Smoothing Length" to 3 or 6 months.
Settings
PMI Ticker: Default is ECONOMICS:USBCOI.
Timeframe: Default is 1M (Monthly).
Show Line / Histogram: Toggle visualization modes.
Smoothing: Type and Length of the moving average applied to the data.
Colors: Customize the colors for Expansion (Grow), Contraction (Fall), and Neutral.
Indicator by: iCD_creator
Version: 1.0
---
Updates & Support
For questions, suggestions, or bug reports, please comment below or message the author.
**Like this indicator? Leave a 👍 and share your feedback!**
ICT Bias ProICT Bias Pro: Dashboard + First Hour Range & Session FVGs
This indicator is a comprehensive "Bias Builder" designed for traders who follow Inner Circle Trader (ICT) concepts. It combines a multi-timeframe trend dashboard with a specific intraday strategy derived from ICT's recent teaching: "How Do I Engage Markets When I Don't Have An Initial Bias?"
The tool is designed to help traders find confluence between the Macro trend (Daily/4H) and the Micro execution (15M/5M) during the New York AM Session.
Features & Methodology
1. Multi-Timeframe Bias Dashboard Located in the corner of your chart, this dashboard provides a quick "Traffic Light" view of the market structure across 4 key timeframes:
Daily & 4-Hour: Establishes the macro direction.
15-Min & 5-Min: Monitors intraday order flow.
Logic: Bias is determined by comparing price relative to the 20 EMA and checking for Market Structure alignment. Green = Bullish, Red = Bearish.
2. The "First Hour" Trading Range (No-Bias Strategy) Following ICT’s specific logic for days when bias is unclear, this tool automatically highlights the 9:30 AM – 10:30 AM (New York Time) trading range.
Range High & Low: Defining the volatility of the opening hour.
Equilibrium (50%): The "Line in the Sand." Price holding above the 50% signals bullish strength (Premium); price below signals bearish weakness (Discount).
Quadrants (25% & 75%): Deep discount/premium zones for precision entries.
3. Session-Specific Fair Value Gaps (FVG) The indicator automatically detects and draws Fair Value Gaps that form only within that critical first hour of trading.
Auto-Extension: Boxes extend to the right until price "mitigates" (fills) them.
Consequent Encroachment (C.E.): Automatically plots the 50% dashed line inside every FVG, a key institutional support/resistance level.
Smart Mitigation: Once a gap is filled, the box changes color (user-selectable) to indicate it is no longer an active magnet.
How to Use This Indicator
This tool is designed to identify Confluence:
Check the Dashboard: Look for alignment on the Daily and 4H timeframes (e.g., Both Green).
Wait for 10:30 AM EST: Allow the script to draw the First Hour Range.
Trade the Confluence:
Bullish Setup: If the Dashboard is Green, look for price to hold above the 50% Equilibrium of the First Hour Range. Look for entries inside Bullish FVGs that form near the 50% or 75% levels.
Bearish Setup: If the Dashboard is Red, look for price to reject the 50% Equilibrium and stay in the lower half. Target Bearish FVGs near the 50% or 25% levels.
Settings & Customization
Dashboard Toggle: Show or hide the table to keep charts clean.
Colors: Fully customizable colors for Range High/Low, FVGs (Bullish/Bearish), and Mitigated gaps.
Text Positioning: Adjust FVG labels (Left/Center/Right) to prevent visual clutter on candles.
Credits & Attribution
Concept: Inner Circle Trader (Michael Huddleston).
Core Strategy: Based on the video "How Do I Engage Markets When I Don't Have An Initial Bias?"
Disclaimer: This tool is for educational purposes only. Past performance is not indicative of future results.
Session Open/Close Labels - SimpleSimple and Minimal Label that shows Tokyo and EU open and close times on the chart
Global Liquidity Index (Major Economies Only)This iteration represents a revised adaptation of QuantitativeAlpha ’s framework for measuring global liquidity. It enables clear visibility into the current state of global liquidity—a foundational driver of risk asset prices.
Kotegawa Dip ReversalTakashi Kotegawa trading indicator
it is meant to buy cheap japanese stocks when they are below vwap
Blockcircle Price Gaps (PG)I got tired of price gap indicators that dump every zone on the chart and leave you to figure out which ones actually matter. I have tried every single one imaginable. Therefore, I built this one to score each gap automatically based on how close it is, how it formed, and whether it aligns with the trend. Instead of cryptic numbers, it just tells you: Strong, Moderate, or Weak, plus how far away it is. You see what matters, skip what doesn't. Hopefully, you find it helpful!
If you have other ideas to improve it even further, please let me know, and I can integrate them.
WHAT MAKES IT ORIGINAL AND DIFFERENT
Standard gap indicators display every detected imbalance with identical visual treatment, leaving traders to manually assess which zones matter. This creates cluttered charts and analysis paralysis.
This BLOCKCIRCLE PRICE GAPS (PG) indicator solves that problem with a Relevance Engine that automatically scores each gap from 0 to 100 and translates scores into plain language: Strong, Moderate, or Weak. Each zone displays its strength rating and distance from the current price, so you instantly know which gaps deserve attention and how far the price must travel to reach them.
The scoring combines four factors that research shows correlate with zone effectiveness:
Proximity: Gaps closer to the current price score higher because nearby zones influence immediate price action more than distant ones.
Formation Volume: Gaps created during above-average volume suggest institutional activity rather than random price movement.
Impulse Strength: Gaps formed by strong moves (measured against ATR) indicate genuine supply/demand imbalance rather than noise.
Trend Alignment: Support gaps in uptrends and resistance gaps in downtrends receive bonus points for trading with momentum.
Visual intensity reflects strength automatically. Strong zones appear darker and more prominent. Weak zones fade into the background. You see what matters without decoding numbers.
HOW IT WORKS
Price Gaps form when aggressive buying or selling creates an imbalance, leaving unfilled space between candles. These zones often act as support (bullish gaps below price) or resistance (bearish gaps above price) when the price returns to them.
Detection uses the standard three-candle method: a bullish gap exists when the current low exceeds the high from two bars prior. A bearish gap exists when the current high falls below the low from two bars prior.
What makes this implementation different is continuous relevance tracking . Each bar, every gap receives an updated score based on current conditions . As the price moves away, the proximity scores decrease. As gaps age, time decay gradually reduces their overall relevance. When capacity limits are reached, the lowest-scoring gap is removed first, ensuring your chart always shows the most actionable zones.
Labels show practical information:
Strength rating (Strong, Moderate, or Weak)
Zone type (Support or Resistance)
Distance from current price with direction (+12% means above, -8% means below)
FEATURES
Relevance scoring with automatic strength classification
Plain-language labels showing strength and distance
Color intensity that reflects zone importance
Retest detection when price returns to unfilled gaps
Proximity filtering to hide distant zones
Age filtering to remove stale gaps
Size filtering for minimum and maximum gap thresholds
Relevance-based capacity management
Information panel with zone counts and trend context
Multiple label style options
HOW THE COMPONENTS WORK TOGETHER
The system operates as a filtering pipeline:
Size filters remove gaps that are too small (market noise) or too large (extreme events unlikely to fill).
The Relevance Engine scores qualifying gaps based on proximity, volume, impulse, and trend.
Gaps below the minimum score threshold are hidden.
Proximity and age filters remove distant or stale gaps.
When at capacity, the lowest-scoring gap is removed to make room for new detections.
This layered approach ensures only the most relevant gaps appear on your chart.
CONFIGURABLE SETTINGS
Display Settings control how many zones appear and how they are displayed.
Label Style lets you choose what information displays: Strength plus Distance (default), Strength Only, Distance Only, Score Only, or None.
Relevance Engine settings include the master toggle and minimum score threshold. The Scoring Weights section allows advanced users to adjust how much each factor contributes.
Filters control size thresholds, maximum distance from price, and maximum age in bars.
Retest Alerts notify you when the price returns to an unfilled gap with three sensitivity options.
Zone Behavior controls whether filled gaps are removed and what counts as a filled gap.
HOW TO USE
The default settings work well for most timeframes and markets. Strong zones (shown in brighter colors with yellow text) have multiple factors aligned and deserve the most attention. Moderate zones are worth watching. Weak zones provide context but may not produce reliable reactions.
For active trading, focus on Strong and Moderate zones within 10% of the current price. These are the most likely to influence near-term price action.
For swing trading, expand the Maximum Distance setting to see zones further from the price that may become relevant as trends develop.
When the Retest alert fires, the price is returning to an unfilled gap. Evaluate the zone strength, look for price reaction at the zone boundary, and consider whether the move aligns with the broader trend before trading.
The information panel shows:
Support: Count of bullish gaps (potential buying zones)
Resistance: Count of bearish gaps (potential selling zones)
Unfilled: Zones not yet touched by price
Avg Strength: Overall quality of visible zones
Trend: Current direction based on EMA alignment
LIMITATIONS
Relevance scoring is probabilistic, not predictive. A Strong gap is more likely to produce a reaction based on historical patterns, but any zone can fail.
The trend component uses EMA crossovers (20/50/200), which may lag in choppy markets.
Distance calculations update each bar. During volatile moves, labels may briefly show different values as price swings.
DEFAULTS
These are the defaults, but you would adjust and calibrate it to a specific asset, as needed:
Maximum Zones: 12
Label Style: Strength + Distance
Minimum Score: 20
Maximum Distance: 25%
Maximum Age: 300 bars
If you have any questions at all, please ask away!
Global Bitcoin ETF Holdings Bitcoin ETF Tracker This indicator visualizes the total physical Bitcoin holdings of all major Spot ETFs globally (USA, Canada, Europe).
Key Features:
Precision: Uses "Shares Outstanding" data instead of AUM. This eliminates price volatility noise and shows actual inflows/outflows.
Smart Zoom: Dynamic scaling zooms into the active range (top 15%), making daily flows clearly visible.
Whale Dashboard: Real-time table showing Net Flows (24h & 7d) in BTC.
Customizable: Ticker symbols can be adjusted in settings to match your data feed (e.g., BATS vs. ARCA).






















