Sigma Expected Movement [D/W/M] - Jez WhitakerThis indicator aims to help those with lower levels of TradingView add day trading indicators without going over their limits. You can toggle on and off the indicators you want and change the settings but you should see:
MAs - 5, 20, 50, 100, 200
VWAPS - daily, WTD, MTD, YTD
Previous close, previous highs, previous lows etc.
Statistics
Latent Regime Informed Monte Carlo ForecastThis script uses a Monte Carlo simulation to forecast where price might be a set number of bars into the future (default 6 bars ahead). It generates hundreds of possible future price paths based on an average move (drift) and random shocks (volatility). The result is a distribution of outcomes, displayed as probability zones: the median (most likely), inner bands (50% confidence), and wider bands (80% and 95% confidence). Due to the randomness assumption in Monte Carlo simulations, the paths are not very important so to minimize cluttering on the graphs we only plot bands. These zones help you visualize uncertainty, set stops and targets based on probabilities, and spot when market behavior changes.
The accuracy of any Monte Carlo forecast depends heavily on how well you estimate trend and volatility. By default and no prior information the Monte Carlo simulation gives you a parabolic forecast that assumes absolute randomness. This is where the Kalman filter comes in. The filter (derived from control theory) aims to detect latent (unobservable) traits about the system by continuously updating its transition probabilities to better understand how the latent traits affect the observable measurement (price). With each new observable state we get better and better transition probabilities and enhances our understanding about the latent and unobservable market characteristics like trend and volatility. Both crucial measurements for short term market sentiment.
Extracting these measurements for market sentiment informs us how to better parametrize the Monte Carlo simulation for a better forecast. Each bar, the KF updates its estimates based on how close its last prediction was to reality. In calm periods, it holds estimates steady; in volatile periods, it adapts quickly. This gives you real-time, low-lag measurements of both trend and volatility.
By feeding these adaptive estimates into the Monte Carlo simulation, the forecast becomes much more responsive to current market conditions. In trends, the predicted paths tilt toward the direction of movement; in choppy markets, they spread wider but stay centered; when volatility spikes, the probability zones expand immediately. The result is a dynamic forecast tool that adjusts on every bar, giving you a clearer, probability-based picture of where the market could go next.
This is my very first script and I would love feedback/ideas for different topics.
My background is in economics/mathematics and interests lie in time series analysis/exploring financial features for DS
Adaptive Correlation Engine (ACE)🧠 Adaptive Correlation Engine (ACE)
Quantify inter-asset relationships with adaptive lag detection and actionable insights.
📌 What is ACE?
The Adaptive Correlation Engine (ACE) is a precision tool for seeking to uncover meaningful relationships between two assets — not just raw correlation, but also lag dynamics, leader detection, and alignment vs. divergence classification.
Unlike static correlation tools, ACE intelligently scans multiple lag windows to find:
✅ The maximum correlation between the base asset and a comparison symbol
⏱️ The optimal lag (if any) at which the correlation is strongest
🧭 Whether the assets are Aligned (positive correlation) or Divergent (inverse)
🔁 Which symbol is leading, and by how many bars
📈 Actionable signal strength based on a user-defined correlation threshold
⚙️ How It Works
Correlation Scan:
For each bar, ACE checks the correlation between the charted asset (close) and a lagged version of the comparison asset across a sliding window of lookback periods.
Lag Optimization:
The engine searches from lag 0 up to your specified Max Lag to find where the correlation (positive or negative) is most significant.
Relationship Classification:
The indicator classifies the relationship as:
Aligned: Positive correlation above the threshold
Divergent: Negative correlation above the threshold
Synchronous: No lag detected
Low Signal: Correlation is weak or noisy
Visual & Tabular Insights:
ACE plots the highest detected correlation on the chart and shows an insight table displaying:
- Correlation value
- Detected lag
- Direction type (aligned/divergent)
- Leading asset
- Suggested action (e.g., “Likely continuation” or “Possible mean reversion”)
💡 How to Use It
Use ACE to identify leadership patterns between assets (e.g., ETH leads altcoins, SPX leads crypto, etc.)
Spot potential lagging trade setups where one asset’s move may soon echo in another
Confirm or challenge correlation-based trading assumptions with data
Combine with technical indicators or price action to time entries and exits more confidently
🔔 Alerts
Built-in alerts notify you when correlation strength crosses your actionable threshold, classified by alignment or divergence.
🛠️ Inputs
Compare Symbol: The asset to compare against (e.g., INDEX:ETHUSD)
Correlation Lookback: Rolling window for calculating correlation
Max Lag Bars: Maximum lag shift to test
Minimum Actionable Correlation: Signal threshold for trade-worthy insights
⚠️ Disclaimer
This tool is for research and informational purposes only. It does not constitute financial advice or a trading signal. Always perform your own due diligence and consult a financial advisor before making investment decisions.
SMC Structure IndicatorTitle: SMC Structures Indicator
Description:
The SMC Structures indicator is a powerful tool designed to identify and visualize key structural elements in price action, based on the principles of Smart Money Concepts (SMC). This indicator helps traders identify potential areas of support, resistance, and price reversals by highlighting significant market structures.
Key Features:
Structure Identification: The indicator automatically detects and marks important high and low structures in the market.
Break of Structure (BOS) Detection: It identifies and labels instances where previous structures are broken, indicating potential trend changes or continuations.
Change of Character (CHoCH) Detection: The indicator recognizes and marks Changes of Character, which are significant shifts in market behavior.
Customizable Visuals: Users can personalize the appearance of BOS and CHoCH markings, including colors, line styles, and widths.
Current Structure Display: The indicator can optionally show the current active structure, helping traders understand the immediate market context.
Historical Structure Tracking: Users can specify the number of historical structure breaks to display, allowing for a cleaner chart while maintaining relevant information.
Flexible Break Confirmation: The indicator offers the option to confirm structure breaks using either the candle body or wick, accommodating different trading styles.
Technical Details:
The indicator uses advanced algorithms to identify significant price structures based on local highs and lows.
It employs a lookback period of 10 bars for structure detection, ensuring relevance to current market conditions.
The code includes safeguards to handle different market phases and avoid false signals during ranging periods.
Customization Options:
Colors for Bullish and Bearish BOS and CHoCH markings
Line styles and widths for all structure markings
Number of historical breaks to display
Option to show or hide the current active structure
Choice between candle body or wick for structure break confirmation
Use Cases:
Trend Analysis: Identify the start of new trends or potential trend reversals.
Support and Resistance: Pinpoint key levels where price may react.
Trade Entry and Exit: Use structure breaks as potential entry or exit signals.
Market Context: Understand the broader market structure to make informed trading decisions.
Binance Funding Rates [vichtoreb]Source: www.binance.com
The funding rate has two components: the interest rate and the average Premium Index.
Binance furnishes the Premium Index data for crypto assets on the TradingView platform. This script uses that data to calculate the funding rate.
Binance updates the Premium Index every 5 seconds.
The average Premium Index (denoted **P\_avg**) is the time-weighted average of all Premium Index data points:
P_avg = wma(Premium Index, n)
where **n** is the averaging length.
At each change time—8:00 PM, 4:00 AM, and 12:00 PM (UTC-4)—Binance sets
P_avg = wma(Premium Index, 5 760)
This is the weighted moving average of the last 8 hours because 5 760 × 5 s = 8 h. Binance then calculates the new funding rate:
Funding Rate = P_avg + clamp(interest rate − P_avg, −0.05 %, 0.05 %)
This value updates only at those change times (8:00 PM, 4:00 AM, and 12:00 PM, UTC-4).
**Indicator precision**
TradingView limits historical requests to 5 000 candles. To match Binance exactly, 5 760 candles are required. As a workaround, the script samples the Premium Index every *resolution* seconds (or minutes), where *resolution* is the indicator’s timeframe input.
If it weren't for this limitation, setting resolution = 5 sec, we would get EXACTLY the same result as the official one
**Interest rate**
On Binance Futures, the interest rate is 0.03 % per day by default (0.01 % per funding interval, as funding occurs every 8 hours). This does not apply to certain contracts, such as ETH/BTC, for which the interest rate is 0 %.
**Estimate line**
If the “show estimate” input is enabled, the indicator plots
wma(Premium Index, n) + clamp(interest rate − P_avg, −0.05 %, 0.05 %)
with **n** equal to the number of bars that have elapsed since the last funding-rate change.
Position Size 📐 DT/ST (Today's Open)💡 Purpose:
This indicator automatically calculates intraday (DT) and swing trading (ST) position sizes based on your account capital, risk per trade, and stop-loss percentage, using today’s daily open price as the entry price reference.
⚙️ Main Functionalities:
Dynamic Position Sizing
Calculates Full size position based on the maximum risk you allow per trade.
Breaks it down into ¼ Size, ⅓ Size, and ½ Size positions for flexible scaling.
Two Distinct Trading Styles:
DT (Day Trading) – Uses your specified intraday stop-loss % (default: 2%).
ST (Swing Trading) – Uses your specified swing stop-loss % (default: 10%).
Lot Size Rounding
Automatically rounds quantities to a chosen lot size (e.g., 1 for cash equity or futures lot size for derivatives).
Customizable Table Position
Display the table anywhere on your chart: Top Right, Top Left, Bottom Right, or Bottom Left.
Optimized for Dark or Light Themes
Yellow header with black text for visibility.
Blue row labels for strategy type.
Grey background with white text for calculated values.
Live Market Adaptation
All values update in real-time as today’s daily open price changes (on new daily candles).
Works for any symbol, asset class, or time frame.
🧮 Formula:
Position Size (Full) = Max Risk ₹ / (Price × StopLoss%)
¼, ⅓, and ½ Sizes = Scaled from Full size
📌 Ideal For:
Traders who want quick, ready-to-use position sizes right on their chart.
Those who follow fixed risk-per-trade and need fast decision-making without manual calculations.
Mayer Multiple Z-ScoreMayer Multiple is a ratio between the current Market Price and its 200 days moving average.
Being a lagging indicator it shows periods of relative value for the asset but does not have much predictive power.
It is worth noting that the indicator relies on a fairly responsive moving average on the scale of a Bitcoin market cycle and as such may be best suited for the swing traders to find zones where price is overbought and oversold within a market cycle.
Added the Z-Score metric for easy classification of the value of Bitcoin according to this indicator. Customizable thresholds from Z-Score calculation as the metric suffers alpha decay / compression.
Created for TRW
Leader-Lagger DashboardSummary:
The ultimate frustration for a trader: being right on the idea, but wrong on the asset.
You correctly predict a market move, develop a solid bullish or bearish thesis, but the instrument you choose fails to follow through. Meanwhile, a correlated asset makes the exact move you anticipated, leaving you with a losing trade or a missed opportunity.
This common pitfall is precisely what the Leader/Lagger Dashboard is designed to solve.
The Solution: Instant Clarity on Relative Strength
The Leader/Lagger Dashboard provides a clear, real-time verdict on the relative strength between two correlated assets, such as ES (S&P 500 futures) and NQ (Nasdaq 100 futures).
By instantly identifying the Leader (the stronger asset) and the Lagger (the weaker asset), it empowers you to focus your capital on the instrument with the highest probability of performing in line with your market view.
As shown in the example image, if your idea is to short the market, choosing the "Weak" asset (ES) results in a winning trade, while shorting the "Strong" asset (NQ) would have failed. This tool helps you make that critical distinction before you enter.
How It Works
The engine at the core of this dashboard analyzes the price action of two assets on a higher timeframe (defaulting to 90 minutes). It measures how the current bar's high and low are performing relative to the previous bar's range for each asset. By comparing these normalized values, it generates a score to determine which asset is exhibiting stronger momentum (the Leader) and which is showing weakness (the Lagger).
A tie-breaking mechanism using a lower timeframe ensures you always have a decisive verdict.
How to Use It
The principle is simple: Go long the leader, and short the lagger.
If you are Bullish: Look for the asset marked "Strong." This is the instrument most likely to lead the upward move.
If you are Bearish: Look for the asset marked "Weak." This is the instrument most likely to lead the downward move.
By aligning your trade execution with the market's internal momentum, you dramatically increase your odds of success and avoid the frustration of trading against underlying strength or weakness.
Key Features
Instant Verdict: A simple on-chart table displays a "Strong" or "Weak" verdict for each asset.
Focus on the Leader: Easily identify which asset is leading the move to align your trades with momentum.
Avoid the Lagger: Steer clear of the weaker asset that might chop around or reverse, even if your directional bias is correct.
Fully Customizable: Change the two assets to any symbols you trade (e.g., GOLD vs. SILVER, EURUSD vs. GBPUSD).
Adjustable Display: Control the table's position and font size to perfectly fit your chart layout. The table is designed to be visible on lower timeframes (5-minutes and under) to assist with day trading execution.
This tool is designed to be a crucial part of your decision-making process, providing an objective layer of confirmation for your trading ideas. so Stop guessing and start trading the right asset.
As always, use this indicator in conjunction with your own complete analysis and risk management strategy.
Cycle Phase & ETA Tracker [Robust v4]
Cycle Phase & ETA Tracker
Description
The Cycle Phase & ETA Tracker is a powerful tool for analyzing market cycles and predicting the completion of the current cycle (Estimated Time of Arrival, or ETA). It visualizes the cycle phase (0–100%) using a smoothed signal and displays the forecasted completion date with an optional confidence band based on cycle length variability. Ideal for traders looking to time their trades based on cyclical patterns, this indicator offers flexible settings for robust cycle analysis.
Key Features
Cycle Phase Visualization: Tracks the current cycle phase (0–100%) with color-coded zones: green (0–33%), blue (33–66%), orange (66–100%).
ETA Forecast: Shows a vertical line and label indicating the estimated date of cycle completion.
Confidence Band (±σ): Displays a band around the ETA to reflect uncertainty, calculated using the standard deviation of cycle lengths.
Multiple Averaging Methods: Choose from three methods to calculate average cycle length:
Median (Robust): Uses the median for resilience against outliers.
Weighted Mean: Prioritizes recent cycles with linear or quadratic weights.
Simple Mean: Applies equal weights to all cycles.
Adaptive Cycle Length: Automatically adjusts cycle length based on the timeframe or allows a fixed length.
Debug Histogram: Optionally displays the smoothed signal for diagnostic purposes.
Setup and Usage
Add the Indicator:
Search for "Cycle Phase & ETA Tracker " in TradingView’s indicator library and apply it to your chart.
Configure Parameters:
Core Settings:
Track Last N Cycles: Sets the number of recent cycles used to calculate the average cycle length (default: 20). Higher values provide stability but may lag market shifts.
Source: Selects the data source for analysis (e.g., close, open, high; default: close price).
Use Adaptive Cycle Length?: Enables automatic cycle length adjustment based on timeframe (e.g., shorter for intraday, longer for daily) or uses a fixed length if disabled.
Fixed Cycle Length: Defines the cycle length in bars when adaptive mode is off (default: 14). Smaller values increase sensitivity to short-term cycles.
Show Debug Histogram: Enables a histogram of the smoothed signal for debugging signal behavior.
Cycle Length Estimation:
Average Mode: Selects the method for calculating average cycle length: "Median (Robust)", "Weighted Mean", or "Simple Mean".
Weights (for Weighted Mean): For "Weighted Mean", chooses "linear" (moderate emphasis on recent cycles) or "quadratic" (strong emphasis on recent cycles).
ETA Visualization:
Show ETA Line & Label: Toggles the display of the ETA line and date label.
Show ETA Confidence Band (±σ): Toggles the confidence band around the ETA, showing the uncertainty range.
Band Transparency: Adjusts the transparency of the confidence band (0 = fully transparent, 100 = fully opaque; default: 85).
ETA Color: Sets the color for the ETA line, label, and confidence band (default: orange).
Interpretation:
The cycle phase (0–100%) indicates progress: green for the start, blue for the middle, and orange for the end of the cycle.
The ETA line and label show the predicted cycle completion date.
The confidence band reflects the uncertainty range (±1 standard deviation) of the ETA.
If a warning "Insufficient cycles for ETA" appears, wait for the indicator to collect at least 3 cycles.
Limitations
Requires at least 3 cycles for reliable ETA and confidence band calculations.
On low timeframes or low-volatility markets, zero-crossings may be infrequent, delaying ETA updates.
Accuracy depends on proper cycle length settings (adaptive or fixed).
Notes
Test the indicator across different assets and timeframes to optimize settings.
Use the debug histogram to troubleshoot if the ETA appears inaccurate.
For feedback or suggestions, contact the author via TradingView.
Cycle Phase & ETA Tracker
Описание
Индикатор Cycle Phase & ETA Tracker предназначен для анализа рыночных циклов и прогнозирования времени завершения текущего цикла (ETA — Estimated Time of Arrival). Он отслеживает фазы цикла (0–100%) на основе сглаженного сигнала и отображает предполагаемую дату завершения цикла с опциональной доверительной полосой, основанной на стандартном отклонении длин циклов. Индикатор идеально подходит для трейдеров, которые хотят выявлять циклические закономерности и планировать свои действия на основе прогнозируемого времени.
Ключевые особенности
Фазы цикла: Визуализирует текущую фазу цикла (0–100%) с цветовой кодировкой: зеленый (0–33%), синий (33–66%), оранжевый (66–100%).
Прогноз ETA: Показывает вертикальную линию и метку с предполагаемой датой завершения цикла.
Доверительная полоса (±σ): Отображает зону неопределенности вокруг ETA, основанную на стандартном отклонении длин циклов.
Гибкие методы усреднения: Поддерживает три метода расчета средней длины цикла:
Median (Robust): Медиана, устойчивая к выбросам.
Weighted Mean: Взвешенное среднее, где недавние циклы имеют больший вес (линейный или квадратичный).
Simple Mean: Простое среднее с равными весами.
Адаптивная длина цикла: Автоматически подстраивает длину цикла под таймфрейм или позволяет задать фиксированную длину.
Отладочная гистограмма: Опционально отображает сглаженный сигнал для анализа.
Настройка и использование
Добавьте индикатор:
Найдите "Cycle Phase & ETA Tracker " в библиотеке индикаторов TradingView и добавьте его на график.
Настройте параметры:
Core Settings:
Track Last N Cycles: Количество последних циклов для расчета средней длины (по умолчанию 20). Большие значения дают более стабильные результаты, но могут запаздывать.
Source: Источник данных (по умолчанию цена закрытия).
Use Adaptive Cycle Length?: Включите для автоматической настройки длины цикла по таймфрейму или отключите для использования фиксированной длины.
Fixed Cycle Length: Длина цикла в барах, если адаптивная длина отключена (по умолчанию 14).
Show Debug Histogram: Включите для отображения сглаженного сигнала (полезно для отладки).
Cycle Length Estimation:
Average Mode: Выберите метод усреднения: "Median (Robust)", "Weighted Mean" или "Simple Mean".
Weights (for Weighted Mean): Для режима "Weighted Mean" выберите "linear" (умеренный вес для новых циклов) или "quadratic" (сильный вес для новых циклов).
ETA Visualization:
Show ETA Line & Label: Включите для отображения линии и метки ETA.
Show ETA Confidence Band (±σ): Включите для отображения доверительной полосы.
Band Transparency: Прозрачность полосы (0 — полностью прозрачная, 100 — полностью непрозрачная, по умолчанию 85).
ETA Color: Цвет для линии, метки и полосы (по умолчанию оранжевый).
Интерпретация:
Фаза цикла (0–100%) показывает прогресс текущего цикла: зеленый — начало, синий — середина, оранжевый — конец.
Линия и метка ETA указывают предполагаемую дату завершения цикла.
Доверительная полоса показывает диапазон неопределенности (±1 стандартное отклонение).
Если отображается предупреждение "Insufficient cycles for ETA", дождитесь, пока индикатор соберет минимум 3 цикла.
Ограничения
Требуется минимум 3 цикла для надежного расчета ETA и доверительной полосы.
На низких таймфреймах или рынках с низкой волатильностью пересечения нуля могут быть редкими, что замедляет обновление ETA.
Эффективность зависит от правильной настройки длины цикла (fixedL или адаптивной).
Примечания
Протестируйте индикатор на разных таймфреймах и активах, чтобы подобрать оптимальные параметры.
Используйте отладочную гистограмму для анализа сигнала, если ETA кажется неточным.
Для вопросов или предложений по улучшению свяжитесь через TradingView.
Entropy (Fiedor/Kontoyiannis) - Part 2 of Fiedor's TheoryThis indicator estimates the Shannon entropy of a price series using a Markov chain model of binary returns, following the approach of Fiedor (2014) and Kontoyiannis (1997).
% of Max shows current entropy as a percentage of its theoretical maximum (1 bit for binary up/down moves).
Percentile ranks the current entropy against historical values in the chosen lookback window.
High entropy suggests price movement is less predictable by frequentist models; low entropy implies more structure and predictability.
Use this as an informational oscillator, not a trading signal.
This is a visualization of Part 1 of Fiedor's Theory. The same entropy logic is already embedded in Part 1 however the second pane is a nice reminder of why it works.
TCP | Market Session | Session Analyzer📌 TCP | Market Session Indicator | Crypto Version
A powerful, real-time market session visualization tool tailored for crypto traders. Track the heartbeat of Asia, Europe, and US trading hours directly on your chart with live session boxes, behavioral analysis, liquidity grab detection, and countdown timers. Know when the action starts, how the market behaves, and where the traps lie.
🔰 Introduction:
Trade the Right Hours with the Right Tools
Time matters in trading. Most significant moves happen during key sessions—and knowing when and how each session unfolds can give you a sharp edge. The TCP Market Session Indicator, developed by Trade City Pro (TCP), puts professional session tracking and behavioral insights at your fingertips.
Whether you're a scalper or swing trader, this indicator gives you the timing context to enter and exit trades with greater confidence and clarity.
🕒 Core Features
• Live Session Boxes :
Highlight active ranges during Asia, Europe, and US sessions with dynamic high/low updates.
• Session Start/End Labels :
Know exactly when each session begins and ends plotted clearly on your chart with context.
• Session Behavior Analysis :
At the end of each session, the indicator classifies the price action as:
- Trend Up
- Trend Down
- Consolidation
- Manipulation
• Liquidity Grab Detection: Automatically detects possible stop hunts (fake breakouts) and marks them on the chart with precision filters (volume, ATR, reversal).
• Session Countdown Table: A live dashboard showing:
- Current active session
- Time left in session
- Upcoming session and how many minutes until it starts
- Utility time converter (e.g. 90 min = 01:30)
• Vertical Session Lines: Visualize past and upcoming session boundaries with customizable history and future range.
• Multi-Day Support: Draw session ranges for previous, current, and future days for better backtesting and forecasting.
⚙️ Settings Panel
Customize everything to fit your trading style and schedule:
• Session Time Settings:
Set the opening and closing time for each session manually using UTC-based minute inputs.
→ For example, enter Asia Start: 0, Asia End: 480 for 00:00–08:00 UTC.
This gives full flexibility to adjust session hours to match your preferred market behavior.
• Enable or Disable Elements:
Toggle the visibility of each session (Asia, Europe, US), as well as:
- Session Boxes
- Countdown Table
- Session Lines
- Liquidity Grab Labels
• Timezone Selection:
Choose between using UTC or your chart’s local timezone for session calculations.
• Customization Options:
Select number of past and future days to draw session data
Adjust vertical line transparency
Fine-tune label offset and spacing for clean layout
📊 Smart Session Boxes
Each session box tracks high, low, open, and close in real time, providing visual clarity on market structure. Once a session ends, the box closes, and the behavior type is saved and labeled ideal for spotting patterns across sessions.
• Asia: Green Box
• Europe: Orange Box
• US: Blue Box
💡 Why Use This Tool?
• Perfect Timing: Don’t get chopped in low-liquidity hours. Focus on sessions where volume and volatility align.
• Pattern Recognition: Study how price behaves session-to-session to build better strategies.
• Trap Detection: Spot manipulation moves (liquidity grabs) early and avoid common retail pitfalls.
• Macro Session Mapping: Use as a foundational layer to align trades with market structure and news cycles.
🔍 Example Use Case
You're watching BTC at 12:45 UTC. The indicator tells you:
The Asia session just ended (label shows “Asia Session End: Trend Up”)
Europe session starts in 15 minutes
A liquidity grab just triggered at the previous high—label confirmed
Now you know who’s active, what the market just did, and what’s about to start—all in one glance.
✅ Why Traders Trust It
• Visual & Intuitive: Fully chart-based, no clutter, no guessing
• Crypto-Focused: Designed specifically for 24/7 crypto markets (not outdated forex models)
• Non-Repainting: All labels and boxes stay as printed—no tricks
• Reliable: Tested across multiple exchanges, pairs, and timeframes
🧩 Built by Trade City Pro (TCP)
The TCP Market Session Indicator is part of a suite of professional tools used by over 150,000 traders. It’s coded in Pine Script v6 for full compatibility with TradingView’s latest capabilities.
🔗 Resources
• Tutorial: Learn how to analyze sessions like a pro in our TradingView guide:
"TradeCityPro Academy: Session Mapping & Liquidity Traps"
• More Tools: Explore our full library of indicators on
Volume Statistics - IntraweekVolume Statistics - Intraweek: For Orderflow Traders
This tool is designed for traders using volume footprint charts and orderflow methods.
Why it matters:
In orderflow trading, you care about the quality of volume behind each move. You’re not just watching price; you’re watching how much aggression is behind that price move. That’s where this indicator helps.
What to look at:
* Current Volume shows you how much volume is trading right now.
* Central Volume (median or average over 24h or 7D) gives you a baseline for what's normal volume VS abnormal volume.
* The Diff vs Central tells you immediately if current volume is above or below normal.
How this helps:
* If volume is above normal, it suggested elevated levels of buyer or seller aggression. Look for strong follow-through or continuation.
* If volume is below normal, it may signal low interest, passive participation, a lack of conviction, or a fake move.
* Use this context to decide if what you're seeing in the footprint (imbalances, absorption, traps) is actually worth acting on.
Extra context:
* The highest and lowest volume levels and their timestamps help you spot prior key reactions.
* Second and third highest bars help you see other major effort points in the recent window.
Comment with any suggestions on how to improve this indicator.
Liquidation Heatmap Proxy [victhoreb]Author: victhoreb
This script was inspired by the Coinglass indicator: www.coinglass.com
It divides each bar into subbars determined by the intrabar period. For each bar, it considers subbars with a positive OID (open interest delta) (if the user sets "Filter by Signal" to true, it only considers subbars with OID > 0 from a main bar that had a peak in open interest). In these subbars, it considers opened long/short positions based on the intrabar price movement and the dispersion factor (which becomes completely unnecessary if the user is using Intrabar Resolution in ticks; in this case, set the dispersion factor = 0).
After determining the opened long and short positions, it determines, based on the user-selected leverages, the liquidation level for each position. The width of each level is given by syminfo.mintick * scale. The script uses the intrabar OID from the previous step to store an estimate of the number of contracts to be liquidated at each level. This estimate is used to color the levels by order of magnitude.
If there is a subsequent increase in liquidations at a pre-existing level, the script accumulates the estimated number of contracts to be liquidated and repaints the level. A note about a visual limitation of the script is important: in Coinglass' version, when there is a subsequent increase in liquidations at a pre-existing level, Coinglass paints the level a brighter color ONLY from the moment of the increase—however, this script does not do this; it repaints the entire level with the brighter color. Note: While accurate, this script is only a proxy. Use at your own risk.
This script has alerts for when there is liquidation in the long or short direction.
Bollinger Heatmap [Quantitative]Overview
The Bollinger Heatmap is a composite indicator that synthesizes data derived from 30 Bollinger bands distributed over multiple time horizons, offering a high-dimensional characterization of the underlying asset.
Algorithm
The algorithm quantifies the current price’s relative position within each Bollinger band ensemble, generating a normalized position ratio. This ratio is subsequently transformed into a scalar heat value, which is then rendered on a continuous color gradient from red to blue. Red hues correspond to price proximity to or extension below the lower band, while blue hues denote price proximity to or extension above the upper band.
Using default parameters, the indicator maps bands over timeframes increasing in a pattern approximating exponential growth, constrained to multiples of seven days. The lower region encodes relationships with shorter-term bands spanning between 1 and 14 weeks, whereas the upper region portrays interactions with longer-term bands ranging from 15 to 52 weeks.
Conclusion
By integrating Bollinger bands across a diverse array of time horizons, the heatmap indicator aims to mitigate the model risk inherent in selecting a single band length, capturing exposure across a richer parameter space.
Investor Tool - Z ScoreThe Investor Tool is intended as a tool for long term investors, indicating periods where prices are likely approaching cyclical tops or bottoms. The tool uses two simple moving averages of price as the basis for under/overvalued conditions: the 2-year MA (green) and a 5x multiple of the 2-year MA (red).
Price trading below the 2-year MA has historically generated outsized returns, and signalled bear cycle lows.
Price trading above the 2-year MA x5 has been historically signalled bull cycle tops and a zone where investors de-risk.
Just like the Glassnode one, but here on TV and with StDev bands
Now with Z-SCORE calculation:
The Z-Score is calculated to be -3 Z at the bottom bands and 3 Z at the top bands
mean = (upper_sma + bottom_sma) / 2
bands_range = upper_sma - bottom_sma
stdDev = bands_range != 0 ? bands_range / 6 : 0
zScore = stdDev != 0 ? (close - mean) / stdDev : 0
Created for TRW
ACR(Average Candle Range) With TargetsWhat is ACR?
The Average Candle Range (ACR) is a custom volatility metric that calculates the mean distance between the high and low of a set number of past candles. ACR focuses only on the actual candle range (high - low) of specific past candles on a chosen timeframe.
This script calculates and visualizes the Average Candle Range (ACR) over a user-defined number of candles on a custom timeframe. It displays a table of recent range values, plots dynamic bullish and bearish target levels, and marks the start of each new candle with a vertical line. All calculations update in real time as price action develops. This script was inspired by the “ICT ADR Levels - Judas x Daily Range Meter°” by toodegrees.
Key Features
Custom Timeframe Selection: Choose any timeframe (e.g., 1D, 4H, 15m) for analysis.
User-Defined Lookback: Calculate the average range across 1 to 10 previous candles.
Dynamic Targets:
Bullish Target: Current candle low + ACR.
Bearish Target: Current candle high – ACR.
Live Updates: Targets adjust intrabar as highs or lows change during the current candle.
Candle Start Markers: Vertical lines denote the open of each new candle on the selected timeframe.
Floating Range Table:
Displays the current ACR value.
Lists individual ranges for the previous five candles.
Extend Target Lines: Choose to extend bullish and bearish target levels fully across the screen.
Global Visibility Controls: Toggle on/off all visual elements (targets, vertical lines, and table) for a cleaner view.
How It Works
At each new candle on the user-selected timeframe, the script:
Draws a vertical line at the candle’s open.
Recalculates the ACR based on the inputted previous number of candles.
Plots target levels using the current candle's developing high and low values.
Limitation
Once the price has already moved a full ACR in the opposite direction from your intended trade, the associated target loses its practical value. For example, if you intended to trade long but the bearish ACR target is hit first, the bullish target is no longer a reliable reference for that session.
Use Case
This tool is designed for traders who:
Want to visualize the average movement range of candles over time.
Use higher or lower timeframe candles as structural anchors.
Require real-time range-based price levels for intraday or swing decision-making.
This script does not generate entry or exit signals. Instead, it supports range awareness and target projection based on historical candle behavior.
Key Difference from Similar Tools
While this script was inspired by “ICT ADR Levels - Judas x Daily Range Meter°” by toodegrees, it introduces a major enhancement: the ability to customize the timeframe used for calculating the range. Most ADR or candle-range tools are locked to a single timeframe (e.g., daily), but this version gives traders full control over the analysis window. This makes it adaptable to a wide range of strategies, including intraday and swing trading, across any market or asset.
On-Chain Signals [LuxAlgo]The On-Chain Signals indicator uses fundamental blockchain metrics to provide traders with an objective technical view of their favorite cryptocurrencies.
It uses IntoTheBlock datasets integrated within TradingView to generate four key signals: Net Network Growth, In the Money, Concentration, and Large Transactions.
Together, these four signals provide traders with an overall directional bias of the market. All of the data can be visualized as a gauge, table, historical plot, or average.
🔶 USAGE
The main goal of this tool is to provide an overall directional bias based on four blockchain signals, each with three possible biases: bearish, neutral, or bullish. The thresholds for each signal bias can be adjusted on the settings panel.
These signals are based on IntoTheBlock's On-Chain Signals.
Net network growth: Change in the total number of addresses over the last seven periods; i.e., how many new addresses are being created.
In the Money: Change in the seven-period moving average of the total supply in the money. This shows how many addresses are profitable.
Concentration: Change in the aggregate addresses of whales and investors from the previous period. These are addresses holding at least 0.1% of the supply. This shows how many addresses are in the hands of a few.
Large Transactions: Changes in the number of transactions over $100,000. This metric tracks convergence or divergence from the 21- and 30-day EMAs and indicates the momentum of large transactions.
All of these signals together form the blockchain's overall directional bias.
Bearish: The number of bearish individual signals is greater than the number of bullish individual signals.
Neutral: The number of bearish individual signals is equal to the number of bullish individual signals.
Bullish: The number of bullish individual signals is greater than the number of bearish individual signals.
If the overall directional bias is bullish, we can expect the price of the observed cryptocurrency to increase. If the bias is bearish, we can expect the price to decrease. If the signal is neutral, the price may be more likely to stay the same.
Traders should be aware of two things. First, the signals provide optimal results when the chart is set to the daily timeframe. Second, the tool uses IntoTheBlock data, which is available on TradingView. Therefore, some cryptocurrencies may not be available.
🔹 Display Mode
Traders have three different display modes at their disposal. These modes can be easily selected from the settings panel. The gauge is set by default.
🔹 Gauge
The gauge will appear in the center of the visible space. Traders can adjust its size using the Scale parameter in the Settings panel. They can also give it a curved effect.
The number of bars displayed directly affects the gauge's resolution: More bars result in better resolution.
The chart above shows the effect that different scale configurations have on the gauge.
🔹 Historical Data
The chart above shows the historical data for each of the four signals.
Traders can use this mode to adjust the thresholds for each signal on the settings panel to fit the behavior of each cryptocurrency. They can also analyze how each metric impacts price behavior over time.
🔹 Average
This display mode provides an easy way to see the overall bias of past prices in order to analyze price behavior in relation to the underlying blockchain's directional bias.
The average is calculated by taking the values of the overall bias as -1 for bearish, 0 for neutral, and +1 for bullish, and then applying a triangular moving average over 20 periods by default. Simple and exponential moving averages are available, and traders can select the period length from the settings panel.
🔶 DETAILS
The four signals are based on IntoTheBlock's On-Chain Signals. We gather the data, manipulate it, and build the signals depending on each threshold.
Net network growth
float netNetworkGrowthData = customData('_TOTALADDRESSES')
float netNetworkGrowth = 100*(netNetworkGrowthData /netNetworkGrowthData - 1)
In the Money
float inTheMoneyData = customData('_INOUTMONEYIN')
float averageBalance = customData('_AVGBALANCE')
float inTheMoneyBalance = inTheMoneyData*averageBalance
float sma = ta.sma(inTheMoneyBalance,7)
float inTheMoney = ta.roc(sma,1)
Concentration
float whalesData = customData('_WHALESPERCENTAGE')
float inverstorsData = customData('_INVESTORSPERCENTAGE')
float bigHands = whalesData+inverstorsData
float concentration = ta.change(bigHands )*100
Large Transactions
float largeTransacionsData = customData('_LARGETXCOUNT')
float largeTX21 = ta.ema(largeTransacionsData,21)
float largeTX30 = ta.ema(largeTransacionsData,30)
float largeTransacions = ((largeTX21 - largeTX30)/largeTX30)*100
🔶 SETTINGS
Display mode: Select between gauge, historical data and average.
Average: Select a smoothing method and length period.
🔹 Thresholds
Net Network Growth : Bullish and bearish thresholds for this signal.
In The Money : Bullish and bearish thresholds for this signal.
Concentration : Bullish and bearish thresholds for this signal.
Transactions : Bullish and bearish thresholds for this signal.
🔹 Dashboard
Dashboard : Enable/disable dashboard display
Position : Select dashboard location
Size : Select dashboard size
🔹 Gauge
Scale : Select the size of the gauge
Curved : Enable/disable curved mode
Select Gauge colors for bearish, neutral and bullish bias
🔹 Style
Net Network Growth : Enable/disable historical plot and choose color
In The Money : Enable/disable historical plot and choose color
Concentration : Enable/disable historical plot and choose color
Large Transacions : Enable/disable historical plot and choose color
Correlation HeatMap [TradingFinder] Sessions Data Science Stats🔵 Introduction
n financial markets, correlation describes the statistical relationship between the price movements of two assets and how they interact over time. It plays a key role in both trading and investing by helping analyze asset behavior, manage portfolio risk, and understand intermarket dynamics. The Correlation Heatmap is a visual tool that shows how the correlation between multiple assets and a central reference asset (the Main Symbol) changes over time.
It supports four market types forex, stocks, crypto, and a custom mode making it adaptable to different trading environments. The heatmap uses a color-coded grid where warmer tones represent stronger negative correlations and cooler tones indicate stronger positive ones. This intuitive color system allows traders to quickly identify when assets move together or diverge, offering real-time insights that go beyond traditional correlation tables.
🟣 How to Interpret the Heatmap Visually ?
Each cell represents the correlation between the main symbol and one compared asset at a specific time.
Warm colors (e.g. red, orange) suggest strong negative correlation as one asset rises, the other tends to fall.
Cool colors (e.g. blue, green) suggest strong positive correlation both assets tend to move in the same direction.
Lighter shades indicate weaker correlations, while darker shades indicate stronger correlations.
The heatmap updates over time, allowing users to detect changes in correlation during market events or trading sessions.
One of the standout features of this indicator is its ability to overlay global market sessions such as Tokyo, London, New York, or major equity opens directly onto the heatmap timeline. This alignment lets traders observe how correlation structures respond to real-world session changes. For example, they can spot when assets shift from being inversely correlated to moving together as a new session opens, potentially signaling new momentum or macro flow. The customizable symbol setup (including up to 20 compared assets) makes it ideal not only for forex and crypto traders but also for multi-asset and sector-based stock analysis.
🟣 Use Cases and Advantages
Analyze sector rotation in equities by tracking correlation to major indices like SPX or DJI.
Monitor altcoin behavior relative to Bitcoin to find early entry opportunities in crypto markets.
Detect changes in currency alignment with DXY across trading sessions in forex.
Identify correlation breakdowns during market volatility, signaling possible new trends.
Use correlation shifts as confirmation for trade setups or to hedge multi-asset exposure
🔵 How to Use
Correlation is one of the core concepts in financial analysis and allows traders to understand how assets behave in relation to one another. The Correlation Heatmap extends this idea by going beyond a simple number or static matrix. Instead, it presents a dynamic visual map of how correlations shift over time.
In this indicator, a Main Symbol is selected as the reference point for analysis. In standard modes such as forex, stocks, or crypto, the symbol currently shown on the main chart is automatically used as the main symbol. This allows users to begin correlation analysis right away without adjusting any settings.
The horizontal axis of the heatmap shows time, while the vertical axis lists the selected assets. Each cell on the heatmap shows the correlation between that asset and the main symbol at a given moment.
This approach is especially useful for intermarket analysis. In forex, for example, tracking how currency pairs like OANDA:EURUSD EURUSD, FX:GBPUSD GBPUSD, and PEPPERSTONE:AUDUSD AUDUSD correlate with TVC:DXY DXY can give insight into broader capital flow.
If these pairs start showing increasing positive correlation with DXY say, shifting from blue to light green it could signal the start of a new phase or reversal. Conversely, if negative correlation fades gradually, it may suggest weakening relationships and more independent or volatile movement.
In the crypto market, watching how altcoins correlate with Bitcoin can help identify ideal entry points in secondary assets. In the stock market, analyzing how companies within the same sector move in relation to a major index like SP:SPX SPX or DJ:DJI DJI is also a highly effective technique for both technical and fundamental analysts.
This indicator not only visualizes correlation but also displays major market sessions. When enabled, this feature helps traders observe how correlation behavior changes at the start of each session, whether it's Tokyo, London, New York, or the opening of stock exchanges. Many key shifts, breakouts, or reversals tend to happen around these times, and the heatmap makes them easy to spot.
Another important feature is the market selection mode. Users can switch between forex, crypto, stocks, or custom markets and see correlation behavior specific to each one. In custom mode, users can manually select any combination of symbols for more advanced or personalized analysis. This makes the heatmap valuable not only for forex traders but also for stock traders, crypto analysts, and multi-asset strategists.
Finally, the heatmap's color-coded design helps users make sense of the data quickly. Warm colors such as red and orange reflect stronger negative correlations, while cool colors like blue and green represent stronger positive relationships. This simplicity and clarity make the tool accessible to both beginners and experienced traders.
🔵 Settings
Correlation Period: Allows you to set how many historical bars are used for calculating correlation. A higher number means a smoother, slower-moving heatmap, while a lower number makes it more responsive to recent changes.
Select Market: Lets you choose between Forex, Stock, Crypto, or Custom. In the first three options, the chart’s active symbol is automatically used as the Main Symbol. In Custom mode, you can manually define the Main Symbol and up to 20 Compared Symbols.
Show Open Session: Enables the display of major trading sessions such as Tokyo, London, New York, or equity market opening hours directly on the timeline. This helps you connect correlation shifts with real-world market activity.
Market Mode: Lets you select whether the displayed sessions relate to the forex or stock market.
🔵 Conclusion
The Correlation Heatmap is a robust and flexible tool for analyzing the relationship between assets across different markets. By tracking how correlations change in real time, traders can better identify alignment or divergence between symbols and gain valuable insights into market structure.
Support for multiple asset classes, session overlays, and intuitive visual cues make this one of the most effective tools for intermarket analysis.
Whether you’re looking to manage portfolio risk, validate entry points, or simply understand capital flow across markets, this heatmap provides a clear and actionable perspective that you can rely on.
Trend Zones & ATR Targets[CongTrader]TrendZones ATR is a dynamic trend and support/resistance indicator that combines Hull Moving Average (HMA) smoothing, mid-price analysis, and ATR-based targets to identify precise trading zones and risk levels.
Key Features:
Adaptive Trend Zones — Calculates upper, midline (CoG), and lower borders from smoothed mid-price, adapting to market volatility.
Trend Classification — Detects uptrend, downtrend, or sideways conditions using slope-based logic.
Safe Level & Logical Stop — Automatically sets risk levels according to price zone classification.
Flexible TP Methods — Choose between %-based or ATR-based take-profit targets.
Optional ATR Support Zone — Adds an ATR-based support level for stronger confluence.
Risk & Zone Width Table — Displays real-time risk and channel width data on the chart.
How to Use:
Apply the indicator to any symbol and timeframe.
Identify market zones with color-coded fills.
Align trades with the detected trend direction.
Use Safe Level or Logical Stop for stop-loss placement.
Set TP targets using either % or ATR multiplier.
Combine with your own trade confirmation method for optimal results.
Acknowledgment:
Thanks to the TradingView community for inspiration and feedback. This script is original work by CongTrader.
Disclaimer:
This script is for educational purposes only and does not constitute financial advice. Trading carries risk and may not be suitable for all investors. Do your own research before making any trading decisions. The author is not responsible for any losses resulting from the use of this script.
#trendzones #atr #supportresistance #tradingview #forex #crypto #stocks #daytrading #swingtrading #riskmanagement #chartanalysis .
Table ATH and DayQuotes in the middle of a chartJust important things at a glance ..
AlltimeHigh and Daily High/Low
Cumulative Gain-Loss Ratio This Pine Script indicator is called "Cumulative Gain-Loss Ratio" - a technical analysis tool. Here's what it does for you:
How the Indicator Works:
1. Calculates percentage change for each bar:
It finds how much the closing price changed compared to the previous candle in percentage terms
2. Separates gains and losses:
Positive changes = Gains
Negative changes = Losses (converts to positive values)
3. Takes cumulative totals:
Sums up all gains from the beginning
Sums up all losses from the beginning
4. Calculates the ratio:
Cumulative Gains ÷ Cumulative Losses
What It Tells You:
Ratio > 1: Your total gains exceed losses (good performance)
Ratio < 1: Your total losses exceed gains (poor performance)
Ratio = 1: Gains and losses are equal (break-even)
Practical Usage:
Evaluating long-term performance of a stock or cryptocurrency
Measuring trend strength
Sustained movement above 1.0 line = strong uptrend
Sustained movement below 1.0 line = weak performance
This indicator helps you understand the overall health and momentum strength of an asset by showing the cumulative balance between gains and losses over time.
Daily Manipulation Probability Dashboard📜 Summary
Tired of getting stopped out on a "Judas Swing" just before the price moves in your intended direction? This indicator is designed to give you a statistical edge by quantifying the daily manipulation move.
The Daily Manipulation Probability Dashboard analyzes thousands of historical trading days to reveal the probability of the initial "stop-hunt" or "fakeout" move reaching certain percentage levels. It presents this data in a clean, intuitive dashboard right on your chart, helping you make more data-driven decisions about stop-loss placement and entry timing.
🧠 The Core Concept
The logic is simple but powerful. For every trading day, we measure two things:
Amplitude Above Open (AAO): The distance price travels up from the daily open (High - Open).
Amplitude Below Open (ABO): The distance price travels down from the daily open (Open - Low).
The indicator defines the "Manipulation" as the smaller of these two moves. The idea is that this smaller move often acts as a liquidity grab to trap traders before the day's primary, larger move ("Distribution") begins.
This tool focuses exclusively on providing deep statistical insight into this crucial manipulation phase.
🛠️ How to Use This Tool
This dashboard is designed to be a practical part of your daily analysis and trade planning.
1. Smarter Stop-Loss Placement
This is the primary use case. The "Prob. (%)" column tells you the historical chance of the manipulation move being at least a certain size.
Example: If the table shows that for EURUSD, the ≥ 0.25% level has a probability of 30%, you can flip this information: there is a 70% probability that the daily manipulation move will be less than 0.25%.
Action: Placing your stop-loss just beyond a level with a low probability gives you a statistically sound buffer against typical stop-hunts.
2. Entry Timing and Patience
The live arrow (→) shows you where the current day's manipulation falls.
Example: If the arrow is pointing at ≥ 0.10% and you know there is a high probability (e.g., 60%) of the manipulation reaching ≥ 0.20%, you might wait for a deeper pullback before entering, anticipating that the "Judas Swing" hasn't completed yet.
3. Assessing Daily Character
Quickly see if the current day's action is unusual. If the manipulation move is already in a very low probability zone (e.g., > 1.00%), it might indicate that your Bias is wrong, or signal a high-volatility day or a potential trend reversal.
📊 Understanding the Dashboard
Ticker: The top-right shows the current symbol you are analyzing.
→ (Arrow): Points to the row that corresponds to the current, live day's manipulation amplitude.
Manip. Level: The percentage threshold being analyzed (e.g., ≥ 0.20%).
Days Analyzed: The raw count of historical days where the manipulation move met or exceeded this level.
Prob. (%): The key statistic. The cumulative probability of the manipulation move being at least the size of the level.
⚙️ Settings
Position: Choose where you want the dashboard to appear on your chart.
Text Size: Adjust the font size for readability.
Max Historical Days to Analyze: Set the number of past daily candles to include in the statistical analysis. A larger number provides a more robust sample size.
I believe this tool provides a unique, data-driven edge for intraday traders across all markets (Forex, Crypto, Stocks, Indices). Your feedback and suggestions are highly welcome!
- @traderprimez
Filtro Antirumore – Breakout + Volume by G.I.N.e TradingWhat this indicator does:
- Calculates the range of the last N candles (default: 10)
- Generates a signal only if the price breaks above or below that range
- Confirms the signal only if the volume is above its moving average
- Displays a green square in the lower panel if the breakout is valid
- The color can be customized by the user