ST – EQ Bands, VWAP [Soothing Trades]Short Description
ST – EQ Bands, VWAP plots a smooth equilibrium line, inner and outer volatility bands (R1/S1, R2/S2), and VWAP on your chart. It's a fixed-settings overlay designed to show you fair value, stretch, and reaction zones at a glance, without any configuration.
Full Description
This tool combines three ideas into one clean overlay:
• A SuperSmoother equilibrium line (EQ) built from hlc3
• Two sets of ATR-scaled volatility bands (inner and outer)
• A standard VWAP line
All of them are updated in real time and extended to the left using horizontal line objects.
Core logic
• Source: hlc3 (average of high, low, close).
• The equilibrium line uses a fixed-length SuperSmoother filter (len = 200) to stay smooth but responsive.
• Volatility is measured using a smoothed version of true range (ATR) run through the same SuperSmoother engine.
• Inner and outer ranges are created by multiplying this smoothed ATR by constants, then by π (pi), and offsetting EQ up/down.
From those, the script derives:
• EQ – main equilibrium line.
• R1 / S1 – inner bands around EQ (moderate stretch).
• R2 / S2 – wider outer bands (stronger stretch).
• VWAP – TradingView's built-in volume-weighted average price.
How to read it
When price is near EQ, the market is hovering around its smoothed mean.
When price oscillates between S1 and R1, you're often in a controlled, rotational environment – good for mean-reversion or balanced trend trades.
When price pushes into R2/S2, the move is more extended:
• In slower regimes this can flag exhaustion / fade zones.
• In strong trends it can highlight powerful continuation swings where pullbacks toward inner bands are opportunities.
VWAP adds another layer:
• Price relative to VWAP vs EQ tells you if the market is leaning with or against where most volume has transacted.
• EQ + VWAP confluence can mark important "fair value" hubs or flip zones intraday.
Visual design
• EQ line (thicker) to stand out as the core reference.
• Inner bands (R1/S1) as subtle, nearby bands.
• Outer bands (R2/S2) as a dashed, more distant envelope.
• VWAP as its own line with distinct color and width.
• All lines extend left from the most recent bar so structure remains visible when you scroll back.
Inputs
This version is intentionally hard coded for simplicity and consistency:
• No user inputs in the panel; all key parameters (length, multipliers, colors, extension) are pre-tuned.
• Just add it to your chart and start reading the structure.
• (Advanced users can adjust internals directly in the code if they want to experiment, but that isn't required.)
Use cases
• Quickly see when price is compressed vs stretched.
• Frame trades around: EQ crosses and retests, Reactions at inner bands, Extreme moves into outer bands, VWAP alignment or divergence.
• Use as a higher-timeframe context tool in combination with your own entries and execution signals.
Notes & disclaimer
• Works across most symbols and timeframes supported by TradingView Pine Script v6.
• For educational and analytical use only. Not financial advice or a trading signal service.
• Always test and manage your own risk before using any indicator live.
Siklus
Advanced Elliott Wave PlotterAdvanced Elliott Wave plotter, Parameters can be adjusted.
AI Generated, so no particular credits to anyone.
Three-Year Pullback Indicator根據 VOO (Vanguard S&P 500 ETF) 和 0050 (元大台灣50) 的歷史數據,製作了一個 「回檔百分比」 指標,幫助大家在市場回調時,有更明確的底部加碼參考依據!
📌 指標特色與設計概念:
觀察過去走勢,像 VOO 和 0050 這種追蹤大盤的 ETF,自歷史高點回檔通常極少超過 30%。
分批加碼策略: 30% 以下的回檔區間,分為三個等份級距
30% 回檔 (紅色線): 第一筆加碼區
20% 回檔 (橘色線): 第二筆加碼區
10% 回檔 (綠色線): 第三筆加碼區
兩種回檔計算:
指標同時顯示兩種回檔百分比 (黑色/藍色線),讓您對價格所處位置一目瞭然:
黑色線表式從「歷史高點」 的回檔
藍色線表示從「自定義期間高點」 (預設 3 年/720 根 K 棒) 的回檔
請注意: 本指標僅供技術參考與研究交流。指標非投資建議! 投資人仍須根據自身的資金狀況、風險承受度及獨立判斷進行調整與決策。
Based on the historical data of VOO (Vanguard S&P 500 ETF) and 0050 (Yuanta Taiwan 50), I've created a practical "Drawdown Percentage" indicator. It aims to provide a clearer reference point for dollar-cost averaging (DCA) during market pullbacks!
📌 Indicator Features and Design Concept:
Historical Basis: Observing past trends, broad market tracking ETFs like VOO and 0050 have historically experienced very few drawdowns exceeding 30% from their all-time highs.Staged Accumulation Strategy: The drawdown range below 30% is divided into three equal tiers, serving as a reference for investors to deploy funds in stages:
30% Drawdown (Red Line): First Accumulation Zone
20% Drawdown (Orange Line): Second Accumulation Zone
10% Drawdown (Green Line): Third Accumulation Zone
🔍 Two Drawdown Calculations:
The indicator simultaneously displays two drawdown percentages (Black/Blue lines) for a clear view of the price's current position:
Black Line: Represents the drawdown from the "All-Time High".
Blue Line: Represents the drawdown from the "User-Defined Period High" (default is 3 years / 720 bars).
Please note: This indicator is provided for technical reference and educational purposes only. It is NOT investment advice! Investors must make adjustments and decisions based on their own financial condition, risk tolerance, and independent judgment.
KM V.1There will be an up arrow signal if the graph is up, and a down arrow signal if the graph is down.
GT3_Trades Sessions Highs & LowsThis indicator automatically identifies and displays the session highs and lows for the three major global market sessions: Asia, London, and New York. It is designed for intraday traders who rely on session-based structure, liquidity levels, and volatility windows. The script dynamically tracks and plots the highest and lowest price reached during each session and extends these levels forward on the chart for strong visual clarity.
Key Features
Session-Based Highs & Lows
Calculates and updates the high and low for each session (Asia, London, New York) in real time as price develops within the session window.
Fully Customizable Display Options
Traders can individually toggle the visibility of each session’s high and low levels.
Line colors, styles (Solid, Dashed, Dotted), and thickness are also user-configurable.
Accurate Timezone Handling
Session times are defined using user-selected timezone settings (default UTC+3), ensuring session boundaries match the trader’s desired market timing.
Automatic Daily Reset
At the start of each new trading day, the indicator clears the previous levels and begins tracking fresh highs and lows for the new day.
Dynamic Line Drawing
Each level is plotted using real Pine Script line objects, which update automatically as new highs or lows form. Once created, each line extends forward to the right—providing clear, persistent references for potential liquidity zones, breakouts, and reversions.
Efficient Tracking Logic
The script keeps track of the bar index where each high/low occurs and updates the line endpoints in real time. Historical levels are not reused, ensuring clean, uncluttered visuals.
How It Helps Traders
Identifies liquidity pools and sweep areas based on session extremes.
Highlights intraday structure shifts when price breaks or respects session highs/lows.
Provides a clear overview of volatility cycles across the global trading day.
Helps detect potential reversal or continuation setups when interacting with session boundaries.
Ideal For
Intraday and scalping strategies
ICT-based session analysis
Liquidity, sweep, and FVG traders
Forex, indices, crypto, and commodities
Bull & Bear Candle By Background ColorThe essential chart overlay for high-speed momentum confirmation.
This professional-grade Pine Script v5 indicator provides instant, unfiltered visual feedback on the market's immediate bias by coloring the chart background based on the short-term relationship between Close and Open. It’s designed to streamline decision-making and enhance trade conviction.
Why Traders Use This Tool
In dynamic markets, reading momentum rapidly is critical. This indicator removes visual clutter and cognitive lag.
Zero-Lag Momentum Filter: Instantly identifies if control belongs to buyers (Close > Open) or sellers (Close < Open). A sustained background color acts as a directional bias filter for all your setups.
Trade Confirmation & Conviction: Use the background color as a high-level confluence factor. Only execute Long trades when the background is Bullish and Short trades when it is Bearish. This drastically reduces counter-trend entries.
Risk Management Signal: The appearance of the Neutral/Doji Color flags market equilibrium and consolidation, often preceding a critical structural shift. This is your immediate signal to tighten stops or prepare for a potential reversal setup.
Dual Confirmation: The script offers a highly requested feature: Bar Coloring layered atop the background to provide a second, granular layer of visual context, making momentum shifts impossible to miss.
⚙️ Key Features & Settings Usage
All settings are optimized for clarity, using high transparency to prevent the indicator from obscuring underlying price action or other analytical tools.
🎨 Background Color Settings (Primary)
These controls allow you to define the market state you are reading:
1. Background: Bullish Color: Confirms short-term buying pressure (Close > Open). Set a distinct color for confirmed upward momentum.
2. Background: Bearish Color: Confirms short-term selling pressure (Close < Open). Set a high-contrast color for immediate recognition of downward pressure.
3. Background: Neutral/Doji Color: Signals market indecision (Close ≈ Open). Use as a caution flag, highlighting pivot points and ranging periods.
✨ Added Feature: Bar Coloring
4. FEATURE: Enable Bar Coloring: When enabled, the individual candles are colored with a lighter hue matching the background. This provides dual visual confirmation, maximizing impact on lower timeframes where momentum flips quickly.
🧭 How to Achieve Confluence
Entry Filter: Wait for the background color to flip to your desired direction, then seek your primary entry signal (e.g., breakout, pullback, or MACD cross).
Trade Hold: As long as the background color remains consistent, the short-term momentum is confirmed, justifying the continuation of your trade.
Exit Signal: A flip to the Neutral/Doji Color should be treated as a warning shot, signaling a mandatory review of your position and stops.
Disclaimer: This indicator is a powerful visual and confirmation tool and does not generate buy/sell signals on its own. It is designed to be used in conjunction with your established trading strategy and comprehensive risk management principles
52-Week High Drawdown (Events, Freq & Current)52-Week High Drawdown - Events, Freq & Current
OVERVIEW
Track and analyze drawdowns from 52-week highs with comprehensive statistics on drawdown events, frequency, and current market positioning. Perfect for risk management, historical analysis, and understanding volatility patterns.
KEY FEATURES
📊 Real-Time Drawdown Tracking
Visual area chart showing current intraday maximum drawdown from rolling high
Automatically plots depth below zero line for easy interpretation
Color-coded reference lines at -10% and -20% levels
📈 Event-Based Historical Analysis
Automatically categorizes drawdown cycles across four severity zones:
5-10% Drawdowns - Minor corrections
10-15% Drawdowns - Moderate pullbacks
15-20% Drawdowns - Significant corrections
20%+ Drawdowns - Major corrections/bear markets
⏱️ Frequency Metrics
Calculates average time between events for each category, displayed as "Every X months" to understand typical correction patterns.
🎯 Current Cycle Tracking
Real-time display of maximum drawdown depth in the current cycle, helping you gauge present market position.
📅 Smart Timeframe Adaptation
Auto-Adjust Mode: Automatically selects optimal lookback (Daily=252, Weekly=52, Monthly=12)
Manual Mode: Set custom lookback period for specialized analysis
HOW IT WORKS
The indicator identifies drawdown cycles - periods from one high to the next. When price touches a new rolling high, the previous cycle ends and is categorized by its maximum depth.
Cycle Logic:
Tracks deepest point reached since last high
When price touches/exceeds rolling high, cycle completes
Cycle categorized into appropriate drawdown zone
New cycle begins
This provides accurate event counting without double-counting fluctuations within larger drawdowns.
PRACTICAL APPLICATIONS
Risk Management
Understand typical drawdown patterns for position sizing
Set realistic stop-loss levels based on historical norms
Anticipate potential correction depths during bull markets
Market Context
Identify when current drawdowns are extreme vs. typical
Compare across different assets and timeframes
Historical perspective during volatile periods
Strategic Planning
Time entries during typical correction zones
Recognize when drawdowns exceed historical norms
Build resilience strategies based on frequency data
SETTINGS GUIDE
Auto-Adjust Lookback by Timeframe
Checked: Automatically uses appropriate period for chart timeframe
Unchecked: Uses manual lookback value
Manual Lookback Length
Default: 252 (trading days in a year)
Customize for specific analysis periods
Higher values = longer historical perspective
Table Position
Choose from Top Right, Bottom Right, Top Left, or Bottom Left based on your chart layout.
INTERPRETATION TIPS
Frequency data becomes more reliable with longer history (5+ years ideal)
"Never" frequency indicates zero events in available data range
Current Cycle Max shows 0.00% at new highs, otherwise displays deepest point
Compare frequencies across assets to understand relative volatility profiles
BEST USED FOR
Stocks, ETFs, and Indices with sufficient historical data
Long-term investing and swing trading strategies
Portfolio risk assessment and stress testing
Educational purposes - understanding market behavior
Multi-timeframe analysis (daily, weekly, monthly)
TECHNICAL NOTES
Uses ta.highest() for efficient rolling high calculation
Event detection logic prevents double-counting
Frequency calculated from actual data start time to present
All calculations update in real-time with each new bar
💡 Tip: Run this indicator on major indices like SPY or QQQ with maximum available history to build a comprehensive baseline for equity market corrections.
Created to provide institutional-grade drawdown analysis in an accessible format. Free to use and modify.
Jace's Range DetectionAttempts to identify when an instrument is trading in a range. It uses Price Movement %, ATR and ADX. The following parameters are configurable: Range Detection Period, Range Threshold(%), ATR Period, ATR Range Multiplier.
US & EU Airlines Basket Analysis This Pine Script v5 indicator is a multi-faceted analysis tool designed primarily for monitoring the collective sentiment and technical health of a basket of US and EU airline stocks. It overlays this basket analysis onto the chart of a single security, using advanced metrics like moving average (MA) crosses, Volume-RSI scoring, broader market indices, and oil price action to generate a Combined Sentiment Index and projected Strike Price targets.
1. ⚙️ Core Logic and Calculations
The script performs three main categories of analysis: A. Airline Basket Analysis (US & EU): The core of the indicator calculates the sum of prices and moving averages (9-period and 50-period Simple Moving Averages) for the European and US airline baskets separately. Basket Signal: A signal is generated based on the relative difference between the basket's total 9-period MA and its 50-period MA. Signals (Strong/Medium/Weak): Defined by user-set thresholds, if the following conditions are met simultaneously: Buy: Price increases, Volume is above average, and RSI is in the upper half. Sell: Price decreases, Volume is above average, and RSI is in the lower half. The Net Vol/RSI Score (sum of all individual scores) is displayed on the chart labels. B. Combined Sentiment Index: This index is a weighted aggregation that consolidates all major influences into a single plot line positioned relative to the visible price range. Metrics and Influence: The index includes the Basket MA Score (directional strength of MAs), Basket Vol/RSI Score (momentum-backed moves), Main Chart RSI Score (momentum of the current symbol), Index Bias (influence from DJI, S&P 500, and NASDAQ), DXY Influence (USD Index breakouts), Oil Influence (Inverted change of Brent crude oil price, reflecting fuel costs), and a Vol/RSI Bonus for extreme scores. The final index determines the position and color of the plot line, with a sensitivity factor to control movement away from the anchor. C. Oil Inflection Points: This logic compares large moves in the Brent Crude Oil price against simultaneous large moves in the Focused Airline Basket on a user-defined, higher timeframe (e.g., Daily). Inverse Inflection (Yellow Line): Signals when Oil and Airlines move in opposite directions, confirming the expected inverse relationship (e.g., Oil \uparrow & Airlines \downarrow). Direct Inflection (Blue Line): Signals when Oil and Airlines move in the same direction, suggesting the inverse relationship is currently broken.
2. 📊 Visual Outputs and Signals
Basket MA Lines: Overlaid on Price (Green for EU, Blue for US Total MAs). Basket Signals: Below/Above Bars with Labels (EUs/USs, etc.) indicating MA cross strength. Sentiment Plot: User-defined Anchor line with a superimposed line colored Lime (Bullish) or Red (Bearish) representing the Combined Sentiment Index. Strike Price Line: Overlaid on Price as a Solid White line, an estimated near-term target price projected from the sentiment strength. Indices Table: Located at the Bottom Center, displaying real-time percentage change and alerts for the major US stock indices. Oil Inflection: Overlaid on Price as Thick Yellow/Blue Lines highlighting bars where the oil/airline relationship is confirmed or broken.
3. Adjust Inputs: Open the indicator settings (the gear icon) and adjust the included regions ("Include EU/US Airlines") and the Oil Inflection Timeframe (use a higher timeframe like 'D' for Daily for more significant signals).
4. Interpretation: A Sentiment Plot line moving significantly above the Anchor (Lime) indicates strong bullish conviction; moving below (Red) indicates strong bearish conviction. The white Strike Price Line provides a potential short-term target.
Oil is included as a feature with this indicator to assess if any possible relevance exists or seems to exist as relationship with price action value of the air travel asset class conversely or inversely: which is presented by blue and yellow bars.
Directional Imbalance Index [BigBeluga]🔵 OVERVIEW
The Directional Imbalance Index is designed to track market strength by counting how often price sets new highs or lows over a defined lookback period. Every time a bar forms a new extreme, the indicator records a +1 count for either bullish (highs) or bearish (lows). These counts are aggregated into a rolling calculation, allowing traders to see which side dominates and how directional imbalance evolves.
🔵 CONCEPTS
Each new highest high → adds a bullish count (+1).
Each new lowest low → adds a bearish count (+1).
Counts are stored inside arrays over a user-defined Calculation Period .
for i = 0 to period-1
h = high
l = low
if h == upper
countUp.push(1)
if l == lower
countDn.push(1)
The balance between bullish and bearish counts highlights dominance and imbalance.
Normalized percentages help compare both sides (e.g., 65% bullish vs 35% bearish).
🔵 FEATURES
Counts new highs/lows over a chosen Highest/Lowest Length .
Aggregates values over a rolling Calculation Period .
Plots cumulative bullish vs bearish totals in the subchart.
Displays % share of bulls vs bears from total counts.
On-chart labels mark bars where a count was added.
Plots reference lines of the current upper (high) and lower (low) ranges.
Dynamic fill between bullish/bearish plots to visualize which side dominates.
🔵 HOW TO USE
Look for persistent bullish imbalance (bull % > bear %) as confirmation of upward momentum.
Look for persistent bearish imbalance (bear % > bull %) as confirmation of downward momentum.
Watch for shifts in % dominance — often early signs of trend reversal or weakening strength.
Use labels on the chart to visually confirm which bars contributed to directional bias.
Combine with trend or volume tools to confirm whether imbalance aligns with market direction.
🔵 CONCLUSION
The Directional Imbalance Index offers a systematic way to measure directional pressure. By counting how often price pushes into new territory, the indicator reveals whether bulls or bears are taking control. This makes it a valuable tool for detecting early signs of trend continuation or exhaustion, helping traders align with the side most likely to dominate.
Candle Range Theory - Higher-Timeframe ScannerThe CRT Range Scanner is a sophisticated trading tool that identifies potential Candle Range Theory (CRT) completions across multiple timeframes. Based on the Inner Circle Trader methodology, this indicator helps traders spot key market structure breaks and range expansions.
Key Features:
🔍 Higher-Timeframe Analysis: Automatically detects CRT patterns on higher timeframes while you trade on lower timeframes
🎯 Bullish & Bearish CRT Signals: Identifies both bullish (range expansion to downside) and bearish (range expansion to upside) completions
⏰ Kill Zone Filtering: Customizable trading sessions to focus only on high-probability market hours
📊 Visual Range Boxes: Clear visual representation of current and previous higher timeframe ranges
🏷️ Smart Labeling: Timeframe-specific labels for easy pattern recognition
How It Works:
Bullish CRT: Occurs when price breaks below previous low during specific session times, indicating potential bullish reversal
Bearish CRT: Occurs when price breaks above previous high during specific session times, indicating potential bearish reversal
The indicator draws colored boxes around the relevant price ranges and provides clear visual cues for pattern recognition
S&P 500 Offense vs. Defense RatioS&P 500 Offense vs. Defense Ratio
Formula: (XLK+XLY+XLC+XLF+XLI) / (XLP+XLU+XLRE+XLV+XLE)
change of offensive sectors vs defensive sectors
Mir Khans QQQThis strategy is built around how I actually trade QQQ intraday: Opening-Range continuation, VWAP trend reads, OI magnets, and a simple but strict risk framework. It’s designed to keep you on the right side of the session theme (trend vs fade), then only take trades when multiple pieces of confluence line up.
The strategy is tuned for QQQ on intraday timeframes, but the logic is generic enough to experiment with other liquid index products. It’s not financial advice—use it as a structured framework for reading OR, VWAP, and trend strength, and then layer your own execution rules and risk management on top.
Top-Down Analysis - Multi-Timeframe AlignmentThis indicator implements a Top-Down Multi-Timeframe Trading Analysis System. Here's what it does:
Core Functionality
1. Multi-Timeframe Bias Detection
Monitors three timeframes: Daily, 4-Hour, and 1-Hour
Determines if each timeframe is bullish, bearish, or neutral based on two EMAs (9 and 21 period by default)
A timeframe is bullish when: Fast EMA > Slow EMA AND price is above Fast EMA
A timeframe is bearish when: Fast EMA < Slow EMA AND price is below Fast EMA
2. Alignment Tier System
Tier 1 (Full Alignment): All three timeframes agree (Daily = 4H = 1H direction)
Tier 2 (Partial Alignment): Daily and 1H agree, but 4H differs
No Alignment: Timeframes disagree
3. Previous Day Support & Resistance Levels
Automatically plots key levels from the previous day:
Previous Day High (PDH) - resistance
Previous Day Low (PDL) - support
Previous Day Close (PDC)
Previous Day Midpoint (PDM)
4. Execution Zone (15-Minute Window)
Highlights the first 15 minutes after each new 4H candle opens
This is the optimal entry window when alignment conditions are met
5. Pattern Recognition
Detects trading setups:
Double tops/bottoms
Long wicks at support/resistance
Bullish/bearish closes aligned with bias
6. Trade Signals
Generates entry signals when:
There's Tier 1 or Tier 2 alignment
Price is in the 15-minute execution zone
A valid pattern forms (double top/bottom or wick rejection)
7. Visual Dashboard
Shows a real-time table with:
Each timeframe's current bias
Alignment status
Next 4H prediction
Whether price is at a key support/resistance level
Trading Strategy
The indicator helps traders follow the principle of "trade with the higher timeframe trend" by only taking trades when multiple timeframes agree, focusing entries during specific windows, and respecting previous day's key price levels as potential reaction zones.
Unbounded RS from RSITransforms classic RSI into an unbounded oscillator using a logit transform, reducing 0–100 saturation and making momentum shifts and divergences near overbought/oversold levels much clearer.
Macketings 1min ScalpingThis is a hyper-reactive scalping strategy designed for the 1-minute chart. It utilizes a strict four-EMA hierarchy (80/90/340/500) to ensure trades are only taken in the strongest aligned market trend. The strategy is built to be extremely tight on risk and focuses on capturing the immediate, high-momentum swing that follows a confirmed EMA retest or breakout.
Key Mechanics (How it Works):
Strict Trend Alignment: Entry is only permitted when the faster EMA band (80/90) and the price action are correctly aligned with the slow trend (340/500).
Long: EMA 80/90 must be above EMA 340/500, AND EMA 340 must be above EMA 500. (And vice-versa for Short.)
Expanded Retest Entry: The strategy waits for the price to retest or briefly enter the 80/90 band, then immediately enters upon the confirmed momentum breakout from that band.
Dynamic Risk Management (Tight Ride): The strategy is engineered to ride the wave aggressively while protecting capital immediately:
Extremely Tight Initial Stop Loss (0.2% default): Limits initial risk instantly.
Break-Even Security: Once profit hits 0.3%, the Stop Loss is automatically trailed to secure 0.2% profit (a risk-free trade).
Aggressive Exit Logic: Positions are closed not only upon hitting the Take Profit target (2.5%) but also immediately if the 80/90 EMA band crosses the 340 EMA, signaling a critical loss of momentum.
Disclaimer:
This strategy requires high-liquidity instruments and is best used on low timeframes (1-minute) due to its dependency on fast momentum shifts and tight stops. Backtesting and forward testing are crucial before deployment.
Pi Cycle BTC Top + Pre-Alert BandsPi Cycle BTC Top + Pre-Alert Bands is an advanced implementation of the classic Pi Cycle Top model, designed for Bitcoin cycle analysis on higher timeframes (especially 1D BTCUSD/BTCUSD·INDEX).
The original Pi Cycle Top uses two moving averages:
• 111-day SMA (short MA)
• 350-day SMA ×2 (long MA)
A Pi Top is signaled when the 111 SMA crosses above the 350×2 SMA. Historically, this has occurred near major BTC cycle highs.
This script extends that idea with a 3-step early-warning sequence:
• Pi Green – early compression: short/long MA ratio crosses upward into the green band (convergence from below is required).
• Pi Yellow – mid-cycle warning: only fires if a valid Green has already occurred in the same cycle.
• Pi Cycle Top – final top: the classic Pi Cycle cross, limited to one top signal per cycle. After a top, no new Yellow or Top signals can appear until a new Green event starts the next cycle.
Background shading shows the active phase (Green / Yellow / late-cycle zone), so you can see at a glance where BTC is within its Pi-based macro structure.
All logic is non-repainting: request.security() uses lookahead_off and no future data is accessed.
Typical use
This indicator is intended as a macro-cycle timing and risk-awareness tool, not a stand-alone entry system. Many traders use it to:
• Watch for Pi Green as the start of a potential late-cycle advance.
• Treat Pi Yellow as a rising-risk environment and tighten risk management.
• Use the Pi Cycle Top as a historical high-risk zone where large profit-taking or hedging may be considered.
Always combine this with your own analysis (trend, volume, on-chain, macro) before making decisions.
How to set alerts
Add the indicator to your chart (1D BTCUSD or BTCUSD·INDEX recommended).
Click Alerts → Condition → Pi Cycle BTC Top + Pre-Alert Bands.
Choose one of:
• Pi Cycle – Green Pre-Alert (early convergence)
• Pi Cycle – Yellow Pre-Alert (after Green only)
• Pi Cycle – TOP (Single per Cycle, after Green)
Use “Once per bar close” for higher-timeframe reliability.
Disclaimer
This tool is for educational and analytical purposes only. The Pi Cycle concept is based on historical behavior and does not guarantee future results. This is not financial advice; always do your own research and manage risk appropriately.
Drawdown % + STD Bands: Log-Scale Macro ToolDescription: The exact indicator big-macro accounts use: tracks real-time drawdown from the rolling 252-period peak, then plots -1σ (blue) and -2σ (orange) bands on a clean percent scale. Built for weekly charts-shows if a stock, index, or crypto is statistically cheap (hit -1σ) or generational-buy territory (-2σ). Works flawlessly on SPX, Nasdaq, Bitcoin, Gold, Tesla... anything. How to Use (read it aloud like a voice memo): 1. Slap this under any chart, set to weekly timeframe . 2. Flip the price pane to log scale -zero negotiations. 3. Watch the thick red line: • Hovering 0 %? Bullish noise, chill. • Kissing blue (-10 % to -25 %)? Start loading-happens every 1-2 years. • Touching orange (-30 %+)? Panic sale finished. Buy like rent money's burning a hole. 4. Zoom out five-ten years; monthly works too if you want lazy vibes. Daily? Trash-too twitchy. Pro tip: Name your watchlist Panic Plays, drop this in, and ping me when MELI or GOOGL hits orange. I'll confirm if it's actually stupid-cheap.
Institutional Volume Flow (IVF) with VWAP & Zones. Accumulation Zone (Green Background)Logic: Signals potential institutional buying at the low.Conditions: The current close price is below VWAP $\text{(close} < \text{VWAP)}$, AND there has been at least one Aggressive Buy (IVF) bar within the last $\text{N}$ bars.2. Manipulation Zone (Red Background)Logic: Signals a Stop Hunt or False Breakout where the market briefly takes out a previous extreme before reversing with institutional conviction.Conditions:False Break High: Current high is a new 2-bar high, immediately followed by an Aggressive Sell (IVF) bar.False Break Low: Current low is a new 2-bar low, immediately followed by an Aggressive Buy (IVF) bar.3. Compression Zone (Purple Background)Logic: Signals a period of low volatility where price is "coiling up" for a large move.Conditions: The bar's range $\text{(high} - \text{low)}$ is consistently small (less than a multiplier of the Average True Range (ATR)) for a specific number of bars.The zones are plotted using bgcolor() for a visual area on the chart and plotshape() to mark the specific bar where the condition is met. Manipulation is given the highest plotting priority to ensure it's visible over other zones if conditions overlap.Would you like me to elaborate on the typical trading strategy associated with any of these three zones (Accumulation, Manipulation, or Compression)?
Trade4Freedom## 🔷 Trade4Freedom – Market Logic Framework
**Not a group of indicators. One continuous system of reading market behaviour.**
The script is designed to follow the same decision flow I use in trading.
Every tool here supports the others — there are no standalone modules.
The market is analysed layer by layer, but always as one sequence:
---
### 🔄 **How the logic works (continuous process)**
1. **Structure first** – BOS/ChoCH levels show where the market changed behaviour.
The projected dotted line is not a signal — it is a place where I wait and observe.
I do not enter until price interacts with structure.
2. **Liquidity next** – if the structure level aligns with a liquidity bag (retest),
the zone becomes important. Active liquidity lines are potential targets or
reasons to avoid trading against the area.
3. **Context filter** – I use CCI only when structure + liquidity are already active.
Example of long bias:
−200 level is broken → candle closes above the MA → CCI rises from the channel.
From this point I begin to trail stops and start building position if structure supports it.
4. **Confirmation & positioning**
Stochastic heatmap is not for entries – it confirms pressure.
Divergences on CCI or price are additional evidence when forming or adjusting a position.
5. **Execution zones** – only after structure → liquidity → context,
I use deviation levels (1–5) to define where to place orders.
On higher timeframes they work for accumulation models,
on intraday levels they work for tactical entry zones.
Dev1/Dev2 boxes exist only to make limit-order planning faster.
---
### 📌 **Purpose of the script**
This tool does not predict price or generate signals.
It creates the same structured environment on any chart:
**Structure → Liquidity → Context → Deviation → Decision**
This helps avoid random trading and replaces guessing with logic and observation.
Intraday Market Structure Research Tool (Reversal + Breakout)This script is a fully rule-based intraday strategy designed for research and backtesting purposes, not financial advice. It is intended to help traders study market behavior, time-based price patterns, and statistical trade outcomes under realistic trading assumptions.
What the Strategy Does
This strategy operates in two selectable trade modes:
1. Reversal Mode
Identifies statistically large candles relative to recent volatility
Enters counter-direction trades when price shows exhaustion behavior
Designed to study fade-type behavior around session extremes
2. Breakout Mode
Tracks recent swing highs/lows over a user-defined lookback
Executes trades only after confirmed price expansion beyond these levels
Designed to test momentum continuation behavior
Time & Session Filtering
Trades are only taken during user-defined market sessions, including:
New York 1
New York 2
London
Asia
This allows users to analyze performance differences between global trading sessions.
9:30 AM Opening Range Logic
The script captures the 9:30 AM (Eastern) one-minute candle high/low and uses that as an Opening Range:
Breakout trades can be confirmed above or below this range
The range is visualized for clarity
Risk Management & Realism Controls
This script includes realistic execution mechanics:
Fixed stop-loss and take-profit defined by the user (points or ticks)
Built-in slippage modeling
Commission assumptions included
Position sizing designed to keep risk per trade under 5–10% of account equity when used with realistic account sizes
Users are responsible for choosing realistic account sizes and risk values when running backtests.
Statistical Performance Tracking
The strategy records and displays performance data including:
Win rate
Average win and loss
Maximum drawdown per trade series
Expectancy
Trade distribution by:
Time of day
Session
Market classification
This allows users to study market tendencies and structural behavior over large sample sizes.
Visual Tools
The script displays:
Entry and exit markers
Blocked trade labels (when conditions are not met)
Opening range box
Breakout levels
Use Case Disclaimer
This script is designed for:
Backtesting
Market structure research
Statistical study
It is not guaranteed to be profitable, and results depend heavily on user-selected settings, market conditions, and realistic brokerage assumptions.
Premarket Breakout (TP1 → BE → ATR Trail)this is the best ever you will really like i t and it does a lot its a really good scirpt please use it to make trades






















