Initial BalanceInitial Balance Pro – Precision Trading with Market Open Dynamics
The Initial Balance Pro indicator is designed to provide traders with a clear, structured view of the market's opening price action, helping to identify key levels for intraday trading. It automatically calculates and plots the initial balance (IB) high and low, allowing traders to gauge early market sentiment and potential breakout zones.
Features:
✅ Customizable Initial Balance Period – Set your preferred IB range, whether the first 30, 60, or any custom minutes after market open.
✅ Breakout & Rejection Zones – Visually highlight key areas where price action may find support, resistance, or breakout opportunities.
✅ Midpoint & Extension Levels – Identify the IB midpoint and customizable extension levels to anticipate possible price targets.
✅ Session Flexibility – Works across various trading sessions, including pre-market and post-market hours.
✅ Alerts & Notifications – Get notified when price breaches IB levels, helping you stay ahead of key moves.
Why Use Initial Balance?
The initial balance is a fundamental concept in market profile analysis. Institutional traders often set their positions within this range, making it a crucial reference point for potential trend continuation or reversal. When price breaks above or below the IB, it can signal high-probability trade opportunities, especially when combined with volume and order flow analysis.
Perfect For:
📈 Futures & Forex Traders – Utilize the IB for breakout and mean-reversion strategies.
📊 Equity & Options Traders – Identify key levels for intraday momentum plays.
🔍 Price Action Traders – Improve trade execution with a structured market approach.
Optimize your intraday trading strategy with Initial Balance Pro , giving you a refined edge in market structure and price action analysis. 🚀
Sentiment
Volume Profile [ActiveQuants]The Volume Profile indicator visualizes the distribution of trading volume across price levels over a user-defined historical period. It identifies key liquidity zones, including the Point of Control (POC) (price level with the highest volume) and the Value Area (price range containing a specified percentage of total volume). This tool is ideal for traders analyzing support/resistance levels, market sentiment , and potential price reversals .
█ CORE METHODOLOGY
Vertical Price Rows: Divides the price range of the selected lookback period into equal-height rows.
Volume Aggregation: Accumulates bullish/bearish or total volume within each price row.
POC: The row with the highest total volume.
Value Area: Expands from the POC until cumulative volume meets the user-defined threshold (e.g., 70%).
Dynamic Visualization: Rows are plotted as horizontal boxes with widths proportional to their volume.
█ KEY FEATURES
- Customizable Lookback & Resolution
Adjust the historical period ( Lookback ) and granularity ( Number of Rows ) for precise analysis.
- Configurable Profile Width & Horizontal Offset
Control the relative horizontal length of the profile rows, and set the distance from the current bar to the POC row’s anchor.
Important: Do not set the horizontal offset too high. Indicators cannot be plotted more than 500 bars into the future.
- Value Area & POC Highlighting
Set the percentage of total volume required to form the Value Area , ensuring that key volume levels are clearly identified.
Value Area rows are colored distinctly, while the POC is marked with a bold line.
- Flexible Display Options
Show bullish/bearish volume splits or total volume.
Place the profile on the right or left of the chart.
- Gradient Coloring
Rows fade in color intensity based on their relative volume strength .
- Real-Time Adjustments
Modify horizontal offset, profile width, and appearance without reloading.
█ USAGE EXAMPLES
Example 1: Basic Volume Profile with Value Area
Settings:
Lookback: 500 bars
Number of Rows: 100
Value Area: 70%
Display Type: Up/Down
Placement: Right
Image Context:
The profile appears on the right side of the chart. The POC (orange line) marks the highest volume row. Value Area rows (green/red) extend above/below the POC, containing 70% of total volume.
Example 2: Total Volume with Gradient Colors
Settings:
Lookback: 800 bars
Number of Rows: 100
Profile Width: 60
Horizontal Offset: 20
Display Type: Total
Gradient Colors: Enabled
Image Context:
Rows display total volume in a single color with gradient transparency. Darker rows indicate higher volume concentration.
Example 3: Left-Aligned Profile with Narrow Value Area
Settings:
Lookback: 600 bars
Number of Rows: 100
Profile Width: 45
Horizontal Offset: 500
Value Area: 50%
Profile Placement: Left
Image Context:
The profile shifts to the left, with a tighter Value Area (50%).
█ USER INPUTS
Calculation Settings
Lookback: Historical bars analyzed (default: 500).
Number of Rows: Vertical resolution of the profile (default: 100).
Profile Width: Horizontal length of rows (default: 50).
Horizontal Offset: Distance from the current bar to the POC (default: 50).
Value Area (%): Cumulative volume threshold for the Value Area (default: 70%).
Volume Display: Toggle between Up/Down (bullish/bearish) or Total volume.
Profile Placement: Align profile to the Right or Left of the chart.
Appearance
Rows Border: Customize border width/color.
Gradient Colors: Enable fading color effects.
Value Area Colors: Set distinct colors for bullish and bearish Value Area rows.
POC Line: Adjust color, width, and visibility.
█ CONCLUSION
The Volume Profile indicator provides a dynamic, customizable view of market liquidity. By highlighting the POC and Value Area, traders can identify high-probability reversal zones, gauge market sentiment, and align entries/exits with key volume levels.
█ IMPORTANT NOTES
⚠ Lookback Period: Shorter lookbacks prioritize recent activity but may omit critical levels.
⚠ Horizontal Offset Limitation: Avoid excessively high offsets (e.g., close to ±300). TradingView restricts plotting indicators more than 500 bars into the future, which may truncate or hide the profile.
⚠ Risk Management: While the indicator highlights areas of concentrated volume, always use it in combination with other technical analysis tools and proper risk management techniques.
█ RISK DISCLAIMER
Trading involves substantial risk. The Volume Profile highlights historical liquidity but does not predict future price movements. Always use stop-loss orders and confirm signals with additional analysis. Past performance is not indicative of future results.
📊 Happy trading! 🚀
Sector ETFsSector ETFs
Cool unobtrusive way to keep your eye on the market or tickers of your choice without leaving your chart - Can keep you clued into relative strength and weakness between sectors as well as sector rotation.
This script tracks the percentage changes of a list of Sector ETFs and displays the results in a table on the chart. It also triggers an alert when all selected ETFs are either positive (green) or negative (red).
Key Features
1. Input: Users can amend the list of ETF symbols and basically fill the table with tickers of their preferred stocks
2. Percentage Change: Calculates the daily percentage change for each ETF or chosen stock
3. Color-Coding: This script is live in real time and dynamic the ETFs will be green if higher than the previous close (positive change), really bright green (>=10%), or red if lower than the previous close (negative change).
4. Table displays ETFs and their percentage changes at the top-right of the chart.
5. Alert Condition: Triggers an alert when all ETFs are simultaneously green or simultaneously red - this is done by right clicking on the table or going into settings. please note there will be a TV caution due to an indictor that can be repainted
How to Use
1. Add the script to your TradingView chart.
2. Keep or customize the ETF list by editing the input field.
3. The table will show each ETF's change and color-coded performance.
4. Set alerts based on the condition "All ETFs Turned Green or Red".
Also note pre and post market movements will not be captured by this indicator (did try does not appear to be possible - Pine Script limitation ) all movement is in comparison to prior close in regular market hours .
Does work in replay mode
Enjoy - Hope it helps with your trading !
TICK+ [Pt]█ TICK+ – Advanced US Market Internals & TICK Distribution Tool
TICK+ is a comprehensive indicator that decodes US market internals by leveraging the TICK index—the net difference between stocks ticking up and those ticking down. Unlike many standard TICK tools that only plot raw values, TICK+ provides multiple visualization modes, dynamic moving averages, an independent MA Ribbon, a detailed distribution profile, divergence and pivot analysis, and real-time data tables. This integrated approach offers both visual and quantitative insights into intraday market breadth, trend sustainability, and potential reversals—making it an indispensable tool for trading US indices, futures, and blue‑chip stocks.
Market internals enthusiasts often consider the TICK index indispensable for trading these markets. By offering an immediate snapshot of sentiment and confirming trends through additional analytics, TICK+ gives traders a decisive edge—helping to determine whether a rally is truly supported by broad participation or if caution is warranted.
--------------------------------------------------------------------------------------------------------
█ Key Features:
► Market Internal – Multiple Display Modes:
Line Mode: Plots the TICK index as a continuous line for a clear view of real‑time values and trend direction.
Bar Mode: Uses traditional bar charts to represent the TICK index, emphasizing the magnitude of changes.
Heikin Ashi Mode: Applies the Heikin Ashi technique to smooth out fluctuations, making the underlying trend easier to discern.
Iceberg TICK Mode: Fills the area between zero and the highs in green, and between zero and the lows in red—highlighting how long the market remains in positive versus negative territory.
How It Works & Usage:
These display modes enable traders to select the visualization that best fits their analysis style. For instance, Iceberg TICK Mode highlights the duration of market strength or weakness, a critical factor for intraday directional assessment.
Comparison of Display Modes
► Dual Moving Average – Fast & Slow:
Computes two moving averages on the TICK index:
• Fast MA – reacts quickly to recent changes.
• Slow MA – confirms the overall trend.
Crossovers provide clear signals:
• Fast MA crossing above the slow MA indicates rising bullish momentum.
• Fast MA crossing below the slow MA indicates increasing bearish pressure.
How It Works & Usage:
These dual moving averages assist in detecting momentum shifts. Crossover signals can be used to time entries and exits to align with prevailing market sentiment.
Dual MA Crossover Example
► Moving Average / Smoothed MA – Smoothed & Base Moving Averages:
Calculates a Base MA and a Smoothed MA on the TICK index to reduce short‑term volatility.
Helps clarify the prevailing trend, providing additional confirmation alongside the dual moving averages.
How It Works & Usage:
These averages filter out noise and offer extra validation of the current trend, enhancing the reliability of trading signals.
Base and Smoothed MA Example
► Moving Average Ribbon – MA Ribbon:
Independently plots several moving averages together as a “ribbon,” each line customizable in length and type.
Visually reflects overall market directional strength:
• Consistent green color indicate sustained bullish conditions.
• Uniform red color indicate prevailing bearish sentiment.
How It Works & Usage:
The MA Ribbon provides a layered perspective on market internals. It enables traders to quickly gauge the robustness of a trend or identify early signs of a potential reversal.
MA Ribbon Trend and Shading
► Divergence - Pivot based – Divergence & Pivot Analysis:
Integrates divergence detection with pivot-based trendline analysis.
Identifies instances when the TICK index and price action diverge, serving as an early warning of a weakening trend.
How It Works & Usage:
Divergence signals help refine trade entries and exits by indicating potential trend reversals or adjustments in market sentiment.
Divergence Analysis
► TICK Distribution Profile – TICK Distribution Profile:
Divides the TICK index range into multiple bins to create a profile of how TICK values are distributed.
Identifies the point of control—the level where most TICK readings concentrate—relative to zero.
Allows adjustment of the lookback period to detect shifts in market bias, such as a move from a neutral zone toward extreme levels.
How It Works & Usage:
By visualizing the distribution of TICK readings, traders can monitor changes in market internals that may precede significant trend changes.
TICK Distribution Profile
► ZigZag – ZigZag:
Applies a zigzag algorithm to filter out minor fluctuations and identify significant swing highs and lows.
Highlights trend extremities and potential reversal points.
Offers an optional extension to the last bar for dynamic trend tracking.
How It Works & Usage:
The ZigZag feature helps traders focus on the major price swings that define market structure, eliminating the noise of insignificant movements.
ZigZag Example
► Pivot Trendline – Pivot Trendline:
Draws trendlines connecting pivot highs and pivot lows.
Provides settings to display only the most recent trendline or extend the last trendline.
Assists in identifying evolving support and resistance levels.
How It Works & Usage:
Pivot trendlines offer clear visual cues for key price levels and potential reversal zones, aiding in the timing of trades.
Pivot Trendline Example
► TICK Levels – TICK Levels:
Defines key thresholds for the TICK index, including neutral levels, trend zones, and overbought/oversold (OB/OS) extremes.
Highlights these levels to assist in identifying conditions that may trigger caution or present opportunities.
How It Works & Usage:
Marking these levels provides an immediate reference for assessing when the TICK index enters critical zones, guiding risk management and trade planning.
TICK Levels
► Background Color – Background Color:
Optionally changes the chart background based on TICK or moving average thresholds.
Provides additional visual cues regarding shifts in market sentiment.
How It Works & Usage:
Background color changes help reinforce key signals by immediately indicating shifts in market internals, enhancing overall situational awareness.
Background Color Example
► Data Tables – Data Table:
Displays essential market data in a single, easy-to-read table, including the TICK index source, market sentiment (e.g. Bullish, Bearish, or Neutral), trend status (such as Accelerating ⇗ or Retracing ⇘), and the current TICK value with color-coded strength.
Consolidates numerical data for a quick and precise assessment of market internals.
How It Works & Usage:
The data tables provide live, numerical feedback that complements the visual analysis, making it easy to monitor market sentiment and trend changes at a glance.
Data Table Display with Metrics
--------------------------------------------------------------------------------------------------------
█ Customization & Input Flexibility:
TICK+ offers extensive input options organized into feature‑specific groups, enabling traders to tailor the tool to various strategies:
► Market Internals Group:
Selects the primary TICK index source (with an optional custom override).
Provides a choice of display modes (Line, Bar, Heikin Ashi, Iceberg TICK) with configurable color schemes.
Includes options for iceberg overlays and highlighting.
► Moving Averages Groups (Dual, Smoothed/Base, MA Ribbon):
Dual MA group: Settings for fast and slow moving averages, including type, length, color, and crossover alerts.
Smoothed/Base MA group: Additional methods to filter out short‑term noise and confirm trends.
MA Ribbon group: Independently plots multiple moving averages as a ribbon, with full customization for each line.
► Divergence & Profile Groups:
Includes inputs for divergence detection (source, pivot lookback) and customization of the TICK Distribution Profile (lookback period, color thresholds, layout details).
► ZigZag & Pivot Trendline Groups:
Allows customization of zigzag parameters to highlight trend extremities.
Provides settings for pivot trendline appearance and behavior.
► TICK Levels & Background Colors:
Defines thresholds for neutral, trend, and extreme levels.
Offers color selections for level markers and optional background shading.
► Data Table Configuration:
Enables setting of table location, lookback intervals, and font size to present essential TICK metrics in a user‑friendly format.
--------------------------------------------------------------------------------------------------------
█ Additional Insights:
► TICK Index Fundamentals:
Monitors the net difference between stocks ticking up and down.
A positive reading indicates broader market participation, while a negative reading suggests increased selling pressure.
Understanding how long the TICK stays above or below zero is crucial for gauging intraday momentum.
► Role of Moving Averages:
Smooth out short‑term fluctuations, helping to highlight the prevailing trend.
Crossovers between fast and slow MAs can serve as clear signals for market momentum shifts.
► Interpreting the MA Ribbon:
Provides a layered perspective on market direction.
Consistent color and alignment confirm a strong trend, while variations may hint at reversals.
► Utility of the Distribution Profile:
Breaks down the TICK index into bins, identifying the point of control.
Changes in this control zone—particularly over different lookback periods—can signal potential trend changes.
► Precision of Data Tables:
Supplies live numerical feedback on key market internals, ensuring trading decisions are based on precise, real‑time measurements.
► Comparative Advantage:
Unlike many TICK tools that simply plot raw values, TICK+ provides an integrated, multidimensional analysis of market internals.
Its advanced features—ranging from unique display modes to sophisticated analytical components—make it indispensable for trading US indices, futures, and blue‑chip stocks.
--------------------------------------------------------------------------------------------------------
Disclaimer
This indicator is provided for educational and research purposes only and does not constitute financial advice. Trading involves risk, and thorough testing on historical data is recommended before applying any strategy using TICK+ in live markets.
liquidation Heatmap [by Alpha_Precision_Charts]Indicator Description: Heatmap Longs/Shorts with OI Sensitivity & Aggregated Tools
Overview
The "Heatmap Longs/Shorts with OI Sensitivity & Aggregated Tools" is an advanced, multi-functional indicator crafted for futures traders seeking a deeper understanding of market dynamics. This tool integrates several key features—Heatmap of Longs and Shorts with Open Interest (OI) sensitivity, Histograms, Liquidity Exit Bubbles, Volume Bubbles, RSI Labels, Moving Averages, and an OI Table—into a single, cohesive package. By pulling real-time OI data from major exchanges (Binance, BitMEX, OKX, Kraken), it offers a robust framework for analyzing liquidity, order flow, momentum, and trends across various timeframes.
Why Aggregation Matters
Market analysis thrives on combining diverse insights, as relying on a single tool often leaves gaps in understanding. Each component of this indicator addresses a distinct aspect of market behavior:
Heatmap Longs/Shorts with OI Sensitivity: Maps potential liquidation zones based on OI, pinpointing where leveraged positions might cluster.
Histograms: Visualize the density of potential liquidity across price levels, enhancing OI-based analysis.
OI Table: Provides a breakdown of OI across all supported exchanges, offering transparency into total market exposure.
Liquidity Exit Bubbles: Highlight significant position exits (negative OI delta), signaling potential reversals or liquidations.
Volume Bubbles: Detect high-volume events from perpetual futures, revealing aggressive market participation.
RSI Labels: Track momentum with overbought and oversold conditions, refining entry and exit timing.
Moving Averages: Establish trend direction and dynamic support/resistance levels.
The power of aggregation lies in its ability to connect these dots. For instance, the Heatmap identifies potential liquidation zones, Volume Bubbles confirm aggressive moves, and RSI Labels add momentum context. Histograms and the OI Table further enrich this by detailing liquidity density and market exposure, creating a comprehensive view critical for navigating volatile markets.
Key Features
Heatmap Longs/Shorts with OI Sensitivity
Displays potential liquidation levels above (Shorts) and below (Longs) the price, with leverage settings from 5x to 125x.
Includes a Minimum Liquidity Sensitivity filter (0.1-1.0) to exclude small-order noise.
Features a dynamic gradient (purple to yellow) with adjustable intensity based on OI.
Note: Exact trader leverage isn’t known; liquidation zones are inferred from market psychology, as traders often favor specific leverage levels (e.g., 25x, 50x, 125x).
Histograms
Display the density of potential liquidity across price levels, complementing the Heatmap. Note that the largest histogram bars may appear in different locations compared to the most intense (yellow) areas of the Heatmap, as histograms primarily focus on the accumulation of smaller orders.
OI Table
Aggregates OI data from all supported exchanges (Binance, BitMEX, OKX, Kraken) in base currency and USD, sortable by volume.
Displays total OI and individual exchange contributions automatically.
Liquidity Exit Bubbles
Plots bubbles for significant negative OI changes, sized as small, medium, or large based on magnitude.
Positioned above or below candles depending on volatility direction, with customizable colors.
Volume Bubbles
Marks high-volume activity from perpetual futures, with sizes (normal, high, ultra-high) tied to intensity.
Offers adjustable sensitivity and offset for precise placement.
RSI Labels
Provides real-time RSI readings, highlighting overbought (≥70) and oversold (≤30) levels.
Configurable by price source (e.g., High/Low, Close) and timeframe, with customizable appearance.
Moving Averages
Supports SMA, EMA, WMA, and VWMA with three user-defined periods (default: 21, 50, 100).
Toggleable visibility and colors for trend analysis.
How to Use
Scalping/Day Trading (1m-15m):
Load the indicator three times: one at 125x leverage (visible), one at 50x (hidden), and one at 25x (hidden). Use the 125x Heatmap to identify immediate liquidation zones. When price breaks through the 125x liquidity pool, enable the 50x instance, then 25x as needed, to track cascading liquidations.
Pair with Histograms to monitor potential liquidity density, Volume Bubbles for breakout signals, and Liquidity Exit Bubbles for reversals.
Check RSI Labels on short timeframes (e.g., 15m) for overextended moves.
Swing Trading (1H-4H):
Set the Heatmap to lower leverage (e.g., 25x, 10x) and combine with Moving Averages to confirm trends.
Use RSI Labels on matching timeframes to time entries/exits based on momentum.
Reference the OI Table to assess overall market exposure.
Liquidity Analysis:
Adjust the Minimum Liquidity Sensitivity to focus on significant OI clusters. Higher filtering removes small orders, so use Volume Bubbles and the OI Table for broader context in sideways markets.
Use the OI Table to see total OI across all exchanges.
General Tips:
Toggle features (e.g., Bubbles, MAs) to focus on relevant data.
Test settings on your asset—optimized for Bitcoin, adjustable for altcoins.
Settings
Exchanges: Data from Binance, BitMEX, OKX, and Kraken is automatically included.
Heatmap: Enable Longs/Shorts, set start date, adjust leverage and color intensity.
Liquidity Filtering: Tune Minimum Liquidity Sensitivity (0.1-1.0) to balance detail and noise.
Histograms: Automatically active, showing potential liquidity density; no direct settings.
OI Table: Toggle visibility and choose position (e.g., Top Right).
Bubbles: Enable/disable Liquidity Exit and Volume Bubbles, set sensitivities and colors.
RSI: Pick price source, timeframe, and label style (size, color, offset).
Moving Averages: Select type, periods, and visibility.
Why It’s Unique
This indicator blends liquidity tools (Heatmap, Histograms, OI Table, Bubbles) with momentum and trend analysis (RSI, MAs). The adjustable Heatmap intensity enhances visibility of significant OI levels, while the multi-tool approach provides a fuller market perspective.
Notes
Best suited for perpetual futures; test on spot or other instruments for compatibility.
High leverage (e.g., 125x) excels on short timeframes; use 5x-25x for daily/weekly views.
Experiment with settings to optimize for your asset and timeframe.
This indicator relies on the availability of Open Interest (OI) data from TradingView. Functionality may vary depending on data access for your chosen asset and exchange.
Feedback
Your input is valued to enhance this tool. Enjoy trading with a fuller market perspective!
Normalized Equity/Bond RatioThis indicator calculates a normalized equity-to-bond ratio over a 252-day lookback (~1 trading year) to assess risk-on vs. risk-off sentiment. It addresses the issue of direct ratios (e.g., SPY/TLT) being visually dominated by high nominal stock prices, which can obscure bond price movements.
A rising ratio indicates equities are outperforming bonds, suggesting risk-on conditions, while a declining ratio signals a shift toward bonds, often associated with risk-off behavior. The normalization ensures better visibility and comparability of the trend over time.
A ratio > 1 means the equity (e.g., SPY) is outperforming the bond (e.g., AGG) since the lookback. A ratio < 1 means bonds are outperforming.
Mark Minervini + Pocket Pivot Breakout
MARK MINERVINI + POCKET PIVOT BREAKOUT INDICATOR
The Mark Minervini + Pocket Pivot Breakout indicator is a versatile tool designed for technical analysis. It combines principles from Mark Minervini’s trading strategy with Pocket Pivot Breakout patterns. This custom indicator highlights potential breakout opportunities based on specific criteria, helping traders identify stocks that meet both the trend-following conditions of Minervini’s methodology and the momentum-driven Pocket Pivot Breakout setup.
---------------------------------------------------------------------------------------------------------------------
MARK MINERVINI CRITERIA
The indicator evaluates the stock based on Minervini’s set of rules, which include:
Price above key moving averages:
Close > EMA50
Close >= EMA150
Close >= EMA200
EMA crossovers:
EMA50 > EMA150
EMA50 > EMA200
EMA150 >= EMA200
Price relative to 52-week range:
Close > 30% of 52-week low
Close within 25% of 52-week high
EMA200 relative to one month ago:
EMA200 > EMA200 one month ago
IMPORTANCE OF THIS TEMPLATE
How to Pinpoint Stage 2
As I’ve stated, history clearly shows that virtually every superperformance stock was in a definite uptrend before experiencing its big advances. In fact, 99 percent of superperformance stocks traded above their 200-day moving averages before their huge advance, and 96 percent traded above their 50-day moving averages.
I apply the Trend Template criteria (see below) to every single stock I’m considering. The Trend Template is a qualifier. If a stock doesn’t meet the Trend Template criteria, I don’t consider it. Even if the fundamentals are compelling, the stock must be in a long-term uptrend—as defined by the Trend Template—for me to consider it as a candidate. Without identifying a stock’s trend, investors are at risk of going long when a stock is in a dangerous downtrend, going short during an explosive uptrend, or tying up capital in a stock lost in a sideways neglect phase. It’s important to point out that a stock must meet all eight of the Trend Template criteria to be considered in a confirmed stage 2 uptrend.- By MARK MINERVINI
---
POCKET PIVOT VOLUME & GAP-UP DETECTION
1. Pocket Pivot Volume
The Pocket Pivot Volume indicator displays a blue arrow below the candle if:
- The stock's price rises more than 3% from the open.
- The day's volume exceeds the highest red volume of the past 10 days (as per the 'Pocket Pivot' concept by Gil Morales & Chris Kacher).
If only one condition is met, no arrow appears.
How to Use:
- Use the blue arrow as a buy signal when a stock breaks out from a proper base (e.g., cup & handle, Darvas box).
- For existing positions, it signals a continuation buy opportunity.
- Avoid entries if the stock is too extended from the 10-day moving average (10MA).
---
2. Gap-Up Detection (>0.5%)
A blue candle appears when a stock gaps up by more than 0.5% from the previous close. This indicator is off by default and can be enabled in settings.
How to Use:
- A strong close on a gap-up day indicates strength.
- Use it alongside proper base breakouts from tight consolidations.
- Avoid entries if the stock is extended from the 10MA.
---
Precautions & Key Points
- Avoid long entries in weak market conditions or below the 200MA.
- Prioritize fundamentally strong stocks with solid earnings, margins, and sales growth.
- Buy breakouts from well-formed bases for optimal setups.
----------------------------------------------------------------------------------------------------------------
CUSTOMIZABLE TABLE DISPLAY
Displays a table with the results of the Minervini conditions (whether each condition is met or not).
The table can be customized to show the title, position (top, center, bottom), and other visual features.
Mini Mode : When enabled, the table only displays the title when all conditions are met.
BACKGROUND CANDLE HIGHLIGHT
The chart background will be highlighted in a custom color whenever all of the Mark Minervini conditions are satisfied. (Adjust the transparency and color in setting)
This provides a quick visual cue of potential trades.
ALERTS
Alerts are set up for the following conditions:
Mark Minervini Passed: When all of Mark Minervini’s conditions are met.
Pocket Pivot Breakout: When a Pocket Pivot pattern is detected.
Gap-Up Alert: When a gap-up bar appears on the chart.
CUSTOMIZABLE INPUTS
TABLE CUSTOMIZATION
Vertical Position: Choose from "Top", "Center", or "Bottom".
Horizontal Position: Choose from "Left", "Center", or "Right".
MINI MODE
Enable or disable Mini Mode to show only the table title when all conditions are met.
CANDLE HIGHLIGHT COLOR
Select a custom color to highlight candles that meet all the conditions.
POCKET PIVOT SETTINGS
Barsize: Adjust the minimum percentage change for considering a green day.
Pocket Pivot Lookback Days: Specify the number of days to look back for Pocket Pivot patterns.
Gap-up Bar: Option to detect gap-up bars.
Gap-up Value: Set the minimum gap percentage to trigger a gap-up condition.
CONCLUSION
This indicator combines technical analysis with a specific focus on Mark Minervini’s strategies and Pocket Pivot breakouts, providing a comprehensive tool for traders looking for growth stocks with momentum. It offers flexibility in terms of display, customization, and alerts, allowing traders to tailor it to their specific trading style.
Display Stocks with Change%Display Stocks with Change% - Pine Script™ Indicator
Overview
The Display Stocks with Change% indicator is designed for TradingView to highlight specific stocks and their percentage change on a given date. The indicator allows users to input custom stock names, dates, and percentage changes, displaying relevant information directly on the chart. Additionally, it provides an option to connect the stock's high price with a label using customizable line styles.
Features
Custom Stock List: Users can input multiple stock names along with corresponding dates and percentage changes.
Date-Specific Highlighting: The script dynamically checks if the current bar's date matches any input date and displays relevant stock data.
Color-Coded Percentage Change: Stocks with a negative change are displayed in red, while positive or neutral changes are in black.
Connecting Lines: An option to enable or disable dotted, dashed, or solid lines connecting the stock's high price to the label.
Automatic Label Positioning: Adjusts label alignment based on recent price movement to avoid overlap and enhance visibility.
Input Parameters
COB (Close of Business Dates): A comma-separated list of dates in DD-MM-YYYY format.
Stock Names: A comma-separated list of stock tickers.
Change Percentage: Corresponding percentage changes for the listed stocks.
Show Connecting Lines: Boolean toggle to enable or disable connecting lines.
Line Color & Style: Customizable line color and style (solid, dotted, or dashed).
How It Works
Data Processing: The script splits user inputs into arrays and iterates through them.
Date Matching: It checks if the current bar's date matches any of the provided COB dates.
Label Formatting: When a match is found, it constructs a label containing the stock name and its percentage change.
Text Alignment & Factor Adjustments: Dynamically determines label positioning based on recent price movements.
Label Display: If any matching stocks are found, a label is created at the stock's high price.
Connecting Line (Optional): If enabled, a line is drawn from the stock’s high to the label for better visualization.
Key Benefits for Traders:
Track Multiple Stocks at Once – Displays stock names and their percentage changes on specific dates automatically.
Saves Time – No need to manually check historical data; the indicator overlays key stock movements.
Visual Insights – Labels & color coding (red for negative, black for positive) make it easy to spot trends.
Customizable & Automated – Add your own stocks, dates, and percentage changes; the script adjusts dynamically.
📌 Use Case Example:
You’re tracking MRPL, CARTRADE, and JSWENERGY on specific dates. Instead of digging through historical data, this indicator automatically highlights the stock’s movement on that date, allowing you to make faster, informed trading decisions.
Open Interest and Liquidity [by Alpha_Precision_Charts]Indicator Description: Open Interest and Liquidity
Introduction:
The "Open Interest and Liquidity" indicator is an advanced tool designed for traders seeking to analyze aggregated Open Interest (OI) flow and liquidity in the cryptocurrency market, with a special focus on Bitcoin. It combines high-quality Open Interest data, a detailed liquidity table, and a visual longs vs shorts gauge, providing a comprehensive real-time view of market dynamics. Ideal for scalpers, swing traders, and volume analysts, this indicator is highly customizable and optimized for 1-minute charts, though it works across other timeframes as well.
Key Features:
Aggregated Open Interest and Delta: Leverages Binance data for accuracy, allowing traders to switch between displaying absolute OI or OI Delta, with value conversion to base currency or USD.
Liquidity Table: Displays the analyzed period, active liquidity, shorts, and longs with visual proportion bars, functioning for various cryptocurrencies as long as Open Interest data is available.
Longs vs Shorts Gauge: A semicircle visual that shows real-time market sentiment, adjustable for chart positioning, helping identify imbalances, optimized and exclusive for Bitcoin on 1-minute charts.
Utilities:
Sentiment Analysis: Quickly detect whether the market is accumulating positions (longs/shorts) or liquidating (OI exits).
Pivot Identification: Highlight key moments of high buying or selling pressure, ideal for trade entries or exits.
Liquidity Monitoring: The table and gauge provide a clear view of active liquidity, helping assess a move’s strength.
Scalping and Day Trading: Perfect for short-term traders operating on 1-minute charts, offering fast and precise visual insights.
How to Use:
Initial Setup: Choose between "Open Interest" (candles) or "Open Interest Delta" (columns) in the "Display" field. The indicator defaults to Binance data for enhanced accuracy.
Customization: Enable/disable the table and gauge as needed and position them on the chart.
Interpretation: Combine OI Delta and gauge data with price movement to anticipate breakouts or reversals.
Technical Notes
The indicator uses a 500-period VWMA to calculate significant OI Delta thresholds and is optimized for Bitcoin (BTCUSDT.P) on high-liquidity charts.
Disclaimer
This indicator relies on the availability of Open Interest data on TradingView. For best results, use on Bitcoin charts with high liquidity, such as BTCUSDT.P. Accuracy may vary with lower-volume assets or exchanges.
Pivot P/N VolumesTitle: Pivot P/N Volumes
Short Title: PPNV
Description:
The "Pivot P/N Volumes" indicator is a minimalistic volume analysis tool designed to cut through market noise and highlight key volume events in a separate pane. It strips away conventional volume clutter, focusing on four distinct volume types with clear visual cues, making it ideal for traders seeking actionable insights without distractions.
Key Features:
Blue Bars: Pocket Pivot Volumes (PPV) - Up-day volumes exceeding the highest down-day volume of the last 10 down-days, signaling potential bullish strength.
Orange Bars: Pivot Negative Volumes - Down-day volumes greater than the highest up-day volume of the last 10 up-days, indicating significant bearish pressure.
Red Bars: Down-day volumes above the 50-period EMA of volume, highlighting above-average selling activity.
Green Bars: Up-day volumes above the 50-period EMA of volume, showing above-average buying interest.
Noise: All other volumes are muted as dark grey (down-days) or light grey (up-days) for easy filtering.
TRP Stop-Loss and Position SizingScript is based on TRP to see both Long Stop Loss and Short Stop Loss, You can Also adjust the position size based on your capital and percentage risk.
TheRookAlgoPROThe Rook Algo PRO is an automated strategy that uses ICT dealing ranges to get in sync with potential market trends. It detects the market sentiment and then place a sell or a buy trade in premium/discount or in breakouts with the desired risk management.
Why is useful?
This algorithm is designed to help traders to quickly identify the current state of the market and easily back test their strategy over longs periods of time and different markets its ideal for traders that want to profit on potential expansions and want to avoid consolidations this algo will tell you when the expansion is likely to begin and when is just consolidating and failing moves to avoid trading.
How it works and how it does it?
The Algo detects the current and previous market structure to identify current ranges and ICT dealing ranges that are created when the market takes buyside liquidity and sellside liquidity, it will tell if the market is in a consolidation, expansion, retracement or in a potential turtle soup environment, it will tell if the range is small or big compared to the previous one. Is important to use it in a trending markets because when is ranging the signals lose effectiveness.
This algo is similar to the previously released the Rook algo with the additional features that is an automated strategy that can take trades using filters with the desired risk reward and different entry types and trade management options.
Also this version plots FVGS(fair value gaps) during expansions, and detects consolidations with a box and the mid point or average. Some bars colors are available to help in the identification of the market state. It has the option to show colors of the dealing ranges first detected state.
How to use it?
Start selecting the desired type of entry you want to trade, you can choose to take Discount longs, premium sells, breakouts longs and sells, this first four options are the selected by default. You can enable riskier options like trades without confirmation in premium and discount or turtle soup of the current or previous dealing range. This last ones are ideal for traders looking to enter on a counter trend but has to be used with caution with a higher timeframe reference.
In the picture below we can see a premium sell signal configuration followed by a discount buy signal It display the stop break even level and take profit.
This next image show how the riskier entries work. Because we are not waiting for a confirmation and entering on a counter trend is normal to experience some stop losses because the stop is very tight. Should only be used with a clear Higher timeframe reference as support of the trade idea. This algo has the option to enable standard deviations from the normal stop point to prevent liquidity sweeps. The purple or blue arrows indicate when we are in a potential turtle soup environment.
The algo have a feature called auto-trade enable by default that allow for a reversal of the current trade in case it meets the criteria. And also can take all possible buys or all possible sells that are riskier entries if you just want to see the market sentiment. This is useful when the market is very volatile but is moving not just ranging.
Then we configure the desired trade filters. We have the options to trade only when dealing ranges are in sync for a more secure trend, or we can disable it to take riskier trades like turtle soup trades. We can chose the minimum risk reward to take the trade and the target extension from the current range and the exit type can be when we hit the level or in a retracement that is the default setting. These setting are the most important that determine profitability of the strategy, they has be adjusted depending on the timeframe and market we are trading.
The stop and target levels can also be configured with standard deviations from the current range that way can be adapted to the market volatility.
The Algo allow the user to chose if it want to place break even, or trail the stop. In the picture below we can see it in action. This can work when the trend is very strong if not can lead to multiple reentries or loses.
The last option we can configure is the time where the trades are going to be taken, if we trade usually in the morning then we can just add the morning time by default is set to the morning 730am to 1330pm if you want to trade other times you should change this. Or if we want to enter on the ICT macro times can also be added in a filter. Trade taken with the macro times only enable is visible in the picture below.
Strategy Results
The results are obtained using 2000usd in the MNQ! In the 15minutes timeframe 1 contract per trade. Commission are set to 2USD, slippage to 1tick, the backtesting range is from May 2 2024 to March 2025 for a total of 119 trades, this Strategy default settings are designed to take trades on the daily expansions, trail stop and Break even is activated the exit on profit is on a retracement, and for loses when the stop is hit. The auto-trade option is enable to allow to detect quickly market changes. The strategy give realistic results, makes around 200% of the account in around a year. 1.4 profit factor with around 37% profitable trades. These results can be further improve and adapted to the specific style of trading using the filters.
Remember entries constitute only a small component of a complete winning strategy. Other factors like risk management, position-sizing, trading frequency, trading fees, and many others must also be properly managed to achieve profitability. Past performance doesn’t guarantee future results.
Summary of features
-Easily Identify the current dealing range and market state to avoid consolidations
-Recognize expansions with FVGs and consolidation with shaded boxes
-Recognize turtle soups scenarios to avoid fake out breakout
-Configurable automated trades in premium/discount or breakouts
-Auto-trade option that allow for reversal of the current trade when is no longer valid
-Time filter to allow only entries around the times you trade or on the macro times.
-Risk Reward filter to take the automated trades with visible stop and take profit levels
-Customizable trade management take profit, stop, breakeven level with standard deviations
-Trail stop option to secure profit when price move in your favor
-Option to exit on a close, retracement or reversal after hitting the take profit level
-Option to exit on a close or reversal after hitting stop loss
-Dashboard with instant statistics about the strategy current settings and market sentiment
Volume Block Order AnalyzerCore Concept
The Volume Block Order Analyzer is a sophisticated Pine Script strategy designed to detect and analyze institutional money flow through large block trades. It identifies unusually high volume candles and evaluates their directional bias to provide clear visual signals of potential market movements.
How It Works: The Mathematical Model
1. Volume Anomaly Detection
The strategy first identifies "block trades" using a statistical approach:
```
avgVolume = ta.sma(volume, lookbackPeriod)
isHighVolume = volume > avgVolume * volumeThreshold
```
This means a candle must have volume exceeding the recent average by a user-defined multiplier (default 2.0x) to be considered a significant block trade.
2. Directional Impact Calculation
For each block trade identified, its price action determines direction:
- Bullish candle (close > open): Positive impact
- Bearish candle (close < open): Negative impact
The magnitude of impact is proportional to the volume size:
```
volumeWeight = volume / avgVolume // How many times larger than average
blockImpact = (isBullish ? 1.0 : -1.0) * (volumeWeight / 10)
```
This creates a normalized impact score typically ranging from -1.0 to 1.0, scaled by dividing by 10 to prevent excessive values.
3. Cumulative Impact with Time Decay
The key innovation is the cumulative impact calculation with decay:
```
cumulativeImpact := cumulativeImpact * impactDecay + blockImpact
```
This mathematical model has important properties:
- Recent block trades have stronger influence than older ones
- Impact gradually "fades" at rate determined by decay factor (default 0.95)
- Sustained directional pressure accumulates over time
- Opposing pressure gradually counteracts previous momentum
Trading Logic
Signal Generation
The strategy generates trading signals based on momentum shifts in institutional order flow:
1. Long Entry Signal: When cumulative impact crosses from negative to positive
```
if ta.crossover(cumulativeImpact, 0)
strategy.entry("Long", strategy.long)
```
*Logic: Institutional buying pressure has overcome selling pressure, indicating potential upward movement*
2. Short Entry Signal: When cumulative impact crosses from positive to negative
```
if ta.crossunder(cumulativeImpact, 0)
strategy.entry("Short", strategy.short)
```
*Logic: Institutional selling pressure has overcome buying pressure, indicating potential downward movement*
3. Exit Logic: Positions are closed when the cumulative impact moves against the position
```
if cumulativeImpact < 0
strategy.close("Long")
```
*Logic: The original signal is no longer valid as institutional flow has reversed*
Visual Interpretation System
The strategy employs multiple visualization techniques:
1. Color Gradient Bar System:
- Deep green: Strong buying pressure (impact > 0.5)
- Light green: Moderate buying pressure (0.1 < impact ≤ 0.5)
- Yellow-green: Mild buying pressure (0 < impact ≤ 0.1)
- Yellow: Neutral (impact = 0)
- Yellow-orange: Mild selling pressure (-0.1 < impact ≤ 0)
- Orange: Moderate selling pressure (-0.5 < impact ≤ -0.1)
- Red: Strong selling pressure (impact ≤ -0.5)
2. Dynamic Impact Line:
- Plots the cumulative impact as a line
- Line color shifts with impact value
- Line movement shows momentum and trend strength
3. Block Trade Labels:
- Marks significant block trades directly on the chart
- Shows direction and volume amount
- Helps identify key moments of institutional activity
4. Information Dashboard:
- Current impact value and signal direction
- Average volume benchmark
- Count of significant block trades
- Min/Max impact range
Benefits and Use Cases
This strategy provides several advantages:
1. Institutional Flow Detection: Identifies where large players are positioning themselves
2. Early Trend Identification: Often detects institutional accumulation/distribution before major price movements
3. Market Context Enhancement: Provides deeper insight than simple price action alone
4. Objective Decision Framework: Quantifies what might otherwise be subjective observations
5. Adaptive to Market Conditions: Works across different timeframes and instruments by using relative volume rather than absolute thresholds
Customization Options
The strategy allows users to fine-tune its behavior:
- Volume Threshold: How unusual a volume spike must be to qualify
- Lookback Period: How far back to measure average volume
- Impact Decay Factor: How quickly older trades lose influence
- Visual Settings: Labels and line width customization
This sophisticated yet intuitive strategy provides traders with a window into institutional activity, helping identify potential trend changes before they become obvious in price action alone.
Quantum Moving Average - QMA (TechnoBlooms)The Quantum Moving Average (QMA) is an innovative and advanced Moving Average model designed for traders seeking a more adaptive and precise trend analysis. Unlike traditional moving averages, it integrates a multi-timeframe approach, dynamically selecting and weighting four different timeframes to provide traders with more accurate and reliable trend prediction.
Key Features
Multi-Timeframe averaging
QMA calculates its value based on four different timeframes, offering a broader perspective on market trends.
Dynamic Weighting Mechanism
Unlike fixed weight Moving Averages, QMA assigns adaptive weightage to the selected timeframes, enhancing its responsiveness.
Superior Trend Detection
Provides a smoother and more reliable trend curve reducing noise or false signals.
Enhanced Market Analysis
QMA helps traders identify trend shifts earlier by incorporating multi-timeframe confluence.
ST_HTF_EMA### **ST_HTF_EMA – Higher Timeframe EMA Overlay**
#### **Description:**
The **ST_HTF_EMA** indicator plots a **21-period Exponential Moving Average (EMA)** from a **higher timeframe** onto the current chart. This allows traders to track key trend levels from a larger perspective while trading on a lower timeframe.
#### **Features:**
- **Customizable Timeframe:** The EMA is sourced from a user-defined timeframe (default: **5-minute**).
- **EMA Calculation:** Uses the **21-period EMA** for smoothing price action and identifying trend direction.
- **Envelope Bands (Optional):** A **0.75% envelope** can be toggled on to create upper and lower bands around the EMA for potential dynamic support/resistance zones.
- **Overlay on Chart:** The EMA and envelope bands are plotted directly on the price chart for easy visibility.
#### **How to Use:**
- Use the **EMA as a trend guide**—price above the EMA suggests bullish momentum, while price below indicates bearish momentum.
- Enable the **envelope bands** (if needed) to spot price deviations from the mean for possible reversal or continuation trades.
#### **Customization:**
- Modify the **timeframe** to adapt the EMA to different market structures.
- Adjust the **envelope percentage** to fine-tune sensitivity.
#### **Visuals:**
- The **EMA is plotted in yellow** for clear visibility.
- **Envelope bands (if enabled)** appear in yellow, with a subtle background highlight.
This indicator is ideal for traders who rely on **higher timeframe trend confirmation** while making decisions on lower timeframes. 🚀
[TehThomas] - ICT SMT DivergencesIntroduction
SMT Divergences is a cutting-edge trading tool designed for traders who utilize Smart Money Techniques (SMT), a core concept in the Inner Circle Trader (ICT) methodology. This indicator is specifically built to detect SMT divergences by comparing price action across multiple correlated assets. It helps traders identify institutional activity, liquidity grabs, and inefficiencies in the market, offering valuable insights for high-probability trade setups.
Smart Money Techniques revolve around the idea that institutional traders and large market participants leave behind footprints in the form of price divergences. By analyzing multiple asset pairs simultaneously, this indicator helps traders pinpoint areas where one market structure contradicts another, revealing potential trade opportunities before the majority of retail traders notice them.
What is SMT Divergence?
Smart Money Divergence (SMT) occurs when correlated assets or markets behave differently in key areas of interest. These divergences often indicate market inefficiencies caused by liquidity grabs or institutional order flow. There are two main types of SMT divergences:
1. Bearish SMT Divergence (Smart Money Distribution) 🔴
Occurs when:
One asset makes a higher high, while another correlated asset makes a lower high.
This signals underlying weakness in the price action of the first asset.
Institutions may be offloading positions, preparing for a downward move.
📉 Example: If GBP/USD makes a higher high, but EUR/USD makes a lower high, it indicates potential weakness in GBP/USD and a possible short opportunity.
2. Bullish SMT Divergence (Smart Money Accumulation) 🔵
Occurs when:
One asset makes a lower low, while another correlated asset makes a higher low.
This suggests strength and potential accumulation by institutional traders.
Smart Money may be positioning for a bullish reversal.
📈 Example: If NASDAQ (US100) makes a lower low, but S&P 500 (US500) makes a higher low, it could indicate bullish strength in the stock market, suggesting a possible long trade.
How This Indicator Works
The SMT Divergences automatically identifies and plots SMT divergences on your chart, allowing you to spot hidden market imbalances at a glance.
🔍 Key Features
✅ Compare Up to 4 Assets Simultaneously – Select up to four correlated pairs to compare against the main charted asset.
✅ Automatic Detection of SMT Divergences – The script finds divergences in swing highs and swing lows and visually marks them on the chart.
✅ Customizable Line Styles & Colors – Adjust the appearance of the divergence lines and labels to suit your trading style.
✅ Smart Labeling System – Displays which asset pairs are diverging, making it easy to analyze market conditions.
✅ Works Across Multiple Markets – Use for Forex, Indices, Crypto, and Commodities, giving traders flexibility in different asset classes.
✅ Designed for ICT Traders – Aligns perfectly with other ICT concepts such as Liquidity Zones, Order Blocks, and Fair Value Gaps (FVGs).
🛠 Indicator Settings & Customization
The indicator provides various settings to tailor it to your trading preferences:
Pivot Lookback Length: Adjusts how many bars the indicator looks back to determine swing highs/lows.
Symbol Selection: Choose up to four additional assets to compare against your main trading pair.
Divergence Line Colors: Customize the color of bearish (red) and bullish (blue) divergences for better visibility.
Line Styles: Choose between solid, dotted, or dashed lines to highlight divergences in your preferred way.
Label Customization: Modify text color and display preferences for a clean and informative chart layout.
How to Use This Indicator in Your Trading Strategy
This indicator is best used in combination with other ICT concepts to improve confluence and increase trade accuracy. Here’s how you can integrate it into your trading strategy:
🔹 Step 1: Identify SMT Divergences
Wait for bullish or bearish SMT divergences to appear on your chart.
Check if the divergence aligns with key liquidity zones, fair value gaps (FVGs), or order blocks.
🔹 Step 2: Confirm Institutional Activity
Look for liquidity sweeps (stop hunts) before a potential reversal.
If a bearish SMT divergence forms near a major resistance level, it may signal Smart Money selling.
If a bullish SMT divergence forms near a support zone, it could indicate accumulation.
🔹 Step 3: Enter a Trade with Confluence
Combine SMT divergences with market structure shifts to time entries.
Use additional ICT tools like Premium & Discount Arrays, Volume Profile, and Market Maker Models for confirmation.
Set stop-losses above liquidity zones and aim for high-risk reward ratios.
🔹 Step 4: Manage Risk & Take Profits
Always use proper risk management, keeping an eye on liquidity grabs and market sentiment.
Consider taking partial profits at key structural points and letting the rest of the trade run.
Why This Indicator is a Game-Changer for ICT Traders
Traditional retail traders often fail to spot Smart Money footprints, which is why many struggle with false breakouts and liquidity traps. The - ICT SMT Divergences indicator eliminates this problem by providing a clear, visual representation of SMT divergences, allowing traders to track institutional movements in real-time.
🔹 Save Time – No need to manually compare charts; the script does the work for you.
🔹 Improve Accuracy – Get high-probability trade setups by following institutional footprints.
🔹 Enhance Your Trading Edge – Use SMT divergences in combination with liquidity grabs, order blocks, and fair value gaps to refine your strategy.
🔹 Universal Market Compatibility – Works for Forex, Indices, Crypto, Commodities, and even Stocks, giving you flexibility in different markets.
Final Thoughts
The SMT Divergences is a must-have tool for traders who rely on Smart Money Techniques (SMT) and ICT methodologies. By identifying SMT divergences across multiple correlated markets, this indicator provides unparalleled insights into institutional trading behavior and enhances your ability to trade with Smart Money.
Whether you are a day trader, swing trader, or position trader, this indicator will help you make more informed decisions, avoid liquidity traps, and improve your overall profitability.
__________________________________________
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! 📈
[GYTS-CE] Market Regime Detector🧊 Market Regime Detector (Community Edition)
🌸 Part of GoemonYae Trading System (GYTS) 🌸
🌸 --------- INTRODUCTION --------- 🌸
💮 What is the Market Regime Detector?
The Market Regime Detector is an advanced, consensus-based indicator that identifies the current market state to increase the probability of profitable trades. By distinguishing between trending (bullish or bearish) and cyclic (range-bound) market conditions, this detector helps you select appropriate tactics for different environments. Instead of forcing a single strategy across all market conditions, our detector allows you to adapt your approach based on real-time market behaviour.
💮 The Importance of Market Regimes
Markets constantly shift between different behavioural states or "regimes":
• Bullish trending markets - characterised by sustained upward price movement
• Bearish trending markets - characterised by sustained downward price movement
• Cyclic markets - characterised by range-bound, oscillating behaviour
Each regime requires fundamentally different trading approaches. Trend-following strategies excel in trending markets but fail in cyclic ones, while mean-reversion strategies shine in cyclic markets but underperform in trending conditions. Detecting these regimes is essential for successful trading, which is why we've developed the Market Regime Detector to accurately identify market states using complementary detection methods.
🌸 --------- KEY FEATURES --------- 🌸
💮 Consensus-Based Detection
Rather than relying on a single method, our detector employs two complementary detection methodologies that analyse different aspects of market behaviour:
• Dominant Cycle Average (DCA) - analyzes price movement relative to its lookback period, a proxy for the dominant cycle
• Volatility Channel - examines price behaviour within adaptive volatility bands
These diverse perspectives are synthesised into a robust consensus that minimises false signals while maintaining responsiveness to genuine regime changes.
💮 Dominant Cycle Framework
The Market Regime Detector uses the concept of dominant cycles to establish a reference framework. You can input the dominant cycle period that best represents the natural rhythm of your market, providing a stable foundation for regime detection across different timeframes.
💮 Intuitive Parameter System
We've distilled complex technical parameters into intuitive controls that traders can easily understand:
• Adaptability - how quickly the detector responds to changing market conditions
• Sensitivity - how readily the detector identifies transitions between regimes
• Consensus requirement - how much agreement is needed among detection methods
This approach makes the detector accessible to traders of all experience levels while preserving the power of the underlying algorithms.
💮 Visual Market Feedback
The detector provides clear visual feedback about the current market regime through:
• Colour-coded chart backgrounds (purple shades for bullish, pink for bearish, yellow for cyclic)
• Colour-coded price bars
• Strength indicators showing the degree of consensus
• Customizable colour schemes to match your preferences or trading system
💮 Integration in the GYTS suite
The Market Regime Detector is compatible with the GYTS Suite , i.e. it passes the regime into the 🎼 Order Orchestrator where you can set how to trade the trending and cyclic regime.
🌸 --------- CONFIGURATION SETTINGS --------- 🌸
💮 Adaptability
Controls how quickly the Market Regime detector adapts to changing market conditions. You can see it as a low-frequency, long-term change parameter:
Very Low: Very slow adaptation, most stable but may miss regime changes
Low: Slower adaptation, more stability but less responsiveness
Normal: Balanced between stability and responsiveness
High: Faster adaptation, more responsive but less stable
Very High: Very fast adaptation, highly responsive but may generate false signals
This setting affects lookback periods and filter parameters across all detection methods.
💮 Sensitivity
Controls how sensitive the detector is to market regime transitions. This acts as a high-frequency, short-term change parameter:
Very Low: Requires substantial evidence to identify a regime change
Low: Less sensitive, reduces false signals but may miss some transitions
Normal: Balanced sensitivity suitable for most markets
High: More sensitive, detects subtle regime changes but may have more noise
Very High: Very sensitive, detects minor fluctuations but may produce frequent changes
This setting affects thresholds for regime detection across all methods.
💮 Dominant Cycle Period
This parameter allows you to specify the market's natural rhythm in bars. This represents a complete market cycle (up and down movement). Finding the right value for your specific market and timeframe might require some experimentation, but it's a crucial parameter that helps the detector accurately identify regime changes. Most of the times the cycle is between 20 and 40 bars.
💮 Consensus Mode
Determines how the signals from both detection methods are combined to produce the final market regime:
• Any Method (OR) : Signals bullish/bearish if either method detects that regime. If methods conflict (one bullish, one bearish), the stronger signal wins. More sensitive, catches more regime changes but may produce more false signals.
• All Methods (AND) : Signals only when both methods agree on the regime. More conservative, reduces false signals but might miss some legitimate regime changes.
• Weighted Decision : Balances both methods with equal weighting. Provides a middle ground between sensitivity and stability.
Each mode also calculates a continuous regime strength value that's used for colour intensity in the 'unconstrained' display mode.
💮 Display Mode
Choose how to display the market regime colours:
• Unconstrained regime: Shows the regime strength as a continuous gradient. This provides more nuanced visualisation where the intensity of the colour indicates the strength of the trend.
• Consensus only: Shows only the final consensus regime with fixed colours based on the detected regime type.
The background and bar colours will change to indicate the current market regime:
• Purple shades: Bullish trending market (darker purple indicates stronger bullish trend)
• Pink shades: Bearish trending market (darker pink indicates stronger bearish trend)
• Yellow: Cyclic (range-bound) market
💮 Custom Colour Options
The Market Regime Detector allows you to customize the colour scheme to match your personal preferences or to coordinate with other indicators:
• Use custom colours: Toggle to enable your own colour choices instead of the default scheme
• Transparency: Adjust the transparency level of all regime colours
• Bullish colours: Define custom colours for strong, medium, weak, and very weak bullish trends
• Bearish colours: Define custom colours for strong, medium, weak, and very weak bearish trends
• Cyclic colour: Define a custom colour for cyclic (range-bound) market conditions
🌸 --------- DETECTION METHODS --------- 🌸
💮 Dominant Cycle Average (DCA)
The Dominant Cycle Average method forms a key part of our detection system:
1. Theoretical Foundation :
The DCA method builds on cycle analysis and the observation that in trending markets, price consistently remains on one side of a moving average calculated using the dominant cycle period. In contrast, during cyclic markets, price oscillates around this average.
2. Calculation Process :
• We calculate a Simple Moving Average (SMA) using the specified lookback period - a proxy for the dominant cycle period
• We then analyse the proportion of time that price spends above or below this SMA over a lookback window. The theory is that the price should cross the SMA each half cycle, assuming that the dominant cycle period is correct and price follows a sinusoid.
• This lookback window is adaptive, scaling with the dominant cycle period (controlled by the Adaptability setting)
• The different values are standardised and normalised to possess more resolving power and to be more robust to noise.
3. Regime Classification :
• When the normalised proportion exceeds a positive threshold (determined by Sensitivity setting), the market is classified as bullish trending
• When it falls below a negative threshold, the market is classified as bearish trending
• When the proportion remains between these thresholds, the market is classified as cyclic
💮 Volatility Channel
The Volatility Channel method complements the DCA method by focusing on price movement relative to adaptive volatility bands:
1. Theoretical Foundation :
This method is based on the observation that trending markets tend to sustain movement outside of normal volatility ranges, while cyclic markets tend to remain contained within these ranges. By creating adaptive bands that adjust to current market volatility, we can detect when price behaviour indicates a trending or cyclic regime.
2. Calculation Process :
• We first calculate a smooth base channel center using a low pass filter, creating a noise-reduced centreline for price
• True Range (TR) is used to measure market volatility, which is then smoothed and scaled by the deviation factor (controlled by Sensitivity)
• Upper and lower bands are created by adding and subtracting this scaled volatility from the centreline
• Price is smoothed using an adaptive A2RMA filter, which has a very flat and stable behaviour, to reduce noise while preserving trend characteristics
• The position of this smoothed price relative to the bands is continuously monitored
3. Regime Classification :
• When smoothed price moves above the upper band, the market is classified as bullish trending
• When smoothed price moves below the lower band, the market is classified as bearish trending
• When price remains between the bands, the market is classified as cyclic
• The magnitude of price's excursion beyond the bands is used to determine trend strength
4. Adaptive Behaviour :
• The smoothing periods and deviation calculations automatically adjust based on the Adaptability setting
• The measured volatility is calculated over a period proportional to the dominant cycle, ensuring the detector works across different timeframes
• Both the center line and the bands adapt dynamically to changing market conditions, making the detector responsive yet stable
This method provides a unique perspective that complements the DCA approach, with the consensus mechanism synthesising insights from both methods.
🌸 --------- USAGE GUIDE --------- 🌸
💮 Starting with Default Settings
The default settings (Normal for Adaptability and Sensitivity, Weighted Decision for Consensus Mode) provide a balanced starting point suitable for most markets and timeframes. Begin by observing how these settings identify regimes in your preferred instruments.
💮 Finding the Optimal Dominant Cycle
The dominant cycle period is a critical parameter. Here are some approaches to finding an appropriate value:
• Start with typical values, usually something around 25 works well
• Visually identify the average distance between significant peaks and troughs
• Experiment with different values and observe which provides the most stable regime identification
• Consider using cycle-finding indicators to help identify the natural rhythm of your market
💮 Adjusting Parameters
• If you notice too many regime changes → Decrease Sensitivity or increase Consensus requirement
• If regime changes seem delayed → Increase Adaptability
• If a trending regime is not detected, the market is automatically assigned to be in a cyclic state
• If you want to see more nuanced regime transitions → Try the "unconstrained" display mode (note that this will not affect the output to other indicators)
💮 Trading Applications
Regime-Specific Strategies:
• Bullish Trending Regime - Use trend-following strategies, trail stops wider, focus on breakouts, consider holding positions longer, and emphasize buying dips
• Bearish Trending Regime - Consider shorts, tighter stops, focus on breakdown points, sell rallies, implement downside protection, and reduce position sizes
• Cyclic Regime - Apply mean-reversion strategies, trade range boundaries, apply oscillators, target definable support/resistance levels, and use profit-taking at extremes
Strategy Switching:
Create a set of rules for each market regime and switch between them based on the detector's signal. This approach can significantly improve performance compared to applying a single strategy across all market conditions.
GYTS Suite Integration:
• In the GYTS 🎼 Order Orchestrator, select the '🔗 STREAM-int 🧊 Market Regime' as the market regime source
• Note that the consensus output (i.e. not the "unconstrained" display) will be used in this stream
• Create different strategies for trending (bullish/bearish) and cyclic regimes. The GYTS 🎼 Order Orchestrator is specifically made for this.
• The output stream is actually very simple, and can possibly be used in indicators and strategies as well. It outputs 1 for bullish, -1 for bearish and 0 for cyclic regime.
🌸 --------- FINAL NOTES --------- 🌸
💮 Development Philosophy
The Market Regime Detector has been developed with several key principles in mind:
1. Robustness - The detection methods have been rigorously tested across diverse markets and timeframes to ensure reliable performance.
2. Adaptability - The detector automatically adjusts to changing market conditions, requiring minimal manual intervention.
3. Complementarity - Each detection method provides a unique perspective, with the collective consensus being more reliable than any individual method.
4. Intuitiveness - Complex technical parameters have been abstracted into easily understood controls.
💮 Ongoing Refinement
The Market Regime Detector is under continuous development. We regularly:
• Fine-tune parameters based on expanded market data
• Research and integrate new detection methodologies
• Optimise computational efficiency for real-time analysis
Your feedback and suggestions are very important in this ongoing refinement process!
BTC: Open InterestThis indicator tracks the 7-day (default) percentage change in open interest (OI), providing insights into market participation trends. It includes customizable periods and colors, allowing traders to adjust settings for better visualization.
Open interest (OI) is the total number of active contracts (futures or options) that haven’t been closed or settled. It represents the total open positions in the market.
Thus when OI increases, more traders are entering new positions, signaling growing market interest. Conversely, when OI decreases, positions are being closed, suggesting lower trader participation or liquidation.
Attributes & Features:
Open Interest Percentage Change – Measures the 7-day % change in open interest to track market participation.
Customizable Calculation Period – Users can adjust the period (default: 7 days) for more flexible analysis.
Adjustable Colors – Allows modification of colors for better visualization.
Trend Identification – Highlights rising vs. falling open interest trends.
Works Across Assets – Can be used for cryptos, stocks, and futures with open interest data.
Overlay or Separate Panel – Can be plotted on price chart or as a separate indicator.
How It Works:
Fetches Open Interest Data – Retrieves open interest values for each day for USD, USDT, and USDC Bitcoin Perpetual Derivitives.
Calculates Percentage Change – Compares current open interest to its value X days ago (Default = 7 days).
Standard Deviation – Applies standard deviation ranging from -2 to +2 deviations to identify large shifts in OI.
Visual Alerts – Can highlight extreme increases or decreases signaling potential market shifts.
NOTE: THE INDICATOR DATA ONLY GOES BACK TO START OF 2022
VWAP Balance Zones - SessionsVWAP Balance Zones Sessions Version is an alternate take on the Original VWAP Balance Zones indicator. The Sessions version allows users to select a specific session to view the VWAP Balance Zones at while still utilizing the full ETH Data.
The Session version provides a better focused display while still maintaining the core functions of the original script with mindful optimizations.
Author's Note: "VBZ Sessions was made with logistics in mind, for the users who only trade within certain times of the day. While it displays the same core concepts, it is not as "Raw" of a display as the Original. For this reason, some users may prefer the Original VWAP Balance Zones, which is why I have opted to release this alternate version instead of updating the original."
> What are VWAP Balance Zones?
"VWAP Balance Zones" is an original concept aimed at identifying the equilibrium area between market participants within the current trend by averaging the Daily Extremes and the Daily VWAP.
Refer to the illustration below for a better understanding of exactly how VWAP Balance Zones are formed:
These zones are displayed for the Daily, Weekly, and Monthly VWAPs, with the most interactive timeframe being the Daily.
> Features
1. The Session Version uses ETH data at all times, and does not solely rely on the chart's data to create the VWAPs or Zones.
This allows the user to focus on a specific trading session, while not losing out on the full VBZ Calculation, with the notable benefit of a cleaner display.
The Original VBZ starts drawing at the beginning of the chart's "Day", and would produce different results when using an RTH chart vs an ETH chart. Along with creating a bird's nest of unusable data at the beginning of the day.
2. Session Start and End lines are displayed for easier identification of the designated trading session.
3. The extreme "Close" Lines are no longer displayed to reduce noise and redundancy.
4. Additionally, the interior VWAP lines are no longer displayed. Ultimately, this was to reduce noise and focus the script on the 50% zones.
5. Weekly and Monthly Zones are now displayed due to the reduced noise!
6. As with the original, the weekly display will yield to the daily, and the monthly display will yield to the weekly.
In the screenshot below, you can observe this behavior.
Enjoy!
Nifty/Gold RatioPrice of NIFTY in GOLD. Highs indicate that Gold is getting cheaper, Lows indicate Nifty is getting cheaper.
Previous Day LevelsThis indicator plots the previous day's high, low, and 50% levels, providing a framework for analyzing price behavior relative to these key levels.
Full Description:
The Previous Day Levels indicator is a tool designed to help traders analyze price action based on key levels from the previous trading session. By plotting the high, low, and mid-point (50%) of the prior day’s range, traders can assess potential market bias and directional tendencies for the current trading day.
Key Features:
Plots the previous day’s high (100%), low (0%), and intermediate levels (25%, 50%, 75%).
Allows users to customize line visibility, color, style, and width.
Helps traders identify potential support and resistance zones.
Provides a bias framework for determining whether price is more likely to target the previous high or low based on behavior around the 50% level.
Use Case:
This indicator is particularly useful for intraday and short-term traders who incorporate price action into their strategy.
If price trades above the 50% level and holds, it suggests a bullish bias, indicating that price may aim for the previous day's high.
If price trades below the 50% level and holds, it suggests a bearish bias, indicating that price may aim for the previous day's low.
The high and low levels can act as key support and resistance zones, where price may react or reverse.
How to Use:
Apply the indicator to your chart.
Observe how price interacts with the 50% level.
Use price behavior around these levels to establish a directional bias.
Adjust the line styles and colors to match your personal preference.
Disclaimer:
This indicator is a tool for market analysis and does not provide financial advice. Always perform your own analysis and risk management when trading.
Round NumbersTries to only show major round numbers regardless of whether you're looking at something priced in the thousands or under a dollar.
High and Low with Horizontal TableHigh and Low with Horizontal Table Indicator
Overview
The "High and Low with Horizontal Table" indicator is designed for traders who wish to monitor key levels based on specific candle times, along with dynamic risk-to-reward ratios and ATR-based values. This indicator features real-time calculations, visual cues, and a table for quick reference of the calculated values.
Key Features
Custom Time Inputs:
Users can define two specific time inputs to select the candles for the High and Low prices. These times can target the same or separate candles.
ATR-based Calculation:
The indicator allows users to apply an ATR Multiplier to adjust the calculation of key levels. By default, the ATR multiplier is set to 1.2, but users can adjust it to their preferred value (e.g., 1.5 or 2).
Risk-to-Reward (R:R) Calculation:
The Risk-to-Reward Ratio (R:R) is used to calculate potential Take Profit (TP) levels based on the high and low of the selected candle(s).
The default R:R ratio is 2.0, but it can be customized to suit the trader’s strategy.
Visual Markings:
The High and Low values are plotted with subtle markers on the chart (cross style) for easy identification. The display of these markers is subdued for minimal visual distraction.
Horizontal Table Display:
A horizontal table is generated in the top-right corner of the chart, providing a quick reference for the following values:
High and Low of the selected candle(s)
High + ATR Multiplier and Low - ATR Multiplier
R:R ratio
Buy TP and Sell TP levels
Each value is displayed with a reasonable number of decimal places (4 decimals) for major forex pairs, XAUUSD, and BTCUSD.
Input Parameters
Hour and Minute for High Candle: Select the time for the candle that will determine the High.
Hour and Minute for Low Candle: Select the time for the candle that will determine the Low.
ATR Multiplier: A customizable input for adjusting the ATR-based calculations (default is 1.2).
Risk-to-Reward (R:R): Set the ratio to determine the TP levels (default is 2.0).
How It Works
The user defines two distinct time inputs (one for the High and one for the Low).
At the specified times, the indicator captures the High and Low prices of the candles.
The ATR is calculated and adjusted by the user-defined ATR Multiplier to determine buffers above the High and below the Low.
The Risk-to-Reward ratio is applied to calculate the Take Profit levels.
All of these values are displayed on the chart and updated in real time. The horizontal table ensures quick reference to all the key levels without cluttering the main chart.
Use Cases
Trend Trading: Identify potential support and resistance levels based on specific timeframes and adjust TP targets using ATR.
Scalping: Use the ATR and R:R calculations to target precise entry and exit points.
Market Opens: Track key market opens (such as New York and London) with candle times that reflect your trading strategy.
Conclusion
The High and Low with Horizontal Table indicator is a powerful tool for traders looking to combine precise candle-based level tracking with ATR-based risk management. By displaying key levels and TP targets in a clear, tabular format, traders can quickly assess and act on key price levels throughout their trading sessions.