ICT FVG & Swing Detector Basic by Trader RiazICT FVG & Swing Detector Basic by Trader Riaz
Unlock Precision Trading with the Ultimate Fair Value Gap (FVG) and Swing Detection Tool!
Developed by Trader Riaz , the ICT FVG and Swing Detector Basic is a powerful Pine Script indicator designed to help traders identify key market structures with ease. Whether you're a day trader, swing trader, or scalper, this indicator provides actionable insights by detecting Bullish and Bearish Fair Value Gaps (FVGs) and Swing Highs/Lows on any timeframe. Perfect for trading forex, stocks, crypto, and more on TradingView!
Key Features:
1: Bullish and Bearish FVG Detection
- Automatically identifies Bullish FVGs (highlighted in green) and Bearish FVGs (highlighted in red) to spot potential reversal or continuation zones.
- Displays FVGs as shaded boxes with a dashed midline at 70% opacity, making it easy to see the midpoint of the gap for precise entries and exits.
- Labels are placed inside the FVG boxes at the extreme right for clear visibility.
2: Customizable FVG Display
- Control the number of Bullish and Bearish FVGs displayed on the chart with user-defined inputs (fvg_bull_count and fvg_bear_count).
- Toggle the visibility of Bullish and Bearish FVGs with simple checkboxes (show_bull_fvg and show_bear_fvg) to declutter your chart.
3: Swing High and Swing Low Detection
- Detects Swing Highs (blue lines) and Swing Lows (red lines) to identify key market turning points.
- Labels are positioned at the extreme right edge of the lines for better readability and alignment.
- Customize the number of Swing Highs and Lows displayed (swing_high_count and swing_low_count) to focus on the most recent market structures.
4: Fully Customizable Display
- Toggle visibility for Swing Highs and Lows (show_swing_high and show_swing_low) to suit your trading style.
- Adjust the colors of Swing High and Low lines (swing_high_color and swing_low_color) to match your chart preferences.
5: Clean and Efficient Design
- Built with Pine Script v6 for optimal performance on TradingView.
- Automatically removes older FVGs and Swing points when the user-defined count is exceeded, keeping your chart clean and focused.
- Labels are strategically placed to avoid clutter while providing clear information.
Why Use This Indicator?
Precision Trading: Identify high-probability setups with FVGs and Swing points, commonly used in Smart Money Concepts (SMC) and Institutional Trading strategies.
User-Friendly: Easy-to-use inputs allow traders of all levels to customize the indicator to their needs.
Versatile: Works on any market (Forex, Stocks, Crypto, Commodities) and timeframe (1M, 5M, 1H, 4H, Daily, etc.).
Developed by Trader Riaz: Backed by the expertise of Trader Riaz, a seasoned trader dedicated to creating tools that empower the TradingView community.
How to Use:
- Add the Custom FVG and Swing Detector to your chart on TradingView.
- Adjust the input settings to control the number of FVGs and Swing points displayed.
- Toggle visibility for Bullish/Bearish FVGs and Swing Highs/Lows as needed.
- Use the identified FVGs and Swing points to plan your trades, set stop-losses, and target key levels.
Ideal For:
- Traders using Smart Money Concepts (SMC), Price Action, or Market Structure strategies.
- Those looking to identify liquidity grabs, imbalances, and trend reversals.
- Beginners and advanced traders seeking a reliable tool to enhance their technical analysis.
Happy trading!
Grafik Paternleri
Elliott Wave Identification By Akash Patel
This script is designed to visually highlight areas on the chart where there are consecutive bullish (green) or bearish (red) candles. It also identifies sequences of three consecutive candles of the same type (bullish or bearish) and highlights those areas with adjustable box opacity. Here's a breakdown of the functionality:
---
### Key Features:
1. **Bullish & Bearish Candle Identification:**
- **Bullish Candle:** When the closing price is higher than the opening price (`close > open`).
- **Bearish Candle:** When the closing price is lower than the opening price (`close < open`).
2. **Consecutive Candle Counter:**
- The script counts consecutive bullish and bearish candles, which resets when the direction changes (from bullish to bearish or vice versa).
- The script tracks these counts using the `bullishCount` and `bearishCount` variables, which are incremented based on whether the current candle is bullish or bearish.
3. **Highlighting Candle Areas:**
- If there are **3 or more consecutive bullish candles**, the script will highlight the background in a green color with 90% transparency (adjustable).
- Similarly, if there are **3 or more consecutive bearish candles**, the script will highlight the background in a red color with 90% transparency (adjustable).
4. **Three-Candle Sequence:**
- The script checks if there are three consecutive bullish candles (`threeBullish`) or three consecutive bearish candles (`threeBearish`).
- A box is drawn around these areas to visually highlight the sequence. The boxes extend to the right edge of the chart, and their opacity can be adjusted.
5. **Box Creation:**
- For bullish sequences, a green box is created using the high and low prices of the three candles in the sequence.
- For bearish sequences, a red box is created in the same manner.
- The box size is determined by the highest high and the lowest low of the three consecutive candles.
6. **Box Opacity:**
- You can adjust the opacity of the boxes through the input parameters `Bullish Box Opacity` and `Bearish Box Opacity` (ranging from 0 to 100).
- A higher opacity will make the boxes more solid, while a lower opacity will make them more transparent.
7. **Box Cleanup:**
- The script also includes logic to remove boxes when they are no longer needed, ensuring the chart remains clean without excessive box overlays.
8. **Extending Boxes to the Right:**
- When a bullish or bearish sequence is identified, the boxes are extended to the right edge of the chart for continued visibility.
---
### How It Works:
- **Bullish Area Highlight:** When three or more consecutive bullish candles are detected, the background will turn green to indicate a strong bullish trend.
- **Bearish Area Highlight:** When three or more consecutive bearish candles are detected, the background will turn red to indicate a strong bearish trend.
- **Three Consecutive Candle Box:** A green box will appear around three consecutive bullish candles, and a red box will appear around three consecutive bearish candles. These boxes can be extended to the right edge of the chart, making the sequence visually clear.
---
### Adjustable Parameters:
1. **Bullish Box Opacity:** Set the opacity (transparency) level of the bullish boxes. Ranges from 0 (completely transparent) to 100 (completely opaque).
2. **Bearish Box Opacity:** Set the opacity (transparency) level of the bearish boxes. Ranges from 0 (completely transparent) to 100 (completely opaque).
---
This indicator is useful for identifying strong trends and visually confirming market momentum, especially in situations where you want to spot sequences of bullish or bearish candles over multiple bars. It can be customized to suit different trading styles and chart preferences by adjusting the opacity of the boxes and background highlights.
Volatility ContractionA very simple indicator which calculates the range of a definable period (the default is 5 bars) using a percentage range between the highest and lowest prices calculated from the candle bodies (i.e. open and close values). The plotted line makes it easy to see when price movement is tightening (volatility contraction). The dashed threshold line (default 10%) provides a reference point for setting alerts, helping to identify periods of low volatility (e.g. for stocks in your watchlist) that could signal upcoming market action.
London Session 15-min Range – Clean AEST Timestamp Fix (w/ EMAs)London Session 15-min Range – Clean AEST Timestamp Fix (with EMAs)
What it does:
This script is made for traders who want to track the high and low of the first 15-minute candle of the London session, using AEST (UTC+10) as the time reference. It also plots the 50 EMA and 200 EMA to help identify trend direction.
How it works:
Session Timing:
The London session is defined as starting at 6:00 PM AEST.
The session ends at 2:00 AM AEST the next day.
Detects the first 15 minutes of the London session:
During this time, it records the highest and lowest price.
Draws lines once the 15-minute window is over:
A red horizontal line is drawn at the session high.
A green horizontal line is drawn at the session low.
These lines extend 50 bars into the future.
It only draws these once per day/session.
Includes EMAs:
A 50-period EMA is calculated and plotted in yellow.
A 200-period EMA is calculated and plotted in white.
Why use it:
It helps visualise important price levels from the start of the London session and pairs that with moving averages to spot trends or potential breakouts.
Option Stop-Limit Calculator1. Indicator Overview
Purpose: Automates stop-loss calculations for call/put options by linking the underlying stock’s stop price to the option’s limit price using delta and a buffer percentage.
Key Features:
Plots a horizontal line for the stock’s stop price.
Displays real-time option limit prices in a table.
Supports alerts for stop triggers.
Complete Users Training Manual is embedded into the code of the indicator.
You may not use any portion of this code for monetization purposes.
The intent is to serve everyone in the community and hopefully make us all prosper.
Good Luck
Engulfing 3x PatternDescription:
The "Engulfing 3x Pattern" indicator identifies bullish and bearish engulfing candlestick patterns where the engulfing candle's body is at least three times larger than the body of the previous candle. This highlights significant momentum shifts in the market, focusing solely on body size (open to close), ignoring wicks.
Bullish Engulfing: A bearish candle (close below open) is followed by a larger bullish candle (close above open) that fully engulfs the prior candle’s body and has a body at least 3x larger. Marked with a green triangle below the bar.
Bearish Engulfing: A bullish candle (close above open) is followed by a larger bearish candle (close below open) that engulfs the prior candle’s body and has a body at least 3x larger. Marked with a red triangle above the bar.
How It Works:
This indicator scans for engulfing patterns and applies a size filter to ensure the engulfing candle demonstrates strong conviction. It’s useful for traders looking for potential reversals or continuation signals backed by significant price movement. The 3x multiplier can be adjusted in the code (e.g., to 2x or 5x) for customization.
Usage Tips:
Best used with confirmation from support/resistance levels, trends, or other indicators.
More reliable on higher timeframes (e.g., daily, 4-hour).
Signals are purely price-based; consider volume or momentum indicators for additional context.
OB & OS of Merged Efficiency & Time-Based OscillatorThis indicator, titled "Merged Efficiency & Time-Based Oscillator," attempts to provide a unique perspective on market momentum and trend efficiency by combining several distinct concepts into a single oscillator displayed below the main price chart.
At its core, it blends two main ideas:
Market Efficiency: It calculates an "Efficiency Ratio" over a long lookback period. This part aims to measure how directly price has moved from its starting point to its ending point, compared to the total distance it traveled back and forth. High efficiency might suggest a strong, direct trend, while low efficiency could indicate choppy, sideways action. Users can choose between a standard or directional version of this calculation.
Time-Weighted Momentum: Inspired by the concepts behind RSI, this part calculates two related oscillator values over a shorter period. Instead of just looking at the magnitude of price gains versus losses, it uniquely considers both the time spent and the size of the move going in that direction
The Merging: We then average the long-term Efficiency Ratio with the two shorter-term, time-and-value-based momentum signals. The goal is to create a hybrid oscillator that reflects both the underlying trend's directness and the more recent momentum dynamics.
Output and Signals:
The script dynamically calculates overbought and oversold levels based on the oscillator's own recent history. These levels adapt to the indicator's volatility.
Potential "BUY" (triangle up) and "SELL" (triangle down) signals are plotted on the price chart when the oscillator crosses out of the dynamically calculated extreme zones, suggesting a potential reversal or exhaustion point.
Opening Range BreakoutThis is an Opening Range Breakout script. It will plot the opening range high and low (green and red lines, respectively) as determined by the user input (default is a 15 min window from market open, 9:30 - 9:45 am). The time period for the breakout is also configured by a user input (default is from 9:45 am - 2:30 pm).
Alerts are sent for breakouts either above (bullish) or below (bearish) the opening range high and low. An EMA is also used for trend confirmation before sending alerts for breakouts (to avoid false signals).
A bullish breakout is determined by all of the following being true:
- The current price being above the opening range high (green line)
- The EMA trending up (ie the current value of the EMA > prior EMA value)
- The current price is > the EMA
- The EMA is > the opening range high
A bearish breakout is determined by all of the following being true:
- The current price being below the opening range low (red line)
- The EMA trending down (ie the current value of the EMA < prior EMA value)
- The current price is < the EMA
- the EMA is < the opening range low
Enjoy this simple indicator!
FVG ST/RE Detector(v1.0.73)FVG ST/RE Detector
The FVG ST/RE Detector is a powerful technical analysis tool designed to identify market structure and potential trading opportunities through Fair Value Gaps (FVG), Structure Transitions (ST), and Re-entries (RE).
What This Indicator Does:
This indicator identifies and displays:
Fair Value Gaps (FVG): Areas where price has moved so quickly that it has left an imbalance in the market. These gaps represent potential areas where price may return to in the future.
Structure Transitions (ST): Points where the market structure changes from bearish to bullish or vice versa, signaling a potential trend change.
Re-entries (RE): Opportunities to enter the market in the direction of the prevailing trend after a pullback.
Leg Lines: Horizontal lines representing key structural movements in the market, helping traders visualize the market structure more easily.
How It Works:
The indicator detects FVGs when price moves rapidly, creating gaps in market value.
ST points are identified when the direction of FVGs changes from bearish to bullish or vice versa.
RE points are identified when a new FVG forms in the same direction after a pullback.
The indicator tracks and displays the number of consecutive leg lines in the current trend direction.
Key Features:
Customizable colors for bullish and bearish patterns
Optional display of ST and RE labels
Adjustable leg lines with multiple style options
Statistics panel showing the number of legs in the current direction
Alert system for new leg formations
Mitigation tracking to identify when FVGs have been filled
How to Use This Indicator:
Look for ST points to identify potential trend changes
Use RE points to find potential entries in the direction of the prevailing trend
Monitor the number of legs to gauge trend strength
Use FVGs as potential support and resistance areas
Set alerts to be notified of new leg formations
This indicator is suitable for all timeframes and markets, and can be used as part of a comprehensive trading strategy.
本指标的功能:
该指标识别并显示:
公平价值缺口 (FVG):价格快速移动以至于在市场中留下不平衡区域的区间。这些缺口代表价格未来可能回归的潜在区域。
结构转换 (ST):市场结构从看跌转变为看涨或相反的点位,预示潜在的趋势变化。
重新进入 (RE):在回调后沿着主导趋势方向进入市场的机会。
趋势腿线:代表市场中关键结构移动的水平线,帮助交易者更容易地可视化市场结构。
Shaved Candle IdentifierThis script is different because it actually highlights the candle and is not just an icon. It will identify bars that have no wick. Each color represents a different type of candle.
Shaved candles represent major liquidity zones, and tend to get swept in the future.
Shaved candles are useful for spotting reversals and as price targets.
Green is when open = low
Red is when open = high
Blue is when close = high
Orange is when close = low
There is 0 tolerance for any deviation, if the price is 0.001 off, it will not be identified. Only absolutely shaved candles will be identified.
Custom Opening Range FillThis TradingView indicator visualizes a customizable opening range. Users define the start hour, minute (UTC), and range duration. It calculates the high and low prices within this period and fills the area between them on the chart. The range resets daily. This highlights a specific trading window, aiding in identifying potential breakout or breakdown levels. Traders can adjust the time parameters to analyze various market sessions or strategies. It's useful for those focusing on price action within a defined timeframe, simplifying the observation of key price levels.
ZRK 30m This TradingView indicator draws alternating 30-minute boxes aligned precisely to real clock times (e.g., 10:00, 10:30, 11:00), helping traders visually segment intraday price action. It highlights every other 30-minute block with customizable colors, line styles, and opacity, allowing users to clearly differentiate between trading intervals. The boxes automatically adjust based on the chart’s timeframe, maintaining accuracy on 1-minute to 60-minute charts. Optional time labels can also be displayed for additional context. This tool is useful for identifying patterns, measuring volatility, or applying breakout strategies based on defined, consistent time windows across global trading sessions.
[COG]Adaptive Volatility Bands# Adaptive Volatility Bands (AVB) Indicator Guide for Traders
## Special Acknowledgment 🙌
This script is inspired by and builds upon the foundational work of **DonovanWall**, a respected contributor to the trading community. His innovative approach to adaptive indicators has been instrumental in developing this advanced trading tool.
## What is the Adaptive Volatility Bands Indicator?
The Adaptive Volatility Bands (AVB) is a sophisticated technical analysis tool designed to help traders understand market dynamics by creating dynamic, responsive price channels that adapt to changing market conditions. Unlike traditional static indicators, this script uses advanced mathematical techniques to create flexible bands that adjust to market volatility in real-time.
## Key Features and Inputs
### 1. Price and Filtering Options
- **Price Source**: Determines the base price used for calculations (default is HLC3 - Average of High, Low, and Close)
- **Filter Poles**: Controls the smoothness of the indicator (1-9 poles)
- Lower values: More responsive, more noise
- Higher values: Smoother, but slower to react
### 2. Volatility and Band Settings
- **Sample Length**: Determines how many bars are used to calculate volatility (default 144)
- **Volatility Multiplier**: Adjusts the width of the main bands (default 1.414)
- **Outer Band Multiplier**: Controls the width of the outer bands (default 2.5)
- **Inner Band Ratio**: Positions the inner bands between the center and outer bands (default 0.25)
### 3. Advanced Processing Options
- **Lag Reduction Mode**: Helps reduce indicator delay
- **Fast Response Mode**: Makes the indicator more responsive to recent price changes
### 4. Signal and Visualization Options
- **Show Entry Signals**: Displays buy and sell signals
- **Signal Display Style**: Choose between labels or shapes
- **Range Filter**: Adds an additional filter for signal validation
## How the Indicator Works
The Adaptive Volatility Bands create a dynamic price channel with three key components:
1. **Center Line**: Represents the core trend direction
2. **Inner Bands**: Closer to the center line
3. **Outer Bands**: Wider bands that show broader price potential
### Color Dynamics
- The indicator uses a smart color gradient system
- Colors change based on price position within the bands
- Helps visualize bullish (green/blue) and bearish (red) market conditions
## Trading Strategies for Beginners
### Basic Entry Signals
- **Buy Signal**:
- Price touches the center line from below
- Candle is bullish (closes higher than it opens)
- Price is above the center line
- Trend is upward
- **Sell Signal**:
- Price touches the center line from above
- Candle is bearish (closes lower than it opens)
- Price is below the center line
- Trend is downward
### Risk Management Tips
1. Use the bands to identify:
- Potential trend changes
- Volatility levels
- Support and resistance areas
2. Combine with other indicators for confirmation
3. Always use stop-loss orders
4. Adjust parameters to match your trading style and asset
## When to Use This Indicator
Best suited for:
- Trending markets
- Swing trading
- Identifying potential entry and exit points
- Understanding market volatility
### Recommended Markets
- Stocks
- Forex
- Cryptocurrencies
- Futures
## Customization
The script offers extensive customization:
- Adjust smoothness
- Change band multipliers
- Modify color schemes
- Enable/disable features like lag reduction
## Important Considerations for Beginners
🚨 **Disclaimer**:
- No indicator guarantees profits
- Always practice with a demo account first
- Learn and understand the indicator before live trading
- Market conditions change, so continually adapt your strategy
## Getting Started
1. Add the script to your TradingView chart
2. Experiment with different settings
3. Backtest on historical data
4. Start with small positions
5. Continuously learn and improve
Happy Trading! 📈🔍
AI Trend Momentum SniperThe AI Trend Momentum Sniper is a powerful technical analysis tool designed for day trading. This strategy combines multiple momentum and trend indicators to identify high-probability entry and exit points. The indicator utilizes a combination of Supertrend, MACD, RSI, ATR (Average True Range), and On-Balance Volume (OBV) to generate real-time signals for buy and sell opportunities.
Key Features:
Supertrend for detecting market direction (bullish or bearish).
MACD for momentum confirmation, highlighting changes in market momentum.
RSI to filter out overbought/oversold conditions and ensure high-quality trades.
ATR as a volatility filter to adjust for changing market conditions.
OBV (On-Balance Volume) to confirm volume strength and trend validity.
Dynamic Stop-Loss & Take-Profit based on ATR to manage risk and lock profits.
This indicator is tailored for intraday traders looking for quick market moves, especially in volatile and high liquidity assets like Bitcoin (BTC) and Ethereum (ETH). It helps traders capture short-term trends with efficient risk management tools.
How to Apply:
Set Your Chart: Apply the AI Trend Momentum Sniper to a 5-minute (M5) or 15-minute (M15) chart for optimal performance.
Buy Signal: When the indicator generates a green arrow below the bar, it indicates a buy signal based on positive trend and momentum alignment.
Sell Signal: A red arrow above the bar signals a sell condition when the trend and momentum shift bearish.
Stop-Loss and Take-Profit: The indicator automatically calculates dynamic stop-loss and take-profit levels based on the ATR value for each trade, ensuring proper risk management.
Alerts: Set up custom alerts for buy or sell signals, and get notified instantly when opportunities arise.
Best Markets for Use:
BTC/USDT, ETH/USDT – High liquidity and volatility.
Major altcoins with sufficient volume.
Avoid using it on low-liquidity assets where price action may become erratic.
Timeframes:
This indicator is best suited for lower timeframes (5-minute to 15-minute charts) to capture quick price movements in trending markets.
Monday Double Highlight EnhancedThis indicator highlights Monday's price action in two ways:
Bar Highlighting: Colors the price bar green for a bullish Monday and red for a bearish Monday.
Background Highlighting: Colors the chart background with a transparent green or red, enhancing the visibility of Monday's trading activity.
It provides a quick way to visually identify and analyze Monday price movements on any chart.
Sentiment OscillatorIn the complex world of trading, understanding market sentiment can be like reading the emotional pulse of financial markets. Our Sentiment Oscillator is designed to be your personal market mood translator, helping you navigate through the noise of price movements and market fluctuations.
Imagine having a sophisticated tool that goes beyond traditional price charts, diving deep into the underlying dynamics of market behavior. This indicator doesn't just show you numbers – it tells you a story about market sentiment, combining multiple financial signals to give you a comprehensive view of potential market directions.
The Sentiment Oscillator acts like a sophisticated emotional barometer for stocks, cryptocurrencies, or any tradable asset. It analyzes price changes, market volatility, trading volume, and long-term trends to generate a unique sentiment score. This score ranges from highly bullish to deeply bearish, providing traders with an intuitive visual representation of market mood.
Green zones indicate positive market sentiment, suggesting potential buying opportunities. Red zones signal caution, hinting at possible downward trends. The oscillator's gray neutral zone helps you identify periods of market uncertainty, allowing for more calculated trading decisions.
What sets this indicator apart is its ability to blend multiple market factors into a single, easy-to-understand indicator. It's not just about current price – it's about understanding the deeper currents moving beneath the surface of market prices.
Traders can use this oscillator to:
- Identify potential trend reversals
- Understand market sentiment beyond price movement
- Spot periods of market strength or weakness
- Complement other technical analysis tools
Whether you're a day trader, swing trader, or long-term investor, the Sentiment Oscillator provides an additional layer of insight to support your trading strategy. Remember, no indicator is a crystal ball, but this tool can help you make more informed decisions in the dynamic world of trading.
Sessions by MikinoAn indicator that draws lines from major price levels, made especially for NQ, ES and YM futures.
Features
• Show and hide any lines you want and don't need individually
• Customize how far the lines and labels are drawn (in bar length)
• Change label text, color, width and line type of any line drawn
Price levels (in NY time)
• "Show session open" - price at the beginning of the session at 6:00 PM
• "Show Asia open" - price at 8:00 PM
• "Show Asia high" - highest price during Asia session from 8 PM - midnight
• "Show Asia low" - lowest price during Asia session from 8 PM - midnight
• "Show London open" - price at 3:00/4:00 AM (depending on daylight savings time), at the start of London session
• "Show London high" - highest price during London session from 3:00/4:00 AM - 5:00/6:00 AM
• "Show Asia low" - lowest price during London session from 3:00/4:00 AM - 5:00/6:00 AM
• "Show midnight open" - price at midnight
• "Show New York open" - price at 9:30 AM
• "Show New York 10 am" - price at 10:00 AM (10 AM reversal)
• "Show previous day high" - highest price during yesterdays session (from 6:00 PM until 6:00 PM)
• "Show previous day low" - lowest price during yesterdays session (from 6:00 PM until 6:00 PM)
Limitations
All of the lines/labels will be drawn on the chart on up to hourly chart, with the exemption of PDH/PDL that can be drawn on up to 4 hour chart. PDH/PDL tracks each trading day from from 6:00 PM until 6:00 PM, Asia range from 8:00 PM until midnight, London from 3:00 AM until 05:00 AM. The indicator will work on different indices other than NQ, ES and YM, but some of the features might not work correctly due to what is considered a trading day.
VCP Pattern with Pocket Pivots by Mark MinerviniBelow is a Pine Script designed to identify and plot Mark Minervini's Volatility Contraction Pattern (VCP) along with Pocket Pivots on TradingView. The VCP is characterized by a series of price contractions (tightening price ranges) with decreasing volume, often followed by a breakout. Pocket Pivots, a concept from Chris Kacher and Gil Morales, identify early buying opportunities within a consolidation or uptrend based on volume surges. This script combines both concepts to help traders spot potential setups.
TheStrat: Failed 2'sThis indicator identifies and highlights Failed 2-Up (2U) and Failed 2-Down (2D) patterns in The Strat trading framework. These patterns signal a potential reversal when a 2-Up (higher high) or 2-Down (lower low) candle fails to follow through and reverses, offering high-probability trade setups.
DOPT---
## 🔍 **DOPT - Daily Open & Price Time Markers**
This script is designed to support directional bias development and price behavior analysis around key time-based reference points on the **1H and 4H timeframes**.
### ✨ **What It Does**
- **1800 Open Marker** (6 PM NY time): Plots the **daily open** from 1800 in **black dotted lines**.
- **0000 Open Marker** (Midnight NY time): Plots the **midnight open** in **blue dotted lines**.
- **Day Letters**: Each 1800 open is labeled with the corresponding **day of the week** (e.g., M, T, W...), helping visually segment your chart.
- **Hour Labels**: Select specific candles (e.g., 0000 = '0', 0800 = '8') to be labeled above the bar. These are fully customizable.
- **Candle Midpoints**: Option to mark the **50% level** of a specific candle (good for CE or CRT references).
- **CRT High/Low Tracking**: Ability to plot **extended high and low lines** from a selected candle back (e.g., for CRT modeling).
- **4H Timeframe Candle Numbering**: Helpful when analyzing sequences on the 4-hour timeframe. Candles are numbered `1`, `5`, and `9` for reference.
---
### 🧠 **How I Use It**
- I mostly use this on the **1-hour timeframe** to decide **directional bias** for the day:
- If price **closes above 1800 open**, I consider that a **green daily close** — potential bullish sentiment.
- If price **closes below**, I treat it as a **red daily close** — potential bearish behavior.
- Price often uses these opens as **support/resistance**, so I watch for reactions there.
- On the **4H**, the candle numbers help track structure and flow.
- Combine with CRT tools to mark **key candle highs/lows** and their **equilibrium (50%)** — great for refining entries or understanding how price is respecting a particular candle.
---
### ⚠️ **Note on Daylight Savings**
This is a **daylight saving time-dependent script**. When DST kicks in or out, you’ll need to **adjust the time inputs** accordingly to keep the opens accurate (e.g., 1800 might shift to 1700 depending on the season).
---
### 🔁 **Backtesting & Reference**
- The **1800 and 0000 opens** are plotted for **as far back** as your chart loads, making it great for backtesting historical reactions.
- The CRT marking tools only go back **50 candles max**, so use that for recent structure only.
---
Master Global Liquidity Shifted 75 DaysThe Global Liquidity Index is a Pine Script (version 5) technical indicator designed to measure and visualize global financial liquidity by aggregating data from various central bank balance sheets and money supply metrics. The indicator is plotted as an overlay on the price chart using the left scale, with the entire line shifted left by 75 days.
Key features:
Data Sources: Incorporates balance sheet data from major central banks including the Federal Reserve (FED), European Central Bank (ECB), People's Bank of China (PBC), Bank of Japan (BOJ), and other central banks, along with optional M2 money supply data from various countries.
Components: Includes options to toggle specific liquidity factors such as FED balance sheet, Treasury General Account (TGA), Reverse Repurchase Agreements (RRP), and regional M2 money supplies, all converted to USD.
75-Day Shift: The indicator's output is shifted left by 75 days on the chart, aligning historical liquidity data with earlier price action, with this shift period adjustable via the "Shift Days Left" input.
Calculations:
Computes a total liquidity value by summing enabled central bank and M2 data (adjusted for RRP and TGA as drains)
Scales the total by dividing by 1 trillion (10^12)
Applies a Simple Moving Average (SMA) and Rate of Change (ROC) with user-defined periods
Final output is either the SMA of ROC or SMA alone, depending on ROC length
Visualization: Plots the shifted result as a yellow line with a linewidth of 2.
HMA PLANz1. High Liquidity Candle Detection:
The indicator looks for candles with high liquidity (identified by comparing the current candle's volume with the highest volume of the last 10 candles).
If a candle has high liquidity, it is highlighted in yellow.
2. Midpoint Calculation of the Candle:
The midpoint of the candle is calculated by averaging the High and Low prices of the candle:
Midpoint
=
High
+
Low
2
Midpoint=
2
High+Low
3. Draw a Line at the Midpoint of the High Liquidity Candle:
A horizontal line is drawn at the calculated midpoint value of the high liquidity candle and continues for the next five candles.
4. Change Line Color Based on Price vs. Midpoint:
If the current price is above the midpoint, the line is drawn in green.
If the current price is below the midpoint, the line is drawn in red.
5. Moving Averages (MA):
In addition to liquidity analysis, the indicator calculates and plots two moving averages on the chart.
Users can choose between EMA, SMA, WMA, or HMA for each moving average.
Users can also select the source for the moving averages (Close, High, Low).
The length for each moving average is customizable.
6. Display Moving Averages with Labels:
The moving average lines are plotted on the chart.
Labels are displayed above each moving average to show its type and source (e.g., "MA - HMA (Close)").
Summary of Key Features:
High Liquidity Candle Detection: Highlighted in yellow.
Draw a Horizontal Line at the Midpoint of the high liquidity candle: The line color changes based on price relation to the midpoint.
Moving Averages: Allows customization of types and lengths.
Labels: Shows details of the moving averages.
EQS by SiriusProtected Script Description: "EQS by Sirius"
This indicator is protected and published as invite-only due to its original multi-timeframe structure, advanced visual logic, and proprietary handling of liquidity zones and equal high/low detection. The complexity of its design—featuring adaptive time-based plotting, contextual tooltips, and dynamic zone tracking—reflects a level of custom development intended for professional use, necessitating source protection.
Purpose and Core Logic
“EQS by Sirius” is designed to detect and visualize Equal Highs and Equal Lows (EQS) across multiple timeframes. These levels are commonly interpreted as potential liquidity zones or key market structures, often used by traders for identifying breakout traps, stop hunts, or reversal points. The script applies a precision-based algorithm to identify these EQS levels, providing users with visual cues to support decision-making in various market contexts.
The detection logic is based on comparing the difference between two successive highs (or lows) relative to the high-low range of the bars, allowing the user to fine-tune sensitivity via a precision parameter. When valid EQS conditions are met, horizontal lines are drawn at the detected price level, accompanied by optional shadow trendlines to represent liquidity channels.
Visual Outputs and Features
The indicator provides a rich and customizable visual environment, including:
Multi-Timeframe EQS Detection: Configurable from 1-minute to 4-hour timeframes with automatic sequencing.
Zone Highlighting: Optional background shading for designated date intervals.
Dynamic Shadow Mode: Projects angled trendlines representing potential liquidity zones based on EQS formations.
Touch Counters: Real-time counting of price interactions with plotted EQS levels.
Tooltips: Each label includes a timestamp and price breakdown to provide contextual clarity.
Line Customization: Adjustable color, width, and transparency for each EQS type and its shadow projections.
Auto-zoom Scaling: Adapts visual density based on the active chart’s timeframe.
Visibility Filters: Adjustable proximity thresholds ensure only relevant lines are displayed based on current price action.
How to Use in Trading
Traders can use this tool to:
Identify liquidity targets where price may reverse or accelerate due to stop hunts or breakout traps.
Analyze multi-timeframe confluence by comparing EQS zones from higher timeframes with local market structure.
Monitor touch counts to assess the strength or weakening of support/resistance levels.
Visualize trendline-based liquidity zones using the “shadow mode” to infer possible manipulation or price magnet areas.
Integrate with existing strategies for entry/exit timing, particularly in breakout and mean-reversion models.
Due to the high level of customizability and visual control, the script is suitable for discretionary traders, smart money concept practitioners, and those seeking to combine structural analysis with liquidity mapping.