Pearson Correlation [Mr_Rakun] Pearson Correlation
This script calculates the Pearson correlation coefficient (r) between the closing price of the current asset and another selected asset.
🔍 How It Works:
• The user selects a correlation period (default: 20) and a symbol (default: ETH/USDT).
• The script retrieves the closing prices of both assets.
• The Pearson correlation formula is applied:
r = \frac{n(\sum xy) - (\sum x)(\sum y)}{\sqrt{ }}
• The correlation is plotted as a histogram:
• +1 (green line) → Perfect positive correlation
• -1 (red line) → Perfect negative correlation
• 0 (gray line) → No correlation
📊 Why Use This?
This indicator helps traders identify relationships between assets, such as whether two markets move together or inversely. It is useful for hedging strategies, portfolio diversification, and market comparisons.
Indicadores e estratégias
Relative Volume Indicator (RVOL)Relative Volume Indicator (RVOL)
The Relative Volume Indicator (RVOL) helps traders identify unusual volume activity by comparing the current volume to the average historical volume. This makes it easier to spot potential breakouts, reversals, or significant market events that are accompanied by volume confirmation.
What This Indicator Shows
This indicator displays volume as a multiple of average volume, where:
- 1.0x means 100% of average volume
- 2.0x means 200% of average volume (twice the average)
- 0.5x means 50% of average volume (half the average)
Color Coding
The volume bars are color-coded based on configurable thresholds:
- Red: Below average volume (< Average Volume Threshold)
- Yellow: Average volume (between Average Volume and Above Average thresholds)
- Green: Above average volume (between Above Average and Extreme thresholds)
- Magenta: Extreme volume (> Extreme Volume Threshold)
Horizontal Reference Lines
Three dotted horizontal reference lines help you visualize the thresholds:
- Lower gray line: Average Volume Threshold (default: 0.8x)
- Upper gray line: Above Average Threshold (default: 1.25x)
- Magenta line: Extreme Volume Threshold (default: 4.0x)
How To Use This Indicator
1. Volume Confirmation: Use green bars to confirm breakouts or trend changes - stronger moves often come with above-average volume.
2. Low Volume Warning: Red bars during price movements may indicate weak conviction and potential reversals.
3. Extreme Volume Events: Magenta bars (extreme volume) often signal major market events or potential exhaustion points that could lead to reversals.
4. Volume Divergence: Look for divergences between price and volume - for example, if price makes new highs but volume is decreasing (more yellow/red bars), the move may be losing strength.
Settings Configuration
- Average Volume Lookback Period: Number of bars used to calculate the average volume (default: 20)
- Average Volume Threshold: Volume below this level is considered below average (default: 0.8x)
- Above Average Threshold: Volume above this level is considered above average (default: 1.25x)
- Extreme Volume Threshold: Volume above this level is considered extreme (default: 4.0x)
- Colors: Customize colors for each volume category
Important Note: Adjust threshold values only through the indicator settings (not in the Style tab). Changing values in the Style tab will not adjust the coloring of the volume bars.
Adjust these settings based on the specific asset being analyzed and your trading timeframe. More volatile assets may require higher thresholds, while less volatile ones might need lower thresholds.
AsianRange&Midnight 2.2### Midnight Setup: Trading Strategy
#### **Bias Definition (Trend Identification)**
- The Daily (D) bias is defined the previous day and validated on the line chart.
- On the Daily chart, identify the nearest V-shaped formation that has broken close to the current price. This formation determines the Daily bias direction.
#### **H4 Bias Analysis (Trend Confirmation)**
- Switch to an H4 chart to refine the analysis.
- Identify a similar V-shaped formation that has broken in the H4 timeframe.
- If the Daily and H4 biases are aligned, the setup is valid.
#### **Entry Strategy (Position Entries)**
- **Bearish Bias (D and H4 identical):**
- Short entry at the high level of the Midnight range.
- **Bullish Bias (D and H4 identical):**
- Long entry at the low level of the Midnight range.
#### **Bias Divergence (Context Adaptation)**
- If the H4 bias is opposite to the Daily bias, this indicates an H4 retracement of the Daily bias.
- Enter a counter-trend trade with reduced risk.
- No TP target beyond 50% of the extension validating the Daily break. It is also not recommended to enter against this divergence beyond 50%.
#### **Divergence Scenarios (Reactions to Divergences)**
- **Daily Bearish Bias, H4 Bullish Bias:**
- Long entry at the Midnight Low.
- **Daily Bullish Bias, H4 Bearish Bias:**
- Short entry at the Midnight High.
#### **Daily Bias Resumption (Trend Alignment)**
- As soon as the H4 bias resumes the Daily bias direction, follow this trend and adjust the position accordingly.
#### **Instructions for Divergent Bias (Managing Divergence)**
- When holding a position with a divergent bias, it is crucial to manage it carefully.
- Exit counter-trend trades as soon as the H4 bias realigns with the Daily bias.
- Limit the duration of counter-trend trades per session and adjust the H4 bias for the next session if needed.
#### **SL/TP Management (Profit Taking and Protection Optimization)**
- **Take Profit (TP):**
- Entry in M15 with a minimum RR of 3.
- TP at 5H NYE, or RR 5, or 15H NYE.
- **Stop Loss (SL):**
- Minimum 15 pips, placed just above the nearest swing to the entry point to protect capital.
- **Red Announcement Days:**
- Either abstain from trading or set a 40-pip SL to limit volatility impact.
- **At 6H/7H NYE:**
- Manage the trade based on its progress: exit, set to BE (Break Even), or keep the SL in place.
- Any SL adjustment outside these rules can only be made if supported by data or backtests.
#### **Risk Management (Capital Protection)**
- Maximum risk of **1% of capital per trade** (allowing for **10 consecutive losses** without significantly affecting capital).
- In case of a loss, **reduce risk by 50% on the next trade** until the loss is recovered.
#### **Efficiency Conditions (When This Setup Works Best)**
- This setup is particularly effective in **strong trends**, where the market has a clear direction.
- It is **less effective in ranging markets**, where prices move within a narrow range without a clear trend.
Setup Midnight : Stratégie de Trading
SUPeR TReND 2.718An evolved version of the classic Supertrend, SUPeR TReND 2.718 is built to deliver elegant, high-precision trend detection using Euler's constant (e = 2.718) as its default multiplier. Designed for clarity and visual flow, this indicator brings together smooth line work, intelligent color logic, and a minimalistic tally system that tracks trend persistence — all in a highly customizable, overlay-ready format.
Unlike traditional implementations, this version maintains line visibility regardless of fill opacity, ensuring crisp tracking even in complex environments. Ideal for traders who value both aesthetics and actionable structure.
__________________________________________________________
🔑 Key Features:
- 📐 ATR-based Supertrend with default multiplier = e (2.718)
- 📉 Dynamic trend line with optional fill beneath price
- ⏳ Trend duration tally label (count-only or full format)
- ⬆️ Higher-timeframe Supertrend overlay (optional)
- 🟢 Directional candle coloring for clarity
- 🟡 Subtle anchor line to guide perception without clutter
- ⚙️ PineScript v6 compliant, efficient and modular
__________________________________________________________
🧠 Interpretation Guide:
- The Supertrend line tracks trend support or resistance — beneath price in uptrends, above in downtrends.
- The shaded fill reflects direction with 70% transparency.
- The trend tally label counts how long the current trend has lasted.
- Candle colors confirm direction without overtaking price action.
- The optional HTF line shows higher-timeframe context.
- A soft yellow anchor line stabilizes the fill relationship without distraction.
__________________________________________________________
⚙️ Inputs & Controls:
- ✏️ ATR Length – Volatility lookback
- 🧮 Multiplier – Default = 2.718 (Euler's number)
- 🕰️ Higher Timeframe – Choose your bias frame
- 👁️ Show HTF / Main – Toggle each trend layer
- 🧾 Show Label / Simplify – Show trend duration, with or without arrows
- 🎨 Color Candles – Turn directional bar coloring on or off
- 🪄 Show Fill – Toggle the shaded visual rhythm
- 🎛️ All visuals use tuned colors and transparencies for clarity
__________________________________________________________
🚀 Best Practices:
- ✅ Works on any time frame; shines on 1h v. 1D
- 🔁 Use the HTF line for macro bias filtering
- 📊 Combine with volume or liquidity overlays for edge
- 🧱 Use as a structural base layer with minimalist stacks
__________________________________________________________
📈 Strategy Tips:
- 🧭 MTF Trend Alignment: Enable the HTF line to filter trades. If the HTF trend is up, only take longs on the lower frame, and vice versa.
- 🔁 Pullback Entries: During a strong trend, consider short-term dips below the Supertrend line as possible re-entry zones — only if HTF remains aligned.
- ⏳ Tally for Exhaustion: When the bar count exceeds 15+, look for confluence (volume divergence, key levels, reversal signals).
- ⚠️ HTF Flip + Extended Trend: When the HTF trend reverses while the main trend is extended, that may be a macro exit or fade signal.
- 🚫 Solo Mode: Disable HTF and use the main trend + tally as a standalone signal layer.
- 🧠 Swing Setup Friendly: Especially powerful on 1D or 1h in swing systems or trend-based grid strategies.
Multi-TF Volume & Price Analysis[BullByte]This indicator offers a comprehensive view of market dynamics by combining volume and price analysis across multiple timeframes. It calculates key metrics—such as bullish/bearish volume percentages, relative volume (RVol), cumulative volume delta (CVD), and price change percentages—for each timeframe that you choose (for example, 1, 3, 5, and 15 minutes). Here are the main features in simple terms:
- Multi-Timeframe Analysis:
The tool analyzes volume and price action from four different timeframes simultaneously. This means you get insights from short-term and slightly longer-term trends in one view.
- Volume Breakdown:
It splits the volume into bullish and bearish parts by comparing closing and opening prices. This helps you see how much of the trading volume is driving the market upward versus downward.
- Relative Volume & Spike Detection:
It calculates relative volume (current volume compared to a moving average) and flags any significant volume spikes based on a customizable multiplier. This feature helps identify unusual trading activity.
- Volume Smoothing Option:
For a cleaner signal, you can enable a smoothing option (using an exponential moving average) to reduce noise in the volume data.
- Advanced Summary:
The indicator combines volume data, price changes, and volume spikes to produce an overall market summary for each timeframe—labeling conditions as “Bullish Strong,” “Bullish Moderate,” “Bearish Strong,” “Bearish Moderate,” or “Neutral.”
- Cumulative Overview:
In addition to individual timeframe analysis, it aggregates the data to offer a cumulative view. This includes a collective bullish/bearish percentage, overall CVD, and even a simplified volume level (Low, Normal, or High).
- Customizable Dashboard:
All these metrics are neatly displayed in a dashboard on the chart. You can customize its position and text size. The dashboard uses dynamic, color-coded cells to instantly convey the market sentiment—making it easy to spot trends at a glance.
- VWAP Integration:
Finally, the dashboard includes VWAP information, providing an additional layer of context to the price action.
Overall, this indicator is designed to provide a quick yet thorough snapshot of market conditions, enabling traders to make more informed decisions with a clear visual representation of volume and price activity across different timeframes.
Donchian Channel Trend Tracker by KellyLikesCrypto### Overview
This indicator is written in Pine Script® (version 6) and is designed to overlay on a price chart. It combines the classic Donchian Channel—a tool popular among trend-following traders—with additional trend-tracking features. By identifying when the channel’s highs and lows are making new extreme values, the indicator helps signal potential trend shifts. It is especially suited for scalpers using 1-hour charts, as it provides clear, actionable signals for rapid entry and exit decisions.
---
### Key Components & Inputs
1. **User Inputs:**
- **Length:** The period over which the indicator calculates the highest high and the lowest low (default is 27 bars). This value can be adjusted to smooth or tighten the channel based on the trader’s preference.
- **Offset:** A parameter allowing the plotted lines to be shifted left or right on the chart, providing flexibility in aligning the indicator with price action.
2. **Donchian Channel Calculations:**
- **Lower Bound (`lower`):** Calculated using `ta.lowest(length)`, it identifies the lowest low over the defined period.
- **Upper Bound (`upper`):** Determined by `ta.highest(length)`, capturing the highest high during the same period.
- **Basis:** The midline of the channel, computed as the average of the upper and lower bounds. This line can serve as an equilibrium or reference point in the trend analysis.
---
### Visual Representation
- **Plotting the Channels:**
- The **basis** is plotted in a standout orange color (#FF6D00) to make the central trend reference easily visible.
- The **upper** and **lower** bounds are plotted in blue (#2962FF), creating clear boundaries for the price action.
- The area between these two lines is filled with a semi-transparent blue, enhancing the visual context of the channel and helping traders quickly assess whether price is near an extreme or within a normal range.
---
### Trend Identification Logic
Beyond plotting the basic Donchian Channel, the indicator introduces additional logic to track short-term trend changes:
1. **Higher Highs and Higher Lows:**
- **Higher High (`higherHigh`):** This condition checks if the current upper bound is greater than the previous bar’s upper bound, signaling a potential upward push.
- **Higher Low (`higherLow`):** Similarly, it checks if the current lower bound exceeds the previous bar’s lower bound, reinforcing an upward trend if the support level is rising.
2. **Lower Highs and Lower Lows:**
- **Lower High (`lowerHigh`):** This evaluates if the current upper bound is less than that of the previous bar, indicating a possible downward shift.
- **Lower Low (`lowerLow`):** It verifies if the current lower bound is lower than the previous bar’s, further confirming a bearish tendency.
The use of the `nz()` function ensures that on the very first bar—where no previous data exists—the code handles the values gracefully without causing errors.
---
### Visual Markers for Trend Signals
To make trend signals immediately apparent:
- **Markers are Plotted on the Chart:**
- **Green Labels ("HH" and "HL"):** These are placed on the chart when the indicator detects higher highs or higher lows, suggesting bullish momentum.
- **Red Labels ("LH" and "LL"):** These markers are shown when lower highs or lower lows are detected, indicating bearish pressure.
Each label is plotted either above or below the corresponding bar, ensuring that the chart remains uncluttered and that the trend signals are clear.
---
### Scalping Strategy on 1-Hour Charts
This indicator is specifically tailored for scalping strategies on 1-hour charts. Scalping involves capturing small, rapid profits from short-term price movements, and the clear trend signals provided by this tool can help traders pinpoint optimal entry and exit points. Here’s how it integrates into a scalping strategy:
- **Quick Trend Identification:** The green markers (HH and HL) suggest bullish conditions ideal for quick long entries, while the red markers (LH and LL) signal bearish conditions suitable for short entries.
- **Timing and Precision:** On a 1-hour chart, the indicator’s sensitivity to higher highs and lower lows allows traders to make rapid decisions aligned with the prevailing trend.
- **Complementary Analysis:** While the indicator provides fast signals, it is recommended to use it alongside additional tools (like oscillators or volume analysis) and strict risk management practices, ensuring that scalpers can confirm entries and exits efficiently.
By leveraging the indicator’s visual cues within a broader scalping framework, traders can enhance their ability to capture quick moves, thus optimizing their overall strategy on 1-hour timeframes.
---
### Conclusion
The “Donchian Channel Trend Tracker by KellyLikesCrypto” is a powerful tool for visualizing price extremes and trend direction. By combining the classical Donchian Channel with additional trend-tracking markers, it offers traders a clear and immediate way to assess whether the market is gaining bullish momentum or beginning to turn bearish. Its customizable parameters and clear visual signals make it particularly effective for a scalping strategy on 1-hour charts, where rapid decision-making is crucial.
This detailed breakdown should provide a comprehensive understanding of how each component of the indicator works together and how it can be effectively integrated into a short-term scalping strategy.
ATR - Asymmetric Turbulence Ribbon🧭 Asymmetric Turbulence Ribbon (ATR)
The Asymmetric Turbulence Ribbon (ATR) is an enhanced and reimagined version of the standard Average True Range (ATR) indicator. It visualizes not just raw volatility, but the structure, momentum, and efficiency of volatility through a multi-layered visual approach.
It contains two distinct visual systems:
1. A zero-centered histogram that expresses how current volatility compares to its historical average, with intensity and color showing speed and conviction
2. A braided ribbon made of dual ATR-based moving averages that highlight transitions in volatility behavior—whether volatility is expanding or contracting
The name reflects its purpose: to capture asymmetric, evolving turbulence in market behavior, through structure-aware volatility tracking.
_______________________________________________________________
🔧 Inputs (Fibonacci defaults)
ATR Length
Lookback period for ATR calculation (default: 13)
ATR Base Avg. Length
Moving average period used as the zero baseline for histogram (default: 55)
ATR ROC Lookback
Number of bars to measure rate of change for histogram color mapping (default: 8)
Timeframe Override
Optionally calculate ATR values from a higher or fixed timeframe (e.g., 1D) for macro-volatility overlay
Show Ribbon Fill
Toggles colored fill between ATR EMA and HMA lines
Show ATR MAs
Toggles visibility of ATR EMA and HMA lines
Show Crossover Markers
Shows directional triangle markers where ATR EMA and HMA cross
Show Histogram
Toggles the entire histogram display
_______________________________________________________________
📊 Histogram Component: Volatility Energy Profile
The histogram shows how far the current ATR is from its moving average baseline, centered around zero. This lets you interpret volatility pressure—whether it's expanding, contracting, or preparing to reverse.
To complement this, the indicator also plots the raw ATR line in aqua. This is the actual average true range value—used internally in both the histogram and ribbon calculations. By default, it appears as a slightly thicker line, providing a clear reference point for comparing historical volatility trends and absolute levels.
Use the baseline ATR to:
- Compare real-time volatility to previous peaks or troughs
- Monitor how ATR behaves near histogram flips or ribbon crossovers
- Evaluate volatility phases in absolute terms alongside relative momentum
The ATR line is particularly helpful for users who want to keep tabs on raw volatility values while still benefiting from the enhanced visual storytelling of the histogram and ribbon systems.
Each histogram bar is colored based on the rate of change (ROC) in ATR: The faster ATR rises or falls, the more intense the color. Meanwhile, the opacity of each bar is adjusted by the effort/result ratio of the price candle (body vs. range), showing how much price movement was achieved with conviction.
Color Interpretation:
🔴 Red
Strong volatility expansion
Market entering or deepening into a volatility burst
Seen during breakouts, panic moves, or macro shock events
Often accompanied by large real candle bodies
🟠 Orange
Moderate volatility expansion
Heating up phase, often precedes breakouts
Common in strong trending environments
Signals tightening before acceleration
🟡 Yellow
Mild volatility increase
Transitional state—energy building, not yet exploding
Appears in early trend development or pullbacks
🟢 Green
Mild volatility contraction
ATR cooling off
Seen during consolidation, reversion, or range balance
Good time to assess upcoming directional setups
🔵 Aqua
Moderate compression
Volatility is clearly declining
Signals consolidation within larger structure
Pre-breakout zones often form here
🔵 Deep Blue
Strong volatility compression
Market is coiling or dormant
Can signal upcoming squeeze or fade environment
Often followed by sharp expansion
Opacity scaling:
Brighter bars = efficient, directional price action (strong bodies)
Faded bars = indecision, chop, absorption, or wick-heavy structure
Together, color and opacity give a 2D view of market volatility: Hue = the type and direction of volatility
Opacity = the quality and structure behind it
Use this to gauge whether volatility is rising with conviction, fading into neutrality, or compressing toward breakout potential.
_______________________________________________________________
🪡 Ribbon Component: Volatility Rhythm Structure
The ribbon overlays two moving averages of ATR:
EMA (yellow) – faster, more reactive
HMA (orange) – smoother, more rhythmic
Their relationship creates the ribbon logic:
Yellow fill (EMA > HMA)
Short-term volatility is increasing faster than the longer-term rhythm
Signals active expansion and engagement
Orange fill (HMA > EMA)
Volatility is decaying or leveling off
Suggests possible exhaustion, pullback, or range
Crossover triangle markers (optional, off by default to avoid clutter) identify the moment of shift in volatility phase.
The ribbon reflects the shape of volatility over time—ideal for mapping cyclical energy shifts, transitional states, and alignment between current and average volatility.
_______________________________________________________________
📐 Strategy Application
Use the Asymmetric Turbulence Ribbon to:
- Detect volatility expansions before breakouts or directional runs
- Spot compression zones that precede structural ruptures
- Visually separate efficient moves from noisy market activity
- Confirm or fade trade setups based on underlying energy state
- Track the volatility environment across multiple timeframes using the override
_______________________________________________________________
🎯 Ideal Timeframes
Designed to function across all timeframes, but particularly powerful on intraday to daily ranges (1H to 1D)
Use the timeframe override to anchor your chart in higher-timeframe volatility context, like daily ATR behavior influencing a 1H setup.
_______________________________________________________________
🧬 Customization Tips
- Increase ATR ROC Lookback for smoother color transitions
- Extend ATR Base Avg Length for more macro-driven histogram centering
- Disable the histogram for ribbon-only rhythm view
- Use opacity and color shifts in the histogram to detect stealth energy builds
- Align ATR phases with structure or order flow tools for high-quality setups
Sigma Expected Movement)Okay, here's a brief description of what the final Pine Script code achieves:
Indicator Description:
This indicator calculates and plots expected price movement ranges based on the VIX index for daily, weekly, or monthly periods. It uses user-selectable VIX data (Today's Open / Previous Close) and a center price source (Today's Open / Previous Close).
Key features include:
Up to three customizable deviation levels, based on user-defined percentages of the calculated expected move.
Configurable visibility, color, opacity (default 50%), line style, and width (default 1) for each deviation level.
Optional filled area boxes between the 1st and 2nd deviation levels (enabled by default), with customizable fill color/opacity.
An optional center price line with configurable visibility (disabled by default), color, opacity, style, and width.
All drawings appear only within a user-defined time window (e.g., specific market hours).
Does not display price labels on the lines.
Optional rounding of calculated price levels.
Multiple VWMATradingView Indicator: Multiple VWMA
This TradingView indicator allows you to display up to five separate Volume Weighted Moving Averages (VWMAs) directly on your price chart.
What it does:
Plots 5 VWMAs: It calculates and draws five distinct VWMA lines (or other styles) on the chart.
Volume Weighting: Unlike simple moving averages, a VWMA gives more weight to prices where trading volume was higher, potentially offering a clearer picture of the trend strength confirmed by volume.
Highly Customizable: Each of the five VWMAs can be configured independently through the indicator's settings panel. For each one, you can set:
Length: The lookback period (number of bars) used for the calculation.
Source: The price data to use (e.g., close, open, high, low, hl2, etc.).
Timeframe: You can calculate each VWMA based on a different timeframe than the one currently displayed on your chart (e.g., view daily VWMAs on an hourly chart). Leave blank to use the chart's timeframe.
Offset: Shift the VWMA line forwards or backwards on the chart by a specific number of bars.
Style: Choose how each VWMA is displayed (Line, Histogram, or Cross).
Overlay: The VWMAs are plotted directly over the price bars for easy comparison.
Purpose:
This indicator is useful for traders who want to analyze trends using multiple volume-weighted perspectives simultaneously. By comparing VWMAs of different lengths or based on different timeframes, you can gain insights into short-term vs. long-term trends, potential support/resistance levels, and the significance of price movements based on accompanying volume.
Multi-timeframe Trend & Momentum DashboardMulti-Timeframe Trend & Momentum Dashboard
This indicator is a comprehensive multi-timeframe analysis tool designed for traders who want to quickly assess market trends and momentum across several timeframes. It combines trend detection with duration tracking and displays key information in an easy-to-read on-chart table. Key features include:
Multi-Timeframe Analysis:
Analyzes nine different timeframes (from 1-minute up to 1-week) simultaneously, helping you gauge the overall market trend at a glance.
Trend Detection & Duration:
Uses a combination of a short-term EMA and a long-term SMA to determine whether the market is bullish, bearish, or neutral. It also tracks how long the current trend has persisted in terms of consecutive bars and displays this duration next to each timeframe.
RSI Display & Visual Alerts:
Calculates the RSI for each timeframe. RSI values are color-coded—green when above 50 (indicating bullish momentum) and red when below 50 (indicating bearish conditions). Additionally, if the market is bearish on a particular timeframe while the RSI is above 50, the RSI cell flashes yellow to alert you of a potential trend reversal or divergence.
On-Chart Trend Start Markers:
When a new trend is detected on your current chart’s timeframe, the indicator automatically marks the bar with a label showing the new trend direction, providing a clear visual cue for trend changes.
This powerful tool is perfect for traders looking to combine multi-timeframe trend analysis with momentum indicators, enabling a more informed and dynamic trading strategy. Whether you’re a day trader or swing trader, the Multi-Timeframe Trend & Momentum Dashboard brings clarity to market conditions across multiple time horizons.
ATR and Moving AverageUsing ATR and Moving Average: A Technical Analysis Strategy
The Average True Range (ATR) and the Moving Average are two important technical analysis tools that can be used together to identify trading opportunities in the market. In this article, we will explore how to use these two tools and how the crossover between them can indicate changes in the market.
What is ATR?
The Average True Range (ATR) is a measure of the volatility of an asset, which calculates the average true range of an asset over a period of time. The true range is the difference between the closing price and the opening price of an asset, or the difference between the closing price and the highest or lowest price of the day. ATR is an important measure of volatility, as it helps to identify the magnitude of price fluctuations of an asset.
What is Moving Average?
The Moving Average is a technical analysis tool that calculates the average price of an asset over a period of time. The Moving Average can be used to identify trends and price patterns, and is an important tool for traders. There are different types of Moving Averages, including the Simple Moving Average (SMA), the Exponential Moving Average (EMA), and the Weighted Moving Average (WMA).
Crossover between ATR and Moving Average
The crossover between ATR and Moving Average can be an important indicator of changes in the market. When ATR crosses above the Moving Average, it may indicate that the volatility of the asset is increasing and that the price may be about to rise. This occurs because ATR is increasing, which means that the true range of the asset is increasing, and the Moving Average is being surpassed, which means that the price is rising.
On the other hand, when ATR crosses below the Moving Average, it may indicate that the volatility of the asset is decreasing and that the price may be about to fall. This occurs because ATR is decreasing, which means that the true range of the asset is decreasing, and the Moving Average is being surpassed, which means that the price is falling.
Trading Strategies
There are several trading strategies that can be used with the crossover between ATR and Moving Average. Some of these strategies include:
Buying when ATR crosses above the Moving Average, with the expectation that the price will rise.
Selling when ATR crosses below the Moving Average, with the expectation that the price will fall.
Using the crossover between ATR and Moving Average as a filter for other trading strategies, such as trend analysis or pattern recognition.
In summary, the crossover between ATR and Moving Average can be an important indicator of changes in the market, and can be used as a technical analysis tool to identify trading opportunities. However, it is important to remember that no trading strategy is foolproof, and that it is always important to use a disciplined approach and manage risk adequately.
Session Color Blocks🧠 Purpose:
To visually highlight different market sessions — Asia, London, Premarket (US), and New York — using colored background blocks on the chart for better timing, context, and trade planning.
🕓 Session Times Used (Eastern Time / New York Time):
Session Time (ET) Color
Asia 8:00 PM – 3:00 AM 🟨 Yellow
London 3:00 AM – 8:30 AM 🟥 Red
Premarket 8:30 AM – 9:30 AM 🟦 Blue
New York 9:30 AM – 4:00 PM 🟩 Green
(DST is automatically handled via "America/New_York" timezone)
✅ Features:
Session colors appear only when that session is active.
Sessions are mutually exclusive, so no overlapping blocks.
Works on any symbol, especially useful for US stock/futures traders.
Auto-adjusts for daylight savings (using TradingView's IANA timezones).
🔧 Future Enhancements (Optional):
Toggle each session on/off
Add vertical lines or labels for session opens
Extend to weekends or custom sessions
Market Push Meter - CoffeeStyleMarket Push Meter - CoffeeKiller Indicator Guide
Welcome traders! This guide will walk you through the Market Push Meter indicator, a sophisticated volume analysis tool developed by CoffeeKiller with the help and assistance of FindBetterTrades that measures and visualizes the ongoing battle between buyers and sellers through volume pressure analysis.
🔔 **Warning: This Is Not a Standard Volume Indicator** 🔔 This indicator analyzes volume pressure in a unique way, combining directional volume with price action to identify market imbalances between buyers and sellers. All credit for the core logic for this indicator goes to FindBetterTrades and his/hers Volume Pressure Histogram (Normalized) (this is my adaptation and style added to that core logic, thus the CoffeeStyle name was added).
Core Concept: Volume Pressure Analysis
The foundation of this indicator lies in measuring the imbalance between buying and selling volume, providing insights into which market participants are exerting more pressure on price movements.
Volume Pressure Columns: Buying vs Selling Force
- Positive Green Columns: Net buying pressure
- Negative Red Columns: Net selling pressure
- Color intensity varies based on pressure strength
- Special coloring for new high/low boundaries
Marker Lines: Dynamic Support/Resistance
- High Marker Line (Magenta): Tracks the highest point reached during buying phases
- Low Marker Line (Cyan): Tracks the lowest point reached during selling phases
- Creates visual boundaries showing pressure extremes
Peak Detection System:
- Triangular markers identify significant local maxima and minima
- Background highlighting shows important pressure peaks
- Helps identify potential reversal points and pressure exhaustion
Reference Lines:
- Overbought Level: Threshold for extreme selling pressure
- Oversold Level: Threshold for extreme buying pressure
- Used to identify potential reversal zones
Core Components
1. Volume Pressure Calculation
- Separation of up-volume and down-volume
- Calculation of net volume pressure
- Smoothing for consistent visualization
- Normalization against total volume for percentage scaling
2. Boundary Tracking System
- Automatic detection of highest values in buying phases
- Automatic detection of lowest values in selling phases
- Step-line visualization of boundaries
- Color-coded for easy identification
3. Peak Detection System
- Identification of local maxima and minima
- Background highlighting of significant peaks
- Triangle markers for peak visualization
- Zero-line cross detection for trend changes
4. Threshold Settings
- Extreme threshold multiplier for identifying significant pressure
- Overbought/oversold levels for potential reversals
- Dynamic color coding based on pressure intensity
- Alert conditions for key pressure levels
Main Features
Volume Analysis Settings
- Customizable volume MA length
- Signal smoothing for clearer readings
- Optional log scale for handling wide range variations
- Adjustable threshold multiplier for sensitivity
Visual Elements
- Color-coded columns showing pressure direction and strength
- Dynamic marker lines for pressure boundaries
- Peak triangles for significant turning points
- Background highlighting for peak identification
- Overbought/oversold reference lines
Signal Generation
- Zero-line crosses for trend change signals
- Boundary breaks for pressure strength
- Peak formation for potential reversals
- Color changes for pressure direction and intensity
- Alert conditions for extreme pressure levels
Customization Options
- Volume analysis parameters
- Marker line visibility and colors
- Peak marker display options
- Log scale toggle for handling various markets
- Overbought/oversold threshold adjustments
Trading Applications
1. Trend Identification
- Volume pressure crossing above zero: buying pressure emerging
- Volume pressure crossing below zero: selling pressure emerging
- Column color: indicates pressure direction
- Column height: indicates pressure strength
- Signal line: confirms overall trend direction
2. Reversal Detection
- Peak triangles after extended trend: potential exhaustion
- Background highlighting: significant reversal points
- Volume pressure approaching marker lines: potential trend change
- Color shifts from bright to muted: decreasing pressure
- Readings beyond overbought/oversold levels: potential reversal zones
3. Pressure Analysis
- Breaking above previous high boundary: accelerating buying pressure
- Breaking below previous low boundary: accelerating selling pressure
- Special coloring (magenta/cyan): boundary breaks indicating strength
- Extreme readings: potential climactic buying/selling
4. Market Structure Assessment
- Consecutive higher peaks: strengthening buying structure
- Consecutive lower troughs: strengthening selling structure
- Peak comparisons: relative strength of pressure phases
- Boundary line steps: market structure levels
Optimization Guide
1. Volume Analysis Settings
- Volume MA Length: Default 25 provides balanced signals
- Lower values (10-15): More responsive, potentially noisier
- Higher values (30-50): Smoother, fewer false signals
- Signal Smoothing Length: Default 8 provides good balance
- Lower values: More responsive to pressure changes
- Higher values: Smoother trend identification
2. Threshold Settings
- Extreme Threshold Multiplier: Default 20.0
- Lower values: More signals, potentially more noise
- Higher values: Fewer signals, but more significant
- Overbought/Oversold Levels: Defaults at 20/-20
- Adjust based on instrument volatility
- Wider settings for more volatile instruments
3. Visual Customization
- Marker Line Colors: Adjust for visibility on your chart
- Peak Marker Color: Default yellow provides good contrast
- Enable/disable background highlights based on preference
- Consider log scale for instruments with wide volume ranges
4. Alert Settings
- Configure alerts for high buying pressure
- Configure alerts for high selling pressure
- Set additional alerts for zero-line crosses
- Consider timeframe when setting alert sensitivity
Best Practices
1. Signal Confirmation
- Wait for zero-line crosses to confirm pressure changes
- Look for peak formations to identify potential reversals
- Check for boundary breaks to confirm strong pressure
- Use with price action for entry/exit precision
- Consider extreme threshold crossings as significant signals
2. Timeframe Selection
- Lower timeframes: more signals, potential noise
- Higher timeframes: cleaner signals, less frequent
- Multiple timeframes: confirm signals across time horizons
- Match to your trading style and holding period
3. Market Context
- Strong buying phase: positive columns breaking above marker line
- Strong selling phase: negative columns breaking below marker line
- Columns approaching zero: potential pressure shift
- Columns beyond overbought/oversold: extreme conditions, potential reversal
4. Combining with Other Indicators
- Use with trend indicators for confirmation
- Pair with price action oscillators for divergence detection
- Combine with traditional volume indicators for validation
- Consider support/resistance levels with boundary lines
Advanced Trading Strategies
1. Boundary Break Strategy
- Enter long when volume pressure breaks above previous high marker line
- Enter short when volume pressure breaks below previous low marker line
- Use zero-line as initial stop-loss reference
- Take profits at formation of opposing peaks
2. Peak Trading Strategy
- Identify significant peaks with triangular markers
- Look for consecutive lower peaks in buying phases for shorting opportunities
- Look for consecutive higher troughs in selling phases for buying opportunities
- Use zero-line crosses as confirmation
3. Extreme Reading Strategy
- Look for volume pressure beyond overbought/oversold levels
- Watch for color changes and peak formations
- Enter counter-trend positions after confirmed peaks
- Use tight stops due to extreme market conditions
4. Volume Color Strategy
- Enter long when columns turn bright green (increasing buying pressure)
- Enter short when columns turn bright red (increasing selling pressure)
- Exit when color intensity fades (decreasing pressure)
- Use marker lines as dynamic support/resistance
Practical Analysis Examples
Bullish Market Scenario
- Volume pressure crosses above zero line
- Green columns grow in height and intensity
- High marker line forms steps upward
- Peak triangles appear at local maxima
- Background highlights appear at significant buying pressure peaks
Bearish Market Scenario
- Volume pressure crosses below zero line
- Red columns grow in depth and intensity
- Low marker line forms steps downward
- Peak triangles appear at local minima
- Background highlights appear at significant selling pressure troughs
Consolidation Scenario
- Volume pressure oscillates around zero line
- Column colors alternate frequently
- Marker lines remain relatively flat
- Few or no new peak highlights appear
- Pressure values remain small
Understanding Market Dynamics Through Market Push Meter
At its core, this indicator provides a unique lens to visualize market pressure through volume analysis:
1. Volume Imbalance: By separating and comparing buying volume (up candles) from selling volume (down candles), the indicator provides insights into which side is exerting more pressure in the market.
2. Normalized Pressure: The indicator normalizes volume pressure as a percentage of total volume, making it more comparable across different market conditions and instruments.
3. Dynamic Boundaries: The marker lines create a visual representation of the "high water marks" of pressure in both directions, helping to identify when markets are making new pressure extremes.
4. Exhaustion Signals: The peak detection system highlights moments where pressure has reached a local maximum or minimum, often precursors to reversals or consolidations.
Remember:
- Combine signals from volume pressure, marker lines, and peak formations
- Use appropriate timeframe settings for your trading style
- Customize the indicator to match your visual preferences and market
- Consider overall market conditions and correlate with price action
This indicator works best when:
- Used as part of a comprehensive trading system
- Combined with proper risk management
- Applied with an understanding of current market conditions
- Signals are confirmed by price action and other indicators
DISCLAIMER: This indicator and its signals are intended solely for educational and informational purposes. They do not constitute financial advice. Trading involves significant risk of loss. Always conduct your own analysis and consult with financial professionals before making trading decisions.
Institutional Activity AnalysisThe Institutional Activity Analysis (IAA) indicator is a powerful tool designed to help traders identify potential institutional buying and selling activity in the market. By analyzing volume, price movement, and accumulation/distribution trends, this indicator provides insights into market dynamics that may signal significant activity.
This indicator is not a buy or sell recommendation but rather a tool to assist traders in understanding market behavior. It should be used in conjunction with other technical analysis tools and strategies for a comprehensive trading approach.
Key Features:
Smart Money Flow Index (SMFI):
1). Tracks the flow of "smart money" by analyzing price action relative to volume.
2). Helps identify whether institutional activity is bullish or bearish.
Accumulation/Distribution (Acc/Dist):
1). Measures buying and selling pressure in the market.
2). Indicates whether the market is in an accumulation (buying) or distribution (selling) phase.
Volume Spike Detection:
1. Identifies unusual volume spikes that may signal institutional activity.
2. Highlights these spikes with a yellow circle on the chart.
Significant Price Movement:
1. Detects strong price movements accompanied by high volume.
2. Marks these movements with a green triangle on the chart.
Customizable Dashboard:
1. Displays key metrics such as volume flow, smart money flow, accumulation/distribution, and volatility.
2. Includes visual signals for volume spikes and significant moves.
3. The dashboard can be positioned anywhere on the chart or turned off.
Heatmap for Activity Intensity:
1. Visualizes the intensity of market activity by combining volume and price volatility.
How to Read the Indicator:
Smart Money Flow (SMFI):
1. A positive SMFI value indicates bullish institutional activity.
2. A negative SMFI value suggests bearish institutional activity.
3. The blue line on the indicator represents the smoothed SMFI.
Accumulation/Distribution (Acc/Dist):
1. A positive slope indicates accumulation (buying pressure).
2. A negative slope indicates distribution (selling pressure).
3. The purple line on the indicator shows the smoothed Acc/Dist slope.
Volume Spikes:
1. Yellow circles on the chart indicate unusual volume spikes.
2. These spikes may signal institutional interest or significant market activity.
Significant Price Movements:
1. Green triangles on the chart highlight strong price movements with high volume.
2. These movements may indicate potential breakouts or reversals.
Dashboard:
The dashboard provides a quick summary of key metrics:
1. Volume Flow: Indicates whether volume is above or below the average.
2. Smart Money: Shows whether institutional activity is bullish or bearish.
3. Acc/Dist: Displays whether the market is in accumulation or distribution.
4. Volatility: Provides the current volatility level.
5. Signals: Highlights whether there are volume spikes or significant moves.
How to Use the Indicator:
Identify Institutional Activity:
1. Look for confluences between volume spikes, significant price movements, and the direction of the SMFI and Acc/Dist slope.
2. For example, a volume spike combined with a positive SMFI and accumulation may indicate bullish institutional activity.
Confirm Market Trends:
1. Use the indicator to confirm trends by analyzing the direction of the SMFI and Acc/Dist slope.
2. A rising SMFI and positive Acc/Dist slope suggest a strong uptrend, while the opposite indicates a downtrend.
Monitor Volatility:
1. High volatility combined with volume spikes may signal potential breakouts or reversals.
2. Use the volatility metric on the dashboard to gauge market conditions.
Set Alerts:
1. Use the built-in alert conditions to get notified of volume spikes and significant price movements.
2. Alerts can help you stay informed about potential market opportunities.
Important Notes:
1. This is not a buy or sell recommendation. The IAA indicator is a technical analysis tool designed to provide insights into market activity. Always use it in conjunction with other tools and strategies.
2. The indicator works best when combined with other forms of analysis, such as support/resistance levels, trendlines, and candlestick patterns.
3. Past performance is not indicative of future results. Always practice proper risk management and trade responsibly.
Customization:
The indicator includes several customizable settings:
1. Volume Spike Threshold: Adjust the sensitivity for detecting volume spikes.
2. Smoothing Period: Change the period for calculating SMFI and Acc/Dist.
3. Price Movement Threshold: Modify the sensitivity for detecting significant price movements.
4. Dashboard Position: Move the dashboard to any corner of the chart or turn it off.
5. Visual Settings: Customize the colors and transparency of the dashboard and signals.
Example Use Case:
Imagine you're analyzing a stock that has been consolidating for several days. Suddenly, the IAA indicator detects:
1. A volume spike (yellow circle),
2. A significant price movement (green triangle),
3. A positive SMFI (bullish smart money flow),
4. And an accumulation phase (positive Acc/Dist slope).
This confluence of signals may indicate that institutional buyers are entering the market, potentially leading to a breakout. You can then use this information to plan your trade, such as setting alerts or monitoring for confirmation from other indicators.
Disclaimer:
The Institutional Activity Analysis (IAA) indicator is for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any security. Always conduct your own research and consult with a financial advisor before making trading decisions. Use this tool responsibly and at your own risk.
Relative Directional Index (RDI)🔍 Overview
The Relative Directional Index (RDI) is a hybrid tool that fuses the Average Directional and the Relative Strength Indices (ADX and RSI) into a single, highly visual interface. While the former captures trend strength, the latter reveals momentum shifts and potential exhaustion. Together, they can confirm trend structure, anticipate reversals, and sharpen the timing entries and exits.
📌 Why Combine ADX with RSI?
Most indicators focus on either trend-following (like ADX) or momentum detection (like RSI)—but rarely both. Each comes with trade-offs:
- ADX alone confirms trend strength but ignores momentum.
- RSI alone signals overbought/oversold, but lacks trend context.
The RDI resolves this by integrating both, offering:
- Smarter filters for trend entries
- Early warnings of momentum breakdowns
- More confident signal validation
🧠 Design Note: Fibonacci Harmony
All default values—5, 13, 21—are Fibonacci numbers. This is intentional, as these values reflect the natural rhythm of market cycles, and promote harmonic calibration between price action and indicator logic.
🔥 Key Features
✅ ADX Histogram
- Green bars = trend gaining strength
- Red bars = trend weakening
- Adjustable transparency for visual tuning
✅ ADX Line (Orange)
- Measures trend strength over time
- Rising = accelerating trend
- Falling = trend may be fading
✅ RSI Line (Lemon Yellow)
- Captures momentum surges and slowdowns
- Above 50 = bullish control
- Below 50 = bearish pressure
✅ Trend Strength Squares
- Bright green = strong uptrend
- Bright red = strong downtrend
- Faded colors = range-bound or indecisive
✅ ADX/RSI Crossover Markers
- Yellow square = RSI crosses above ADX → momentum building
- Orange square = ADX crosses above RSI → trend still dominant
✅ Customizable Reference Lines
- Yellow (50) = strong trend threshold
- Red (30) = weak trend zone
- Green (70) = overextended, potential exhaustion
_______________________________________________________
🎯 How to Trade with the RDI
The RDI helps traders identify momentum-supported trends, catch early reversals, and avoid false signals during consolidation.
✅ Trend Confirmation Entries
🔼 Bullish → Enter long on pullbacks or resistance breakouts
- ADX rising above 30
- RSI above 50
- Green trend square visible
🔽 Bearish → Enter short on breakdowns or failed retests
- ADX rising
- RSI below 50
- Red trend square visible
🧯 Exit if RSI crosses back against trend direction or ADX flattens
🚨 Reversal Setups Using Divergence
📈 Bullish Divergence → Long entry after confirmation (e.g. engulfing bar, volume spike)
- Price prints lower low
- RSI prints higher low
- Green triangle
📉 Bearish Divergence → Short entry on breakdown
- Price prints higher high
- RSI prints lower high
- Red triangle
Tip: Stronger if ADX is declining (fading trend strength)
🔂 Breakout Detection via Cross Markers
- Yellow square = RSI > ADX → breakout brewing
- Orange square = ADX > RSI → trend continuation likely
⏸️ Avoid Choppy Markets
- RSI between 45–55
- Faded trend squares
- Flat ADX below 20–30
🧠 Pro Tips
- Combine RDI with VWAPs, moving averages and/or pitchforks
- Watch for alignment between trend and momentum
- Use divergence markers as confirmation, not stand-alone triggers
_______________________________________________________
⚠️ Hidden Divergence (Optional)
The RDI includes optional hidden divergence detection. These signals suggest trend continuation but are off by default. Use with discretion—best in established trends, not sideways markets.
🙈 Hidden Bullish
- Price prints higher low
- RSI prints lower low
🙈 Hidden Bearish
- Price prints lower high
- RSI prints higher high
Kase Permission StochasticOverview
The Kase Permission Stochastic indicator is an advanced momentum oscillator developed from Kase's trading methodology. It offers enhanced signal smoothing and filtering compared to traditional stochastic oscillators, providing clearer entry and exit signals with fewer false triggers.
How It Works
This indicator calculates a specialized stochastic using a multi-stage smoothing process:
Initial stochastic calculation based on high, low, and close prices
Application of weighted moving averages (WMA) for short-term smoothing
Progressive smoothing through differential factors
Final smoothing to reduce noise and highlight significant trend changes
The indicator oscillates between 0 and 100, with two main components:
Main Line (Green): The smoothed stochastic value
Signal Line (Yellow): A further smoothed version of the main line
Signal Generation
Trading signals are generated when the main line crosses the signal line:
Buy Signal (Green Triangle): When the main line crosses above the signal line
Sell Signal (Red Triangle): When the main line crosses below the signal line
Key Features
Multiple Smoothing Algorithms: Uses a combination of weighted and exponential moving averages for superior noise reduction
Clear Visualization: Color-coded lines and background filling
Reference Levels: Horizontal lines at 25, 50, and 75 for context
Customizable Colors: All visual elements can be color-customized
Customization Options
PST Length: Base period for the stochastic calculation (default: 9)
PST X: Multiplier for the lookback period (default: 5)
PST Smooth: Smoothing factor for progressive calculations (default: 3)
Smooth Period: Final smoothing period (default: 10)
Trading Applications
Trend Confirmation: Use crossovers to confirm entries in the direction of the prevailing trend
Reversal Detection: Identify potential market reversals when crossovers occur at extreme levels
Range-Bound Markets: Look for oscillations between overbought and oversold levels
Filter for Other Indicators: Use as a confirmation tool alongside other technical indicators
Best Practices
Most effective in trending markets or during well-defined ranges
Combine with price action analysis for better context
Consider the overall market environment before taking signals
Use longer settings for fewer but higher-quality signals
The Kase Permission Stochastic delivers a sophisticated approach to momentum analysis, offering a refined perspective on market conditions while filtering out much of the noise that affects standard oscillators.
Smarter Money Concepts - FVGs [PhenLabs]📊 Smarter Money Concepts - FVGs
Version: PineScript™ v6
📌 Description
Smarter Money Concepts - FVGs is a sophisticated indicator designed to identify and track Fair Value Gaps (FVGs) in price action. These gaps represent market inefficiencies where price moves quickly, creating imbalances that often attract subsequent price action for mitigation. By highlighting these key areas, traders can identify potential zones for reversals, continuations, and price targets.
The indicator employs volume filtering ideology to highlight only the most significant FVGs, reducing noise and focusing on gaps formed during periods of higher relative volume. This combination of price structure analysis and volume confirmation provides traders with high-probability areas of interest that institutional smart money may target during future price movements.
🚀 Points of Innovation
Volume-Filtered Gap Detection : Eliminates low-significance FVGs by requiring a minimum volume threshold, focusing only on gaps formed with institutional participation
Equilibrium Line Visualization : Displays the midpoint of each gap as a potential precision target for trades
Automated Gap Mitigation Tracking : Monitors when price revisits and mitigates gaps, automatically managing visual elements
Time-Based Gap Management : Intelligently filters gaps based on a configurable timeframe, maintaining chart clarity
Dual Direction Analysis : Simultaneously tracks both bullish and bearish gaps, providing a complete market structure view
Memory-Optimized Design : Implements efficient memory management for smooth chart performance even with numerous FVGs
🔧 Core Components
Fair Value Gap Detection : Identifies price inefficiencies where the current candle’s low is higher than the previous candle’s high (bearish FVG) or where the current candle’s high is lower than the previous candle’s low (bullish FVG).
Volume Filtering Mechanism : Calculates relative volume compared to a moving average to qualify only gaps formed during significant market activity.
Mitigation Tracking : Continuously monitors price action to detect when gaps get filled, with options to either hide or maintain visual representation of mitigated gaps.
🔥 Key Features
Customizable Gap Display : Toggle visibility of bullish and bearish gaps independently to focus on your preferred market direction
Volume Threshold Control : Adjust the minimum volume ratio required for gap qualification, allowing fine-tuning between sensitivity and significance
Flexible Mitigation Methods : Choose between “Wick” or “Close” methods for determining when a gap has been mitigated, adapting to different trading styles
Visual Customization : Full control over colors, transparency, and style of gap boxes and equilibrium lines
🎨 Visualization
Gap Boxes : Rectangular highlights showing the exact price range of each Fair Value Gap. Bullish gaps indicate potential upward price targets, while bearish gaps show potential downward targets.
Equilibrium Lines : Dotted lines running through the center of each gap, representing the mathematical midpoint that often serves as a precision target for price movement.
📖 Usage Guidelines
General Settings
Days to Analyze : Default: 15, Range: 1-100. Controls how many days of historical gaps to display, balancing between comprehensive analysis and chart clarity
Visual Settings
Bull Color : Default:(#596fd33f). Color for bullish Fair Value Gaps, typically using high transparency for clear chart visibility
Bear Color : Default:(#d3454575). Color for bearish Fair Value Gaps, typically using high transparency for clear chart visibility
Equilibrium Line : Default: Enabled. Toggles visibility of the center equilibrium line for each FVG
Eq. Line Color : Default: Black with 99% transparency. Sets the color of equilibrium lines, usually kept subtle to avoid chart clutter
Eq. Line Style : Default: Dotted, Options: Dotted, Solid, Dashed. Determines the line style for equilibrium lines
Mitigation Settings
Mitigation Method : Default: Wick, Options: Wick, Close. Determines how gap mitigation is calculated - “Wick” uses high/low values while “Close” uses open/close values for more conservative mitigation criteria
Hide Mitigated : Default: Enabled. When enabled, gaps become transparent once mitigated, reducing visual clutter while maintaining historical context
Volume Filter
Volume Filter : Default: Enabled. When enabled, only shows gaps formed with significant volume relative to recent average
Min Ratio : Default: 1.5, Range: 0.1-10.0. Minimum volume ratio compared to average required to display an FVG; higher values filter out more gaps
Periods : Default: 15, Range: 5-50. Number of periods used to calculate the average volume baseline
✅ Best Use Cases
Identifying potential reversal zones where price may react after extended moves
Finding precise targets for take-profit placement in trend-following strategies
Detecting institutional interest areas for potential breakout or breakdown confirmations
Plotting significant support and resistance zones based on structural imbalances
Developing fade strategies at key market structure points
Confirming trade entries when price approaches significant unfilled gaps
⚠️ Limitations
Works best on higher timeframes where gaps reflect more significant market inefficiencies
Very choppy or ranging markets may produce small gaps with limited predictive value
Volume filtering depends on accurate volume data, which may be less reliable for some symbols
Performance may be affected when displaying a very large number of historical gaps
Some gaps may never be fully mitigated, particularly in strongly trending markets
💡 What Makes This Unique
Volume Intelligence : Unlike basic FVG indicators, this script incorporates volume analysis to identify the most significant structural imbalances, focusing on quality over quantity.
Visual Clarity Management : Automatic handling of mitigated gaps and memory management ensures your chart remains clean and informative even over extended analysis periods.
Dual-Direction Comprehensive Analysis : Simultaneously tracks both bullish and bearish gaps, providing a complete market structure picture rather than forcing a directional bias.
🔬 How It Works
1. Gap Detection Process :
The indicator examines each candle in relation to previous candles, identifying when a gap forms between the low of candle and high of candle (bearish FVG) or between the high of candle and low of candle (bullish FVG). This specific candle relationship identifies true structural imbalances.
2. Volume Qualification :
For each potential gap, the algorithm calculates the relative volume compared to the configured period average. Only gaps formed with volume exceeding the minimum ratio threshold are displayed, ensuring focus on institutionally significant imbalances.
3. Equilibrium Calculation :
For each qualified gap, the script calculates the precise mathematical midpoint, which becomes the equilibrium line - a key target that price often gravitates toward during mitigation attempts.
4. Mitigation Tracking :
The indicator continuously monitors price action against existing gaps, determining mitigation based on the selected method (wick or close). When price reaches the equilibrium point, the gap is considered mitigated and can be visually updated accordingly.
💡 Note:
Fair Value Gaps represent market inefficiencies that often, but not always, get filled. Use this indicator as part of a complete trading strategy rather than as a standalone system. The most valuable signals typically come from combining FVG analysis with other confirmatory indicators and overall market context. For optimal results, start with the default settings and gradually adjust parameters to match your specific trading timeframe and style.
Larry Williams POIV A/D [tradeviZion]Larry Williams' POIV A/D - Release Notes v1.0
=================================================
Release Date: 01 April 2025
OVERVIEW
--------
The Larry Williams POIV A/D (Price, Open Interest, Volume Accumulation/Distribution) indicator implements Williams' original formula while adding advanced divergence detection capabilities. This powerful tool combines price movement, open interest, and volume data to identify potential trend reversals and continuations.
FEATURES
--------
- Implements Larry Williams' original POIV A/D formula
- Divergence detection system:
* Regular divergences for trend reversal signals
* Hidden divergences for trend continuation signals
- Fast Mode option for earlier pivot detection
- Customizable sensitivity for divergence filtering
- Dynamic color visualization based on indicator direction
- Adjustable smoothing to reduce noise
- Automatic fallback to OBV when Open Interest is unavailable
FORMULA
-------
POIV A/D = CumulativeSum(Open Interest * (Close - Close ) / (True High - True Low)) + OBV
Where:
- Open Interest: Current period's open interest
- Close - Close : Price change from previous period
- True High - True Low: True Range
- OBV: On Balance Volume
DIVERGENCE TYPES
---------------
1. Regular Divergences (Reversal Signals):
- Bullish: Price makes lower lows while indicator makes higher lows
- Bearish: Price makes higher highs while indicator makes lower highs
2. Hidden Divergences (Continuation Signals):
- Bullish: Price makes higher lows while indicator makes lower lows
- Bearish: Price makes lower highs while indicator makes higher highs
REQUIREMENTS
-----------
- Works best with futures and other instruments that provide Open Interest data
- Automatically adapts to work with any instrument by using OBV when OI is unavailable
USAGE GUIDE
-----------
1. Apply the indicator to any chart
2. Configure settings:
- Adjust sensitivity for divergence detection
- Enable/disable Fast Mode for earlier signals
- Customize visual settings as needed
3. Look for divergence signals:
- Regular divergences for potential trend reversals
- Hidden divergences for trend continuation opportunities
4. Use the alerts system for automated divergence detection
KNOWN LIMITATIONS
----------------
- Requires Open Interest data for full functionality
- Fast Mode may generate more signals but with lower reliability
ACKNOWLEDGEMENTS
---------------
This indicator is based on Larry Williams' work on Open Interest analysis. The implementation includes additional features for divergence detection while maintaining the integrity of the original formula.
Candle RvolCandle Rvol is designed to be used on the 10minute chart, using it on other timeframes will result in unintended outcomes.
Candle Rvol has two dynamic features:
- creates and array for every 10m candle over the last 14 trading days, the current candle volume is then compared against the average of the corresponding candles from the past 14 days to give a dynamic relative volume expressed as a percentage (this means the high volume near the open and close does not skew the average volume data)
- for the current candle Rvol percentage, a check is made every 1m during the 10m candle and if the volume is on track to being over 100% the background will dynamically show a green colour.
yatofxDescription: "Ramon Coto's 3 Session Bar Color" Indicator
This TradingView Pine Script indicator colors candlestick bars based on three custom trading sessions. It allows traders to visually distinguish different market timeframes on their charts.
Features:
Three configurable trading sessions with user-defined time ranges.
Customizable session colors:
Session A → Blue
Session B → Red
Session C → Lime
Enable/disable sessions independently using input toggles.
Automatic session detection: Bars are colored based on the active session.
Optimized for TradingView Mobile & Desktop with clear and efficient logic.
How It Works:
1. User Inputs: The script takes session time ranges and enables/disables each session.
2. Session Detection: The script checks whether the current time falls within any of the defined sessions.
3. Bar Coloring: If a session is active, the corresponding color is applied to the bars.
This indicator helps traders quickly recognize which market session they are in, improving decision-making for session-based strategies.
[TehThomas] - ICT Inversion Fair value Gap (IFVG) The Inversion Fair Value Gap (IFVG) indicator is a powerful tool designed for traders who utilize ICT (Inner Circle Trader) strategies. It focuses on identifying and displaying Inversion Fair Value Gaps, which are critical zones that emerge when traditional Fair Value Gaps (FVGs) are invalidated by price action. These gaps represent key areas where price often reacts, making them essential for identifying potential reversals, trend continuations, and liquidity zones.
What Are Inversion Fair Value Gaps?
Inversion Fair Value Gaps occur when price revisits a traditional FVG and breaks through it, effectively flipping its role in the market. For example:
A bullish FVG that is invalidated becomes a bearish zone, often acting as resistance.
A bearish FVG that is invalidated transforms into a bullish zone, serving as support.
These gaps are significant because they often align with institutional trading activity. They highlight areas where large orders have been executed or where liquidity has been targeted. Understanding these gaps provides traders with a deeper insight into market structure and helps them anticipate future price movements with greater accuracy.
Why This Strategy Works
The IFVG concept is rooted in ICT principles, which emphasize liquidity dynamics, market inefficiencies, and institutional order flow. Traditional FVGs represent imbalances in price action caused by gaps between candles. When these gaps are invalidated, they become inversion zones that can act as magnets for price. These zones frequently serve as high-probability areas for price reversals or trend continuations.
This strategy works because it aligns with how institutional traders operate. Inversion gaps often mark areas of interest for "smart money," making them reliable indicators of potential market turning points. By focusing on these zones, traders can align their strategies with institutional behavior and improve their overall trading edge.
How the Indicator Works
This indicator simplifies the process of identifying and tracking IFVGs by automating their detection and visualization on the chart. It scans the chart in real-time to identify bullish and bearish FVGs that meet user-defined thresholds for inversion. Once identified, these gaps are dynamically displayed on the chart with distinct colors for bullish and bearish zones.
The indicator also tracks whether these gaps are mitigated or broken by price action. When an IFVG is broken, it extends the zone for a user-defined number of bars to visualize its potential role as a new support or resistance level. Additionally, alerts can be enabled to notify traders when new IFVGs form or when existing ones are broken, ensuring timely decision-making in fast-moving markets.
Key Features
Automatic Detection: The indicator automatically identifies bullish and bearish IFVGs based on user-defined thresholds.
Dynamic Visualization: It displays IFVGs directly on the chart with customizable colors for easy differentiation.
Real-Time Updates: The status of each IFVG is updated dynamically based on price action.
Zone Extensions: Broken IFVGs are extended to visualize their potential as support or resistance levels.
Alerts: Notifications can be set up to alert traders when key events occur, such as the formation or breaking of an IFVG.
These features make the tool highly efficient and reduce the need for manual analysis, allowing traders to focus on execution rather than tedious chart work.
Benefits of Using This Indicator
The IFVG indicator offers several advantages that make it an indispensable tool for ICT traders. By automating the detection of inversion gaps, it saves time and reduces errors in analysis. The clearly defined zones improve risk management by providing precise entry points, stop-loss levels, and profit targets based on market structure.
This tool is also highly versatile and adapts seamlessly across different timeframes. Whether you’re scalping lower timeframes or swing trading higher ones, it provides actionable insights tailored to your trading style. Furthermore, by aligning your strategy with institutional logic, you gain a significant edge in anticipating market movements.
Practical Applications
This indicator can be used across various trading styles:
Scalping: Identify quick reversal points on lower timeframes using real-time alerts.
Day Trading: Use inversion gaps as key levels for intraday support/resistance or trend continuation setups.
Swing Trading: Analyse higher timeframes to identify major inversion zones that could act as critical turning points in larger trends.
By integrating this tool into your trading routine, you can streamline your analysis process and focus on executing high-probability setups.
Conclusion
The Inversion Fair Value Gap (IFVG) indicator is more than just a technical analysis tool—it’s a strategic ally for traders looking to refine their edge in the markets. By automating the detection and tracking of inversion gaps based on ICT principles, it simplifies complex market analysis while maintaining accuracy and depth. Whether you’re new to ICT strategies or an experienced trader seeking greater precision, this indicator will elevate your trading game by aligning your approach with institutional behavior.
If you’re serious about improving your trading results while saving time and effort, this tool is an essential addition to your toolkit. It provides clarity in chaotic markets, enhances precision in trade execution, and ensures you never miss critical opportunities in your trading journey.
__________________________________________
Thanks for your support!
If you found this idea helpful or learned something new, drop a like 👍 and leave a comment, I’d love to hear your thoughts! 🚀
Make sure to follow me for more price action insights, free indicators, and trading strategies. Let’s grow and trade smarter together! 📈
Fibonacci Circle Zones🟩 The Fibonacci Circle Zones indicator is a technical visualization tool, building upon the concept of traditional Fibonacci circles. It provides configurable options for analyzing geometric relationships between price and time, used to identify potential support and resistance zones derived from circle-based projections. The indicator constructs these Fibonacci circles based on two user-selected anchor points (Point A and Point B), which define the foundational price range and time duration for the geometric analysis.
Key features include multiple mathematical Circle Formulas for radius scaling and several options for defining the circle's center point, enabling exploration of complex, non-linear geometric relationships between price and time distinct from traditional linear Fibonacci analysis. Available formulas incorporate various mathematical constants (π, e, φ variants, Silver Ratio) alongside traditional Fibonacci ratios, facilitating investigation into different scaling hypotheses. Furthermore, selecting the Center point relative to the A-B anchors allows these circular time-price patterns to be constructed and analyzed from different geometric perspectives. Analysis can be further tailored through detailed customization of up to 12 Fibonacci levels, including their mathematical values, colors, and visibility..
📚 THEORY and CONCEPT 📚
Fibonacci circles represent an application of Fibonacci principles within technical analysis, extending beyond typical horizontal price levels by incorporating the dimension of time. These geometric constructions traditionally use numerical proportions, often derived from the Fibonacci sequence, to project potential zones of price-time interaction, such as support or resistance. A theoretical understanding of such geometric tools involves considering several core components: the significance of the chosen geometric origin or center point , the mathematical principles governing the proportional scaling of successive radii, and the fundamental calculation considerations (like chart scale adjustments and base radius definitions) that influence the resulting geometry and ensure its accurate representation.
⨀ Circle Center ⨀
The traditional construction methodology for Fibonacci circles begins with the selection of two significant anchor points on the chart, usually representing a key price swing, such as a swing low (Point A) and a subsequent swing high (Point B), or vice versa. This defined segment establishes the primary vector—representing both the price range and the time duration of that specific market move. From these two points, a base distance or radius is derived (this calculation can vary, sometimes using the vertical price distance, the time duration, or the diagonal distance). A center point for the circles is then typically established, often at the midpoint (time and price) between points A and B, or sometimes anchored directly at point B.
Concentric circles are then projected outwards from this center point. The radii of these successive circles are calculated by multiplying the base distance by key Fibonacci ratios and other standard proportions. The underlying concept posits that markets may exhibit harmonic relationships or cyclical behavior that adheres to these proportions, suggesting these expanding geometric zones could highlight areas where future price movements might decelerate, reverse, or find equilibrium, reflecting a potential proportional resonance with the initial defining swing in both price and time.
The Fibonacci Circle Zones indicator enhances traditional Fibonacci circle construction by offering greater analytical depth and flexibility: it addresses the origin point of the circles: instead of being limited to common definitions like the midpoint or endpoint B, this indicator provides a selection of distinct center point calculations relative to the initial A-B swing. The underlying idea is that the geometric source from which harmonic projections emanate might vary depending on the market structure being analyzed. This flexibility allows for experimentation with different center points (derived algorithmically from the A, B, and midpoint coordinates), facilitating exploration of how price interacts with circular zones anchored from various perspectives within the defining swing.
Potential Center Points Setup : This view shows the anchor points A and B , defined by the user, which form the basis of the calculations. The indicator dynamically calculates various potential Center points ( C through N , and X ) based on the A-B structure, representing different geometric origins available for selection in the settings.
Point X holds particular significance as it represents the calculated midpoint (in both time and price) between A and B. This 'X' point corresponds to the default 'Auto' center setting upon initial application of the indicator and aligns with the centering logic used in TradingView's standard Fibonacci Circle tool, offering a familiar starting point.
The other potential center points allow for exploring circles originating from different geometric anchors relative to the A-B structure. While detailing the precise calculation for each is beyond the scope of this overview, they can be broadly categorized: points C through H are derived from relationships primarily within the A-B time/price range, whereas points I through N represent centers projected beyond point B, extrapolating the A-B geometry. Point J, for example, is calculated as a reflection of the A-X midpoint projected beyond B. This variety provides a rich set of options for analyzing circle patterns originating from historical, midpoint, and extrapolated future anchor perspectives.
Default Settings (Center X, FibCircle) : Using the default Center X (calculated midpoint) with the default FibCircle . Although circles begin plotting only after Point B is established, their curvature shows they are geometrically centered on X. This configuration matches the standard TradingView Fib Circle tool, providing a baseline.
Centering on Endpoint B : Using Point B, the user-defined end of the swing, as the Center . This anchors the circular projections directly to the swing's termination point. Unlike centering on the midpoint (X) or start point (A), this focuses the analysis on geometric expansion originating precisely from the conclusion of the measured A-B move.
Projected Center J : Using the projected Point J as the Center . Its position is calculated based on the A-B swing (conceptually, it represents a forward projection related to the A-X midpoint relationship) and is located chronologically beyond Point B. This type of forward projection often allows complete circles to be visualized as price develops into the corresponding time zone.
Time Symmetry Projection (Center L) : Uses the projected Point L as the Center . It is located at the price level of the start point (A), projected forward in time from B by the full duration of the A-B swing . This perspective focuses analysis on temporal symmetry , exploring geometric expansions from a point representing a full time cycle completion anchored back at the swing's origin price level.
⭕ Circle Formula
Beyond the center point , the expansion of the projected circles is determined by the selected Circle Formula . This setting provides different mathematical methods, or scaling options , for scaling the circle radii. Each option applies a distinct mathematical constant or relationship to the base radius derived from the A-B swing, allowing for exploration of various geometric proportions.
eScaled
Mathematical Basis: Scales the radius by Euler's number ( e ≈ 2.718), the base of natural logarithms. This constant appears frequently in processes involving continuous growth or decay.
Enables investigation of market geometry scaled by e , exploring relationships potentially based on natural exponential growth applied to time-price circles, potentially relevant for analyzing phases of accelerating momentum or volatility expansion.
FibCircle
Mathematical Basis: Scales the radius to align with TradingView’s built-in Fibonacci Circle Tool.
Provides a baseline circle size, potentially emulating scaling used in standard drawing tools, serving as a reference point for comparison with other options.
GoldenFib
Mathematical Basis: Scales the radius by the Golden Ratio (φ ≈ 1.618).
Explores the fundamental Golden Ratio proportion, central to Fibonacci analysis, applied directly to circular time-price geometry, potentially highlighting zones reflecting harmonic expansion or retracement patterns often associated with φ.
GoldenContour
Mathematical Basis: Scales the radius by a factor derived from Golden Ratio geometry (√(1 + φ²) / 2 ≈ 0.951). It represents a specific geometric relationship derived from φ.
Allows analysis using proportions linked to the geometry of the Golden Rectangle, scaled to produce circles very close to the initial base radius. This explores structural relationships often associated with natural balance or proportionality observed in Golden Ratio constructions.
SilverRatio
Mathematical Basis: Scales the radius by the Silver Ratio (1 + √2 ≈ 2.414). The Silver Ratio governs relationships in specific regular polygons and recursive sequences.
Allows exploration using the proportions of the Silver Ratio, offering a significant expansion factor based on another fundamental metallic mean for comparison with φ-based methods.
PhiDecay
Mathematical Basis: Scales the radius by φ raised to the power of -φ (φ⁻ᵠ ≈ 0.53). This unique exponentiation explores a less common, non-linear transformation involving φ.
Explores market geometry scaled by this specific phi-derived factor which is significantly less than 1.0, offering a distinct contractile proportion for analysis, potentially relevant for identifying zones related to consolidation phases or decaying momentum.
PhiSquared
Mathematical Basis: Scales the radius by φ squared, normalized by dividing by 3 (φ² / 3 ≈ 0.873).
Enables investigation of patterns related to the φ² relationship (a key Fibonacci extension concept), visualized at a scale just below 1.0 due to normalization. This scaling explores projections commonly associated with significant trend extension targets in linear Fibonacci analysis, adapted here for circular geometry.
PiScaled
Mathematical Basis: Scales the radius by Pi (π ≈ 3.141).
Explores direct scaling by the fundamental circle constant (π), investigating proportions inherent to circular geometry within the market's time-price structure, potentially highlighting areas related to natural market cycles, rotational symmetry, or full-cycle completions.
PlasticNumber
Mathematical Basis: Scales the radius by the Plastic Number (approx 1.3247), the third metallic mean. Like φ and the Silver Ratio, it is the solution to a specific cubic equation and relates to certain geometric forms.
Introduces another distinct fundamental mathematical constant for geometric exploration, comparing market proportions to those potentially governed by the Plastic Number.
SilverFib
Mathematical Basis: Scales the radius by the reciprocal Golden Ratio (1/φ ≈ 0.618).
Explores proportions directly related to the core 0.618 Fibonacci ratio, fundamental within Fibonacci-based geometric analysis, often significant for identifying primary retracement levels or corrective wave structures within a trend.
Unscaled
Mathematical Basis: No scaling applied.
Provides the base circle defined by points A/B and the Center setting without any additional mathematical scaling, serving as a pure geometric reference based on the A-B structure.
🧪 Advanced Calculation Settings
Two advanced settings allow further refinement of the circle calculations: matching the chart's scale and defining how the base radius is calculated from the A-B swing.
The Chart Scale setting ensures geometric accuracy by aligning circle calculations with the chart's vertical axis display. Price charts can use either a standard (linear) or logarithmic scale, where vertical distances represent price changes differently. The setting offers two options:
Standard : Select this option when the price chart's vertical axis is set to a standard linear scale.
Logarithmic : It is necessary to select this option if the price chart's vertical axis is set to a logarithmic scale. Doing so ensures the indicator adjusts its calculations to maintain correct geometric proportions relative to the visual price action on the log-scaled chart.
The Radius Calc setting determines how the fundamental base radius is derived from the A-B swing, offering two primary options:
Auto : This is the default setting and represents the traditional method for radius calculation. This method bases the radius calculation on the vertical price range of the A-B swing, focusing the geometry on the price amplitude.
Geometric : This setting provides an alternative calculation method, determining the base radius from the diagonal distance between Point A and Point B. It considers both the price change and the time duration relative to the chart's aspect ratio, defining the radius based on the overall magnitude of the A-B price-time vector.
This choice allows the resulting circle geometry to be based either purely on the swing's vertical price range ( Auto ) or on its combined price-time movement ( Geometric ).
🖼️ CHART EXAMPLES 🖼️
Default Behavior (X Center, FibCircle Formula) : This configuration uses the midpoint ( Center X) and the FibCircle scaling Formula , representing the indicator's effective default setup when 'Auto' is selected for both options initially. This is designed to match the output of the standard TradingView Fibonacci Circle drawing tool.
Center B with Unscaled Formula : This example shows the indicator applied to an uptrend with the Center set to Point B and the Circle Formula set to Unscaled . This configuration projects the defined levels (0.236, 0.382, etc.) as arcs originating directly from the swing's termination point (B) without applying any additional mathematical scaling from the formulas.
Visualization with Projected Center J : Here, circles are centered on the projected point J, calculated from the A-B structure but located forward in time from point B. Notice how using this forward-projected origin allows complete inner circles to be drawn once price action develops into that zone, providing a distinct visual representation of the expanding geometric field compared to using earlier anchor points. ( Unscaled formula used in this example).
PhiSquared Scaling from Endpoint B : The PhiSquared scaling Formula applied from the user-defined swing endpoint (Point B). Radii expand based on a normalized relationship with φ² (the square of the Golden Ratio), creating a unique geometric structure and spacing between the circle levels compared to other formulas like Unscaled or GoldenFib .
Centering on Swing Origin (Point A) : Illustrates using Point A, the user-defined start of the swing, as the circle Center . Note the significantly larger scale and wider spacing of the resulting circles. This difference occurs because centering on the swing's origin (A) typically leads to a larger base radius calculation compared to using the midpoint (X) or endpoint (B). ( Unscaled formula used).
Center Point D : Point D, dynamically calculated from the A-B swing, is used as the origin ( Center =D). It is specifically located at the price level of the swing's start point (A) occurring precisely at the time coordinate of the swing's end point (B). This offers a unique perspective, anchoring the geometric expansion to the initial price level at the exact moment the defining swing concludes. ( Unscaled formula shown).
Center Point G : Point G, also dynamically calculated from the A-B swing, is used as the origin ( Center =G). It is located at the price level of the swing's endpoint (B) occurring at the time coordinate of the start point (A). This provides the complementary perspective to Point D, anchoring the geometric expansion to the final price level achieved but originating from the moment the swing began . As observed in the example, using Point G typically results in very wide circle projections due to its position relative to the core A-B action. ( Unscaled formula shown).
Center Point I: Half-Duration Projection : Using the dynamically calculated Point I as the Center . Located at Point B's price level but projected forward in time by half the A-B swing duration , Point I's calculated time coordinate often falls outside the initially visible chart area. As the chart progresses, this origin point will appear, revealing large, sweeping arcs representing geometric expansions based on a half-cycle temporal projection from the swing's endpoint price. ( Unscaled formula shown).
Center Point M : Point M, also dynamically calculated from the A-B swing, serves as the origin ( Center =M). It combines the midpoint price level (derived from X) with a time coordinate projected forward from Point B by the full duration of the A-B swing . This perspective anchors the geometric expansion to the swing's balance price level but originates from the completion point of a full temporal cycle relative to the A-B move. Like other projected centers, using M allows for complete circles to be visualized as price progresses into its time zone. ( SilverFib formula shown).
Geometric Validation & Functionality : Comparing the indicator (red lines), using its default settings ( Center X, FibCircle Formula ), against TradingView's standard Fib Circle tool (green lines/white background). The precise alignment, particularly visible at the 1.50 and 2.00 levels shown, validates the core geometry calculation.
🛠️ CONFIGURATION AND SETTINGS 🛠️
The Fibonacci Circle Zones indicator offers a range of configurable settings to tailor its functionality and visual representation. These options allow customization of the circle origin, scaling method, level visibility, visual appearance, and input points.
Center and Formula
Settings for selecting the circle origin and scaling method.
Center : Dropdown menu to select the origin point for the circles.
Auto : Automatically uses point X (the calculated midpoint between A and B).
Selectable points including start/end (A, B), midpoint (X), plus various points derived from or projected beyond the A-B swing (C-N).
Circle Formula : Dropdown menu to select the mathematical method for scaling circle radii.
Auto : Automatically selects a default formula ('FibCircle' if Center is 'X', 'Unscaled' otherwise).
Includes standard Fibonacci scaling ( FibCircle, GoldenFib ), other mathematical constants ( PiScaled, eScaled ), metallic means ( SilverRatio ), phi transformations ( PhiDecay, PhiSquared ), and others.
Fib Levels
Configuration options for the 12 individual Fibonacci levels.
Advanced Settings
Settings related to core calculation methods.
Radius Calc : Defines how the base radius is calculated (e.g., 'Auto' for vertical price range, 'Geometric' for diagonal price-time distance).
Chart Scale : Aligns circle calculations with the chart's vertical axis setting ('Standard' or 'Logarithmic') for accurate visual proportions.
Visual Settings
Settings controlling the visual display of the indicator elements.
Plots : Dropdown controlling which parts of the calculated circles are displayed ( Upper , All , or Lower ).
Labels : Dropdown controlling the display of the numerical level value labels ( All , Left , Right , or None ).
Setup : Dropdown controlling the visibility of the initial setup graphics ( Show or Hide ).
Info : Dropdown controlling the visibility of the small information table ( Show or Hide ).
Text Size : Adjusts the font size for all text elements displayed by the indicator (Value ranges from 0 to 36).
Line Width : Adjusts the width of the circle plots (1-10).
Time/Price
Inputs for the anchor points defining the base swing.
These settings define the start (Point A) and end (Point B) of the price swing used for all calculations.
Point A (Time, Price) : Input fields for the exact time coordinate and price level of the swing's starting point (A).
Point B (Time, Price) : Input fields for the exact time coordinate and price level of the swing's ending point (B).
Interactive Adjustment : Points A and B can typically be adjusted directly by clicking and dragging their markers on the chart (if 'Setup' is set to 'Show'). Changes update settings automatically.
📝 NOTES 📝
Fibonacci circles begin plotting only once the time corresponding to Point B has passed and is confirmed on the chart. While potential center locations might be visible earlier (as shown in the setup graphic), the final circle calculations require the complete geometry of the A-B swing. This approach ensures that as new price bars form, the circles are accurately rendered based on the finalized A-B relationship and the chosen center and scaling.
The indicator's calculations are anchored to user-defined start (A) and end (B) points on the chart. When switching between charts with significantly different price scales (e.g., from an index at 5,000 to a crypto asset at $0.50), it is typically necessary to adjust these anchor points to ensure the circle elements are correctly positioned and scaled.
⚠️ DISCLAIMER ⚠️
The Fibonacci Circle Zones indicator is a visual analysis tool designed to illustrate Fibonacci relationships through geometric constructions incorporating curved lines, providing a structured framework for identifying potential areas of price interaction. Like all technical and visual indicators, these visual representations may visually align with key price zones in hindsight, reflecting observed price dynamics. It is not intended as a predictive or standalone trading signal indicator.
The indicator calculates levels and projections using user-defined anchor points and Fibonacci ratios. While it aims to align with TradingView’s standard Fibonacci circle tool by employing mathematical and geometric formulas, no guarantee is made that its calculations are identical to TradingView's proprietary methods.
🧠 BEYOND THE CODE 🧠
The Fibonacci Circle Zones indicator, like other xxattaxx indicators , is designed with education and community collaboration in mind. Its open-source nature encourages exploration, experimentation, and the development of new Fibonacci and grid calculation indicators and tools. We hope this indicator serves as a framework and a starting point for future Innovation and discussions.
Imbalance(FVG) DetectorImbalance (FVG) Detector
Overview
The Imbalance (FVG) Detector is a technical analysis tool designed to highlight price inefficiencies by identifying Fair Value Gaps (FVGs). These gaps occur when rapid price movement leaves an area with little to no traded volume, which may later act as a zone of interest. The indicator automatically detects and marks these imbalances on the chart, allowing users to observe historical price behavior more effectively.
Key Features
- Automatic Imbalance Detection: Identifies bullish and bearish imbalances based on a structured three-bar price action model.
- Customizable Sensitivity: Users can adjust the minimum imbalance percentage threshold to tailor detection settings to different assets and market conditions.
- Real-time Visualization: Marked imbalances are displayed as colored boxes directly on the chart.
- Dynamic Box Updates: Imbalance zones extend forward in time until price interacts with them.
- Alert System: Users can set alerts for when new imbalances appear or when price tests an existing imbalance.
How It Works
The indicator identifies market imbalances using a three-bar price structure:
- Bullish Imbalance: Occurs when the high of three bars ago is lower than the low of the previous bar, forming a price gap.
- Bearish Imbalance: Occurs when the low of three bars ago is higher than the high of the previous bar, creating a downward gap.
When an imbalance is detected:
- Green Boxes indicate bullish imbalances.
- Red Boxes indicate bearish imbalances.
- Once price interacts with an imbalance, the box fades to gray, marking it as tested.
! Designed for Crypto Markets
This indicator is particularly useful in crypto markets, where frequent volatility can create price inefficiencies. It provides a structured way to visualize gaps in price movement, helping users analyze historical liquidity areas.
Customization Options
- Min Imbalance Percentage Size: Adjusts the sensitivity of the imbalance detection.
- Alerts: Users can enable alerts to stay notified of new or tested imbalances.
Important Notes
- This indicator is a technical analysis tool and does not provide trading signals or financial advice.
- It does not predict future price movement but highlights historical price inefficiencies.
- Always use this tool alongside other market analysis methods and risk management strategies.