[TTM] ICT Sessions & Ranges🌟 Overview 🌟
The ICT Sessions & Ranges Indicator helps traders identify key intraday price levels by marking custom session highs/lows and opening ranges.
It helps traders spot potential liquidity grabs, reversals, and breakout zones by tracking price behavior around these key areas
🌟 Session Highs & Lows – Liquidity Zones 🌟
Session highs and lows often attract price due to stop orders resting above or below them. These levels are frequently targeted during high-volatility moves.
🔹 Asia Session
- Usually ranges in low volatility.
- Highs/lows often get swept during early London.
- Price may raid these levels, then reverse.
🔹 London Session
- First major volatility of the day.
- Highs/lows often tested or swept in New York.
- Commonly forms the day’s true high or low.
🌟 Opening Range Concepts 🌟
The Opening Range is the first 15, 30, or 60 minutes of a session (e.g., New York).
The high (ORH) and low (ORL) define the market’s initial balance and key reaction levels.
🔹 Breakout Trade
- Price breaks ORH/ORL with momentum.
- Signals directional intent.
- Traders enter on the breakout, with stops inside the range.
🔹 Liquidity Raid
- Price briefly breaks ORH/ORL to trigger stops.
- Reverses after the sweep.
- Look for structure shift and entry near FVG or OB.
🌟 Customizable Settings 🌟
The indicator includes 3 configurable ranges , each with:
Start & End Time – Set any custom time window.
Display Type – Choose Box (highlight range) or Lines (mark high/low).
Color Settings – Set custom colors for boxes and lines.
🌟 Default Settings 🌟
Range 1 : 19:00–00:00 (Asia Session)
Range 2 : 01:45–05:15 (London Session)
Range 3 : 09:30–10:00 (NY Opening Range – 30m)
Educational
6 Dynamic EMAs by Koenigsegg🚀 6 Dynamic EMAs by Koenigsegg
Take control of your chart with ultimate flexibility. This tool gives you 6 customizable EMAs across any timeframe, helping you read the market like a pro — whether you're scalping seconds or swinging days. Built for precision, designed for dominance.
The combinations? Endless. Mix and match any EMA lengths and timeframes for tailored confluence — exactly how elite traders operate.
🔑 Key Features
✅ 6 Fully Customizable EMAs
⏳ Multi-Timeframe Support (from seconds to months)
🎨 Custom Colors & Thickness for each EMA
🚨 Built-in Cross Alerts for instant trade signals
🧠 Clean, efficient logic using request.security()
🔁 Dynamically toggle EMAs on/off
⚙️ Lightweight for smooth chart performance
🧩 Endless combo potential — confluence on your terms
📈 What Is an EMA?
The EMA is a type of moving average that adjusts more quickly to recent price changes than a Simple Moving Average (SMA). It does this by giving exponentially more weight to the most recent candles.
⚙️ How Does It Function?
Smoothing Price Data:
It takes the average of closing prices over a chosen period (like 20 or 50 candles), but gives more influence to the latest prices.
Reacts Quickly to Price Shifts:
Since recent data is weighted more heavily, the EMA adjusts faster to sudden price changes — helping you spot trend reversals or momentum shifts earlier.
Dynamic Support & Resistance:
Traders often use EMAs as moving support/resistance levels. Price often "respects" EMAs in trending markets — bouncing off them during pullbacks.
Trend Confirmation:
- If price is above the EMA, the market is likely in an uptrend.
- If price is below the EMA, the market is likely in a downtrend.
- Multiple EMAs (like 12/21 or 50/200) crossing each other are used for entry/exit signals.
💡 Example:
If you use a 21 EMA on a chart, it shows you the average price of the last 21 candles, but the most recent ones weigh heavier. This makes the EMA more responsive than an SMA, and better for short-term or active trading.
📊 Why EMAs Matter — and How Multi-Timeframe EMAs Give You the Edge
Exponential Moving Averages (EMAs) are essential tools for identifying trend direction, momentum shifts, and dynamic support/resistance. Because they weight recent price data more heavily, EMAs adapt quickly to changing market conditions, giving traders early insight into reversals or continuations.
Where this script shines is in its multi-timeframe (MTF) capability. For example, plotting a daily EMA on a 4H chart gives you high-level directional guidance while still allowing precision entries. This enables confluence between LTF (low timeframe) signals and HTF (high timeframe) momentum — a crucial edge used by institutional-level traders.
You can configure the tool to run classic combos like the 12/21 crossover on your current chart, while layering in a 50 or 200 EMA from a higher timeframe for macro confirmation. The 6th EMA, colored light blue by default, is perfect for adding one final level of structure insight — often used as a long-term anchor or trend bias marker.
Whether you're riding the wave or catching the reversal, these EMAs serve as your adaptable compass in every environment.
🎯 Purpose
This indicator was built to give traders a clear, responsive, and multi-timeframe edge using dynamic Exponential Moving Averages. Whether you're trend-following, identifying momentum shifts, or building a confluence system — these 6 EMAs are here to align with your strategy and style.
💡 Pro Tip
Instead of cluttering your chart with multiple EMA indicators, this script consolidates all into one sleek tool. You can toggle off bands you don't currently need, like running only the 12/21 EMAs on your active chart timeframe, while adding the 12/21 EMAs from a higher timeframe to guide trade decisions.
With this setup, you're not just reacting — you're orchestrating your trades with intention.
⚠️ Disclaimer
This script is for educational and informational purposes only. It does not constitute financial advice. Always do your own research and trade responsibly. Past performance does not guarantee future results.
BTC Markup/Markdown Zones by Koenigsegg📈 BTC Markup/Markdown Zones
A handcrafted indicator designed to mark Bitcoin's most critical High Time Frame (HTF) structure shifts. This tool overlays true institutional-level Markup and Markdown Zones, selected manually after deep market review. Whether you're testing strategies or actively trading, this tool gives you the bigger picture at all times.
🔍 Key Features:
✅ HTF Markup & Markdown Zones
Every zone is manually selected — no indicators, no repainting. Just raw market history and real structure.
✅ Two Display Modes
• Background Zones — soft overlays with low opacity for visual context — with the option to increase opacity manually if desired.
• Start Candle Highlight — sharply highlighted candle marking the final pivot before a macro reversal.
✅ Custom Color Controls (Style Tab)
All visual styling lives in the Style tab, with clearly labeled fields:
• Markup Zone
• Markdown Zone
• Start Candle Highlight Markup
• Start Candle Highlight Markdown
✅ Minimal Input Section
Just one toggle: display mode. Everything else is kept clean and intuitive.
🧠 Purpose:
This script is made for any timeframe:
• Zoom into lower timeframes to know whether you're trading inside a Markup or Markdown
• Use it during strategy testing for true structural awareness
📅 Handpicked Macro Turning Points:
Each zone originates from a manually confirmed candle — the last meaningful candle before a shift in control between bulls and bears:
• FRI 19 AUG 2011 12PM – MARK DOWN
• THU 20 OCT 2011 12AM – MARK UP
• WED 10 APR 2013 12PM – MARK DOWN
• FRI 12 APR 2013 12PM – MARK UP
• SAT 30 NOV 2013 12AM – MARK DOWN
• WED 14 JAN 2015 12PM – MARK UP
• SUN 17 DEC 2017 12PM – MARK DOWN
• SAT 15 DEC 2018 12PM – MARK UP
• WED 14 APR 2021 4AM – MARK DOWN
• TUE 22 JUN 2021 12PM – MARK UP
• WED 10 NOV 2021 12PM – MARK DOWN
• MON 21 NOV 2022 8PM – MARK UP
• THU 14 MAR 2024 4AM – MARK DOWN
• MON 5 AUG 2024 12PM – MARK UP
• MON 20 JAN 2025 4AM – MARK DOWN
💡 Zones are manually updated by me after each new confirmed Markup or Markdown.
🧬 Fractal Structure for MTF Systems
Price is fractal — meaning the same principles of structure repeat across all timeframes. In Version 2, this tool evolves by introducing manually selected sub-zones inside each High Time Frame (HTF) Markup or Markdown. These sub-zones reflect Medium Timeframe (MTF) structure shifts, offering precision for traders who operate on both intraday and swing levels.
This makes the indicator ideal for low timeframe (LTF) Markup/Markdown awareness — whether you're managing 15m entries or building multi-timeframe confluence systems.
No auto-zones. No guesswork. Just clean, intentional structure division within the broader trend, handpicked for maximum clarity and edge.
💡 Pro Tip:
When price is inside a Markup Zone, shorting becomes riskier — you're trading against a macro bullish structure.
When inside a Markdown Zone, longing becomes riskier — you're fighting against confirmed bearish momentum.
Use this tool to stay aligned with the broader move, especially when zoomed into smaller timeframes or managing entries/exits during intraday setups.
📈 Markup Phase – Bullish Sentiment
Definition: A period where price makes higher highs and higher lows — the uptrend is in full force.
Why sentiment is bullish:
- Institutions and smart money are already positioned long.
- Public/institutional demand drives prices up.
- Momentum is supported by positive news, breakouts, and FOMO.
- Higher highs confirm buyers are in control.
📉 Markdown Phase – Bearish Sentiment
Definition: A period where price makes lower lows and lower highs — clear downtrend.
Why sentiment is bearish:
- Distribution has already occurred, and supply outweighs demand.
- Smart money is short or sidelined, waiting for deeper prices.
- Panic selling or trend-following traders add downside momentum.
- Lower lows confirm sellers are in control.
❌ Trading Against the Trend — Consequences:
-Reduced Probability of Success
-You’re fighting the dominant flow. Most participants are pushing in the opposite direction.
-Drawdowns & Stop-Outs
-Countertrend trades often get wicked or flushed before any meaningful move, especially without structure-based entries.
-Low Risk-Reward Ratio
-Trends offer sustained moves. Countertrend trades may have small take-profit zones or chop.
-Mental Drain & Doubt
-Fighting momentum causes anxiety, second-guessing, and emotional reactions.
-Missed Opportunities
-Focusing on fighting the trend makes you blind to the high-probability setups with the trend.
-Increased Transaction Costs
-More stop-outs and re-entries mean more fees, more friction.
-FOMO from Watching the Trend Run
-Entering countertrend means you might watch the trend explode without you.
-Confirmation Bias & Stubbornness
-Countertrend traders often look for reasons to justify staying in the wrong direction — leading to bigger losses.
🧠 Summary
In markup = bulls dominate → you swim with the current.
In markdown = bears dominate → going long is like pushing a rock uphill.
Trading with the trend is not just safer, it's smarter. The edge lives in momentum — not ego.
⚠️ Disclaimer
This indicator is for educational and analytical use only. It is not financial advice and should not be relied on for decision-making without personal analysis.
This is not a predictive tool. No indicator can forecast upcoming price movements.
What you see here is based purely on past market behavior — specifically, historical tops and bottoms that marked the start of confirmed reversals.
This script does not know where the next reversal begins, nor can it determine where a new Markup or Markdown starts or ends. It is designed to provide context, not prediction.
Always trade with responsibility and perform your own due diligence.
IU Inside out candlestick patternIU Inside Out Candlestick Pattern
This indicator identifies the Inside Out Candlestick Pattern — a unique 3-bar price action setup that captures strong market momentum and potential reversals with greater reliability than traditional patterns.
Pattern Logic:
The Inside Out pattern builds upon a classic engulfing setup by adding a breakout confirmation, making it a refined and filtered approach to candlestick analysis.
Bullish Inside Out Logic:
- Bar must be a bullish engulfing candle (engulfs previous bearish candle).
- Current bar must be bullish and must close above the high of the engulfing candle (a bullish breakout).
- When this setup is confirmed, a shaded green box is drawn around the range of the engulfing candle and its preceding bar.
Bearish Inside Out Logic:
- Bar must be a bearish engulfing candle (engulfs previous bullish candle).
- Current bar must be bearish and must close below the low of the engulfing candle (a bearish breakdown).
- When confirmed, a red box highlights the zone formed by the engulfing candle and its prior bar.
Why this is unique:
Unlike conventional candlestick indicators that trigger signals immediately after an engulfing pattern, this script adds a breakout condition to validate follow-through strength. This reduces false positives and gives traders a clearer edge. The pattern is also rare, which means it captures strong, decisive moves when it does appear.
How users can benefit:
- High-quality entries: Only shows patterns with proven follow-through, improving trade timing.
- Visual clarity: Boxes and labels highlight significant price zones for easy interpretation.
- Flexible use: Applicable across timeframes and instruments — ideal for both intraday and swing traders.
- Alerts included: Real-time alerts help traders stay updated without staring at charts all day.
This script is a powerful tool for price action traders looking to enhance pattern reliability and signal strength through structure-based breakout confirmation.
Support/Resistance Breakout DetectorThis indicator automatically detects and plots dynamic support and resistance levels using pivot highs and lows.
✅ It draws red resistance lines and blue support lines,
✅ The lines extend forward but automatically stop when the price touches them,
✅ It monitors for breakouts with strong volume,
✅ When a breakout happens, it shows labels like “B” or “Bull Wick” / “Bear Wick” on the chart,
✅ It also triggers alerts when support or resistance breaks with high volume.
Main settings:
Pivot lookback period
Show/hide breakout labels
Minimum volume for breakout
Maximum extension length for lines
This tool helps traders easily spot key price levels and watch for meaningful breakouts.
DXY-XAUUSD Correlation with ThresholdsIndicator Description: "DXY-XAUUSD Correlation with Thresholds"
This indicator tracks the dynamic correlation between the US Dollar Index (DXY) and gold prices (XAUUSD) over a user-defined period, expressed as a percentage. It calculates the rolling correlation coefficient between the closing prices of these two assets, scaled to ±100%, and visualizes it as a histogram.
Key Features:
Adjustable correlation period (default: 30 bars) and configurable positive/negative thresholds (default: ±70%).
Color-coded histogram: Intense green/red highlights correlations exceeding thresholds, signaling strong positive/negative relationships.
Horizontal dotted lines mark threshold levels, aiding in identifying overextended "overbought" or "oversold" correlation conditions.
An info table displays the current correlation value and active thresholds for quick reference.
Designed for traders analyzing the inverse relationship between the dollar and gold, this tool helps spot periods of extreme correlation divergence or convergence. The visual alerts and customizable parameters make it adaptable to various trading strategies and timeframes.
Note: The indicator is plotted in a separate pane (non-overlay) for clarity.
High Volume Candle Node & S/R @MaxMaseratiHigh Volume Candle Node (HVCN)
The High Volume Candle Node (HVCN) indicator, developed by MaxMaserati, is a powerful tool for identifying significant volume-based support and resistance levels on TradingView. Built with Pine Script v5, it visualizes volume nodes and dynamic or semi-static lines to highlight key price levels where high, medium, and low volume activity occurs. This indicator is designed to assist traders in spotting potential breakout zones and critical price levels for decision-making.
Key Features
Volume Nodes: Displays volume distribution across price levels, categorized as High Volume Nodes (HVN), Medium Volume Nodes (MVN), and Low Volume Nodes (LVN).
Dynamic/Semi-Static Lines:
Dynamic Mode: Lines adjust to recent volume changes, reflecting current market activity.
Semi-Static Mode: Lines remain fixed at key price levels for consistent reference.
HVC/MVC/LVC Lines:
High Volume Candle (HVC): Represents price levels with significant trading activity (default threshold: 73%).
Medium Volume Candle (MVC): Indicates moderate volume zones (default threshold: 25%-73%).
Low Volume Candle (LVC): Highlights areas with minimal volume (default threshold: <25%).
Breakout Detection: Identifies price breakouts above or below HVC, MVC, or LVC lines, with customizable sensitivity thresholds.
Visual Enhancements: Includes glow effects, customizable colors, triangles at line ends, and volume labels for better readability.
Bullish/Bearish Coloring: Nodes and lines are colored based on whether bullish or bearish volume dominates, aiding in trend analysis.
LVC/MVC/HVC Labels and Percentages
HVC Labels (High Volume, >73%): Mark price levels with the highest trading activity, often acting as strong support or resistance. These zones indicate where large market participants are active.
MVC Labels (Medium Volume, 25%-73%): Highlight areas with moderate volume, often serving as secondary support/resistance or consolidation zones.
LVC Labels (Low Volume, <25%): Identify price levels with low trading activity, typically areas of low interest or potential breakout zones.
Label Display Options: Users can choose to show volume in normal format (e.g., 1.2M), percentage format (e.g., 73%), or both. Labels can be positioned at price levels or node edges, with customizable size and background opacity.
Settings
Profile Settings: Adjust the number of rows (10-100), lookback length (10-1500 bars), and profile width (10%-100%).
Node Thresholds: Customize HVC (50%-99%) and LVC (5%-49%) thresholds to define volume significance.
Display Toggles: Enable/disable HVC, MVC, LVC nodes, labels, breakout detection, and visual effects like glow or triangles.
Color Customization: Separate bullish and bearish colors for nodes and lines, with adjustable opacity for boxes and labels.
Breakout Sensitivity: Fine-tune breakout thresholds (0.1%-100%) for HVC, MVC, and LVC lines.
How It Works
The HVCN indicator analyzes volume distribution within a specified lookback period, dividing the price range into rows to calculate volume at each level. It then identifies HVC, MVC, and LVC zones based on user-defined thresholds. Dynamic or semi-static lines are drawn at the most significant price levels for each category, with optional breakout detection to signal when the price crosses these lines. Volume labels provide detailed insights into the strength of each level, expressed as a percentage of total volume or absolute value.
Use Cases
Support/Resistance Identification: HVC lines often act as strong barriers, while MVC and LVC indicate weaker zones.
Breakout Trading: Breakout labels and triangles help traders spot potential trend reversals or continuations.
Volume Analysis: Bullish/bearish volume coloring aids in understanding market sentiment at key levels.
Disclaimer
The use of the HVCN indicator is entirely at the user's responsibility. It is a tool for analysis and does not guarantee trading success. Always conduct thorough research and risk management before making trading decisions.
ICT Killzones Bias & Volume Sweeps @MaxMaserati📌 Overview
This indicator helps traders identify key ICT Killzones (Asian, London, NY AM, NY PM sessions) along with volume analysis and sweep detection. It highlights institutional order blocks, tracks session bias, and detects liquidity sweeps with volume confirmation.
Key Features:
✅ ICT Killzones (Asian, London, NY AM, NY PM)
✅ Volume Analysis (High/Low volume detection)
✅ Sweep Detection (Buyside/Sellside sweeps with volume confirmation)
✅ Session Bias (Bullish/Bearish bias based on price action)
✅ Customizable Sessions (Add personal trading hours)
✅ Institutional Order Build-up (30-min pre-session accumulation zones)
⚙️ Input Settings
1. Timezone Settings
Chart Timezone: Adjust to your local timezone (default: New York).
2. Session Toggles
Asian / London / NY AM / NY PM Sessions: Enable/disable each session.
NY Lunch Session: Optional session (disabled by default).
Personal Trading Time: Customize your trading hours.
3. Label Settings
Label Size: Tiny, Small, Normal, Large.
Session Labels: Customize text for High (H), Low (L), Mid (M) labels.
Background Transparency: Adjust session box opacity.
4. Volume Analysis
Show Volume Labels: Displays volume strength (🚀 Very High, 🔥 High, ⚖️ Normal, 💤 Low, 🐢 Very Low).
Volume Lookback Period: Adjusts volume comparison window.
High/Low Volume Thresholds: Define what constitutes high/low volume.
5. Sweep Detection
Buyside/Sellside Sweeps: Highlights liquidity sweeps.
Sweep Margin: Adjust sensitivity for sweep detection.
Fake Sweep Zones: Option to hide or highlight fakeouts.
Example of Session Sweep and Volume:
Here we have a Bullish Sweep of London Low session by NY AM
However, the volume was low suggesting buyers are not strong enough (M1)
And then the sellers took over and a pressure retest by the buyers of the level and then sellers entered with more power/pressure
6. Session Momentum & Bias
Show Session Bias: Indicates bullish/bearish bias for each session.
Bias Strength Threshold: Adjust sensitivity for bias detection.
📊 How It Works
1. Session Highs/Lows
The indicator tracks High, Low, and Mid prices for each session.
Lines and boxes are drawn to visualize the session range.
2. Volume Analysis
Compares current volume to historical average.
Displays volume strength with emojis (🚀, 🔥, ⚖️, 💤, 🐢).
Highlights high-volume sweeps for confirmation.
3. Sweep Detection
Detects buyside sweeps (liquidity above highs) and sellside sweeps (liquidity below lows).
Sweep zones expand if price lingers near the swept level.
4. 30 minute Pre-session Institutional order buildup
Highlights 30-minute pre-session zones where institutions may accumulate orders.
5. Session Bias
Calculates bias based on open/close price action within the session.
Displays Bullish, Bearish, or Neutral labels.
]
🎯 Trading Applications
1. Liquidity Sweeps
Look for sweeps with high volume as confirmation of institutional activity.
Fade fake sweeps (if enabled) when price reverses quickly.
2. Session Breakouts
Trade breakouts from Asian/London ranges during NY sessions.
Watch for volume expansion on breakouts for confirmation.
3. Pre- Session Institutional Block
Price often reacts to pre-session institutional position build-up (30-min before session opens).
LV:Low Volume, HV: High volume and MV: Medium Volume
NY AM Pre-Session institutional Order Build-up block with high sweep
🔧 Customization Tips
Adjust session times to normal future sessions to match your trading style.
Modify sweep sensitivity if too many/too few sweeps are detected.
Use volume thresholds to fine-tune high/low volume alerts.
📌 Final Notes
This indicator combines ICT concepts with volume analysis for a powerful trading edge. Use it alongside price action and market structure for best results at your own risk.
ETF Builder & Backtest System [TradeDots]Create, analyze, and monitor your own custom “ETF-like” portfolio directly on TradingView. This script merges up to 10 different assets with user-defined weightings into a single composite chart, allowing you to see how your personalized portfolio would have performed historically. It is an original tool designed to help traders and investors quickly gauge risk and return profiles without leaving the TradingView platform.
📝 HOW IT WORKS
1. Custom Portfolio Construction
Multiple Assets : Combine up to 10 different stocks, ETFs, cryptocurrencies, or other symbols.
User-Defined Weights : Allocate each asset a percentage weight (e.g., 15% in AAPL, 10% in MSFT, etc.).
Single Composite Value : The script calculates a weighted “ETF-style” price, effectively simulating a merged portfolio curve on your chart.
2. Performance Tracking & Return Analysis
Automatic History Capture : The indicator records each asset’s starting price when it first appears in your chosen date range.
Rolling Updates : As time progresses, all asset prices are continually evaluated and the portfolio value is updated in real time.
Buy & Hold Returns : See how each asset—and the overall portfolio—performed from the “start” date to the most recent bar.
Annualized Return : Automatically calculates CAGR (Compound Annual Growth Rate) to help visualize performance over varying timescales.
3. Table & Visual Output
Performance Table : A comprehensive table displays individual asset returns, annualized returns, and portfolio totals.
Normalized Chart Plot : The composite ETF value is scaled to 100 at the start date, making it easy to compare relative growth or decline.
Optional Time Filter : You can define a specific date range (Start/End Dates) to focus on a particular period or to limit historical data.
⚙️ KEY FEATURES
1. Flexible Asset Selection
Choose any symbols from multiple asset classes. The script will only run calculations when data is available—no need to worry about missing quotes.
2. Dynamic Table Reporting
Start Price for each asset
Percentage Weight in the portfolio
Total Return (%) and Annualized Return (%)
3. Simple Backtesting Logic
This script takes a straightforward Buy & Hold perspective. Once the start date is reached, the portfolio remains static until the end date, so you can quickly assess hypothetical growth.
4. Plot Customization
Toggle the main “ETF” plot on/off.
Alter the visual style for tables and text.
Adjust the time filter to limit or extend your performance measurement window.
🚀 HOW TO USE IT
1. Add the Script
Search for “ETF Builder & Backtest System ” in the Indicators & Strategies tab or manually add it to your chart after saving it in your Pine Editor.
2. Configure Inputs
Enable Time Filter : Choose whether to restrict the analysis to a particular date range.
Start & End Date : Define the period you want to measure performance over (e.g., from 2019-12-31 to 2025-01-01).
Assets & Weights : Enter each symbol and specify a percentage weight (up to 10 assets).
Display Options : Pick where you want the Table to appear and choose background/text colors.
3. Interpret the Table & Plots
Asset Rows : Each asset’s ticker, weighting, start price, and performance metrics.
ETF Total Row : Summarizes total weighting, composite starting value, and overall returns.
Normalized Plot : Tracks growth/decline of the combined portfolio, starting at 100 on the chart.
4. Refine Your Strategy
Compare how different weights or a new mix of assets would have performed over the same period.
Assess if certain assets contribute disproportionately to your returns or volatility.
Use the results to guide allocations in your real trading or paper trading accounts.
❗️LIMITATIONS
1. Buy & Hold Only
This script does not handle rebalancing or partial divestments. Once the portfolio starts, weights remain fixed throughout the chosen timeframe.
2. No Reinvestment Tracking
Dividends or other distributions are not factored into performance.
3. Data Availability
If historical data for a particular asset is unavailable on TradingView, related results may display as “N/A.”
4. Market Regimes & Volatility
Past performance does not guarantee similar future behavior. Markets can change rapidly, which may render historical backtests less predictive over time.
⚠️ RISK DISCLAIMER
Trading and investing carry significant risk and can result in financial loss. The “ETF Builder & Backtest System ” is provided for informational and educational purposes only. It does not constitute financial advice.
Always conduct your own research.
Use proper risk management and position sizing.
Past performance does not guarantee future results.
This script is an original creation by TradeDots, published under the Mozilla Public License 2.0.
Use this indicator as part of a broader trading or investment approach—consider fundamental and technical factors, overall market context, and personal risk tolerance. No trading tool can assure profits; exercise caution and responsibility in all financial decisions.
Power Law Global Liquidity Price Model & OscillatorDescription:
This Pine Script implements a predictive Bitcoin (BTC) price model derived from an observed power-law relationship between BTC price and Global Liquidity (specifically Global M2).
To clarify, the indicator doesn't show M2 directly as many indicators do, but uses an empirical observed relationship between BTC price and M2. This is an important difference from other Global Liquidity indicators and makes it very useful because it allows for making predictions on the future of Bitcoin price.
The model is based on the relationship BTC ~ GL^9.3, where GL represents Global M2, and the best correlation is achieved with an 85-period lead in GL, making it a leading indicator for BTC price movements. The observed correlation is higher than 0.92, giving high confidence in the model's validity. The 85-day lead was chosen by calculating the predictive rate of the model (how many times a positive/negative return in the model correlates with the price) with a given lead. The relationship between a chosen delay and predictive power has a maximum at 85 days.
Features:
BTC Price Model:
Calculates a BTC price model using the power-law relationship (BTC ~ GL^9.3) with an 85-period lead in Global Liquidity data.
The model is superimposed on the chart using forced overlay for clear visualization of the predicted BTC price trend relative to actual price.
Directional Oscillator:
Displayed in a lower panel, the oscillator compares the structural similarity between the actual BTC price and the GL-based price model.
Computes the win rate of the averaged BTC price (over a 1-year period) versus the price model to highlight structural alignment.
Projects future oscillator values based on the 85-period lead in the GL model, providing insight into potential price direction.
This feature is also very unique, and it is not present in most Global Liquidity indicators. The reason to choose the win rate is that this parameter doesn't depend on a precise scaling
between the BTC price and GL. This allows for better identification of changes in features between the 2 time series (for example, a downturn, a run up, peaks, bottoms, and similar).
Purpose:
This script serves as a predictive tool for traders and analysts by leveraging the leading relationship between Global Liquidity and BTC price. The overlay model and oscillator provide both a visual and quantitative framework to anticipate BTC price trends and assess structural alignment with global economic indicators.
The indicator allows for early identification of bottoms, peaks, and possible local bull or bear runs.
Usage Notes:
This indicator works best when used with the "All Time History" BTCUSD index.
The 85-period lead in GL allows for forward-looking projections, making this tool suitable for strategic planning.
The oscillator aids in confirming the structural validity of the model, enhancing confidence in its projections.
Custom Rotatable PinwheelCustom Rotatable Pinwheel – Art Generator (Fully Color-Configurable)
This visual indicator draws a rotating pinwheel using radial spokes. It's designed purely for artistic and decorative purposes — not for trading signals. Use it to create abstract, mandala-like effects by layering multiple instances with different rotation angles and color palettes.
Fully Customizable Spoke Colors
You can now define up to 8 custom spoke colors, which cycle across the pinwheel arms.
Optionally, enable "Use Single Color" to override all spokes with a single color.
This gives full creative control over your color palette and design aesthetic.
Controls:
Number of Spokes – Total number of radial arms
Rotation Offset (°) – Adjusts the starting angle, useful when layering multiple instances
Spin Speed – Controls how fast the pinwheel rotates with each bar
Inner / Outer Radius – Adjusts the spoke arm lengths
Transparency – Controls how visible the lines are
Use Single Color – Toggle between a single color or a full custom palette
Color 1–8 – Set your preferred spoke colors (used when single color is off)
Setup for a Clean Chart Canvas (No Price Bars or Gridlines)
To hide all default chart visuals and show only the pinwheel design:
Right-click chart → Settings
Symbol tab: Uncheck "Show Bars"
Scales tab: Uncheck "Price Scale" and "Time Scale"
Appearance tab:
Set background to black
Uncheck grid lines, watermark, etc.
Status Line and Events: Uncheck all
Entropy Bands (TechnoBlooms)Entropy Bands — A New Era of Volatility and Trend Analysis
Entropy Bands is our next indicator as a part of the Quantum Price Theory (QPT) Series of indicators.
🧠 Overview
Entropy Bands are an advanced volatility-based indicator that reimagines traditional banded systems like Bollinger Bands.
Built on entropy theory, adaptive moving averages, and dynamic volatility measurement, Entropy Bands provide deeper insights into market randomness, trend strength, and breakout potential.
Instead of only relying on price deviation (like Bollinger Bands), Entropy Bands integrate chaos theory principles to create smarter, more responsive dynamic bands that adapt to real market behavior.
🚀Why is Entropy Bands Different — and Better
Dynamic Band Width : Adjusts using both entropy and ATR, creating smarter expansion/contraction.
Multi-Moving Average Core : Choose between SMA, EMA, or WMA for optimal centerline behavior.
Noise and Breakout Filtering : Filters fake breakouts by analyzing candle body size and entropy conditions.
Visual Clarity : Background and candle coloring highlight chaotic/noisy zones, trend zones, and breakout moments.
Entropy Bands don't just react to price — they analyze the underlying market behavior, offering superior decision-making signals.
📚 Watch Band Behavior:
Bands expand during volatility spikes or chaotic conditions.
Bands contract during low volatility or tight consolidation zones.
📚 Analyze Candle Coloring:
Green = Bullish breakout (closing above upper band).
Pink = Bearish breakout (closing below lower band).
Gray = Inside bands (neutral/random noise).
✨ Key Features of Entropy Bands:
Entropy-Based Band Width Calculation: A scientific edge over pure price deviation methods.
Dynamic Background Coloring: Highlights high entropy areas where randomness dominates.
Candle Breakout Coloring: Easy-to-spot trend breakouts and strength moves.
Multi-MA Flexibility: Adapt the bands’ core to trending, ranging, or volatile markets.
Body Size Filter: Protects against fake breakouts by requiring meaningful candle body moves.
Custom Time Session Background (Amsterdam Time, DST Safe)This indicator highlights two custom intraday time ranges with background colors on your chart. The times are set based on your local Amsterdam time and automatically adjust for Daylight Saving Time (DST).
📌 Features:
- Define two separate time ranges (Start & End) in local Amsterdam time
- Background color highlighting for each range
- Fully DST-aware using the "Europe/Amsterdam" timezone
- Works across all intraday timeframes
🎯 Use Cases:
- Highlight key market sessions (e.g., EU open, NY overlap)
- Visually segment your trading hours
- Eliminate manual DST adjustments
Developed with Pine Script v5.
Made for traders who want clarity during specific time zones, without worrying about time shifts across the year.
Price Channel MarkerThis indicator identifies a dynamic price channel based on the most relevant recent price action. It draws two horizontal lines:
* 🔴 Red Line – Marks the high of the most recent red candle (bearish) whose high is just below the current price. It selects the red candle with the high closest in price to the current close, and ensures it is from a valid historical context (ignoring recent highs above the current price).
* 🟢 Green Line – Marks the low of the most recent green candle (bullish) whose low is just above the current price, also selected based on proximity to the current price.
Together, these two lines define a potential price compression zone or "trap" area — showing where price may currently be trading between recent supply (red candle) and demand (green candle). The lines update dynamically and extend into the future to help visualize breakout or rejection levels.
Use Cases:
* Spot potential breakout zones.
* Define short-term support and resistance.
* Filter for entries in range-bound or squeeze conditions.
Customization:
* Adjustable lookback range (up to 5000 bars).
* Colors and line style are easily customizable.
Bitcoin Spot ETF Combined Volume (with MA)Bitcoin Spot ETF Combined Volume Indicator
This TradingView script tracks and combines the daily trading volumes of major Bitcoin Spot ETFs, including:
• IBIT (BlackRock)
• FBTC (Fidelity)
• ARKB (ARK Invest)
• BITB (Bitwise)
• HODL (Valkyrie)
• GBTC (Grayscale)
It plots:
• The total combined volume
• A moving average of combined volume
• Dynamic color changes (green = strong volume, red = weak volume)
• Optional alerts when volume crosses above or below the moving average
Why it matters:
Rising ETF volume often signals increased institutional interest, potential accumulation, or distribution.
Watching volume trends helps spot shifts in Bitcoin’s broader market sentiment.
⸻
Disclaimer:
This tool is for informational and educational purposes only.
It does not constitute financial advice.
Always do your own research (DYOR) and consult a professional before making investment decisions.
Use at your own risk.
MyBoxMyBox - Display Text with Customizable Position and Size
This indicator allows you to display a customizable message on your chart, with adjustable font size, position, and background color. You can input your desired message, choose the font size (small, normal, large, huge), and place it in various positions on the chart (top-left, top-center, top-right, etc.). Additionally, you can customize the background color of the box where the text is displayed.
Features:
Display a custom message on your chart (e.g., "FOMO Incoming!!").
Adjustable font size (small, normal, large, huge).
Choose from multiple position options for text placement (e.g., top-left, middle-center, bottom-right).
Customize the box background color for better visibility.
Perfect for displaying personal notes, reminders, or trading signals while analyzing the market!
ULTIMATE Price Action Oscillator with Volume-Based S/R - MehtaULTIMATE Price Action Oscillator with Volume-Based S/R (UPO-PRO-VOL)
Key Features:
Smart Oscillator: Combines price action momentum with customizable smoothing.
Volume-Confirmed S/R: Identifies high-confidence Support/Resistance levels when price crosses above-average volume.
Real-Time Tracking: Displays S/R levels with timestamps (IST) in a clean table.
Visual Alerts: Dashed lines + labels mark key levels for easy spotting.
⚠️ STRONG DISCLAIMER
❌ This indicator is for educational purposes only.
❌ Not financial advice. Trading involves risk—always conduct your own analysis.
❌ No guarantee of accuracy. Past performance ≠ future results.
❌ Adjust settings carefully. Test in a demo account first.
❌ Volume thresholds may vary by asset. Customize Volume Threshold Multiplier as needed.
📝 How to Use:
S/R Signals: Green "S" = Support (oscillator crosses up with high volume). Red "R" = Resistance (oscillator crosses down with high volume).
Table: Tracks latest S/R prices and formation time (IST).
Tweak Settings: Adjust Oscillator Length, Smoothing, and Volume Threshold for your trading style.
Tip: Combine with trend analysis for higher-probability trades!
Script Settings (Default):
Oscillator Length: 5 (Can be adjusted upto a maximum value of 200)
Smoothing: 3
S/R Lookback: 100 bars
Volume Threshold: 1.5x avg volume
OpeningRange (Trading_Tix)Purpose:
The indicator highlights the high, low, and middle (50%) price levels of a specified session's opening range. These levels can serve as key support and resistance zones for trading strategies. The indicator also offers options to extend these levels beyond the session into later timeframes, making it useful for tracking breakout or trend continuation setups.
Key Features:
1. Session Detection:
The indicator identifies a specific session period using the user-defined Session Time. It calculates the start time, high, and low prices during this period:
rangeTime: Defines the session time range (default: 5:00 PM to 2:59 AM).
extendTime: Defines the extended time range where lines/backgrounds can be prolonged.
2. Opening Range Calculation:
High (high_val) and Low (low_val)**:
Tracks the highest and lowest prices during the session.
Middle Line:
A midpoint is calculated by averaging high_val and low_val.
3. Visual Elements:
Horizontal Lines:
Drawn at the high, low, and middle levels.
Customizable in width and color.
Shaded Background Box:
Covers the range between high and low prices.
The box’s color and transparency can be adjusted.
Line and Box Extension:
Optionally extends these elements into the extended time range.
4. Customization:
Users have the flexibility to:
Toggle visibility of lines, middle line, and background box.
Adjust colors, line thickness, and style.
Enable or disable the extension of lines and backgrounds into the extended period.
How It Works:
Initialization:
The script initializes variables to store range data (startTime, high_val, low_val) and drawing objects (lines, boxes).
It detects whether the current bar falls within the session (inSession) or extended timeframe (inExtend).
Plotting:
During the session:
Deletes previous lines and boxes from prior sessions.
Draws new lines at the high, low, and middle levels.
Creates a background box covering the range, if enabled.
During the extended period:
Extends the session lines and box, if the user has opted for extensions.
Updates:
Continuously adjusts the high/low values and updates the lines as new price data arrives.
Use Cases:
This indicator can be valuable for traders who:
Use the opening range to identify potential breakout zones.
Trade based on price consolidation within the range.
Want a visual representation of key price levels to plan entries and exits.
Would you like help refining this script further or adjusting its settings to match your trading style?
Swing + 3-Bar Breakout(Mastersinnifty)Overview
This script is a hybrid trading tool combining swing-based structural analysis, momentum filtering, and breakout validation — designed to detect early reversals and confirm trend continuations within a single unified system.
It integrates five major components:
- ZigZag Structural Detection — to identify critical swing highs and lows.
- Momentum Validation — using RSI and Rate of Change (ROC) to confirm the strength behind swings.
- Three-Bar Breakout Confirmation — spotting trend continuation beyond swing structures.
- Dynamic Trailing Stop System — managing trades adaptively via ATR-based trailing stops.
- Projected Target Levels — estimating future price destinations based on measured swings.
---
What Makes This Script Unique
Rather than using standard indicators in isolation, this script layers multiple conditions sequentially and contextually:
- Structural Foundation: Identifies pivots through a tight ZigZag algorithm tuned with a low-depth setting for early detection.
- Momentum Checkpoint: Validates pivots only if RSI extremes and ROC momentum surges align, reducing false breakouts during sideways movements.
- Breakout Validation: Confirms trend continuation when price breaches critical multi-bar highs/lows post-swing formation.
- Risk-Managed Progression: Initiates adaptive ATR-based trailing stops immediately after signal generation, tightening risk dynamically as trends unfold.
- Target Projection: Estimates potential move size by projecting the magnitude of the last completed swing, offering realistic price milestones.
This combination provides a dual-purpose tool for both reversals and breakouts, allowing flexible trading styles within a single indicator.
---
How the Script Works
- Swing Detection
- A swing low is identified when a price bottom forms (via ZigZag) and momentum conditions are met (RSI < 20, ROC > +0.5).
- A swing high is identified when a price top forms and momentum conditions are met (RSI > 80, ROC < -0.5).
- Breakout Confirmation
- After a swing is detected, if price crosses above/below a three-bar swing structure, a secondary breakout signal is triggered.
- Trailing Stop Activation:
- Upon a confirmed swing or breakout, an ATR-multiplied trailing stop is initialized below/above the entry point to secure profits dynamically.
- Projection Logic
- Swing height is measured from the latest high-low sequence, and potential future targets are plotted for visual guidance.
---
Who Can Benefit From This Indicator
- Swing Traders — who seek early entries around reversal zones.
- Scalpers & Intraday Traders — needing fast-reacting momentum-based confirmation.
- Breakout Traders — to time entries after multi-bar compressions.
- Risk Managers — through integrated ATR trailing stops for dynamic exit management.
- Price Action Analysts — utilizing projected swing targets for strategic planning.
---
How to Use
- Entry Identification
- Look for buy signals at swing lows with strong positive momentum.
- Look for sell signals at swing highs with strong negative momentum.
- Use breakout confirmations to validate the trend continuation beyond swings.
- Risk Management
- Monitor trailing stop lines to track trade health.
- Watch projected targets to anticipate realistic move completions.
- Chart Visibility
- All plotted points, breakout markers, trailing stops, and projected levels are generated automatically for clarity.
---
Disclaimer
This script is intended for educational and analytical purposes only.
It does not constitute financial advice, and past performance does not guarantee future results.
All trading involves risk. Users are responsible for their own trading decisions.
Bitcoin as % Global M2 signalThis script provides signal system:
Buy signal: each time the YoY of the Global M2 rises more than 2.5% while the distance between the bitcoin price as a percentage of the Global M2 is below its yearly SMA.
Sell signal: the distance between the bitcoin price as a percentage of the Global M2 and its yearly SMA is > 0.7
This is a very simple system, but it seems to work pretty well to ride the bitcoin price cycle wave.
The parameters are hard coded but they can be easily changed to test different levels for both the buy and sell signals.
Global M2 YoY % Increase signalThe script produces a signal each time the global M2 increases more than 2.5%. This usually coincides with bitcoin prices pumps, except when it is late in the business cycle or the bitcoin price / halving cycle.
It leverages dylanleclair Global M2 YoY % change, with several modifications:
adding a 10 week lead at the YoY Change plot for better visibility, so that the bitcoin pump moreless coincides with the YoY change.
signal increases > 2.5 in Global M2 at the point at which they occur with a green triangle up.
First Presented Fair Value Gap [TakingProphets]🧠 Indicator Purpose:
The "First Presented Fair Value Gap" (FPFVG) by Taking Prophets is a precision tool designed for traders utilizing Inner Circle Trader (ICT) concepts. It automatically detects and highlights the first valid Fair Value Gap (FVG) that forms between 9:30 AM and 10:00 AM New York time — one of the most critical windows in ICT-based trading frameworks.
It also plots the Opening Range Equilibrium (the average of the previous day's 4:14 PM close and today's 9:30 AM open) — a key ICT reference point for premium/discount analysis.
🌟 What Makes This Indicator Unique:
This script is highly specialized for early session trading and offers:
Automatic Detection: Finds the first Fair Value Gap after the 9:30 AM NYSE open.
Clear Visualization: Highlights the FVG zone and labels it with optional time stamps.
Equilibrium Line: Plots the Opening Range Equilibrium for instant premium/discount context.
Time-Sensitive Logic: Limits detection to the most volatile early session (9:30 AM - 10:00 AM).
Extension Options: You can extend both the FVG box and Equilibrium line out to 3:45 PM (end of major session liquidity).
⚙️ How the Indicator Works (Detailed):
Pre-Market Setup:
Captures the previous day's 4:14 PM close.
Captures today's 9:30 AM open.
Calculates the Equilibrium (midpoint between the two).
After 9:30 AM (New York Time):
Monitors each 1-minute candle for the creation of a Fair Value Gap:
Bullish FVG: Low of the current candle is above the high two candles ago.
Bearish FVG: High of the current candle is below the low two candles ago.
The first valid gap is boxed and optionally labeled.
Post-Detection Management:
The FVG box and label extend forward in time until 3:45 PM (or the current time, based on settings).
If enabled, the Equilibrium line and label also extend to help with premium/discount analysis.
🎯 How to Use It:
Step 1: Wait for market open (9:30 AM New York time).
Step 2: Watch for the first presented FVG on the 1-minute chart.
Step 3: Use the FPFVG zone to guide entries (retracements, rejections, or breaks).
Step 4: Use the Opening Range Equilibrium to determine premium vs. discount conditions:
Price above Equilibrium = Premium market.
Price below Equilibrium = Discount market.
Best Application:
In combination with ICT Killzones, especially during the London or New York Open.
When framing intraday bias and identifying optimal trade locations based on liquidity theory.
🔎 Underlying Concepts:
Fair Value Gaps: Price imbalances where liquidity is likely inefficient and future rebalancing can occur.
Opening Range Equilibrium: Key ICT price anchor used to separate premium and discount conditions post-open.
Time-Gated Setup: Limits focus to early session price action, aligning with inner circle trader timing models.
🎨 Customization Options:
FVG color, label visibility, and label size.
Opening Range Equilibrium line visibility and label styling.
Extend lines and boxes to 3:45 PM automatically for full session tracking.
✅ Recommended for:
Traders applying Inner Circle Trader (ICT) models.
Intraday scalpers or day traders trading the New York session open.
Traders who want to frame early session bias and liquidity traps effectively.
Flow State Model [TakingProphets]🧠 Indicator Purpose:
The "Flow State Model" by Taking Prophets is a precision-built trading framework based on the Inner Circle Trader (ICT) methodology. This script implements and automates the Flow State Model, a highly effective multi-timeframe trading system created and popularized by ITS Johnny.
It is designed to help traders systematically align higher timeframe liquidity draws with lower timeframe confirmation patterns, offering a clear roadmap for catching institutional moves with high confidence.
🌟 What Makes This Indicator Unique:
This is not a simple liquidity indicator or a basic FVG plotter. The Flow State Model executes a full multi-step process:
Higher Timeframe PD Array Detection: Automatically identifies and displays Fair Value Gaps (FVGs) from Daily, Weekly, and Monthly timeframes.
Liquidity Sweep Monitoring: Tracks swing highs and lows to detect Buyside or Sellside Liquidity sweeps into the HTF PD Arrays.
CISD Detection: Waits for a Change in State of Delivery (CISD) by monitoring bullish or bearish displacement after a sweep.
Full Trade Checklist: Visual checklist ensures all critical conditions are met before signaling a completed Flow State setup.
Sensitivity Control: Adapt detection strictness (High, Medium, Low) based on market volatility.
⚙️ How the Indicator Works (Detailed):
Fair Value Gap Mapping:
The indicator constantly scans higher timeframes (4H, Daily, Weekly) for valid bullish or bearish Fair Value Gaps that are large enough (based on ATR multiples) and not weekend gaps.
These FVGs are displayed on the current timeframe with full extension logic and mitigation handling (clearing when invalidated).
Liquidity Sweep Detection:
Swing highs and lows are identified using pivot logic (3-bar pivots). When price sweeps beyond a recent liquidity point into an active FVG, it flags the potential for a Flow State setup.
Change in State of Delivery (CISD) Confirmation:
After a sweep, the script monitors price action for a sequence of bullish or bearish candles followed by displacement (break in delivery).
Only after displacement closes beyond the initiating sequence does a CISD level plot, confirming the market's new delivery state.
Execution Checklist:
An optional table tracks whether critical components are present:
Higher Timeframe PD Array.
Aligned Timeframe Bias.
Liquidity Sweep into FVG.
SMT Divergence (optional manual confirmation).
CISD Confirmation.
Dynamic Management:
Active gaps are extended automatically.
Cleared gaps and mitigated CISDs are deleted to keep charts clean.
Distance-to-FVG prioritization keeps only the nearest active setups visible.
🎯 How to Use It:
Step 1: Identify the bias by locating active higher timeframe FVGs.
Step 2: Wait for a Liquidity Sweep into a PD Array (active FVG).
Step 3: Watch for a CISD event (the Flow State confirmation).
Step 4: Once all conditions are checked off, execute trades based on retracements to CISD levels or continuation after displacement.
Best Timing:
During ICT Killzones: London Open, New York AM.
After daily or weekly liquidity events.
🔎 Underlying Concepts:
Liquidity Theory: Markets seek to engineer liquidity for real institutional entries.
Fair Value Gaps: Imbalances where price is expected to react or rebalance.
Change in State of Delivery (CISD): Confirmation that the market's delivery mechanism has shifted, validating bias continuation.
Flow State Principle: Seamlessly aligning higher timeframe liquidity draws with lower timeframe confirmation to maximize trade probability.
🎨 Customization Options:
Adjust sensitivity (High / Medium / Low) for volatile or calm conditions.
Customize FVG visibility, CISD display, labels, line colors, and sizing.
Set checklist visibility and manual tracking of SMT or aligned bias.
✅ Recommended for:
Traders studying Inner Circle Trader (ICT) models.
Intraday scalpers and swing traders seeking confluence-driven setups.
Traders looking for a structured, checklist-based execution process.