GapCluster SR For Intraday by Chaitu50c**GapCluster SR For Intraday by Chaitu50c**
**Overview**
GapCluster SR plots dynamic intraday support and resistance lines based on candle-to-candle gaps. Whenever an Open/Close or High/Low gap is detected, the script draws a horizontal level and “clusters” nearby gaps into a single line to keep your chart clean. Lines automatically color-code relative to price—green when below, red when above.
---
**Key Features**
* **Gap Detection Modes**: Choose between Open/Close gaps (default) or High/Low gaps.
* **Clustering**: Merge levels within a user-defined vertical range to avoid clutter.
* **Dynamic Coloring**: Levels below price turn green; levels above price turn red.
* **Session Reset**: Automatically removes levels older than X days.
* **Fully Customizable**: Adjust buffer, cluster range, line width, lookback period, and both above/below colors.
---
**Inputs**
| Input | Default | Description |
| ---------------------------- | :--------: | ------------------------------------------- |
| Gap Type | Open/Close | Select gap detection method |
| Price Buffer (points) | 5.0 | Maximum distance for gap matching |
| Cluster Range (points) | 100.0 | Vertical distance within which levels merge |
| Line Width | 2 | Thickness of plotted lines |
| Days to Include | 14 | Number of days to retain past levels |
| Color for Levels Above Price | red | Line color when level > current price |
| Color for Levels Below Price | green | Line color when level < current price |
---
**How to Use**
1. **Add to Chart**: Apply on any intraday timeframe (1 min, 5 min, etc.).
2. **Select Mode**: Pick Open/Close or High/Low in settings.
3. **Tweak Inputs**: Raise/lower buffer for tighter/looser gap detection; adjust cluster range to group levels; change lookback (“Days to Include”) to control session reset.
4. **Interpret Levels**:
* **Green Lines** mark potential support zones.
* **Red Lines** mark potential resistance zones.
5. **Combine with Your Strategy**: Use alongside volume, momentum, or trend filters for confirmation.
---
**Tips & Tricks**
* **Intraday Entries**: Look for price reaction at green (support) lines for long setups, or red (resistance) lines for shorts.
* **Filter Noise**: Increase the “Cluster Range” to consolidate many close levels into stronger, singular lines.
---
**Disclaimer**
This indicator is provided “as-is” for educational purposes only. Always backtest any setup and practice proper risk management.
Penunjuk dan strategi
IB Range & Volume CalculatorIB Range & Volume Calculator - Summary
Overview
This indicator tracks and analyzes the Initial Balance (IB) period (first 30 minutes of trading from 8:30-9:00 AM Chicago time) by measuring both price range and trading volume. It compares today's values against a 30-day average, providing essential context for day traders and scalpers.
Key Features
Range Analysis
Automatically calculates high-low range during the Initial Balance period
Compares today's range with the 30-day historical average
Shows percentage difference from average with color coding (green for above average, red for below)
Volume Analysis
Tracks cumulative volume during the Initial Balance period
Calculates and displays 30-day volume average
Compares today's volume to the average with percentage difference
Visual Elements
Highlights all IB period candles with light blue background
Displays a fixed information panel in the upper right corner
Shows real-time status during the IB period ("In progress...")
Updates with final values once the IB period completes
Data Management
Maintains a rolling 30-day history of both range and volume data
Displays data collection progress (x/30 days)
Automatically resets calculations at the beginning of each new session
Trading Applications
This indicator is particularly valuable for:
Context-Based Trading Decisions
Compare today's market behavior to normal conditions
Adjust scalping targets based on relative volatility
Volume-Price Relationship Analysis
Identify unusual volume patterns that may precede significant moves
Validate price movements with corresponding volume confirmation
Trading Strategy Selection
High volume + high range: Momentum strategy opportunities
High volume + low range: Potential breakout setup
Low volume + high range: Possible fade/reversal opportunities
Low volume + low range: Range-bound scalping environment
5-Point Scalp Targeting
Determine if 5-point targets are aggressive or conservative for the day
Adapt stop levels based on relative volatility
Timing Optimization
Identify days with abnormal opening characteristics
Anticipate potential afternoon behavior based on IB patterns
The indicator provides essential context for rapid decision-making in fast-moving markets, helping traders calibrate their expectations and adapt their strategies to current market conditions.
Synapse Trade - Fair Value GapsNot your average FVG indicator. This FVG indicator allowed for overlapping, and invalidated FVGs to remain as the existence of Inversion Fair Value Gaps exists and, in my recent experience, has been incredibly useful finding new levels of support and resistance, even inside a currently FVG, the "invalidated" FVGs can still have an impact on price trend and react to it.
~edit: updated chart to be cleaner and include only the FVG indicator
Goldman Sachs Risk Appetite ProxyRisk appetite indicators serve as barometers of market psychology, measuring investors' collective willingness to engage in risk-taking behavior. According to Mosley & Singer (2008), "cross-asset risk sentiment indicators provide valuable leading signals for market direction by capturing the underlying psychological state of market participants before it fully manifests in price action."
The GSRAI methodology aligns with modern portfolio theory, which emphasizes the importance of cross-asset correlations during different market regimes. As noted by Ang & Bekaert (2002), "asset correlations tend to increase during market stress, exhibiting asymmetric patterns that can be captured through multi-asset sentiment indicators."
Implementation Methodology
Component Selection
Our implementation follows the core framework outlined by Goldman Sachs research, focusing on four key components:
Credit Spreads (High Yield Credit Spread)
As noted by Duca et al. (2016), "credit spreads provide a market-based assessment of default risk and function as an effective barometer of economic uncertainty." Higher spreads generally indicate deteriorating risk appetite.
Volatility Measures (VIX)
Baker & Wurgler (2006) established that "implied volatility serves as a direct measure of market fear and uncertainty." The VIX, often called the "fear gauge," maintains an inverse relationship with risk appetite.
Equity/Bond Performance Ratio (SPY/IEF)
According to Connolly et al. (2005), "the relative performance of stocks versus bonds offers significant insight into market participants' risk preferences and flight-to-safety behavior."
Commodity Ratio (Oil/Gold)
Baur & McDermott (2010) demonstrated that "gold often functions as a safe haven during market turbulence, while oil typically performs better during risk-on environments, making their ratio an effective risk sentiment indicator."
Standardization Process
Each component undergoes z-score normalization to enable cross-asset comparisons, following the statistical approach advocated by Burdekin & Siklos (2012). The z-score transformation standardizes each variable by subtracting its mean and dividing by its standard deviation: Z = (X - μ) / σ
This approach allows for meaningful aggregation of different market signals regardless of their native scales or volatility characteristics.
Signal Integration
The four standardized components are equally weighted and combined to form a composite score. This democratic weighting approach is supported by Rapach et al. (2010), who found that "simple averaging often outperforms more complex weighting schemes in financial applications due to estimation error in the optimization process."
The final index is scaled to a 0-100 range, with:
Values above 70 indicating "Risk-On" market conditions
Values below 30 indicating "Risk-Off" market conditions
Values between 30-70 representing neutral risk sentiment
Limitations and Differences from Original Implementation
Proprietary Components
The original Goldman Sachs indicator incorporates additional proprietary elements not publicly disclosed. As Goldman Sachs Global Investment Research (2019) notes, "our comprehensive risk appetite framework incorporates proprietary positioning data and internal liquidity metrics that enhance predictive capability."
Technical Limitations
Pine Script v6 imposes certain constraints that prevent full replication:
Structural Limitations: Functions like plot, hline, and bgcolor must be defined in the global scope rather than conditionally, requiring workarounds for dynamic visualization.
Statistical Processing: Advanced statistical methods used in the original model, such as Kalman filtering or regime-switching models described by Ang & Timmermann (2012), cannot be fully implemented within Pine Script's constraints.
Data Availability: As noted by Kilian & Park (2009), "the quality and frequency of market data significantly impacts the effectiveness of sentiment indicators." Our implementation relies on publicly available data sources that may differ from Goldman Sachs' institutional data feeds.
Empirical Performance
While a formal backtest comparison with the original GSRAI is beyond the scope of this implementation, research by Froot & Ramadorai (2005) suggests that "publicly accessible proxies of proprietary sentiment indicators can capture a significant portion of their predictive power, particularly during major market turning points."
References
Ang, A., & Bekaert, G. (2002). "International Asset Allocation with Regime Shifts." Review of Financial Studies, 15(4), 1137-1187.
Ang, A., & Timmermann, A. (2012). "Regime Changes and Financial Markets." Annual Review of Financial Economics, 4(1), 313-337.
Baker, M., & Wurgler, J. (2006). "Investor Sentiment and the Cross-Section of Stock Returns." Journal of Finance, 61(4), 1645-1680.
Baur, D. G., & McDermott, T. K. (2010). "Is Gold a Safe Haven? International Evidence." Journal of Banking & Finance, 34(8), 1886-1898.
Burdekin, R. C., & Siklos, P. L. (2012). "Enter the Dragon: Interactions between Chinese, US and Asia-Pacific Equity Markets, 1995-2010." Pacific-Basin Finance Journal, 20(3), 521-541.
Connolly, R., Stivers, C., & Sun, L. (2005). "Stock Market Uncertainty and the Stock-Bond Return Relation." Journal of Financial and Quantitative Analysis, 40(1), 161-194.
Duca, M. L., Nicoletti, G., & Martinez, A. V. (2016). "Global Corporate Bond Issuance: What Role for US Quantitative Easing?" Journal of International Money and Finance, 60, 114-150.
Froot, K. A., & Ramadorai, T. (2005). "Currency Returns, Intrinsic Value, and Institutional-Investor Flows." Journal of Finance, 60(3), 1535-1566.
Goldman Sachs Global Investment Research (2019). "Risk Appetite Framework: A Practitioner's Guide."
Kilian, L., & Park, C. (2009). "The Impact of Oil Price Shocks on the U.S. Stock Market." International Economic Review, 50(4), 1267-1287.
Mosley, L., & Singer, D. A. (2008). "Taking Stock Seriously: Equity Market Performance, Government Policy, and Financial Globalization." International Studies Quarterly, 52(2), 405-425.
Oppenheimer, P. (2007). "A Framework for Financial Market Risk Appetite." Goldman Sachs Global Economics Paper.
Rapach, D. E., Strauss, J. K., & Zhou, G. (2010). "Out-of-Sample Equity Premium Prediction: Combination Forecasts and Links to the Real Economy." Review of Financial Studies, 23(2), 821-862.
Extended-hours Volume vs AVOL// ──────────────────────────────────────────────────────────────────────────────
// Extended-Hours Volume vs AVOL • HOW IT WORKS & HOW TO TRADE IT
// ──────────────────────────────────────────────────────────────────────────────
//
// ░ What this indicator is
// ------------------------
// • It accumulates PRE-MARKET (04:00-09:30 ET) and AFTER-HOURS (16:00-20:00 ET)
// volume on intraday charts and compares that running total with the stock’s
// 21-day average daily volume (“AVOL” by default).
// • Three live read-outs are shown in the data-window/table:
//
// AH – volume traded since the 16:00 ET close
// PM – volume traded before the 09:30 ET open
// Ext – AH + PM (updates in pre-market only)
// %AVOL – Ext ÷ AVOL × 100 (updates in pre-market)
//
// • It is intended for U.S. equities but the session strings can be edited for
// other markets.
//
// ░ Why it matters
// ----------------
// Big extended-hours volume almost always precedes outsized intraday range.
// By quantifying that volume as a % of “normal” trade (AVOL), you can filter
// which gappers and news names deserve focus *before* the bell rings.
//
// ░ Quick-start trade plan (educational template – tune to taste)
// ----------------------------------------------------------------
// 1. **Scan** the watch-list between 08:30-09:25 ET.
// ► Keep charts on 1- or 5-minute candles with “Extended Hours” ✔ checked.
// 2. **Filter** by `Ext` or `%AVOL`:
// – Skip if < 10 % → very low interest
// – Flag if 20-50 % → strong interest, Tier-1 candidate
// – Laser-focus if > 50 % → crowd favourite; expect liquidity & range
// 3. **Opening Range Breakout (long example)**
// • Preconditions: Ext ≥ 20 % & price above yesterday’s close.
// • Let the first 1- or 5-min bar complete after 09:30.
// • Stop-buy 1 tick above that bar (or pre-market high – whichever higher).
// • Initial stop below that bar low (or pre-market low).
// • First target = 1R or next HTF resistance.
// 4. **Red-to-Green reversal (gap-down long)**
// • Ext ≥ 30 % but pre-market gap is negative.
// • Enter as price reclaims yesterday’s close on live volume.
// • Stop under reclaim bar; scale out into VWAP / first liquidity pocket.
// 5. **Risk** – size so the full stop is ≤ 1 R of account. Volume fade or
// loss of %AVOL slope is a reason to tighten or exit early.
//
// ░ Tips
// ------
// • AVOL look-back can be changed in the input panel (21 days ⇒ ~1 month).
// • To monitor several symbols, open a multi-chart layout and sort your
// watch-list by %AVOL descending – leaders float to the top automatically.
// • Replace colour constants with hex if the namespace ever gets shadowed.
//
// ░ Disclaimer
// ------------
// For educational purposes only. Not financial advice. Trade your own plan.
//
// ──────────────────────────────────────────────────────────────────────────────
Market Structure- ZigZag, Break of Structure & Order BlocksDescription:
This script is an all-in-one market structure tool designed for traders who follow price action, Smart Money Concepts (SMC), or institutional order flow. It combines Order Block detection , Break of Structure (BOS) , Internal Structure Shifts (CHoCH) , and a ZigZag swing framework to provide a clear and actionable view of market behavior.
Key Features:
Order Blocks (OB) :
-Detects Bullish (Green) and Bearish (Red) order blocks upon valid market structure shifts.
-Optional deletion of mitigated (touched) blocks to keep charts clean.
-Customizable block duration, fill color, and border color.
Break of Structure (BOS) :
-Marks BOS with horizontal dotted lines when price breaks previous swing highs/lows.
-Confirms new trends and structural shifts.
Internal Structure Shifts (CHoCH-like) :
-Detects early internal changes in direction before BOS.
-User-selectable logic: based on candle Open or High/Low.
-Plotted as small black triangle markers.
ZigZag Swings :
-Connects confirmed internal shifts with black zigzag lines.
-Visually simplifies trend structure and major swing points.
-Tracks last swing highs/lows for BOS validation.
Alerts :
-Bullish/Bearish Engulfments (OB signals)
-Internal Structure Shifts
-Bullish/Bearish Break of Structure
-OB Mitigation Events
Inputs & Settings :
-Show/Hide Bullish or Bearish Order Blocks
-Calculate internal shifts by: Open or High/Low
-Set order block fill and border colors
-Enable or disable automatic deletion of mitigated blocks
-Set duration for order block display
This tool is designed to support price action trading by visually mapping key structural changes and zones of interest directly on your chart. It is not intended to function as a standalone trading strategy , but rather as a supplementary tool to inform your own analysis and discretion.
Range & Pct Change Table (Interactive)Indicator creates an interactive element that displays two key metrics for any selected candle:
1. Range - The difference between high and low prices (H-L)
2. Percentage Change - The percent change from open to close ((C-O)/O × 100)
Key Features
- Interactive Reference Point: Users can select any candle as a reference point using the time input
- Customizable Table: The table can be shown/hidden and positioned in different chart locations
This indicator is particularly useful for quickly analyzing the volatility (range) and directional movement (percentage change) of specific candles without having to manually calculate these values.
BTC Mining Income Oscillator Z-ScoreBTC Mining Income Oscillator (Z-Score)
Overview
The BTC Mining Income Oscillator (Z-Score) is a custom technical indicator that analyzes Bitcoin mining income to help traders identify overbought and oversold conditions. The indicator uses a Z-Score to track deviations in mining income, highlighting periods of high or low mining profitability.
This indicator is made up of:
Z-Score Line (Blue): Measures how far the current mining income deviates from its historical mean.
Mining Income Oscillator (Orange): A scaled value of mining income that oscillates within a specific range to indicate overbought and oversold conditions.
How the Indicator Works
1. Mining Income Calculation
The BTC Mining Income is determined using two main factors:
Block Reward: The number of BTC miners earn for each block mined (currently 3.125 BTC, adjustable in settings).
Transaction Fees: The average transaction fees per block (default is 0.3 BTC).
Blocks per Day: The number of blocks mined per day (default is 144).
The daily mining income in BTC is calculated as:
Mining Income
=
(
Block Reward
+
Transaction Fees
)
×
Blocks per Day
Mining Income=(Block Reward+Transaction Fees)×Blocks per Day
This value is then converted to USD by multiplying it by the current Bitcoin price.
2. Z-Score Calculation
The Z-Score measures how far the current mining income deviates from its mean over a set period (default is 90 days). The Z-Score helps identify when mining income is unusually high or low:
A high Z-Score indicates that the mining income is significantly above the historical mean, signaling overbought conditions.
A low Z-Score indicates that the mining income is significantly below the historical mean, signaling oversold conditions.
The Z-Score is calculated as follows:
Z-Score
=
(
Current Mining Income
−
Mean Income
)
Standard Deviation
Z-Score=
Standard Deviation
(Current Mining Income−Mean Income)
The result is then smoothed over a period (default is 5) to reduce noise and provide a more stable value.
3. Mining Income Oscillator
The mining income is scaled to oscillate between +20 and +90. This oscillation makes it easy to track overbought and oversold conditions in the market:
Values between 85 and 90 indicate overbought conditions (high mining profitability).
Values between 20 and 22 indicate oversold conditions (low mining profitability).
Values between 22 and 85 indicate neutral conditions, where mining profitability is normal.
The mining income oscillator helps traders spot extreme conditions (overbought or oversold) in mining profitability.
How to Read the Indicator
1. Z-Score Line (Blue)
The Z-Score represents how far current mining income is from the historical average.
Above +2: The mining income is unusually high, indicating an overbought market.
Below -2: The mining income is unusually low, indicating an oversold market.
Between -2 and +2: This range is neutral, where the mining income is within the average historical range.
2. Mining Income Oscillator (Orange)
The Mining Income Oscillator is scaled between 20 and 90.
85–90: Overbought conditions, indicating high mining profitability.
20–22: Oversold conditions, indicating low mining profitability.
22–85: Neutral conditions, indicating moderate mining profitability.
3. Background Shading
Red Shading (85–90): Indicates overbought conditions (mining income is unusually high).
Green Shading (20–22): Indicates oversold conditions (mining income is unusually low).
The shaded regions provide a visual guide to spot periods when the market is overbought or oversold.
4. Key Horizontal Lines
0 Line: Represents the neutral level for the Z-Score, where the mining income is at the historical mean.
+2 and -2 Lines: Indicate overbought and oversold conditions for the Z-Score.
90 and 20 Lines: Indicate the upper and lower bounds for the mining income oscillator.
Where the Data Comes From
Bitcoin Price: The current Bitcoin price is pulled directly from the chart.
Block Reward and Transaction Fees: These values are set manually by the user or can be updated dynamically.
Mining Income: Calculated based on the block reward, transaction fees, and current Bitcoin price.
Z-Score and Oscillator Calculations: Both are calculated based on mining income in USD over a defined look-back period.
Best Timeframe for This Indicator
This indicator is designed to work best on the 2-day chart (2D) timeframe. On the 2-day chart, the mining income data, Z-Score, and the oscillator are less sensitive to noise and short-term volatility, providing more reliable signals. While it can be used on other timeframes, the 2-day chart offers the clearest and most stable analysis.
Disparity Index with Volatility ZonesDisparity Index with Volatility Zones
is a momentum oscillator that measures the percentage difference between the current price and its simple moving average (SMA). This allows traders to identify overbought/oversold conditions, assess momentum strength, and detect potential trend reversals or continuations.
🔍 Core Concept:
The Disparity Index (DI) is calculated as:
DI = 100 × (Price − SMA) / SMA
A positive DI indicates the price is trading above its moving average (potential bullish sentiment), while a negative DI suggests the price is below the average (potential bearish sentiment).
This version of the Disparity Index introduces a dual-zone volatility framework, offering deeper insight into the market's current state.
🧠 What Makes This Version Unique?
1. High Volatility Zones
When DI crosses above +1.0% or below –1.0%, it often indicates the start or continuation of a strong trend.
Sustained readings beyond these thresholds typically align with trending phases, offering opportunities for momentum-based entries.
A reversal back within ±1.0% after exceeding these levels can suggest a shift in momentum — similar to how RSI exits the overbought/oversold zones before reversals.
These thresholds act as dynamic markers for breakout confirmation and potential trend exhaustion.
2. Low Volatility Zones
DI values between –0.5% and +0.5% define the low-volatility zone, shaded for visual clarity.
This area typically indicates market indecision, sideways price action, or consolidation.
Trading within this range may favor range-bound or mean-reversion strategies, as trend momentum is likely limited.
The logic is similar to interpreting a flat ADX, tight Bollinger Bands, or contracting Keltner Channels — all suggesting consolidation.
⚙️ Features:
Customizable moving average length and input source
Adjustable thresholds for overbought/oversold and low-volatility zones
Optional visual fill between low-volatility bounds
Clean and minimal chart footprint (non-essential plots hidden by default)
📈 How to Use:
1. Trend Confirmation:
A break above +1.0% can be used as a bullish continuation signal.
A break below –1.0% may confirm bearish strength.
Long periods above/below these thresholds support trend-following entries.
2. Reversal Detection:
If DI returns below +1.0% after exceeding it, bullish momentum may be fading.
If DI rises above –1.0% after falling below, bearish pressure may be weakening.
These shifts resemble overbought/oversold transitions in oscillators like RSI or Stochastic, and can be paired with divergence, volume, or price structure analysis for higher reliability.
3. Sideways Market Detection:
DI values within ±0.5% indicate low volatility or a non-trending environment.
Traders may avoid breakout entries during these periods or apply range-trading tactics instead.
Observing transitions out of the low-volatility zone can help anticipate breakouts.
4. Combine with Other Indicators:
DI signals can be enhanced using tools like MACD, Volume Oscillators, or Moving Averages.
For example, a DI breakout beyond ±1.0% supported by a MACD crossover or volume spike can help validate trend initiation.
This indicator is especially powerful when paired with Bollinger Bands:
A simultaneous price breakout from the Bollinger Band and DI moving beyond ±1.0% can help identify early trend inflection points.
This combination supports entering positions early in a developing trend, improving the efficiency of trend-following strategies and enhancing decision-making precision.
It also helps filter false breakouts when DI fails to confirm the move outside the band.
This indicator is designed for educational and analytical purposes and works across all timeframes and asset classes.
It is particularly useful for traders seeking a clear framework to identify momentum strength, filter sideways markets, and improve entry timing within a larger trading system.
Session Stats + (dc_77)The "Session Stats + (dc_77)" indicator is a Pine Script tool designed to analyze trading sessions by plotting key price levels and statistical metrics. It displays a session's open price, manipulation levels (mean and median price movements), and distribution levels based on historical session data, with customizable time zones and session times. Users can toggle projections for 1-hour, 4-hour, daily, weekly, and monthly timeframes, showing average manipulation and distribution distances from the session open. Visual elements like shaded areas, labeled lines, and a vertical anchor line enhance readability, with options to filter data by day of the week. Alert conditions are included to notify users when the price crosses significant levels, such as the session open or manipulation/distribution thresholds.
Candle % Move Highlighter (Up/Down)Candle % Move Highlighter (Up/Down with Labels)
This indicator highlights candles that move up or down by a specific percentage from their open price.
🔹 Key Features:
Highlight candles that move up or down by a user-defined %.
Set separate thresholds for up moves and down moves.
Choose to show only up, only down, or both types of candles.
Optional triangle markers above or below highlighted candles.
% Move labels shown directly on the chart above (or below) the candle.
💡 Use this to:
Spot strong momentum candles.
Identify breakout or breakdown moves.
Visually monitor extreme price movement days.
Customize thresholds and display options from the settings panel.
Volume candle intraday 90% valid - with alertThe candle with the highest volume of the day and that creates a new daily high or low.
- Only usable on M15 timeframes;
- You can set a range of bars (from the beginning of the day) to ignore;
- "90% valid" means a candle with volume greater than 90% of the last candle with the highest volume of the day (in the script you can change the percentage of valid volumes to define the candle volume, replacing all the "90" with the desired percentage);
- Long volumes are compared to longs and short volumes are compared to shorts;
- Script created with ChatGpt;
The psychology behind this pattern is the following: on the daily high/low, a lot of volumes will enter in a short time, either by absorption: buyers or sellers enter en masse following the trend when it is too late; or by exhaustion: buyers or sellers who entered en masse and late have no more strength to continue pushing the price, they cause a volume peak to buy/sell as much as they could, then their enemies take over forming a high/low).
Happy trading everyone! :)
###################################################################################
La candela con il volume più alto della giornata e che crea un nuovo massimo o minimo giornaliero.
- Utilizzabile solo su timeframe M15;
- Si può impostare un range di barre(da inizio giornata) da ignorare;
- "90% valida" sta per candela con volume superiore del 90% dell'ultima candela con volume più alto della giornata(nello script si può cambiare percentuale di volumi validi per definire candela volume, sostituendo tutti i "90" con la percentuale desiderata);
- I volumi long vengono confrontati con i long e i volumi short con gli short;
- Script creato con ChatGpt;
La psicologia dietro questo pattern è la seguente: sul massimo/minimo giornaliero entreranno tanti volumi in breve tempo, sia per assorbimento: buyers o sellers entrano in massa seguendo il trend quando è troppo tardi; sia per esaurimento: buyers o sellers entrati in massa e in ritardo non hanno più forza per continuare a spingere il prezzo, causano un picco volumetrico per comprare/vendere più che potevano, quindi i loro nemici prendono il sopravvento formando un massimo/minimo).
Buon trading a tutti! :)
XAU/USD Scalping Bot [Jake-Style 1500+] FINALDescription:
This advanced scalping bot is engineered for XAU/USD using Jake-style visual overlays with predictive trade triggers, early entry signals, and multi-layer confirmation tools.
Key Features:
• EMA Cloud System with color-coded directional bias (5/13/21/55/144/377)
• PSAR Flip-Only Dots to highlight trend reversal moments without chart clutter
• Bollinger Band Zones to visualize volatility channels
• Predictive Entry Flags for early buy/sell signals before momentum candles (≥2 pip move)
• TRUE Candle Logic for confirmed trend-following entries
• Multi-Level TP/SL Lines with real-time alerts:
• TP1 / TP2 / TP3 with precise trigger logic
• Stop Loss hit detection
• Red Flag Warnings for exit caution during reversal zones (overbought TDI / failed breakouts)
Optimized For:
• 1m / 3m / 5m / 15m / 30m timeframes
• Scalping & intraday trading with high-precision entries
• Traders who prefer visual confirmation before committing to entries
Created by: @Livingstonedan
Powered by: ChatGPT x Jake-style automation logic
RSI Phan Ky FullThe RSI divergence indicator is like a magnifying glass that spots gaps between price swings and momentum. When price keeps climbing but RSI quietly sags, it’s a flashing U‑turn sign: the bulls are winded, and the bears are lacing up their boots. Flip it around—price is sliding yet RSI edges higher—and you’ve got bulls secretly stockpiling. Hidden divergences shore up the trend; regular divergences hint at a pivot. Blend those signals with overbought/oversold zones, support‑resistance, and volume, and RSI divergence turns into a radar that helps traders jump in with swagger and bail out just in time.
Sideways + Buy + Sell DetectionSure! Here's the plain-language description of your script without using any code.
---
### 📘 **Script Purpose**
This script is designed to detect three different types of market conditions:
1. **Sideways (range-bound) market** — useful for non-directional strategies like strangles or straddles.
2. **Bullish trend** — provides a signal to consider buying.
3. **Bearish trend** — provides a signal to consider selling.
---
### 🔧 **Indicators Used**
* **RSI (Relative Strength Index)**: Measures market momentum. It's used to determine whether the market is in a bullish, bearish, or neutral zone.
* **ADX (Average Directional Index)** along with **DI+ and DI-**: Measures the strength and direction of a trend.
* **MACD (Moving Average Convergence Divergence)**: Confirms momentum and trend direction based on moving averages.
---
### 🟪 **Sideways Market Signal**
A sideways (non-trending) signal is shown when:
* RSI indicates the market is neither overbought nor oversold (in the middle range).
* ADX shows weak trend strength.
* The ADX value is lower than both DI+ and DI-, suggesting indecision or lack of clear trend.
A purple label appears below the bar when this condition is met.
---
### 🟩 **Buy Signal**
A buy signal is generated when:
* RSI shows strong upward momentum.
* ADX confirms there is a strong trend.
* MACD confirms bullish conditions with both the MACD and signal lines above zero and in the correct crossover direction.
A green label appears below the bar when these bullish conditions align.
---
### 🟥 **Sell Signal**
A sell signal appears when:
* RSI shows strong downward momentum.
* ADX confirms a strong trend.
* MACD confirms bearish conditions, with both MACD and signal lines below zero and in the correct crossover direction.
A red label appears — currently also plotted below the bar (which you may want to move above the bar for better clarity).
---
### ✅ **Use Case**
This script is suitable for:
* Deciding when to deploy **strangle/straddle** strategies in sideways markets.
* Identifying strong **bullish or bearish trends** for directional trades.
* Filtering out weak or indecisive conditions.
VWAP Indicator Channel | Multi Timeframe by Osbrah📊 Multi-Timeframe VWAP Indicator (Session / Weekly / Monthly)
This powerful indicator plots the Volume Weighted Average Price (VWAP) across multiple timeframes: intraday session, weekly, and monthly. It's designed to give traders a clear understanding of the market’s fair value over different horizons.
Key Features:
* Display Session VWAP (resets daily)
* Enable Weekly and Monthly VWAPs for broader market context
* Customize colors, styles, and visibility for each VWAP
* Toggle between standard VWAP or anchored to session opens
Use Cases:
* Identify value zones where price tends to gravitate
* Spot institutional levels of interest and potential reversal points
* Align entries with VWAP bounces or breaks
* Combine with EMAs or price action for high-probability setups
Perfect for day traders, swing traders, and institutional-style strategies, this VWAP tool helps you stay aligned with volume-based price dynamics across all market phases.
Triple EMA Bundle (50, 100, 200) - Osbrah CRG📈 Advanced EMA Indicator – 50/100/200
This custom-built indicator displays the 50, 100, and 200 Exponential Moving Averages (EMAs), giving traders a powerful visual tool to identify key trend directions, dynamic support/resistance levels, and potential market reversals.
Designed for both beginners and advanced users, this tool offers extensive customization options:
* Select which EMAs to display (50, 100, 200)
* Adjust colors, line styles, and thickness
* Choose between different price sources (close, open, hl2, etc.)
* Set custom EMA lengths to fit your strategy
Use Cases:
* Spot trend direction and strength at a glance
* Identify key zones of support and resistance
* Confirm entries/exits based on EMA crossovers or rejections
* Align your trades with higher timeframe trends
Whether you're a swing trader or a scalper, this indicator helps you stay in sync with the market by bringing clarity to long-term momentum zones.
TK47 36 ChambersTK47 36 Chambers is a precision-crafted EMA (Exponential Moving Average) tool designed to help traders align with multi-timeframe trends while keeping price action clear and uncluttered. Built around the powerful 36 EMA, this script plots the current timeframe’s high, low, and median EMAs as a visual "chamber" or cloud, giving instant feedback on intrabar dynamics.
Shoutout to Insilico, who introduced the 36 EMA as a core trend-following tool — this indicator wouldn’t exist without that spark.
How It Works
Core EMA:
The central element is the 36-period EMA, applied to close, high, and low prices on your current chart.
These three EMAs form a channel or “chamber” that acts as a dynamic zone of control.
The cloud between the high and low EMA can optionally be filled to help visualize volatility.
Higher Timeframe EMAs (HTF EMAs):
Optionally displays Daily, Weekly, 4H, and 1H EMAs (all using the same configurable EMA length, default: 36).
These are interpolated smoothly between HTF candles, creating elegant transitions and avoiding jumpy plotting.
Helps traders spot broader trend bias directly on lower timeframe charts without switching views.
Customizations
Adjustable colors for each EMA layer (current + HTFs).
Toggle cloud fill on/off.
Toggle visibility of each HTF line.
Option to show labels at the edge of the chart (e.g., “W” for Weekly) for clarity.
Use Cases
Confirming trend direction across multiple timeframes.
Identifying pullback entries or mean reversion zones.
Combining with candlestick patterns, liquidity sweeps, or oscillator divergence for high-probability entries.
Notes
All EMAs use the same configurable length to keep things clean and consistent.
Interpolation ensures the HTF EMAs remain smooth and aligned with the LTF candles.
The fill between high and low EMA gives a visual representation of the market’s breathing room — useful for spotting expansions and contractions.
DAILY CANDLE PROFIT TARGET BIAS @MaxMaserati
Max Maserati Method for Candle Bias and effective price action Analysis
The MMM CANDLE BIAS 2.0 indicator, built on the proprietary Max Maserati Method, classifies candles to deliver clear, real-time market bias insights. It decodes price action, revealing institutional trading patterns often missed by retail traders.
The Six Core Candle Classifications: The Foundation of MMM Analysis
Master these six closing patterns, and you'll unlock the true language of price action. These are the building blocks of institutional trading behavior:
Bullish Body Close
Identification: Candle closes above the previous candle’s high.
Psychology: Strong buying pressure overcomes prior resistance.
Implication: Signals bullish trend continuation or reversal.
Bearish Body Close
Identification: Candle closes below the previous candle’s low.
Psychology: Intense selling pressure breaks past support.
Implication: Indicates bearish trend continuation or reversal.
Bullish Affinity
Identification: High tests or breaches previous low, but close stays within previous candle’s range.
Psychology: Buyers defend lower levels, rejecting downside.
Implication: Hidden bullish strength in consolidation.
Bearish Affinity
Identification: Low tests or breaches previous high, but close remains within previous candle’s range.
Psychology: Sellers cap upside attempts, gaining control.
Implication: Subtle bearish pressure despite failed breakout.
Seek & Destroy
Identification: Candle breaks both previous high and low, closing inside previous range.
Psychology: Institutions test liquidity on both sides before committing.
Implication: Direction depends on close—upper half (bullish affinity) or lower half (bearish affinity).
Close Inside
Identification: High and low stay within previous candle’s range.
Psychology: Consolidation with underlying directional bias.
Implication: Bias determined by close position relative to range.
Plus/Minus Strength System
Bullish Strength: Measures distance from low to close (buying pressure).
Bearish Strength: Measures distance from high to close (selling pressure).
Plus (+): Dominant strength significantly outweighs the other, indicating strong directional conviction.
Minus (-): Balanced strengths suggest a contested market, requiring caution.
Key Features
Automated Pattern Recognition: Instantly detects candle formations.
Color-Coded Bars: Green for bullish, red for bearish bias.
Dynamic Profit Targets: Projects targets based on higher timeframe high/low.
Real-Time Metrics: Displays bullish/bearish strength percentages and volume delta.
Customizable Table: Shows timeframe, symbol, bias, volume, and special note (“Analyze | Wait | Repeat”).
Bias Lines: Plots high/low lines on higher timeframe, with optional extension.
Labels: Customizable bias and profit target labels (Tiny, Small, Normal sizes).
Trading Advantages
Reveals institutional moves before retail traders react.
Detects reversals ahead of conventional indicators.
Enables precise entry timing with smart money.
Enhances risk management with clear strength signals.
Simplifies complex price action into actionable insights.
Profit Target Framework
Bullish Patterns: Target higher timeframe high.
Bearish Patterns: Target higher timeframe low.
Plus Strength: Expects direct move to target.
Minus Strength: Anticipates measured advance with potential pullbacks and/or violations.
Visual Implementation
Lines and Labels: High/low bias lines and profit target markers adapt to timeframe.
Table Display: Configurable position (top/middle/bottom, left/center/right) with key metrics.
Bar Coloring: Optional coloring based on bias or plus/minus strength.
Trader’s Mantra
"Analyze | Wait | Repeat" - Discipline turns market reading into consistent profits.
Elevate your trading with MMM CANDLE BIAS 2.0, where professional-grade analysis meets intuitive design.
Note: Based on the proprietary Max Maserati Method for educational and analytical use.
Intraday Fibs RetracementFibonacci (Fibs) levels are often used by traders as a way to find support and resistance, based on the Fibonacci sequence. These levels are widely used in technical analysis to identify potential reversal points in the price of an asset.
Fibs retracement draws lines at these Fibs level between a significant high and low point on a price chart.
What it shows:
This indicator will automatically draw Fibs Retracement Levels on your chart without any manual work.
It is designed to be used for day trading, especially in scenarios where a ticker gaps up/down large compared to the prior day close. (i.e. scenario where the difference of day's open and prior day close is large)
The drawing will happen on each trading day the moment trading hours open, and will NOT draw during pre-market and post-market.
User can see the line of each Fibs level, labelled with the Fib percentage and price value for the corresponding levels.
User will specify a start and end point of Fibs and based on the choice the indicator will automatically compute the other user defined Fibs levels and display on the chart.
How to use it:
The Fib levels drawn can be a potential support and resistance zone. Therefore in scenario where you already have a position and are approaching one of these levels it could be a point to close out some or all the position as you are approaching a resistance. On the other hand when price do approach these levels you could enter a position for a reversal trade. These are few ways to use the indicator but there are other ways that can be used, which can be found out by researching "Fibonacci (Fibs) Retracement".
In the example on the chart you can see a price bounce from the 0.7886 Fibs level on this particular day, where the price gapped up and was coming down after market hours opened.
Key settings:
1. Fibs Retracement Start and end Point: User selects where the Fibs levels should be drawn.
Available Options are:
Start Points:
Market Open
Market Open High (Dependent on the time frame you are on)
Pre-market High
Day's High
End Points:
Previous Day Close
Previous Day Low
Previous Day High
Pre-market Low (Current Day)
Day's Low
2. Custom Fib Levels: User can manually enter the Fib levels they want to see. (Max 9)
Default values are: 0,0.236,0.382,0.5,0.618,0.786,1,1.618,2.618.
3. Display settings: User can specify the line colour, thickness and style.
4. Label Setting: User can choose to turn on/off the labels for the each Fibs Level. Label will show the fib percentage and the corresponding price. User can also choose the location of the labels, defined by an offset from the current candle.
----------------------------------------------------------------------
If anything is not clear please let me know!
PER x RangeThis Pine Script calculates the target price of the Nikkei Average based on the EPS (Earnings Per Share) and different PER (Price-to-Earnings Ratio) multiples ranging from 17.5x to 12x, in increments of 0.5x. It then plots these target prices on the chart.
Key Features:
Input EPS: You can manually input the current EPS value of the Nikkei Average (the example uses 2380, but you can replace it with the actual EPS).
PER Multiples Calculation: The script calculates target prices for different PER multiples (17.5x, 17x, 16.5x, ..., down to 12x).
Plotting Target Prices: The calculated target prices (EPS * PER) are plotted on the chart as blue lines, showing you different target price scenarios based on varying PER multiples.
CoT MK_Speculators PercentileCoT MK Speculators Percentile
This indicator visualizes the weekly positioning of Non-Commercial traders (Speculators) from the CFTC’s Legacy CoT report, plotting their Long, Short, and Net positions alongside user-defined percentile bands.
• Data Source: Weekly Non-Commercial Long and Short positions via the TradingView CoT Library.
• Percentile Bands: Calculates the chosen upper and lower percentiles (default 80% and 20%) of each series over a configurable lookback period (default 208 weeks).
• Negative Shorts: Optionally inverts Short values so that larger Short exposure appears deeper below zero, improving symmetry with Long data.
• Usage:
• Speculators Long/Short/Net: Show raw or inverted position curves.
• Upper Percentile (red): Marks extreme Speculator exposure (bearish contrarian zone).
• Lower Percentile (green): Identifies low Speculator engagement (bullish contrarian zone).
Traders use these percentile bands as contrarian signals: extreme Speculator positioning often precedes market reversals.
CoT_MK_WillCo_IndexThe WillCo MK Index (Commercials, volume-adjusted) is a weekly oscillator that measures how strongly Commercial traders are positioned relative to total market size (Open Interest). It calculates the net Commercial position (Long minus Short), divides it by Open Interest to normalize for market volume, then scales that ratio to a 0–100 range over a user-defined lookback period (default 26 weeks). Readings near 100 indicate exceptionally strong Commercial net-long exposure (bullish extreme), while readings near 0 reflect heavy Commercial shorting or lack of longs (bearish extreme). Traders use WillCo MK to spot potential turning points by following smart-money extremes that often anticipate price reversals.