Volumeweighted macd leader with bb squeezethis indicator is very useful for stocks or crytpto especialy 3d and weekly charts
daily shows good too but if u re a daily trader use it if not dont use it coz 4h and daily is noisy some when there is no trend
thats why weekly and 3d is good because it ll give u accurate signal and trend reversals
this is not my script just a combination of lazybear squeeze momentum, macdleader and volume weighted macd of kivanc
i merge them so it also shows bb squeeze on zero line and settings name is median
macd leader is 2 differen color above zero line and below zero line
above zero line if macd leader is green its buy signal and trend is up
if blue it meand no trend or trend reversal so sell or wait if u use 4h or daily but 3d and weekly it means sell
below zero line macd leader color is red and means that there is downtrend and do not buy
when 3d or weekly turns blue on macd leader it means trend reversal about the start
good with heiken ashi candles
DO NOT FORGET THIS IS NOT PERFECT INDICATOR FOR SHORT TERM, PREFER IT 3D AND WEEKLY FR BETTER RESULTS
Cerca negli script per "weekly"
Tactical Holding [SwissAlgo]Tactical Holding
A visual framework for managing long-term positions across market cycles
--------------------------------------------------------------
Purpose
Instead of holding a fixed position through all market conditions , you can use this framework to adjust your exposure tactically . By reducing positions during distribution phases and accumulating during favorable accumulation zones, you may end up holding more units of the asset over complete market cycles - even if you temporarily exit or reduce exposure during unfavorable periods. This approach aims to help you compound your holdings by taking advantage of market volatility rather than simply enduring it.
--------------------------------------------------------------
Recommended Settings
Timeframe : Weekly (1W) chart
Chart Type : Standard candlesticks (select 'Bar' type Candles)
This indicator is designed for higher timeframe analysis. While it can be applied to other timeframes, the logic and signal generation are optimized for weekly charts to filter out short-term noise and focus on major market cycles.
--------------------------------------------------------------
Key Features
♦ Market State Classification
The indicator aims to categorize potential market conditions into five color-coded states based on technical confluences:
* Bull (bright green): Multiple bullish indicators align
* Bull Retrace (teal): Bullish structure with temporary weakness
* Bull ⇆ Bear Reversal (yellow): Transitional phase between trends
* Bear (bright red): Multiple bearish indicators align
* Bear Retrace (Pale Red/Maroon): Bearish structure with temporary strength
♦ Visual Elements
* Candles change color based on the current market state
* A 50-period EMA tracks with the same color coding, providing visual trend context
* Small arrow markers appear when specific pattern conditions are met (zones for potential distribution or accumulation)
* A legend table (toggle on/off) explains the color system
* A label shows the current state name on the chart
♦ Pattern Recognition
The system monitors for two types of potential entry/exit zones:
1. State transition patterns after periods of market regime consistency
2. RSI divergence patterns (when price and momentum move in opposite directions)
♦ Customization
* Toggle the legend table visibility through settings
* All calculations are transparent and use standard technical analysis methods
--------------------------------------------------------------
How It Works
Think of this indicator as a traffic light system for your portfolio:
♦ Green zones suggest the asset might be in an environment where long-term holders historically have remained invested
Bright green (Bull) : Multiple technical indicators align in a potentially strong bullish phase
Pale green (Bull Retrace) : Bullish structure remains intact, but momentum shows temporary weakness - often a pullback within an uptrend
♦ Red zones suggest conditions where long-term holders might consider reducing exposure or waiting for better entry points
Dark red (Bear) : Multiple technical indicators align in a potentially strong bearish phase
Pale red (Bear Retrace) : Bearish structure remains intact but shows temporary strength - often a bounce within a downtrend
♦ Yellow zones indicate the market is in transition between bull and bear regimes - a time for increased attention as the trend direction becomes uncertain
The system doesn't predict future prices. Instead, it helps you understand the current technical environment by doing the heavy lifting of analyzing multiple indicators at once and presenting them in a simple visual format.
Example: During the 2022 crypto bear market, the indicator would have displayed extended red periods, signaling defensive conditions for holders. When accumulation arrows appeared in late 2022-early 2023, it highlighted potential re-entry zones as the technical regime transitioned back toward green, before the 2024 recovery.
--------------------------------------------------------------
Who This Is For
♦ Long-term investors who want to hold assets through cycles but prefer a systematic approach to position sizing and timing rather than buying and never selling .
♦ Portfolio managers looking for a visual tool to help determine when to increase or decrease exposure to specific assets based on technical regime changes.
♦ Swing traders on higher timeframes who want to align their positions with the broader market structure rather than fighting the trend.
This is not designed for:
* Day traders or scalpers
* Those seeking exact entry/exit prices
* Automated trading systems (this is a visual decision-support tool)
--------------------------------------------------------------
Understanding the Visuals
When you apply Tactical Holding to a chart, you'll see:
1. Colored candles - Instantly see what market regime the asset is in
2. Colored EMA line (thick line) - Provides a dynamic support/resistance reference that changes color with market conditions
3. Small arrows (↑ ↓) - Mark bars where specific technical patterns complete
4. State label - Shows current market classification
5. Legend table (top right) - Quick reference guide for the color system
6. Warning banner (top center) - Reminds you to use weekly charts
The visual design prioritizes clarity over complexity. You should be able to glance at a chart and immediately understand the current technical environment.
--------------------------------------------------------------
Important Limitations
This indicator cannot:
* Predict future price movements
* Guarantee profitable trades
* Work equally well on all assets or timeframes
* Replace your own research and risk management
Technical considerations:
* Divergence detection has a 3-bar confirmation lag (by design, to avoid false signals)
* State transitions require multiple technical confirmations, which may cause delayed reactions to rapid market changes
* The system is reactive, not predictive - it responds to price action after it occurs
* Performance varies significantly between trending assets (like Solana) and stable assets (like Apple)
--------------------------------------------------------------
Practical Application
Consider using this indicator as one component of a broader investment framework:
♦ Understanding Position Context:
The color-coded states can help frame your thinking about current holdings:
Bull: Technical conditions that have historically been associated with sustained uptrends
Bull Retrace: Pullbacks within an overall bullish structure- these periods may offer opportunities to evaluate entry points or reassess existing positions
Reversal (Yellow): Transitional phases where the trend direction is unclear - periods that may warrant closer monitoring
Bear Retrace: Temporary strength within an overall bearish structure - rallies that historically have often faded
Bear: Technical conditions that have historically been associated with sustained downtrends
♦ Interpreting Signal Arrows:
Arrow markers indicate when specific technical pattern conditions have been met. These are observation points, not instructions:
A signal appearing doesn't mean immediate action is required
Treat arrows as prompts for further analysis rather than automatic triggers
Consider the broader context: fundamentals, your investment timeline, risk tolerance, and overall market conditions
Signals show when historical technical patterns have formed - not whether those patterns will lead to the same outcomes as in the past
The framework is designed to organize information visually, not to tell you what to do. Your investment decisions should incorporate this technical perspective alongside other factors relevant to your situation.
--------------------------------------------------------------
Technical Methodology
For transparency, the indicator uses:
* RSI (14) with a 14-period SMA to assess momentum direction
* MACD (12,26,9) to confirm trend strength and histogram momentum
* Stochastic RSI with K and D line crossovers for additional confirmation
* 50-period EMA as the primary trend filter
* Linear regression-based slope analysis to detect flat/transitional periods
* Pivot-based divergence detection following standard technical analysis principles
All calculations use publicly available technical analysis formulas. Nothing is hidden or proprietary beyond the specific combination and weighting of these standard tools.
--------------------------------------------------------------
Disclaimer
This indicator is an educational and analytical tool only. It is not financial advice.
* Trading and investing involve substantial risk of loss
* Past performance of any technical system does not indicate future results
* No indicator can predict market movements with certainty
* Always conduct your own research and consult with qualified financial professionals
* Never invest more than you can afford to lose
* The creators of this indicator are not responsible for any trading losses
* This tool is not affiliated with, endorsed by, or connected to TradingView, 3Commas, or any other trading platform
* Use of this indicator is at your own risk
Risk Management: Regardless of what any indicator shows, always use proper position sizing, stop losses, and risk management appropriate to your personal financial situation.
This indicator provides a framework for analysis. Your decisions, research, and risk management determine your results.
Market Profile Dominance Analyzer# Market Profile Dominance Analyzer
## 📊 OVERVIEW
**Market Profile Dominance Analyzer** is an advanced multi-factor indicator that combines Market Profile methodology with composite dominance scoring to identify buyer and seller strength across higher timeframes. Unlike traditional volume profile indicators that only show volume distribution, or simple buyer/seller indicators that only compare candle colors, this script integrates six distinct analytical components into a unified dominance measurement system.
This indicator helps traders understand **WHO controls the market** by analyzing price position relative to Market Profile key levels (POC, Value Area) combined with volume distribution, momentum, and trend characteristics.
## 🎯 WHAT MAKES THIS ORIGINAL
### **Hybrid Analytical Approach**
This indicator uniquely combines two separate methodologies that are typically analyzed independently:
1. **Market Profile Analysis** - Calculates Point of Control (POC) and Value Area (VA) using volume distribution across price channels on higher timeframes
2. **Multi-Factor Dominance Scoring** - Weights six independent factors to produce a composite dominance index
### **Six-Factor Composite Analysis**
The dominance score integrates:
- Price position relative to POC (equilibrium assessment)
- Price position relative to Value Area boundaries (acceptance/rejection zones)
- Volume imbalance within Value Area (institutional bias detection)
- Price momentum (directional strength)
- Volume trend comparison (participation analysis)
- Normalized Value Area position (precise location within fair value zone)
### **Adaptive Higher Timeframe Integration**
The script features an intelligent auto-selection system that automatically chooses appropriate higher timeframes based on the current chart period, ensuring optimal Market Profile structure regardless of the trading timeframe being analyzed.
## 💡 HOW IT WORKS
### **Market Profile Construction**
The indicator builds a Market Profile structure on a higher timeframe by:
1. **Session Identification** - Detects new higher timeframe sessions using `request.security()` to ensure accurate period boundaries
2. **Data Accumulation** - Stores high, low, and volume data for all bars within the current higher timeframe session
3. **Channel Distribution** - Divides the session's price range into configurable channels (default: 20 rows)
4. **Volume Mapping** - Distributes each bar's volume proportionally across all price channels it touched
### **Key Level Calculation**
**Point of Control (POC)**
- Identifies the price channel with the highest accumulated volume
- Represents the price level where the most trading activity occurred
- Serves as a magnetic level where price often returns
**Value Area (VA)**
- Starts at POC and expands both upward and downward
- Includes channels until reaching the specified percentage of total volume (default: 70%)
- Expansion algorithm compares adjacent volumes and prioritizes the direction with higher activity
- Defines the "fair value" zone where most market participants agreed to trade
### **Dominance Score Formula**
```
Dominance Score = (price_vs_poc × 10) +
(price_vs_va × 5) +
(volume_imbalance × 0.5) +
(price_momentum × 100) +
(volume_trend × 5) +
(va_position × 15)
```
**Component Breakdown:**
- **price_vs_poc**: +1 if above POC, -1 if below (shows which side of equilibrium)
- **price_vs_va**: +2 if above VAH, -2 if below VAL, 0 if inside VA
- **volume_imbalance**: Percentage difference between upper and lower VA volumes
- **price_momentum**: 5-period SMA of price change (directional acceleration)
- **volume_trend**: Compares 5-period vs 20-period volume averages
- **va_position**: Normalized position within Value Area (-1 to +1)
The composite score is then smoothed using EMA with configurable sensitivity to reduce noise while maintaining responsiveness.
### **Market State Determination**
- **BUYERS Dominant**: Smooth dominance > +10 (bullish control)
- **SELLERS Dominant**: Smooth dominance < -10 (bearish control)
- **NEUTRAL**: Between -10 and +10 (balanced market)
## 📈 HOW TO USE THIS INDICATOR
### **Trend Identification**
- **Green background** indicates buyers are in control - look for long opportunities
- **Red background** indicates sellers are in control - look for short opportunities
- **Gray background** indicates neutral market - consider range-bound strategies
### **Signal Interpretation**
**Buy Signals** (green triangle) appear when:
- Dominance crosses above -10 from oversold conditions
- Previous state was not already bullish
- Suggests shift from seller to buyer control
**Sell Signals** (red triangle) appear when:
- Dominance crosses below +10 from overbought conditions
- Previous state was not already bearish
- Suggests shift from buyer to seller control
### **Value Area Context**
Monitor the information table (top-right) to understand market structure:
- **Price vs POC**: Shows if trading above/below equilibrium
- **Volume Imbalance**: Positive values favor buyers, negative favors sellers
- **Market State**: Current dominant force (BUYERS/SELLERS/NEUTRAL)
### **Multi-Timeframe Strategy**
The auto-timeframe feature analyzes higher timeframe structure:
- On 1-minute charts → analyzes 2-hour structure
- On 5-minute charts → analyzes Daily structure
- On 15-minute charts → analyzes Weekly structure
- On Daily charts → analyzes Yearly structure
This higher timeframe context helps avoid counter-trend trades against the dominant force.
### **Confluence Trading**
Strongest signals occur when multiple factors align:
1. Price above VAH + positive volume imbalance + buyers dominant = Strong bullish setup
2. Price below VAL + negative volume imbalance + sellers dominant = Strong bearish setup
3. Price at POC + neutral state = Potential breakout/breakdown pivot
## ⚙️ INPUT PARAMETERS
- **Higher Time Frame**: Select specific HTF or use 'Auto' for intelligent selection
- **Value Area %**: Percentage of volume contained in VA (default: 70%)
- **Show Buy/Sell Signals**: Toggle signal triangles visibility
- **Show Dominance Histogram**: Toggle histogram display
- **Signal Sensitivity**: EMA period for dominance smoothing (1-20, default: 5)
- **Number of Channels**: Market Profile resolution (10-50, default: 20)
- **Color Settings**: Customize buyer, seller, and neutral colors
## 🎨 VISUAL ELEMENTS
- **Histogram**: Shows smoothed dominance score (green = buyers, red = sellers)
- **Zero Line**: Neutral equilibrium reference
- **Overbought/Oversold Lines**: ±50 levels marking extreme dominance
- **Background Color**: Highlights current market state
- **Information Table**: Displays key metrics (state, dominance, POC relationship, volume imbalance, timeframe, bars in session, total volume)
- **Signal Shapes**: Triangle markers for buy/sell signals
## 🔔 ALERTS
The indicator includes three alert conditions:
1. **Buyers Dominate** - Fires on buy signal crossovers
2. **Sellers Dominate** - Fires on sell signal crossovers
3. **Dominance Shift** - Fires when dominance crosses zero line
## 📊 BEST PRACTICES
### **Timeframe Selection**
- **Scalping (1-5min)**: Focus on 2H-4H dominance shifts
- **Day Trading (15-60min)**: Monitor Daily and Weekly structure
- **Swing Trading (4H-Daily)**: Track Weekly and Monthly dominance
### **Confirmation Strategies**
1. **Trend Following**: Enter in direction of dominance above/below ±20
2. **Reversal Trading**: Fade extreme readings beyond ±50 when diverging with price
3. **Breakout Trading**: Look for dominance expansion beyond ±30 with increasing volume
### **Risk Management**
- Avoid trading during NEUTRAL states (dominance between -10 and +10)
- Use POC levels as logical stop-loss placement
- Consider VAH/VAL as profit targets for mean reversion
## ⚠️ LIMITATIONS & WARNINGS
**Data Requirements**
- Requires sufficient historical data on current chart (minimum 100 bars recommended)
- Lower timeframes may show fewer bars per HTF session initially
- More accurate results after several complete HTF sessions have formed
**Not a Standalone System**
- This indicator analyzes market structure and participant control
- Should be combined with price action, support/resistance, and risk management
- Does not guarantee profitable trades - past dominance does not predict future results
**Repainting Characteristics**
- Higher timeframe levels (POC, VAH, VAL) update as new bars form within the session
- Dominance score recalculates with each new bar
- Historical signals remain fixed, but current session data is developing
**Volume Limitations**
- Uses exchange-provided volume data which varies by instrument type
- Forex and some CFDs use tick volume (not actual transaction volume)
- Most accurate on instruments with reliable volume data (stocks, futures, crypto)
## 🔍 TECHNICAL NOTES
**Performance Optimization**
- Uses `max_bars_back=5000` for extended historical analysis
- Efficient array management prevents memory issues
- Automatic cleanup of session data on new period
**Calculation Method**
- Market Profile uses actual volume distribution, not TPO (Time Price Opportunity)
- Value Area expansion follows traditional Market Profile auction theory
- All calculations occur on the chart's current symbol and timeframe
## 📚 EDUCATIONAL VALUE
This indicator helps traders understand:
- How institutional traders use Market Profile to identify fair value
- The relationship between price, volume, and market acceptance
- Multi-factor analysis techniques for assessing market conditions
- The importance of higher timeframe structure in trade planning
## 🎓 RECOMMENDED READING
To better understand the concepts behind this indicator:
- "Mind Over Markets" by James Dalton (Market Profile foundations)
- "Markets in Profile" by James Dalton (Value Area analysis)
- Volume Profile analysis in institutional trading
## 💬 USAGE TERMS
This indicator is provided as an educational and analytical tool. It does not constitute financial advice, investment recommendations, or trading signals. Users are responsible for their own trading decisions and should conduct their own research and due diligence.
Trading involves substantial risk of loss. Past performance does not guarantee future results. Always use proper risk management and never risk more than you can afford to lose.
VWAP Trend
**Overview**
The VWAP Trend indicator is a volume-weighted price analysis tool that visualizes the relationship between price and the anchored Volume Weighted Average Price (VWAP) over different timeframes. This script is designed to reveal when the market is trending above or below its volume-weighted equilibrium point, providing a clear framework for identifying directional bias, trend strength, and potential reversals.
By combining an anchored VWAP with exponential smoothing and a secondary trend EMA, the indicator helps traders distinguish between short-term price fluctuations and genuine volume-supported directional moves.
**Core Concept**
VWAP (Volume Weighted Average Price) represents the average price of an asset weighted by traded volume. It reflects where the majority of trading activity has taken place within a chosen period, serving as a critical reference level for institutions and professional traders.
This indicator extends the traditional VWAP concept by:
1. Allowing users to **anchor VWAP to different timeframes** (Daily, Weekly, or Monthly).
2. Applying **smoothing** to create a stable reference curve less prone to noise.
3. Overlaying a **trend EMA** to identify whether current price momentum aligns with or diverges from VWAP equilibrium.
The combination of these elements produces a visual representation of price’s relationship to its fair value across time, helping to identify accumulation and distribution phases.
**Calculation Methodology**
1. **Anchored VWAP Calculation:**
The script resets cumulative volume and cumulative volume–price data at the start of each new VWAP session (based on the selected anchor timeframe). It continuously accumulates the product of price and volume, dividing this by total volume to compute the current VWAP value.
2. **Smoothing Process:**
The raw VWAP line is smoothed using an Exponential Moving Average (EMA) of user-defined length, producing a cleaner, more stable trend curve that minimizes intraperiod noise.
3. **Trend Determination:**
An additional EMA is calculated on the closing price. By comparing the position of this EMA to the smoothed VWAP, the indicator determines the prevailing market bias:
* When the trend EMA is above the smoothed VWAP, the market is considered to be in an **uptrend**.
* When the trend EMA is below the smoothed VWAP, the market is classified as a **downtrend**.
**Visual Structure**
The indicator uses color dynamics and chart overlays to make interpretation intuitive:
* **Smoothed VWAP Line:** The main trend reference, colored blue during bullish conditions and orange during bearish conditions.
* **Price Fill Region:** The area between the smoothed VWAP and price is filled with a translucent color matching the current trend, visually representing whether price is trading above or below equilibrium.
* **Trend EMA (implicit):** Although not separately plotted, it drives the color state of the VWAP, ensuring seamless visual transitions between bullish and bearish conditions.
**Inputs and Parameters**
* **VWAP Timeframe:** Choose between Daily, Weekly, or Monthly anchoring. This determines the reset frequency for cumulative volume and price data.
* **VWAP Smoothing Length:** Defines how many periods are used to smooth the VWAP line. Shorter values produce a more reactive line; longer values create smoother, steadier signals.
* **Trend EMA Length:** Sets the period for the trend detection EMA applied to price. Adjust this to calibrate how quickly the indicator reacts to directional changes.
**Interpretation and Use Cases**
* **Trend Confirmation:** When price and the trend EMA both remain above the smoothed VWAP, the market is showing strong bullish control. Conversely, consistent price action below the VWAP suggests sustained bearish sentiment.
* **Fair Value Assessment:** VWAP serves as a dynamic equilibrium level. Price repeatedly reverting to this line indicates consolidation or fair value zones, while strong directional moves away from VWAP highlight momentum phases.
* **Institutional Benchmarking:** Because large market participants often benchmark entries and exits relative to VWAP, this indicator helps align retail analysis with institutional logic.
* **Reversal Detection:** Sudden crossovers of the trend EMA relative to the VWAP can signal potential reversals or shifts in momentum strength.
**Trading Applications**
* **Trend Following:** Use VWAP’s direction and color state to determine trade bias. Long entries are favored when the VWAP turns blue, while short entries align with orange phases.
* **Mean Reversion:** In ranging conditions, traders may look for price deviations far above or below VWAP as potential reversion opportunities.
* **Multi-Timeframe Confluence:** Combine the Daily VWAP Trend with higher anchor periods (e.g., Weekly or Monthly) to confirm larger trend structure.
* **Support and Resistance Mapping:** VWAP often acts as a strong intraday or session-level support/resistance zone. The smoothed version refines this behavior into a cleaner, more reliable reference.
**Originality and Innovation**
The VWAP Trend indicator stands apart from conventional VWAP scripts through several original features:
1. **Anchor Flexibility:** Most VWAP indicators fix the anchor to a specific session (like daily). This version allows switching between Daily, Weekly, and Monthly anchors dynamically, adapting to various trading styles and time horizons.
2. **Volume-Weighted Smoothing:** The use of an EMA smoothing layer over the raw VWAP provides enhanced stability without compromising responsiveness, delivering a more analytically consistent signal.
3. **EMA-Based Trend Comparison:** By introducing a second trend EMA, the indicator creates a comparative framework that merges volume-weighted price analysis with classical momentum tracking — a rare and powerful combination.
4. **Adaptive Visual System:** The color-shifting and shaded fill between VWAP and price are integrated into a single, lightweight structure, giving traders immediate insight into market bias without the clutter of multiple overlapping indicators.
**Advantages**
* Adaptable to any market, timeframe, or trading style.
* Provides both equilibrium (VWAP) and momentum (EMA) perspectives.
* Smooths out noise while retaining the integrity of volume-based price dynamics.
* Enhances situational awareness through intuitive color-coded visualization.
* Ideal for professional, swing, and intraday traders seeking context-driven market direction.
**Summary**
The VWAP Trend indicator is a modern enhancement of the classical VWAP methodology. By merging anchored volume-weighted analysis with smoothed trend detection and visual state feedback, it provides a comprehensive perspective on market equilibrium and directional strength. It is built for traders who seek more than static price references — offering an adaptive, volume-aware framework for identifying market trends, reversals, and fair-value zones with precision and clarity.
Precision NasdaqPrecision NASDAQ Levels — Open-Source Support & Resistance Indicator
This open-source Support and Resistance Indicator helps traders plot key price levels where the market may reverse or consolidate. By plotting support and resistance zones based on historical price action, it provides clear visual cues for potential entry and exit points across various timeframes.
Features:
Customizable Settings: Adjust visual styles, label positions, and toggle level labels to suit your trading strategy.
Multi-Timeframe Support: Plot Monthly, Weekly, Daily, and Daily Range levels for broader market context.
Streamlined String Input: Input structure follows this order:
Code
Red, Red, Pink, Pink, Red, Red, Daily Range, Daily Range, Weekly, Weekly, Monthly, Monthly
Semi-Automatic NQ/QQQ Conversion: Manually input daily NQ spread or QQQ calculation to adjust NASDAQ levels. Note: Levels cannot be dragged when NQ/QQQ conversion is active. Uncheck conversion boxes to enable dragging.
How It Works
Apply the indicator to your chart.
Enter values for each support and resistance level.
Drag and adjust levels directly on the chart.
Use plotted zones to identify potential reversals, breakouts, or stop-loss placements.
Combine with other tools (e.g., trendlines or oscillators) for confirmation.
Session SFPThis script is a powerful, multi-timeframe tool designed to identify high-probability Swing Failure Patterns (SFPs) at key historical levels.
Instead of looking for traditional "pivots" (like a 3-bar swing), this indicator finds the actual high and low of a previous higher-timeframe (HTF) bar (e.g., the previous weekly high/low) and waits for a lower-timeframe (LTF) candle to sweep that level and fail.
This allows you to spot liquidity sweeps and potential reversals at significant, structural price points.
How It Works
The indicator's logic is based on a simple, two-timeframe process:
Level Detection: First, it finds the high and low of the previous bar on your chosen "Level Timeframe" (e.g., W for Weekly, D for Daily). It plots these as small 'x' markers on your chart.
SFP Identification: Second, it watches price action on a lower "SFP Timeframe" (e.g., 240 for 4H). A potential SFP is identified when a candle's wick sweeps above a key high or below a key low.
Confirmation: The SFP is only confirmed after the SFP candle closes back below the high (for a bearish SFP) or above the low (for a bullish SFP). It then waits for a set number of "Confirmation Bars" to pass. If price does not close back over the level during this window, the signal is locked in, and a label is printed.
How to Use (Key Settings)
Level Timeframe (Most Important): This is the timeframe for the levels you want to trade. Set this to W to find SFPs of the previous weekly high/low. Set it to D to find SFPs of the previous daily high/low.
SFP Timeframe: This is the timeframe you want to use to find the SFP candle itself. This should be lower than your Level Timeframe (e.g., 240 or 60).
Level Lookback: This controls how many old levels the script will track. A value of 10 on a W Level Timeframe will track the highs and lows of the last 10 weeks.
Confirmation Bars: This is your "patience" filter. It's the number of SFP Timeframe bars that must close without reclaiming the level after the SFP. A value of 0 will confirm the SFP immediately on the candle's close.
Enable Wick % Filter: A quality filter. If checked, this ensures the SFP candle's rejection wick is a significant percentage of the candle's total range.
Chart Visuals
'x' Markers: These are the historical highs and lows from your "Level Timeframe". You can turn these on or off in the settings.
SFP Label: When an SFP is fully confirmed, a label (Bearish SFP or Bullish SFP) will appear, detailing the level that was swept and the timeframes used.
SFP Line: A solid horizontal line is drawn from the 'x' marker to the SFP candle to highlight the sweep.
Colored Boxes (Optional): If you are viewing a chart timeframe lower than your "SFP Timeframe", you can enable background boxes to highlight the exact SFP candle and its confirmation bars.
True Opens & Key Levels# True Opens & Key Levels - Standalone Indicator Guide
## Overview
This is a clean, focused indicator that displays only key level rays and true open levels. All impulsive series detection, FVG detection, and Fibonacci projections have been removed for a minimal, uncluttered chart experience.
---
## Features Included
### 📊 Previous Period Levels
- **Previous Day High/Low** - Daily reference points
- **Previous Week High/Low** - Weekly reference points
- **Previous Month High/Low** - Monthly reference points
### 🕐 Session High/Low Levels
- **NY AM Session** (9:30-12:00 ET) - Morning session range
- **NY Lunch Session** (12:00-13:30 ET) - Lunch hour range
- **NY PM Session** (13:30-16:00 ET) - Afternoon session range
- **London Session** (2:00-5:00 ET) - London trading hours
- **Asia Session** (20:00-00:00 ET) - Asian market hours
### 🎯 True Open Levels (NEW)
- **True Day Open** - Updates daily at 00:00 ET
- **True Session Open** - Updates every 6 hours (1:30, 7:30, 13:30, 19:30 ET)
- **True Week Open** - Updates every Monday at 18:00 ET
---
## Settings
### Key Level Rays Group
**Master Toggle:**
- Enable Key Level Rays (master on/off switch)
**Previous Period Levels:**
- Show Previous Day H/L
- Show Previous Week H/L
- Show Previous Month H/L
**Session Levels:**
- Show NY AM H/L (9:30-12:00 ET)
- Show NY Lunch H/L (12:00-13:30 ET)
- Show NY PM H/L (13:30-16:00 ET)
- Show London H/L (2:00-5:00 ET)
- Show Asia H/L (20:00-00:00 ET)
**True Open Levels:**
- Show True Day Open (00:00)
- Show True Session Open (6h intervals)
- Show True Week Open (Mon 18:00)
**Visual Settings:**
- High Level Color (default: red with 50% transparency)
- Low Level Color (default: green with 50% transparency)
- Open Level Color (default: blue with 50% transparency)
- Ray Line Width (1-5 pixels)
- Ray Label Size (tiny/small/normal/large)
---
## How It Works
### Level Behavior
**Session High/Low Levels:**
1. During session: Tracks the highest high and lowest low
2. After session ends: Draws horizontal rays extending right
3. When price hits level: Ray stops extending (hit marker)
4. Label updates position to stay at chart's right edge
**Previous Period Levels:**
1. At period change: Draws rays from previous period's H/L
2. Extends right until price hits the level
3. When hit: Ray stops extending
4. Label positions at midpoint of ray
**True Open Levels:**
1. At trigger time: Draws ray from opening price
2. Extends right until next trigger
3. Previous level is deleted when new one appears
4. Label stays at right edge of chart
---
## Color Scheme
### Three Color Categories:
1. **Red** - All HIGH levels (session highs, previous highs)
2. **Green** - All LOW levels (session lows, previous lows)
3. **Blue** - All OPEN levels (True Day/Session/Week Opens)
This makes it instantly clear what type of level you're looking at.
---
## Best Practices
### For Intraday Trading (1m-1H):
```
Enable:
✓ True Day Open
✓ True Session Open
✓ NY AM/PM H/L
✓ Previous Day H/L
Disable:
✗ Previous Week/Month H/L
✗ London/Asia sessions (unless trading them)
✗ True Week Open
```
### For Swing Trading (1H-4H):
```
Enable:
✓ True Week Open
✓ True Day Open
✓ Previous Week H/L
✓ Previous Day H/L
Disable:
✗ All session H/L
✗ True Session Open
✗ Previous Month H/L
```
### For Clean Charts:
```
Enable:
✓ True Day Open
✓ True Week Open
✓ Previous Day H/L only
Disable:
✗ Everything else
Result: Just 4 levels on chart - super clean!
```
---
## Level Update Schedule
| Level | Update Frequency | Time(s) |
|---------------------|------------------|-----------------------------|
| True Day Open | Daily | 00:00 ET |
| True Session Open | Every 6 hours | 1:30, 7:30, 13:30, 19:30 ET |
| True Week Open | Weekly | Monday 18:00 ET |
| Previous Day H/L | Daily | At day change |
| Previous Week H/L | Weekly | At week change |
| Previous Month H/L | Monthly | At month change |
| NY AM H/L | Daily | After 12:00 ET |
| NY Lunch H/L | Daily | After 13:30 ET |
| NY PM H/L | Daily | After 16:00 ET |
| London H/L | Daily | After 5:00 ET |
| Asia H/L | Daily | After 00:00 ET |
---
## File Size & Performance
- **File Size:** ~22 KB (less than half the size of full indicator)
- **Total Lines:** ~700 lines
- **Max Lines/Labels:** 500 (configurable in declaration)
- **Performance:** Lightweight, minimal CPU usage
- **Memory:** Efficient variable management
---
## Installation
1. Open TradingView
2. Open Pine Editor (Alt+E or bottom toolbar)
3. Click "Create new indicator"
4. Delete default code
5. Copy and paste contents of `TRUE_OPENS_KEY_LEVELS.pine`
6. Click "Save" and name it "True Opens & Key Levels"
7. Click "Add to Chart"
---
## Usage Tips
### 1. Start Minimal
Begin with just 2-3 levels enabled:
- True Day Open
- Previous Day High
- Previous Day Low
Add more as needed.
### 2. Color Customization
Adjust transparency for cleaner look:
- High Level: Red 60-70% transparency
- Low Level: Green 60-70% transparency
- Open Level: Blue 60-70% transparency
### 3. Multi-Timeframe Approach
Lower timeframes (1m-15m): Use True Session Open + NY session H/L
Mid timeframes (15m-1H): Use True Day Open + Previous Day H/L
Higher timeframes (1H-4H): Use True Week Open + Previous Week H/L
### 4. Line Width
For cleaner charts, use Line Width = 1
For emphasis, use Line Width = 2-3
### 5. Label Size
Smaller screens: Use "small" or "tiny"
Larger screens: Use "normal"
Presentations: Use "large"
---
## Advantages of Standalone Version
✅ **Cleaner Charts** - No detection lines or arrows
✅ **Faster Loading** - Less code to process
✅ **Easier Setup** - Fewer settings to configure
✅ **Pure Levels** - Focus only on key price levels
✅ **Less Distraction** - No moving parts during trading
✅ **Perfect for Combining** - Use with other indicators without clutter
---
## Combining with Other Indicators
This lightweight indicator works great alongside:
- RSI / Stochastic (oscillators)
- Moving Averages (trend)
- Volume Profile (structure)
- VWAP (intraday reference)
- Your own custom indicators
The minimal chart footprint leaves room for additional tools.
---
## Time Zones
All times are in **Eastern Time (ET)**. TradingView automatically converts to your local timezone, so you don't need to manually adjust anything.
**Example Conversions:**
- 00:00 ET = 05:00 UTC
- 18:00 ET = 23:00 UTC
- 13:30 ET = 18:30 UTC
---
## Support & Updates
This is a standalone version of the True Opens & Key Levels from the full GOTE Indicator. It contains only the level detection code with all series detection removed.
**Version:** 1.0
**Pine Script Version:** 6
**Last Updated:** November 8, 2025
---
## Quick Reference Card
```
╔══════════════════════════════════════════════════════════╗
║ TRUE OPENS & KEY LEVELS - QUICK REFERENCE ║
╠══════════════════════════════════════════════════════════╣
║ ║
║ 📊 PREVIOUS PERIODS ║
║ • Previous Day/Week/Month High/Low ║
║ • Updates at period change ║
║ ║
║ 🕐 SESSION LEVELS ║
║ • NY AM/Lunch/PM, London, Asia H/L ║
║ • Updates after each session ║
║ ║
║ 🎯 TRUE OPENS ║
║ • True Day: Daily 00:00 ET ║
║ • True Session: 1:30/7:30/13:30/19:30 ET ║
║ • True Week: Monday 18:00 ET ║
║ ║
║ 🎨 COLORS ║
║ • Red = Highs • Green = Lows • Blue = Opens ║
║ ║
╚══════════════════════════════════════════════════════════╝
```
---
**Ready to trade with clean, focused key levels!** 🎯
Transactional Rate of Change (TROC)TRANSACTIONAL RATE OF CHANGE (TROC) INDICATOR
Transaction Rate of Change (TROC) is an advanced momentum indicator that analyzes the rate of change in cumulative inferred buy/sell volume data to identify shifts in buying and selling acceleration and deceleration of transaction flow, providing early signals of potential trend changes, exhaustion/absorption, and momentum shifts. It builds further upon the official Volume Delta indicator released by TradingView.
If a stock price is a rocket climbing , then volume delta is the total fuel burned, and TROC is the fuel burn rate . A rocket can keep rising even after engines start throttling down (decelerating TROC), but it won't go much higher without more thrust. When TROC shows extreme positive readings, the engines are at maximum burn—expect explosive price movement. When TROC drops to zero while price is still high, the fuel is depleted and gravity (selling pressure) takes over. Are buyers pushing on the gas, or are they backing off? Are more buyers coming to the table, or are they losing interest or taking profits? Are excited retail buying highs while smart money close their positions using the excited retail liquidity?
KEY FEATURES
• Volume Delta Analysis - Approximates up and down volume from lower timeframe data to calculate true buying vs. selling pressure.
• Rate of Change Calculation - Measures the momentum of cumulative delta over a customizable period. Essentially, it displays the rate of change between buying and selling. How fast is it going, is it slowing, how excited are they?
• Momentum State Detection - Automatically identifies four distinct market states: accelerating up, decelerating up, accelerating down, and decelerating down
• Extreme Threshold Zones - Bands based on standard deviation to highlight unusually high or low transaction rates, helping to spot potential extreme values, blow offs, and capitulation.
• Z-Score Normalization - Optional standardization for comparing momentum across different timeframes and instruments.
• Momentum Strength Index (MSI) - Filters out weak signals by highlighting only bars with momentum exceeding a threshold.
• Flexible Reset Modes - Reset cumulative delta daily, weekly, monthly, or per session to prevent data drift, or leave it default for continual cumulative data.
APPLICATION
Trend Confirmation
When price makes a new high but TROC is decelerating (lighter colors), it suggests weakening buying pressure and potential exhaustion. Conversely, strong acceleration (darker colors) confirms robust trend continuation. Either buyers are supporting the move, or they aren't. Same goes for selling. It can also assist spotting short covering.
Divergence Trading
Use it similar to MACD divergence strategies. Is price movement confirmed by expansion in TROC, or is the TROC showing weakness while price is continuing it's trend?
Momentum Breakouts
When TROC crosses above the upper threshold zone with strong momentum (MSI activated), it signals institutional-level buying that often precedes significant price moves. Use this for breakout entries.
Mean Reversion
Extreme readings beyond the threshold zones often precede short-term reversals as transaction rates normalize. Consider taking profits or counter-trend positions when TROC reaches statistical extremes. Utilizing the extreme threshold bands can help you identify tops and bottoms.
Absorption Detection
Spot areas where buying or selling is being done, but price is hitting a wall or floor and not moving. This can indicate a hidden seller or a buyer reloading at price levels/zones.
SETTINGS
Timeframe for Volume Delta Calculation
Select the lower timeframe used to calculate buying and selling volume. Default: 1S (1 second)
• 1S or 5S - Maximum precision for scalping and intraday trading on liquid markets
• 1m or 5m - Balanced precision for swing trading and less liquid instruments
• Higher timeframes - Provide more historical data but reduce accuracy
Note: Higher frequency data yields more accurate delta calculations but may not be available for all symbols or historical periods. If you are using higher timeframes (Daily, Weekly) you will need to change this setting to a higher timeframe.
Rate of Change Period
Determines how many bars back to measure the momentum change. Default: 14
• Short periods (7-10) - More responsive, ideal for scalping and quick momentum shifts
• Medium periods (14-20) - Balanced sensitivity for day trading
• Long periods (25-50) - Smoother readings for swing trading and trend analysis
Shorter periods generate more signals but increase false positives; longer periods reduce noise but may lag significant changes.
Extreme Threshold Zones
Bands that highlight unusual transaction rate extremes based on standard deviation.
• Show Zones - Enable/disable the upper and lower threshold lines (Default: Enabled)
• Multiplier - Standard deviation multiplier for zone placement (Default: 2.0)
Values of 1.5-2.0 catch moderate extremes
Values of 2.5-3.0 identify only the most extreme readings
• Lookback Period - Number of bars used to calculate mean and standard deviation (Default: 100)
Shorter lookback (50-75) adapts faster to changing market conditions
Longer lookback (150-200) provides more stable, consistent zones
Smooth Cumulative Delta
Applies Adaptive Moving Average to reduce noise in the cumulative volume delta before calculating rate of change. Default: Enabled
• Smoothing Length - period (Default: 5)
Lower values (3-5) preserve responsiveness
Higher values (7-10) significantly reduce noise on choppy markets
Smoothing is particularly useful on volatile instruments or when using very short ROC periods.
Momentum Strength Index (MSI)
Filters the histogram to highlight only bars exceeding a specified momentum threshold, eliminating weak signals.
• Show MSI - Enable/disable momentum strength filtering (Default: Disabled)
• MSI Threshold - Minimum momentum strength multiplier (Default: 2.0)
Values of 1.5-2.0 show above-average momentum
Values of 2.5-3.5 isolate only exceptional momentum bars
When enabled, bars meeting the threshold display in the "Strong Up/Down" colors, while normal bars use standard momentum colors.
Display Settings
• Histogram Bar Width - Visual thickness of the columns (Default: 1, Range: 1-10)
• Use Z-Score Normalization - Standardizes TROC values for cross-asset comparison (Default: Disabled)
Enable when comparing multiple instruments or timeframes simultaneously
Z-Score converts values to standard deviations from the mean
• Z-Score Threshold - When using Z-Score Normalization mode, sets the extreme zone levels (Default: 2.0)
Represents standard deviations from mean (2.0 = ~95% confidence interval)
Cumulative Transaction Reset
Determines when the cumulative volume delta resets to zero, preventing infinite accumulation. Default: None
• None - Cumulative delta never resets (continues from symbol history start)
• Daily - Resets at the start of each new trading day
• Weekly - Resets at the start of each week
• Monthly - Resets at the start of each month
• On session change - Resets when market opens (useful for 24-hour markets)
Reset modes prevent cumulative drift that can distort ROC calculations over extended periods.
Color Customization Fully customizable color scheme.
-------------------------------------------------------------------
Note: This indicator requires volume data from your data vendor. It uses inferred buy/sell volume. To learn more, read the TradingView Volume Delta documentation. Optimal performance is achieved on liquid instruments with high-frequency data.
MCL RSI Conflux v2.5 — Multi-Timeframe Momentum & Z-Score Full Description
Overview
The MCL RSI Conflux v2.5 is a multi-timeframe momentum model that integrates daily, weekly, and monthly RSI values into a unified composite. It extends the classical RSI framework with adaptive overbought/oversold thresholds and statistical normalization (Z-score confluence).
This combination allows traders to visualize cross-timeframe alignment, identify synchronized momentum shifts, and detect exhaustion zones with higher statistical confidence.
Methodology
The script extracts RSI data from three major time horizons:
Daily RSI (short-term momentum)
Weekly RSI (intermediate trend)
Monthly RSI (macro bias)
Each RSI is optionally smoothed, weighted, and aggregated into a Composite RSI.
A Z-score transformation then measures how far each RSI deviates from its historical mean, revealing when momentum strength is statistically extreme or aligned across timeframes.
Key Features
Multi-Timeframe RSI Engine – Computes RSI across D/W/M intervals with individual weighting controls.
Adaptive Overbought/Oversold Bands – Automatically adjusts OB/OS thresholds based on rolling volatility (standard deviation of daily RSI).
Composite RSI Score – Weighted consensus RSI that represents total market momentum.
Z-Score Confluence Analysis – Identifies when all three timeframes are statistically synchronized.
Z-Composite Histogram – Displays aggregated Z-score strength around the midline (50).
Divergence Detection – Flags confirmed pivot-based bull and bear divergences on the daily RSI.
Dynamic Gradient Background – Shifts from red to green based on composite momentum regime.
Customizable Control Panel – Displays RSI values, Z-scores, state, and adaptive bands for each timeframe.
Integrated Alerts – For crossovers, risk-on/off thresholds, alignment, and Z-confluence events.
Interpretation
All RSI values above 50: multi-timeframe bullish alignment.
All RSI values below 50: multi-timeframe bearish alignment.
Composite RSI > 60: risk-on environment; momentum expansion.
Composite RSI < 45: risk-off environment; momentum contraction.
Adaptive OB/OS hits: potential exhaustion or mean reversion setup.
Green Z-ribbon: all Z-scores positive and aligned (statistical confirmation).
Red Z-ribbon: all Z-scores negative and aligned (broad market weakness).
Divergences: short-term warning signals against the prevailing momentum bias.
Practical Application
Use the Composite RSI as a global momentum gauge for position bias.
Trade only in the direction of higher-timeframe alignment (avoid countertrend RSI).
Combine Z-ribbon confirmation with Composite RSI crosses to filter noise.
Use divergence labels and adaptive thresholds for risk reduction or exit timing.
Ideal for swing traders and macro momentum models seeking trend synchronization filters.
Recommended Settings
Market Mode k-Band Lookback Use Case
Stocks / ETFs Adaptive 0.85 200 Medium-term rotation filter
Crypto Adaptive 1.00 150 Volatility-responsive swing filter
Commodities Fixed 70/30 100 Mean reversion model
Alerts Included
Daily RSI crossed above/below Weekly RSI
Composite RSI > Risk-On threshold
Composite RSI < Risk-Off threshold
All RSI aligned above/below 50
Z-Score Conformity (All positive or all negative)
Overbought/Oversold triggers
Author’s Note
This indicator was designed for research and systematic confluence analysis within Mongoose Capital Labs.
It is not financial advice and should be used in combination with independent risk assessment, volume confirmation, and higher-timeframe context.
True Opens (TDO/TWO/NYAM etc.)+ First FVG - Milana TradesThis indicator combines multiple "True Open" levels with the visualization of the first Fair Value Gap (FVG) following key market opens.
Key Features:
True Opens (TDO, TWO, TAO, TLO, NYAM, TNY):
TDO (True Day Open): Displays the start of the trading day (00:00 NY time) with customizable line style, color, and label.
TWO (True Weekly Open): Marks the start of the week (Monday 18:00 NY time) with visual lines and optional labels.
TAO (True Asian Open): Highlights the opening of the Asian session (19:30 NY time), allowing traders to track early Asian session activity.
TLO (True London Open): Marks London session open (01:30 NY time), providing insight into the first European market activity.
NYAM (New York AM Open): Marks 09:30 NY time, often a key liquidity spike period.
TNY (True New York Open): Highlights the full New York session open (07:30 NY time), useful for pre-market and early NY session trading.
All lines are fully customizable in color, style, width, and label visibility. Lines can also be extended to the right for better visual tracking.
First FVG After Open:
Automatically detects the first Fair Value Gap (FVG) following each session open.
Supports both bullish and bearish FVGs, displayed with distinct colors and transparency.
Mitigation detection highlights gaps that have already been touched or partially filled, using a softer color for clarity.
Why the first FVG matters:
The first gap after an open often indicates the initial imbalance of the session.
These gaps can act as high-probability zones for retracement or continuation trades, providing early-session trade opportunities.
Daily & Weekly Initial Range Boxes:
Visualize daily (00:00–01:00 NY) and weekly (Monday 18:00–19:00 NY) initial ranges.
Boxes update dynamically with price movement during the session.
Optional range info in pips to quantify volatility and potential targets.
Customizable Appearance:
Choose colors for bullish, bearish, and mitigated FVGs.
Adjust line styles (solid, dashed, dotted), widths, labels, and extensions for all opens.
Transparency settings for IB boxes allow clear chart readability without clutter.
Historical Options:
Enable prior day/week visualization to analyze session behavior and recurring patterns.
Why Traders Use This Indicator:
Early session clarity: Knowing the true session opens and first FVGs helps traders spot high-liquidity zones and potential reversals.
Structure-based trading: Combines session open levels with FVGs, aligning with professional market structure strategies.
Advanced ICT ADR Projections [bilal]📊 Overview
Professional ADR indicator designed specifically for index futures traders. Calculate and visualize Average Daily Range with multiple session options, fractional levels, and higher timeframe context.
✨ Key Features
🎯 Multiple Session Types
Full Day: Standard calendar day calculation
Midnight: Anchored to 00:00 NY time open
RTH (Regular Trading Hours): 09:30-16:00 NY session
Custom: Define your own session hours and anchor point
📐 Projection Levels
100% ADR Levels: Upper and lower range targets from anchor
Fractional Levels: 33% and 66% zones for partial targets
Custom Mirrored Levels: Set any percentage (0-200%) with automatic mirroring
Example: 25% shows both 25% and 75%
Example: 111% shows both 111% and -11%
📅 Higher Timeframe Context (Optional)
AWR: Average Weekly Range overlay
AMR: Average Monthly Range overlay
AYR: Average Yearly Range overlay
All HTF ranges use same anchor as daily session
📊 Information Table
Current session type and anchor time
ADR value for selected period
Current range and percentage used
Distance remaining to ADR targets (up/down)
Color-coded range percentage (green/orange/red)
🎨 Fully Customizable
Line colors, styles (solid/dashed/dotted), and widths
Toggle labels on/off
Adjustable ADR lookback period (1-100 days)
All HTF periods customizable
⚡ Smart Features
Lines start at actual session open (not fixed lookback)
Works on any timeframe
Real-time range tracking
Alert conditions when ADR reached or exceeded
🎯 Use Cases
For Day Traders:
Set profit targets at ADR extremes
Identify range expansion vs rotation days
Know when you've used 75%+ of daily range (possible reversal)
Compare RTH vs full day ranges
For Swing Traders:
Use AWR/AMR for weekly/monthly targets
Understand if today's move is significant in weekly context
Multi-timeframe confluence
Risk Management:
Size positions based on % of ADR remaining
Avoid trading when ADR exhausted (>100%)
Better stop placement using fractional levels
💡 Trading Tips
<50% ADR used = Room to run (continuation trades)
50-75% ADR used = Getting extended (scale out)
75-100% ADR used = Near extremes (reversal setups)
>100% ADR = Expansion day (trend day or volatility spike)
Use fractional levels (33%, 66%) as:
Partial profit targets
Re-entry zones on pullbacks
Confluence with other support/resistance
Compare RTH vs Full Day ADR to see if overnight or day session drives volatility.
⚙️ Settings Guide
ADR Period: 5 days is standard, adjust for different market regimes
Session Types:
Use Midnight for crypto or 24hr markets
Use RTH for pure day session analysis
Use Custom for specific session times (London, Asia, etc.)
Custom Levels:
Set 25% for quartile levels
Set 111% for extended targets beyond ADR
Experiment with 50%, 75%, 80% for your strategy
Perfect for ES, NQ, YM, RTY futures traders who need precise intraday range analysis with higher timeframe context!
ZenAlgo - BoxerThis indicator plots multi-period Volume-Weighted Average Price (VWAP) ranges and deviation bands across several timeframes — specifically weekly, monthly, quarterly, semi-annual, and yearly. It is designed to visualize how price evolves relative to statistically weighted value areas within each period, based on both traded price and volume distribution.
Each timeframe layer is drawn independently, using its own cumulative VWAP and standard deviation calculation, and displayed as horizontal ranges aligned precisely with calendar periods. This structure allows the chart to show where price currently trades relative to past value zones and how each higher-timeframe VWAP acts as a dynamic reference for mean reversion or continuation.
Calculation Logic
1. Source and Base Inputs
The indicator uses the average of high, low, and close as its price source.
Stocks reset daily at session open.
2. VWAP and Deviation Computation
For each active timeframe, it accumulates the product of price and volume and divides it by cumulative volume, forming a continuously updated VWAP within that period.
The dispersion of price around VWAP is measured through a volume-weighted variance, converted to standard deviation.
These values form symmetrical bands around the VWAP (±1σ, ±2σ, etc.), describing the statistically typical price spread.
3. Range Drawing and Persistence
When a new period begins (e.g., a new week or month), the script finalizes the previous VWAP and deviation values, fixes them to time coordinates representing the full duration of that completed period, and draws corresponding lines or boxes across the entire range.
The user can control how many historical periods remain visible, ensuring performance and clarity even on high-frequency charts.
Each band can be toggled independently (for example ±1, ±2, ±3 deviations), and colors are adjustable per timeframe.
4. Adaptive Time Anchors
The start of each timeframe is aligned with calendar boundaries.
For stocks, the start time aligns with 9:30 New York time to coincide with market open for NYSE.
Each new anchor triggers a reset of cumulative data and creation of a new VWAP range.
5. Visualization Structure
The weekly layer is drawn first and can optionally display live VWAP bands extending backward for a user-defined number of weeks.
Monthly, quarterly, semi-annual, and yearly layers use the same computation principle but with independent accumulation windows.
The central VWAP line is dashed, while outer deviation levels are drawn as dotted or solid lines depending on their multiplier.
Boxes are rendered for key deviation intervals (e.g., ±2σ) to highlight broader value zones.
Interpretation
The VWAP represents the mean price weighted by traded volume for the given period.
Deviation bands describe statistically typical distance from that mean; outer bands mark less frequent extremes.
When price remains within ±1σ or ±2σ, it suggests balance around fair value.
Repeated touches or breaks beyond outer deviations indicate expansion or compression of volatility relative to prior periods.
Overlaps of VWAPs from multiple timeframes reveal multi-period confluence zones, useful for observing where long-term and short-term value agree or diverge.
Recommended Timeframes by Range Type
Weekly Range
Recommended timeframe: 30m to 12h
Suggested options: 30m, 1h, 2h, 3h, 4h, 6h, 8h, 12h
Using lower timeframes (like 5m) is technically possible, but higher ones provide smoother visualization and better readability.
Monthly Range
Recommended timeframe: 1h to 1D
Suggested options: 1h, 2h, 3h, 4h, 6h, 8h, 12h, 1D
Lower timeframes such as 30m may not display the full monthly range due to TradingView’s bar limits, so use higher TFs for complete coverage.
Quarterly Range
Recommended timeframe: 4h to 1W
Suggested options: 4h, 6h, 8h, 12h, 1D, 1W
Quarterly ranges benefit from higher timeframes to ensure that enough historical data is visible without exceeding chart limits.
Semi-Annual Range
Recommended timeframe: 12h to 1M
Suggested options: 12h, 1D, 1W, 1M
Lower timeframes would require too many bars to load a full six-month range; higher TFs offer a clearer overview.
Yearly Range
Recommended timeframe: 1D to 1M or higher
Suggested options: 1D, 1W, 1M
Yearly ranges often cannot display correctly on low timeframes (e.g. 1h) because of TradingView’s maximum bar limits — for instance, five years of 1h data exceeds 40,000 bars. Use higher TFs for accurate rendering.
Added Value Compared to Common Free VWAP Indicators
Incorporates five independent timeframes simultaneously (week, month, quarter, half-year, year) with exact calendar anchoring and timezone handling.
Calculates volume-weighted deviation for each layer, maintaining consistent statistical scale across assets.
Provides historical box persistence , allowing comparison of completed VWAP structures instead of only current running lines.
Enables selective visibility, bandwidth control, and precise visual differentiation through adjustable colors and line weights.
Limitations and Notes
The indicator does not generate trading signals. It is purely analytical and descriptive.
On very low timeframes or illiquid assets, deviation values may fluctuate if volume data is inconsistent.
Historical boxes are approximate in length for months with fewer than 31 days; this simplification has negligible effect on interpretation.
High visual density may occur when enabling many deviations or timeframes at once; users should limit visible history for performance.
Best Usage Practices
Apply on intraday charts (5–240 min) to study how price interacts with weekly or higher-timeframe VWAP zones.
Observe convergence of VWAPs from multiple periods to locate significant equilibrium levels.
Use outer deviations to frame potential exhaustion or re-entry zones rather than directional predictions.
Combine with independent volume- or structure-based analysis for context.
High and low statisticsHigh/Low Pattern Analyzer (All Timeframes)
Ever wonder if there's a hidden pattern in the market?
Does the high of the week usually happen on a Tuesday?
Does the low of the month always form in the first week?
Which 15-minute candle really sets the high for the entire day?
This indicator is a powerful statistical tool designed to answer these questions by analyzing historical price action to find patterns in when the high and low of a period are formed.
The Core Idea: Daily High & Low of the Week
The simplest and most popular feature of this indicator is the "Daily high and low of the week" analysis.
What it does:
It looks back over your chosen number of weeks (e.g., the last 100) and finds out which day of the week (Monday, Tuesday, Wednesday, etc.) made the final high and which day made the final low for each of those weeks.
How to use it:
Go to the script settings.
Enable the "Daily High/Low of the Week" module.
Set your chart to the 1D (Daily) timeframe.
A table will appear on your chart (bottom-right by default) showing the exact count and percentage for each day. This lets you see at a glance if there's a strong tendency for the market you're watching.
Advanced Analysis: Other Timeframes
This script goes far beyond just the daily chart. It includes four other independent analysis modules:
1. 4-Hour High/Low of the Week
What it does: For intraday and swing traders. This module finds which 4-hour candle session (e.g., the 08:00 candle, the 16:00 candle) tends to form the high or low of the entire week.
Key Feature (DST Aware): This table is "season-aware." It knows that the 08:00 "summertime" (DST) candle is the same trading session as the 07:00 "wintertime" (STD) candle. It groups them together so your data is never split or messy.
2. Weekly High/Low of the Month
What it does: For a monthly perspective. This module finds which week of the month (Week 1, 2, 3, 4, or 5) is most likely to form the monthly high or low.
How to use: Enable it and set your chart to the 1W (Weekly) timeframe.
3. Monthly High/Low of the Year
What it does: The ultimate "big picture" view. This module finds which month (Jan, Feb, Mar, etc.) most frequently forms the high or low for the entire year.
How to use: Enable it and set your chart to the 1M (Monthly) timeframe.
The Power User Module: Custom Timeframe Analysis
This is the most powerful feature. It lets you analyze any timeframe combination you want.
What it does: It finds out which "Lower Timeframe" (LTF) candle made the high or low of any "Higher Timeframe" (HTF) you choose.
Example: Do you want to know which 15-minute candle makes the Daily high?
Set your chart to the 15M timeframe.
Go to the "Custom Timeframe Analysis" settings.
Set the "Higher Timeframe" to "1D".
The script will draw a "season-aware" table (just like the 4H module) showing you the exact 15-minute candles (09:15, 09:30, etc.) that are statistically most likely to form the day's high or low.
Other Features
Show Labels: Each module has an option to "Show labels," which will draw a label (e.g., "Daily High of the Week") directly on the chart at the exact bar that made the high or low.
Custom Dividers: Each module has its own optional, color-customizable divider (e.g., weekly, monthly) that you can toggle on to see the periods more clearly.
Clean Settings: All modules are disabled by default (except for "Daily") to keep your chart clean. You only need to enable the specific analysis you want to see.
This tool was built to turn your curiosity about market patterns into actionable, statistical data. Enjoy!
Enhanced Trend & EMA Screener### Overview
Enhanced Trend & EMA Screener is a multi-symbol overlay indicator that aggregates trend, momentum, structure, strength, and volatility signals across up to 8 user-defined tickers (e.g., SPY, QQQ, AAPL, MSFT) on a chosen timeframe, using a fused methodology of exponential moving average (EMA) crossovers for entry triggers, Ichimoku cloud positioning for equilibrium assessment, Average Directional Index (ADX) for trend persistence, Average True Range (ATR) percentile regimes for volatility context, and a linear regression slope as a lightweight momentum proxy for directional bias. By normalizing and scoring these into a unified sentiment matrix (Bullish/Bearish/Neutral per metric), it enables rapid confluence detection—e.g., a ticker scoring Bullish on 5/6 metrics signals high-probability alignment—via a color-coded dashboard and debug table. Crossover labels and alerts provide actionable notifications, streamlining portfolio surveillance without juggling multiple charts or indicators.
### Core Mechanics
The screener fetches secure, non-repainting data for each ticker via `request.security` (lookahead off) and processes signals in parallel on the last bar for efficiency. Each component contributes to a holistic sentiment score, where EMA crossovers act as kinetic triggers, Ichimoku provides structural bias, ADX validates strength, ATR contextualizes risk, and linear regression offers a predictive slope—integrated to avoid isolated signals and emphasize multi-factor agreement:
- **EMA Crossovers (Momentum Triggers)**: Tracks price interactions with layered EMAs (10, 21, 50, 89 periods) using `ta.crossover`/`ta.crossunder`. A close above EMA10 flags short-term bullish acceleration; below EMA89 signals long-term bearish reversal. These serve as the "spark" for alerts/labels (e.g., "AAPL ↑ EMA21"), prioritized in the dashboard's Crossover column to highlight recent events.
- **Ichimoku Cloud Positioning (Equilibrium Structure)**: Computes Tenkan-sen (9-period HL/2), Kijun-sen (26-period), Senkou Span A (midpoint projected 26 bars ahead), and Span B (52-period high/low midpoint). Scores cloud interaction quantitatively: Close above both spans = Bullish (8/10, price in "future equilibrium" zone); below = Bearish (2/10); within = Neutral (5/10). This overlays EMA kinetics with forward-looking support/resistance, filtering crossovers in choppy ranges (e.g., neutral score mutes weak EMA10 breaks).
- **ADX Directionality (Trend Strength Filter)**: Via `ta.dmi(14)`, compares +DI/-DI lines: +DI > -DI = Bullish (uptrend dominance); -DI > +DI = Bearish; parity = Neutral. ADX value (14-period) adds implicit strength (though not scored here, it contextualizes via sentiment). Integrates by downweighting EMA triggers in low-strength neutrals, ensuring signals reflect sustained direction rather than noise.
- **ATR Volatility Regimes (Risk Context)**: Calculates ATR(14) normalized as % of close, then percentile-ranked over 20 bars with directional trend (rising/falling/stable). High percentile (>75%) + rising = Bullish (8/10, expansion favors trends); low (<25%) + falling = Bearish (2/10, contraction warns reversals); mid + stable = Neutral (5/10). This modulates other signals—e.g., bullish EMA in rising ATR boosts confluence, preventing entries in contracting vols where trends fizzle.
- **Linear Regression Slope (Momentum Proxy)**: Uses `ta.linreg(close, 21, 0)` to fit a least-squares line, deriving slope as % change (current - prior linreg / close * 100). >0% threshold = Bullish (upward trajectory); <-threshold = Bearish; near-zero = Neutral. This proxies directional momentum by extrapolating price inertia, synergizing with Ichimoku/ADX for "predicted persistence"—e.g., positive slope confirms ADX bullishness.
- **Multi-Timeframe (MTF) Overlay**: Pulls weekly linear regression sentiment for higher-TF bias, displayed separately to contextualize daily signals (e.g., daily Bullish + weekly Bearish = caution).
Aggregation: Per-ticker row in the 7-column dashboard (Symbol, EMA Trend, MTF, Ichimoku, ADX, ATR, Crossover) uses color-coding (green/red/gray) for at-a-glance scans; a debug table exposes raw values (prices, EMAs, slopes) for transparency. On-chart: Plots EMAs and linreg line; labels (e.g., "TSLA ↓ EMA50") mark crossovers with ticker tags.
### Why This Adds Value & Originality
Single-metric screeners (e.g., pure EMA cross) generate excessive noise; multi-indicator dashboards often aggregate without integration, leading to conflicting reads. This mashup is purposeful: EMAs provide tactical triggers, but are filtered by Ichimoku's structural equilibrium (avoiding breaks in "cloud fog"), ADX's strength validation (ignoring weak trends), ATR's vol regime (scaling for market phases), and linreg's slope (forecasting sustainability)—creating a "confluence engine" where isolated signals (e.g., EMA10 cross) require 3+ agreements for dashboard prominence. The MTF weekly linreg adds hierarchical depth, and percentile-normalized ATR ensures cross-asset comparability (e.g., NVDA vol vs. SPY). Unlike generic mashups (e.g., Bollinger + RSI stacks), this uses linreg to "predict" EMA/ADX outcomes, reducing false positives by ~40% in backtests on QQQ Daily (verifiable via strategy conversion). No public equivalent fuses these five with MTF + debug transparency in a compact 8-ticker format, enabling efficient portfolio rotation (e.g., buy tickers with 4+ Bullish scores).
### How to Use
- **Setup**: Overlay on any chart (e.g., SPY Daily). Edit tickers (e.g., swap GOOGL for NVDA); select timeframe (D default for swings); adjust periods (shorter EMAs for intraday). Set linreg threshold (0% sensitive, 0.5% conservative). Enable labels/debug for visuals/raws.
- **Interpret Dashboard**:
- **Rows**: One per ticker; scan columns for alignment (e.g., AAPL: Green across EMA/Ichimoku/ADX + ↑ EMA21 = strong buy bias).
- **Crossover**: Recent events (e.g., "↑ 50" green = bullish momentum shift).
- **Confluence Rule**: 4+ Bullish = long setup; MTF mismatch = hold.
- **Debug Table**: Verify (e.g., EMA10=150.25 > price=149.80 = no cross).
- **Trading Example**: On QQQ 1H, dashboard shows Bullish EMA (slope +0.3%), Ichimoku (above cloud), ADX (up), ATR (rising), MTF Neutral, with "↑ 10" crossover → Enter long, stop below EMA21, target next resistance. Alerts notify "MSFT crossed above EMA50 on D".
Best for daily portfolio scans (stocks/indices); 1H–W timeframes. Pair with volume for entries.
### Tips
- Customize: High-vol tickers (TSLA)? Raise ATR percentile to 80; low-vol (bonds)? Lower linreg threshold to -0.2%.
- Efficiency: Limit to 4–6 tickers on mobile; use debug for slope tuning.
- Alerts: Freq once/bar_close; customize messages for specifics (e.g., "Bullish confluence on {{ticker}}").
### Limitations & Disclaimer
Fetches lag by timeframe resolution (e.g., D = EOD); crossovers confirm on close (no intra-bar). Sentiments are filters, not standalone signals—false positives in ranges (e.g., neutral Ichimoku mutes but doesn't eliminate). Linreg slope is linear approximation, not advanced modeling (overfits trends). No position sizing/exits—integrate ATR*1.5 stops, risk <1%. Backtest per ticker/timeframe. Not advice; educational tool only. Past patterns ≠ future. Comments for enhancements!
Previous Week Levels 2ENGLISH DESCRIPTION
Previous Week Levels 2 - Multi-Level Weekly Analysis Indicator
📊 Overview
This indicator displays previous week's OHLC (Open, High, Low, Close) levels along with additional important calculations:
Mid Point: (High + Low) / 2
Open-Close Average: (Open + Close) / 2
🎯 Key Features
Customizable Styles: Choose colors, line widths, and styles (Solid, Dashed, Dotted) for each level
Flexible Week Start: Set week start day (Monday to Sunday)
Extended Lines: Horizontal lines extend to the right for easy reference
Clear Labels: Price labels positioned to the right of the chart
Real-time Updates: Automatically updates when new week begins
⚙️ Input Parameters
Level Customization:
High, Low, Open, Close colors and styles
Mid Point line customization
Open-Close Average line customization
Week Settings:
Week Start Day (0=Sunday, 1=Monday, ..., 6=Saturday)
💡 Trading Applications
Support/Resistance: Identify key weekly levels
Breakout Trading: Monitor breaks above/below previous week's range
Trend Analysis: Use midpoint and averages for trend direction
Position Trading: Weekly levels for longer-term trades
📈 How to Use
Add indicator to chart
Customize colors and styles in settings
Observe previous week's levels as potential S/R
Watch for price reactions at these levels
🔧 Technical Details
Works on all timeframes
Automatically detects week changes
Efficient line management
Optimized for performance
COT Index v.2COT Index v.2 Indicator
( fix for extreme values)
📊 Overview
The COT (Commitment of Traders) Index Indicator transforms raw COT data into normalized indices ranging from 0-100, with extensions to 120 and -20 for extreme market conditions. This powerful tool helps traders analyze institutional positioning and market sentiment by tracking the net long positions of three key market participant groups.
🎯 What It Does
This indicator converts weekly CFTC Commitment of Traders data into easy-to-read oscillator format, showing:
Commercial Index (Blue Line) - Smart money/hedgers positioning
NonCommercial Index (Orange Line) - Large speculators/funds positioning
Nonreportable Index (Red Line) - Small traders positioning
📈 Key Features
Smart Scaling Algorithm
0-100 Range: Normal market conditions based on recent price action
120 Level: Extreme bullish positioning (above historical maximum)
-20 Level: Extreme bearish positioning (below historical minimum)
Dual Time Frame Analysis
Short Period (26 weeks default): For current market scaling
Historical Period (156 weeks default): For extreme condition detection
Flexible Data Sources
Futures Only reports
Futures and Options combined reports
Automatic symbol detection with manual overrides for HG and LBR
🔧 Customizable Settings
Data Configuration
Adjustable lookback periods for both current and historical analysis
Report type selection (Futures vs Futures & Options)
Display Options
Toggle individual trader categories on/off
Customizable reference lines (overbought/oversold levels)
Optional 0/100 boundary lines
Adjustable line widths and colors
Reference Levels
Upper Bound: 120 (extreme bullish)
Overbought: 80 (default)
Midline: 50 (neutral)
Oversold: 20 (default)
Lower Bound: -20 (extreme bearish)
💡 Trading Applications
Contrarian Signals
High Commercial Index + Low NonCommercial Index = Potential bullish reversal
Low Commercial Index + High NonCommercial Index = Potential bearish reversal
Market Sentiment Analysis
Track institutional vs retail positioning divergences
Identify extreme market conditions requiring attention
Monitor smart money accumulation/distribution patterns
Confirmation Tool
Use alongside technical analysis for trade confirmation
Validate breakouts with positioning data
Assess market structure changes
📊 Visual Elements
Status Table: Displays current settings and symbol information
Color-Coded Lines: Easy identification of each trader category
Reference Levels: Clear overbought/oversold boundaries
Extreme Indicators: Visual cues for unusual market conditions
⚠️ Important Notes
COT data is released weekly on Fridays (Tuesday data)
Best suited for weekly and daily timeframes
Requires symbols with available CFTC data
Works automatically for most futures contracts
🎯 Best Practices
Use in conjunction with price action analysis
Look for divergences between price and positioning
Pay special attention to extreme readings (120/-20 levels)
Consider all three indices together for complete market picture
Allow for data lag (3-day delay from CFTC)
This indicator is ideal for swing traders, position traders, and anyone interested in understanding the positioning dynamics of professional vs retail market participants.
AR-Session-Orb-HTF H&L V5This indicator is built for intraday model execution around liquidity grabs, session timing, and higher-timeframe draw-on-liquidity. It maps out sessions, killzones, opening ranges (including the US 09:30 cash open), a daily NY “TD Open” line (00:00 → NY close), and key highs/lows from higher timeframes directly onto any lower timeframe chart (down to 1 minute).
________________________________________
1. Sessions (Asia / London / New York)
• Highlights the 3 main sessions with colored boxes:
• Asia
• London
• New York
• Default session times are set in New York local time:
• Asia: 18:00–02:00
• London: 03:00–12:00
• New York: 08:00–17:00
• You can change these times in the settings.
• Each box automatically expands as the session progresses.
Why it matters: these windows show you where liquidity usually builds, where the day “hands off” from Asia → London → NY, and when expansion/displacement typically happens.
________________________________________
2. ICT Killzones
The script includes 4 configurable killzones (NY local by default):
• Asia late session: 20:00–00:00
• London killzone: 02:00–05:00
• New York AM: 07:00–10:00
• New York Midday: 10:00–12:00
For each killzone you can:
• toggle on/off
• adjust the time window
• pick colors
This makes it easy to see when price is trading inside a high-probability delivery period, so you can line it up with liquidity above/below the session or OR.
________________________________________
3. Opening Range Levels
The indicator captures the high and low of the first X minutes (default 15) of each important window and projects those levels as horizontal lines.
It does this for:
• Asia Open Range
• London Open Range
• New York Open Range (08:00)
• NY 09:30 Cash-Open Range ✅
• (in the original idea: NY mid / second NY window)
Behavior:
• Asia OR → after the first X minutes of Asia, the high/low are projected across the rest of the trading day.
• London OR → taken from the London start, but extended only while London is active.
• NY OR (08:00) → taken from the start of the NY session and extended only during NY.
• NY 09:30 OR → this one is special. At exactly 09:30 (cash open) the script starts a second, independent OR for that day, using your chosen length (e.g. 15 minutes). When the window finishes, it freezes the 09:30 high and low and projects them horizontally all the way to the NY session end. You can style it separately (color, labels). This gives you a clean “cash-open dealing range” to watch for sweeps, fake-outs and continuations.
You can:
• choose the range length (1–60 minutes for 09:30, 1–30 for the others)
• show/hide each OR
• color each OR
• show labels such as “Asia OR High”, “Lon OR Low”, “NY 09:30 High”, etc.
• control line padding so labels don’t print on top of the candle
These ORs often become obvious liquidity pools, fail-break zones, or continuation triggers.
________________________________________
4. NY TD Open Line (Daily 00:00) ✅
On every trading day the script also plots a “TD” structure for New York:
• at 00:00 NY time it draws a vertical dashed line to mark the day’s start
• it records that day’s open price
• it then projects a horizontal line from 00:00 → all the way to NY session close (default 17:00)
• the horizontal line is labeled e.g. “NY TD Open”
How to use it:
• see instantly where current price is vs the daily open
• combine with 09:30 OR to know if cash open is opening above/below the day’s open
• good for intraday bias (above = bullish day structure, below = bearish day structure)
• nice anchor when you go down to 1m/3m
You can toggle the TD feature on/off and change its colors.
________________________________________
5. Previous Week High / Low
• Plots last week’s high and low on any timeframe
• Drawn as dashed lines with padding (so they don’t run to infinity)
• Each level is labeled (default “PW High” / “PW Low”)
These are classic weekly liquidity magnets and very useful when London/NY is expanding into an old weekly extreme.
________________________________________
6. Monthly High / Low
The script plots both:
• Previous month high/low
• Current month high/low (live)
Defaults:
• previous month → dashed + purple
• current month → solid + blue
You can change:
• line colors
• label text & colors
• how far the line should extend (bars span)
This gives you higher-TF liquidity targets on your intraday chart without switching to M or W.
________________________________________
7. 4H High / Low (Intra-session Liquidity Map)
On timeframes up to 4H, the script also plots:
• previous 4H high/low
• current 4H high/low
Important design choice: they only live inside their own 4H window.
• the previous 4H range is shown only over the previous 4H time span
• the current 4H range is shown only over the current 4H candle
That means you don’t get messy, stretched 4H lines across the whole day — only where they actually apply. This is super useful for London/NY raids on 4H highs/lows.
________________________________________
8. Customization / Inputs
Almost everything is editable:
• session windows + colors
• killzone windows + colors
• opening-range length
• ON/OFF per OR (Asia, London, NY 08:00, NY 09:30)
• label text, size, bg color, text color
• HTF line length (weekly / monthly)
• TD 00:00 ON/OFF + colors
• line end padding so labels don’t sit on the right edge
The idea is to give you structure, not signals.
________________________________________
How to Use
1. Start from the monthly / weekly / previous week levels to see where price “wants” to go.
2. Drop into the active session box / killzone to know when to pay attention.
3. Trade around opening-range highs/lows — especially the NY 09:30 OR — and look for liquidity sweeps.
4. Check where price is relative to the NY TD Open (00:00) to confirm intraday bias.
5. Refine entries using the 4H highs/lows that fall inside that session.
Result: you get a top-down liquidity map + intraday timing tool, all on one chart.
________________________________________
Notes
• All times are interpreted in the chart/session timezone — keep your chart on NY session if you want the defaults to match the description.
• TradingView has drawing limits; on very low timeframes far back in history, old drawings may recycle.
• Because 09:30 and TD are drawn every day, it’s normal to see more labels the further right you scroll.
________________________________________
Disclaimer
This script is for educational and charting purposes only.
It does not generate trade signals, manage risk, or guarantee profitability.
Trading involves risk — always do your own analysis.
Special Thanks to Sabo & Hive Community
AutoPivot Levels with Alerts [ChartWhizzperer] – Dynamic EditionAuto-Pivot Levels 4 methods with alerts – Dynamic Edition
Now with
- Live Mode
- 4 Pivot Methods
- 7 Session Types (5m, 15m, 30m, Hourly, Daily, Weekly, Monthly)
- PineConnector-Ready Alerts!
Free, Open Source, Pine Script v6-compliant.
NEW: Live Mode (Ultra-Dynamic, Repainting) – Switchable in UI!
Instantly switch between Classic (session-based, repaint-free) and Live (rolling window, real-time, repainting) using the simple checkbox in the settings!
Live Mode recalculates all pivots on every tick/bar, using the current high/low/close for the chosen session (5m, 15m, 30m, hourly, daily, weekly, monthly).
Perfect for:
- Scalping and high-frequency trading
- Real-time bot/automation setups (PineConnector-ready)
- Fast-moving or breakout markets
Classic Mode: For traditional, stable levels based on confirmed session data – ideal for backtesting and trading history.
Four Calculation Methods (Choose What Fits YOU)
1. Classic
Standard pivot calculation.
Based on previous session’s High, Low, Close.
Simple, proven, and suitable for any asset.
2. Fibonacci
Projects levels using Fibonacci ratios of the prior session’s range.
Great for traders who want to align pivots with fib retracements and extensions.
3. Camarilla
Uses unique multipliers for support/resistance, focusing on mean reversion and volatility.
Popular among futures and forex day traders.
4. Woodie
Puts extra weight on previous Close for more responsive pivots.
Often used in trending or choppy conditions.
Switch methods anytime in the UI – the script recalculates instantly and keeps your chart clean!
Level-Specific Alerts – PineConnector Ready!
Dedicated alert for EVERY level and direction (Up/Down):
Pivot (P), R1, R2, R3, S1, S2, S3
No configuration hassle:
All alerts are pre-defined in the TradingView Alert Panel and work across all session types (5m → monthly).
Machine-readable message format:
PIVOT=R1 DIR=UP SYMBOL={{ticker}} PRICE={{close}}
Direct plug-and-play with PineConnector, webhooks, Discord, Telegram, bots, and other automation tools.
Never miss a breakout, reversal, or key support/resistance touch!
Powerful Customization & Performance
- Session selection: 5m, 15m, 30m, Hourly, Daily, Weekly, Monthly (choose what suits your trading style).
- Show/hide any level (Pivot, R1–R3, S1–S3) for minimal chart clutter.
- Color selection for each level to match your theme or highlight key pivots.
- Auto-cleanup: Old lines and labels are cleared on every recalculation or session change for maximum performance and visual clarity.
- Zero runtime errors: Strict Pine Script v6 practices for stability.
How To Use – Quick Start
1) Add the indicator to your TradingView chart.
2) Pick your calculation method (Classic, Fibonacci, Camarilla, Woodie).
3) Set session type (5m, 15m, 30m, Hourly, Daily, Weekly, Monthly).
4) Switch between Classic and Live Mode with a single click in settings.
5) Customize your levels (on/off, colors).
6) Open the Alert Panel, select any pre-configured alert (e.g. "R2 Cross Down"), and go live!
7) Connect with PineConnector or any webhook system instantly using the pre-formatted alert messages.
Who Is It For?
- Active scalpers & bot traders: Live Mode + PineConnector-ready alerts = instant, automated reactions.
- Swing and position traders: Use Classic Mode for stable, repaint-free levels.
- Strategy developers: Seamless integration into automated and manual trading workflows.
License & Community
Open Source, Non-Commercial:
Free for personal & educational use under CC BY-NC-SA 4.0.
Feedback, bug reports & ideas:
Drop a comment, or contact me for feature requests.
Trade smart. Trade dynamic. Unlock the true power of pivots – with ChartWhizzperer!
fmfm1 ⚙️ Description:
The Smart Dynamic Targets & Multi-Timeframe Levels System is an advanced all-in-one technical indicator designed for price action traders and smart money enthusiasts.
It combines target projection, breakout detection, fair value gaps (FVG), RSI flow analysis, and multi-timeframe (HTF) key levels in a single visual framework.
The indicator dynamically identifies support and resistance breaks, then automatically calculates up to three bullish and bearish target levels (T1, T2, T3). It also marks Fair Value Gaps and shows a compact RSI flow table for intraday confirmation.
🧩 Main Components:
Buy & Sell Signals:
Triggered when price breaks major support or resistance levels.
Labels appear as:
🟩 “BUY / شراء” when resistance is broken.
🟥 “SELL / بيع” when support is broken.
Dynamic Target Zones (T1, T2, T3):
Calculated automatically using percentage-based distance from support or resistance.
Up Targets (⬆ T1, T2, T3) show possible bullish price extensions.
Down Targets (⬇ T1, T2, T3) represent bearish objectives after breakdowns.
Fair Value Gaps (FVG):
Detects both bullish and bearish imbalance zones.
Plots transparent boxes on chart (supply/demand voids) with border coloring.
Mini RSI-Flow Table:
Displays RSI value (momentum) and Flow Direction (🟢 bullish / 🔴 bearish / ⚪ neutral).
Very small 2×2 table, customizable position (top-right, bottom-left, etc.).
Color background reflects RSI zones:
Green: RSI > 56 (bullish momentum)
Red: RSI < 44 (bearish pressure)
Gray: neutral zone
Multi-Timeframe Key Levels (HTF Levels):
Draws previous session’s Highs, Lows, Open, and Midlines from higher timeframes:
Daily, Weekly, Monthly, Quarterly, Yearly
Each timeframe can be toggled independently with its own:
Color
Line style (solid/dashed/dotted)
Width
Midline = average of High & Low.
Open line and Average line are optional for cleaner charts.
📈 How It Works:
The script continuously monitors support/resistance breakouts.
When a breakout occurs:
It generates a Buy/Sell signal.
It projects three target levels (T1–T3) based on predefined percentage distances.
Optionally, it identifies Fair Value Gaps to confirm imbalance zones.
At the same time, the RSI-Flow table helps confirm momentum direction.
The HTF Levels help locate price within the broader structure (e.g., near monthly highs).
💡 How to Use:
Wait for a Buy (⬆) or Sell (⬇) label on chart.
Confirm momentum with RSI-Flow Table:
🟢 = bullish flow (prefer Buy)
🔴 = bearish flow (prefer Sell)
Check FVG zones for confluence (imbalances often get filled).
Use T1–T3 levels as dynamic profit-taking targets.
Refer to HTF lines (daily/weekly/monthly) as strong support/resistance for potential reversals.
⚡ Performance & Features:
Combines price structure, momentum, and liquidity levels.
Automatically adapts to market movement and session change.
Clean visual layout despite heavy functionality.
Compatible with all timeframes and all markets (Forex, Crypto, Stocks, Indices).
Highly optimized to reduce label/line overload.
⚠️ Notes & Recommendations:
Use in conjunction with volume or confirmation indicators for best accuracy.
FVG and RSI-Flow are contextual tools, not standalone signals.
For scalping, use lower TFs (5m–15m); for swing trades, use 4H–Daily charts.
Avoid overlapping multiple instances of the same script to prevent label clutter.
هل ترغب أن أضيف أيضًا قسم جاهز للوصف (Description) بصيغة يمكن نسخها مباشرة إلى حقل وصف المؤشر في TradingView (مختصر ومهني بالإنجليزية)؟
مثل النص الذي يظهر في صفحة نشر المؤشر العامة؟
أنت قلت:
اريده في ترين فيو
قال ChatGPT:
ممتاز 👌
إليك الآن الوصف الاحترافي الجاهز بصيغة خاصة لصفحة TradingView (يمكنك نسخه مباشرة إلى خانة "Description" عند نشر المؤشر هناك).
النص مصاغ باحتراف ليتناسب مع معايير TradingView ويُظهر المؤشر كمنتج قوي وفريد.
📄 TradingView Description (copy this):
Smart Dynamic Targets & Multi-Timeframe Levels System
The Smart Dynamic Targets & Multi-Timeframe Levels System is an advanced all-in-one trading indicator that combines price action, targets, momentum, and institutional zones into a single clean framework.
It automatically identifies Buy/Sell breakouts, calculates 3 dynamic profit targets (T1–T3), detects Fair Value Gaps (FVG), and overlays multi-timeframe key levels (Daily, Weekly, Monthly, etc.) — all while showing a compact RSI Flow table for momentum confirmation.
🧩 Key Features:
🔹 Smart Buy/Sell signals based on support & resistance structure.
🔹 Dynamic Targets (T1–T3) for both bullish and bearish scenarios.
🔹 Fair Value Gap (FVG) zones to identify institutional imbalances.
🔹 Mini RSI Flow Table showing current momentum direction.
🔹 Multi-Timeframe Levels: Daily, Weekly, Monthly, Quarterly, and Yearly highs/lows.
🔹 Clean visual layout and fully customizable display options.
⚙️ How to Use:
Wait for a BUY or SELL signal to appear.
Confirm direction using the RSI Flow color (🟢 bullish / 🔴 bearish).
Use FVG zones for confluence and entry refinement.
Take profits at T1–T3 or around key higher-timeframe levels.
Combine with volume or trend confirmation indicators for best results.
⚡ Recommended Timeframes:
Scalping: 5m – 15m
Swing Trading: 1H – 4H – Daily
⚠️ Notes:
This indicator is designed for advanced traders who follow structure, liquidity, and smart money concepts.
It does not repaint, but users should always confirm signals with broader context and proper risk manageme
Fixed High Timeframe Moving AveragesFixed High Timeframe Moving Averages (W/D/4H)
Summary
This indicator plots essential, high-timeframe (HTF) Moving Averages onto your chart, **no matter which timeframe you are currently viewing**.
It is designed for traders who need multi-timeframe context at a glance. Stop switching charts to see where the 200-Week or 50-Day MA is—now you can see all critical HTF levels directly on your 5-minute (or any other) chart.
---
Who it’s for
Traders who rely on moving averages but like to work on lower chart timeframes while keeping higher timeframe context in sight. If you scalp on 1–15m yet want Weekly/Daily/4H MAs always visible, this is for you.
---
What it shows
Pinned (“fixed”) moving averages from higher timeframes—Weekly (20/100/200) , Daily (50/100/200/365) and 4H (200) —rendered on any chart timeframe. Your favorite HTF MAs stay on screen no matter what TF you’re currently analyzing.
---
Features
* **MA types:** SMA, EMA, VWMA, Hull.
* **Fully configurable:** toggle each line, set periods, colors, and thickness.
* **Two alert modes (see below):** intrabar vs confirmed HTF close.
* **Works on any symbol & chart TF** using `request.security` to fetch HTF data.
---
Alerts & Modes
This indicator solves the biggest problem with MTF alerts: false signals. You can choose one of two modes:
1. **Intrabar mode** — compares current chart price to the HTF MA. Triggers as soon as price crosses the HTF line; great for early signals but may update until the HTF bar closes.
2. **Confirmed mode** — checks HTF close vs HTF MA. Signals only on the higher-TF bar close; fewer false starts, no intrabar repainting on that TF.
Per-line *Cross Above / Cross Below* conditions are provided for all enabled MAs (e.g., “20W — Cross Above”, “365D — Cross Below”, etc.).
**How to use alerts:** add the script → “Create Alert” → pick any condition from the script’s list.
---
Why this helps
* Keeps Weekly/Daily structure visible while you execute on LTF.
* Classic anchors (e.g., 200D, 20W/100W/200W) are popular for trend bias, dynamic support/resistance, and pullback context.
* Lets you standardize MA references across all your lower-TF playbooks.
---
Notes on confirmation & repainting
* Intrabar signals can change until the higher-TF bar closes (that’s expected with multi-TF data).
* Confirmed mode waits for the HTF close—cleaner, but later. Choose what fits your workflow.
---
Quick setup
1. Pick `MA Type` (SMA/EMA/VWMA/Hull).
2. Enable the HTF lines you want (Weekly 20/100/200; Daily 50/100/200/365; 4H 200).
3. Choose `Alert Mode` (Intrabar vs Confirmed).
4. Style colors/widths to taste and set alerts on the lines you care about.
---
Good practice
* Combine HTF MAs with price action (swings, structure, liquidity grabs) rather than using them in isolation.
* Always validate signals in your execution TF and use a risk plan tailored to volatility.
* Protect your capital: position sizing, stops, and disciplined risk management matter more than any single line on the chart.
---
Disclaimer
For educational/informational purposes only; not financial advice. Trading involves risk—manage it responsibly.
HaP OtoDinamikFİBO+EMA1. Automatic Dynamic Fibonacci Levels
This is the first and primary feature of the indicator. Instead of manually drawing the Fibonacci tool, this section automates the entire process.
Zigzag Algorithm: It automatically detects significant high and low points (swings) on the chart. While making these detections, it adjusts its own period based on the chart's timeframe (e.g., weekly, daily, 4-hour).
Automatic Fibo Drawing: It automatically draws Fibonacci retracement and extension levels between the last two significant high and low points it has detected.
Dynamic Updates: When a new and more significant low or high is formed in the market, it automatically updates the Fibonacci levels to reflect this new structure. As Fibonacci levels are breached, the next relevant levels are automatically displayed.
Customization: Users can toggle the visibility of the Fibonacci lines, adjust their thickness and colors (e.g., different colors for levels between 0-1 and for levels above 1), and choose whether the price labels appear on the right or left side of the chart.
2. Dynamic EMA (Exponential Moving Average) Support/Resistance Zones
Instead of cluttering the chart with dozens of moving averages, this feature is an intelligent system that displays only the most relevant ones at any given time.
Multi-Timeframe Analysis: It calculates numerous popular EMA values (e.g., 5, 8, 13, 21, ..., 1000) in the background on both the Daily (D) and Weekly (W) timeframes. This allows you to see where the daily and weekly EMAs are located, even when you are viewing a 1-hour chart.
Displaying the Closest Levels: Based on the current price location, it finds the nearest EMA above it (resistance) and the nearest EMA below it (support), and displays only these two on the chart.
Informative Labels: It adds labels to these EMA lines, indicating their timeframe (D/W) and period (e.g., D EMA 55), their price value, and their percentage distance from the current price.
Special Condition Handling: If the price moves above all calculated EMAs or drops below all of them (indicating a strong trend), it will only show the 5-period EMA to keep the chart clean.
Comprehensive Settings: Users can toggle the visibility of all EMAs, the price line, and labels. They can fully customize the colors, thickness, and style of the lines, as well as the size, color, and position of the labels according to their preferences.
Summary
In summary, this indicator is a powerful and flexible tool designed to help traders with the following:
Identifying potential support, resistance, and target levels through automatic and effortless Fibonacci analysis.
Instantly viewing the most critical dynamic support and resistance zones for the current price by utilizing EMAs from multiple timeframes.
Simplifying the analysis process by keeping the chart clean and understandable.
Multi-Anchor VWAP Deviation Dashboard Overview
Multi-Anchor VWAP Deviation Dashboard (Optimized Global) is an overlay indicator that computes up to five user-defined Anchored Volume Weighted Average Prices (AVWAPs) from custom timestamps, plotting their lines and displaying real-time percentage deviations from the current close. It enables precise analysis of price positioning relative to key events (e.g., earnings, news) or periods (e.g., weekly opens), with a compact dashboard for quick scans. Optimized for performance, it uses manual iterative calculations to handle dynamic anchor changes without repainting.
Core Mechanics
The indicator focuses on efficient AVWAP computation and deviation tracking:
Anchor Configuration: Five independent anchors, each with a name, UTC timestamp (e.g., "01 Oct 2025 00:00" for monthly open), show toggle, and color. Timestamps define the calculation start—e.g., AVWAP1 from "20 Oct 2025" onward.
AVWAP Calculation: For each enabled anchor, it identifies the first bar at/after the timestamp as the reset point, then iteratively accumulates (price * volume) / total volume from there. Uses HLC3 source (customizable); handles input changes by resetting sums on new anchors.
Deviation Metric: For each AVWAP, computes % deviation = ((close - AVWAP) / AVWAP) * 100—positive = above (potential resistance), negative = below (support).
Visuals: Plots lines (linewidth 1–2, user colors); dashboard (2 columns, 6 rows) shows names (anchor-colored if enabled) and deviations (green >0%, red <0%, gray N/A), positioned user-selectable with text sizing. Updates on last bar for efficiency.
This setup scales deviations across volatilities, aiding multi-period bias assessment.
Why This Adds Value & Originality
Standard VWAPs limit to session anchors (daily/weekly); deviation tools often lack multiples. This isn't a simple mashup: Manual iterative AVWAP (no built-in ta.vwap reliance) ensures dynamic resets on timestamp tweaks—e.g., shift "Event" to FOMC date without recalc lag. The 5-anchor flexibility (arbitrary UTC times) + centralized dashboard (colored deviations at a glance) creates a "global timeline scanner" unique to event-driven trading, unlike rigid multi-VWAP scripts. It streamlines what requires 5 separate indicators, with % normalization for cross-asset comparison (e.g., SPY vs. BTC).
How to Use
Setup: Overlay on chart. Configure anchors (e.g., Anchor1: "Weekly Open" at next Monday 00:00 UTC; enable/show 2–3 for focus). Set source (HLC3 default), position (Top Right), text size (Small).
Interpret Dashboard:
Left Column: Anchor names (e.g., "Monthly Open" in orange).
Right Column: Deviations (e.g., "+1.25%" green = above, bullish exhaustion?).
Scan for confluence (e.g., all >+2% = overbought).
Trading:
Lines: Price near AVWAP = mean reversion; breaks = momentum.
Example: -0.8% below "Event" anchor post-earnings → potential bounce buy.
Use on 1H–D; adjust timestamps via calendar.
Tips: Enable 1–3 anchors to avoid clutter; test on historical events.
Limitations & Disclaimer
AVWAPs reset on anchor bars, potentially lagging mid-period; deviations are % only (add ATR for absolute). Table updates on close (no intrabar). Timestamps must be UTC/future-proof. No alerts/exits—integrate manually. Not advice; backtest deviations on your assets. Past ≠ future. Comments for ideas.
The VWAP OracleOverview
The VWAP Oracle is a sophisticated overlay indicator that elevates VWAP (Volume Weighted Average Price) from a simple benchmark to an intelligent oracle for intraday and swing decisions. It offers flexible anchoring (rolling MVWAP, weekly, monthly, yearly) with session options, augmented by heuristic "AI/ML" elements for trend forecasting, dynamic S/R identification, and mean-reversion pullback strategies. A comprehensive dashboard delivers at-a-glance intel on trends, roles, touch history, and trade stats, complemented by visual zones, entry shapes, and alerts. Tailored for active traders in equities, forex, or futures, this iteration refines state handling and role logic for seamless execution on Pine v6.
Core Mechanics
Built around robust VWAP computations with layered analytics:
VWAP Framework: Primary line via user-selected type—Rolling (volume-weighted over lookback bars for agility), or Anchored (resets on week/month/year changes). HLC3 source standard; regular or 24h sessions. Toggles for secondary lines (e.g., weekly in orange for context).
Heuristic Enhancements: ATR safeguards (min tick fallback) normalize zones (± sensitivity * ATR for touches) and distances (e.g., 3x for setups). Linear regression over lookback derives slope (ATR-scaled for cross-asset comparability), flagging strong trends (> threshold) with rising/falling confirmation and volume >20-bar SMA.
Role & Proximity Engine: Scans enabled VWAPs globally—assigns nearest as support (price above, higher value prioritized) or resistance (below, lower prioritized), e.g., "Weekly" if closest. Tracks main VWAP touches for strength tiers (Weak <3, Moderate 3-4, Strong 5-7, Proven ≥8).
Pullback Strategy: In validated trends (slope + price move + volume), distant deviations (> ATR multiple) trigger "awaiting" state. Confirms entries on fresh touches with directional candles (close > open for longs), setting ATR-based stops (1x offset from VWAP) and targets (2x extension). Manages to hit (success tally) or breach (reset); daily/anchor resets clear stats.
Outputs: Trend-colored VWAP (blue/red in strong regimes, gray in range), role-tinted zones (green/red fill), triangles for entries, labels for outcomes.
Why This Mashup Adds Value & Originality
Traditional VWAPs are passive lines; multi-anchor plots add clutter without synthesis. Here, the fusion of anchored/rolling VWAPs with regression-normalized "AI" slope (volatility-adjusted for invariance) and touch-based strength scoring forms a predictive layer—e.g., "Proven" supports from 8+ interactions signal higher-probability bounces than raw levels. Stateful pullback logic (distant setup → touch entry → managed exit) with explicit breach cancels differentiates it from basic deviation oscillators, while the 11-row dashboard (trend icons, nearest roles, live success %) consolidates what would take multiple indicators. Global role reassignment (no function var limits) ensures accuracy, creating a unified "oracle" for confluence without redundancy—ideal for evolving static VWAP into adaptive decision support.
How to Use
Configuration: Overlay on chart. VWAP: Pick Rolling for scalps (252-bar default); enable weeklies for bias. AI: ATR 14, sensitivity 0.5 (tighter for precision). Trade: 3x min distance setups, 2x/1x target/stop. Visuals: Dashboard top-right, zones on, signals toggled.
Dashboard Readout (semi-opaque black, size-adjustable):
Header/Type: "The VWAP Oracle" + active (e.g., "Rolling (MVWAP)").
Trend: 🔵/🔴 Strong or ⚪ Range—align trades accordingly.
Nearest S/R: "Main" support (green) for bounces; "Monthly" resistance (red) for fades.
Strength/Role: "Strong (5 touches)"; "Support" for current main bias.
Position: "🔄 Pullback Setup" flags opportunity; "⏳ Awaiting" pre-entry.
Success/Setup: "80% (4/5)"; 🟢 Long Active if running; volume "✅ Strong" validates.
Execution: Strong bull + distant alert → Long on green triangle touch → Trail to target label (✓) or stop (✗). Use zones for invalidation; alerts cover setups/hits. Suits 15m-4H on majors like NAS100.
Pro Tips: Backtest resets (daily intraday); tweak slope threshold (1.5) for noise.
Limitations & Disclaimer
Touches and entries confirm on close, introducing minor lag; rolling VWAP smooths but may trail sharp moves. Slope can oscillate in transitions—add manual filters. Stats reset periodically (e.g., daily), so sample sizes vary; "success" is backward-looking. No auto-sizing—cap risk at 1% equity. v6-optimized, but verify on live data. Not advice; simulate trades, as history ≠ future. Feedback welcome in comments.






















