Breadth Indicators
Premarket High/Low (Horizontal Rays)=== Script Description ===
This TradingView script automatically detects and displays the high and low prices
during the premarket session (04:00–09:30 Eastern Time) for the current trading day.
It draws horizontal rays that extend across the chart and labels them as "PM High" and "PM Low".
These markers are refreshed daily and only apply to today's session.
The script also provides full customization for:
- Line color, width, and style (solid, dotted, dashed)
- Label text color, background color, size, and style (left, right, up, down)
Time note: This script assumes data aligned with U.S. market hours.
SMC ICT – Simplified Daily Trend & Reversal AnalyzerThis Pine Script provides a simplified approach to analyzing daily trends and potential reversals using concepts inspired by Smart Money Concepts (SMC) and ICT (Inner Circle Trader).
What It Does:
• Detects daily uptrend and downtrend conditions by comparing the current daily high/low to the previous day’s values.
• Highlights potential bullish or bearish reversal zones when price behavior suggests a shift in sentiment.
• Automatically draws dashed lines for the previous day's high and low.
• Labels these high/low levels for quick visual reference.
How to Use:
Apply this indicator to any timeframe chart. Use the plotted trend markers to assess daily direction and potential reversal signals. The dashed lines (previous high/low) can be used as reference points for liquidity zones or break/retest entries.
User Interface:
The indicator displays labels and shapes in English. This script is intended for educational and trading workflow enhancement purposes.
Note:
This is an open-source tool designed for clarity and basic SMC/ICT application. It is best used in combination with other confluences like FVGs, order blocks, and liquidity sweeps.
Extended Hours Session Highs & Lows with MidpointA Pine Script indicator designed to track and visualize the high, low, and midpoint of price action during extended and regular trading hours (4:00 AM to 8:00 PM). It also identifies new highs/lows and price "retouches" (when the price approaches the session high or low within a user-defined tolerance).
The indicator provides several key visual and analytical elements:
Session High and Low Lines:
Green Line (Session High): Represents the highest price reached during the extended hours session (4:00 AM to 8:00 PM).
Red Line (Session Low): Represents the lowest price reached during the session.
These lines are plotted only during the defined extended hours and reset at the start of each new session (4:00 AM).
Yellow Midpoint Line:
Represents the average of the session high and low, serving as a central reference point within the session's range.
This can act as a dynamic equilibrium level or a potential pivot point for price action.
New High/Low Markers:
Green Triangle Up (New High): Appears above a bar when the current bar's high exceeds the previous session high.
Red Triangle Down (New Low): Appears below a bar when the current bar's low falls below the previous session low.
These markers help traders identify moments of breakout or significant price expansion.
Retouch Markers (Optional):
Yellow Triangle Up (Retouch High): Appears when the price approaches the session high within a user-defined tolerance (default 0.1% of the price) without exceeding it.
Yellow Triangle Down (Retouch Low): Appears when the price approaches the session low within the same tolerance without breaking below it.
Retouch markers highlight potential support/resistance zones where the price tests but does not break through key levels.
Extended Hours Context:
The indicator operates only during the specified extended hours (4:00 AM to 8:00 PM), which typically include pre-market, regular market, and after-hours trading for U.S. equities. Outside these hours, no lines or markers are plotted.
This indicator can be used in various trading strategies, particularly for intraday or swing traders focusing on extended hours price action. Below are some practical ways to utilize it:
Support and Resistance Trading:
The session high and low lines act as dynamic support and resistance levels. Traders can watch for price reactions at these levels, such as bounces or breakouts.
Retouch markers are particularly useful for identifying when the price is testing these levels without breaking through, signaling potential reversal opportunities or areas of consolidation.
Breakout Trading:
The new high/low markers highlight moments when the price breaks through the session high or low, which can signal the start of a breakout or trend continuation.
Traders can use these markers to enter trades in the direction of the breakout, with stop-losses placed just below the session low (for longs) or above the session high (for shorts).
Range Trading:
The midpoint line serves as a reference for the middle of the session's range. Traders can use it to gauge whether the price is trading in the upper or lower half of the range, which may inform mean-reversion strategies.
For example, if the price is significantly above the midpoint but approaching the session high, traders might anticipate resistance or a pullback toward the midpoint.
The Extended Hours Session Highs & Lows with Midpoint indicator is a valuable tool for intraday traders focusing on extended hours price action. Its ability to track session highs, lows, midpoints, and retouches provides actionable insights for support/resistance, breakout, and range trading strategies.
RTH Session Highs & LowsA Pine Script indicator designed to track and plot the Regular Trading Hours (RTH) session highs and lows on a chart, typically for U.S. equity markets (e.g., S&P 500, Nasdaq, etc.), which operate from 9:30 AM to 4:00 PM Eastern Time.
Session High & Low Lines:
During the RTH session, the indicator draws green and red horizontal lines that represent the highest and lowest price seen so far within that trading session.
These levels help traders identify intraday support (low) and resistance (high) levels.
New High/Low Markers:
Small triangle markers are placed:
Above the bar when a new intraday high is made (green triangle).
Below the bar when a new intraday low is made (red triangle).
This visually flags when momentum may be building or reversing.
Intraday Strategy Support:
Use the session high/low as dynamic support/resistance for scalping or breakout strategies.
For example:
Breakouts above session highs may indicate bullish strength.
Breakdowns below session lows may suggest bearish momentum.
Mean Reversion Tactics:
Prices approaching these lines and then rejecting can be used for mean reversion setups.
Combine with volume or candlestick patterns for confirmation.
Risk Management:
Set stops or targets relative to session highs/lows.
For instance, use session high as a stop-loss level in a short position.
Volatility Gauge:
Tracking how frequently new highs/lows are formed can help assess intraday volatility or range expansion.
Complement with Indicators:
Combine this with our "McGinley Dynamic Channel with Directional Shading" indicator or our "EMA Crossover with Shading" indicator to add context to breakouts or rejections.
EMA/VWAP Strategy Optimized for Goldgold specific EMA/VWAP strategy
ENTRY RULES (LONG):
EMA 7 is above EMA 21 → confirms bullish short-term trend
Price is above VWAP → confirms buyers are in control today
Wait for a pullback near EMA 21 or VWAP without breaking below them
Enter when price shows a bullish rejection candle (e.g., pin bar or engulfing) off that level
استراتيجية الشريف أيمن المتقدمةسكريبت AYMAN ALHSSUEN هو أداة تداول احترافية مصممة لدعم المتداولين في اتخاذ قرارات دقيقة وسريعة بناءً على إشارات فنية مدروسة.
يعتمد المؤشر على عدة عناصر تقنية مجمّعة في واجهة واحدة سهلة الفهم، تشمل:
الاتجاه العام باستخدام المتوسطات المتحركة (EMA 20 و EMA 50).
مؤشر VWAP لمراقبة السعر العادل والمؤسسي.
مؤشر Stochastic لتحديد مناطق التشبع الشرائي والبيعي.
إشارات شموع فنية (ابتلاع شرائي وبيعي، دوجي، وغيرها).
تلوين الخلفية حسب الاتجاه لمساعدة المتداول بصرياً.
دعم تنبيهات ذكية لفرص الدخول والخروج.
مناسب لجميع الفريمات، مع أفضل أداء على فريم 15 دقيقة و1 ساعة.
هذا السكربت مخصص للاستخدام الشخصي أو بدعوة خاصة فقط، ويمنع إعادة النشر أو التعديل دون إذن رسمي
The AYMAN ALHSSUEN script is a professional trading tool designed to help traders make fast and accurate decisions based on advanced technical signals.
This indicator combines several powerful features into one clean interface, including:
Market trend detection using EMA 20 and EMA 50.
VWAP for institutional fair value tracking.
Stochastic Oscillator to detect overbought and oversold conditions.
Smart candlestick patterns (Bullish/Bearish Engulfing, Doji, etc.).
Background coloring to visually guide the overall trend.
Intelligent alerts for optimal entry and exit points.
Works on all timeframes, optimized for 15-min and 1-hour charts.
This script is invite-only and for personal use only.
Reproduction or redistribution is prohibited without explicit permission.
GIFT NIFTY vs NIFTY DifferenceGift Nifty and NIFTy define a TREND AND CYCLE THAT IS BEING PLOTTED using this indicator.
Custom RMI + RMIavg (No ta.sum)rmi indicates momentum of the stock
it confirms the change in trend in overbought or oversold zone
RTH Session Range Position (0-100) with EMAA Pine Script indicator designed to help traders understand where the current price is located within the Regular Trading Hours (RTH) session range, from 0 (session low) to 100 (session high). It also plots a smoothed EMA of this position to provide insight into momentum or trend during the RTH session.
What the Indicator Does
Defines RTH (Regular Trading Hours):
Start: 9:30 AM
End: 4:00 PM
These are typical US equity market hours.
Tracks the session's high and low during RTH:
sessionHigh and sessionLow update only during RTH.
Calculates position of the current price within the RTH range:
Formula: ((close - sessionLow) / (sessionHigh - sessionLow)) * 100
Result is a percentage:
0 = at session low
100 = at session high
50 = middle of session range
Calculates an EMA of that position (posEMA):
Smooths out the raw position to help visualize momentum within the range.
Plots and table:
Plots pos and posEMA on a separate chart pane.
Adds horizontal lines at key levels (0, 30, 50, 70, 100).
Table shows current values for Position, EMA, and Range.
Visual cues:
bgcolor highlights when pos crosses over or under the EMA — potential momentum shifts.
Alerts:
Cross above/below 50 (session midpoint).
Cross above/below EMA.
How to Use It Effectively
1. Session Strength & Momentum
Position above 70: Price is near session highs — strong upward momentum.
Position below 30: Price is near session lows — strong downward momentum.
Use the EMA of position to filter out noise and identify trends.
2. Breakout or Reversal Detection
Cross above EMA: Momentum may be turning bullish.
Cross below EMA: Momentum may be turning bearish.
These crosses (especially near mid-levels like 50) can hint at session trend shifts.
3. Range Context for Entries
If you're a mean-reversion trader, look for:
Price > 70 + turning down below EMA → possible short.
Price < 30 + turning up above EMA → possible long.
For breakout traders, you might wait for:
Crosses above 70 with EMA support.
Crosses below 30 with EMA resistance.
4. Confirmation Tool
Use this indicator alongside others to confirm:
Whether price action has strength within the day.
Whether breakouts have real momentum or are extended already.
Market Timing ModelJust my basic market timing model, based on breadth indicators, as well as the distance from the 50dma on the IWM, with some tweaks. Marking accumulation and distribution days as well.
Extended Hours Session Range Position (0-100) with EMAA Pine Script indicator designed to measure the relative position of the current price within the high-low range of an extended and regular trading session (4:00 AM to 8:00 PM ET) and smooth this position with an Exponential Moving Average (EMA).
Session Range Position (0-100):
The indicator calculates the price’s position within the session’s high-low range, normalized to a 0–100 scale:
0: Price is at the session low.
100: Price is at the session high.
50: Price is at the midpoint of the session range.
This provides a standardized way to assess whether the price is near the top, bottom, or middle of the session’s range, regardless of the absolute price or range size.
Smoothed EMA:
The EMA (default length 10) smooths the raw position value to reduce noise and highlight trends in the price’s relative position.
A rising EMA suggests the price is moving toward the session high, while a falling EMA indicates movement toward the session low.
Key Levels:
50 (Midpoint): Represents the middle of the session range. Crosses above/below this level can signal shifts in momentum.
30 (Oversold) and 70 (Overbought): These thresholds suggest the price is in extreme zones relative to the session range, potentially indicating overextension.
0 and 100: Represent the session low and high, respectively.
Divergence Signals:
Background colors highlight crossovers (green) and crossunders (red) between the position and its EMA, indicating potential momentum shifts or reversals.
Trend Identification:
Use the position and EMA to gauge the price’s trend within the session:
Position > 50 and rising EMA: Bullish bias (price moving toward session high).
Position < 50 and falling EMA: Bearish bias (price moving toward session low).
Combine with other indicators (e.g., RSI, MACD) to confirm trends.
Reversal Signals:
Look for crossovers/crossunders between the position and EMA:
Crossover (Position > EMA): Potential bullish reversal or strengthening momentum.
Crossunder (Position < EMA): Potential bearish reversal or weakening momentum.
Pay attention to the 30 (oversold) and 70 (overbought) levels for mean-reversion opportunities, especially if the position diverges from the EMA.
Range Trading:
In range-bound markets, use the 30 and 70 levels to identify potential buy (near 30) and sell (near 70) zones.
Confirm with price action (e.g., candlestick patterns) or volume to avoid false signals.
Breakout Trading:
A position approaching 100 or 0 may indicate a breakout if accompanied by high volume or a catalyst (e.g., news during extended hours).
Use the session range (displayed in the table) to assess the significance of the breakout.
The Extended Hours Session Range Position (0-100) with EMA indicator is a useful tool for traders active in extended-hours sessions, offering a normalized view of price position and smoothed trend signals. It excels in providing contextual analysis and visual clarity, with alerts and divergence detection adding practical value.
RESHAIndicator Name: RESHA – Static Price Levels
Description:
The RESHA indicator is a simple tool that allows traders to manually define multiple horizontal price levels on the chart. These levels are displayed as horizontal lines, each extending a customizable number of candles forward. Traders can input a comma-separated list of prices, which are then plotted automatically on the chart.
Features:
📍 Custom input box for price levels (comma-separated).
📏 Adjustable line length in bars.
Visual price labels at the end of each level.
Clean and minimalistic design, perfect for support/resistance zones or static analysis.
This tool is ideal for traders who want to keep key price zones visible at all times without relying on dynamic calculations or automated indicators.
HTF ReversalsHTF Reversals — Big Turtle Soup & Relief Patterns
A multi-timeframe reversal indicator based on the logic of how pivots form and how true reversals begin. Designed for traders who want to catch high-probability turning points on higher timeframes, with visual clarity and actionable signals.
“Reversals don’t start from nowhere — they begin with a failed expansion and a reclaim of a prior range. This script helps you spot those moments, before the crowd.”
How It Works
Detects High Timeframe (HTF) “CR” Candles:
The script scans for large-bodied candles (“CR” candles) on higher timeframes (Monthly, Weekly, 3-Day). These candles often mark the end of a trend expansion and the start of a potential reversal zone.
Looks for “Inside” Candles:
After a CR candle, the script waits for a smaller “inside” candle, which signals a pause or failed continuation. The relationship between the CR and inside candle is key for identifying a possible reversal setup.
Engulfing Confirmation (Optional):
If the inside candle doesn’t immediately trigger a reversal, the script can wait for an engulfing move in the opposite direction, confirming the failed expansion and increasing the probability of a reversal.
Entry & Target Calculation:
For each valid setup, the script calculates a retracement entry (using Fibonacci levels like 0.382 or 0.618) and a logical target (usually the CR candle’s high or low).
Visuals: Lines & Boxes:
Each signal is marked with a horizontal line (entry) and a colored box extending from the HTF close to the entry price, visually highlighting the reversal zone for the same duration as the signal’s expected play-out.
Dashboard & Alerts:
A dashboard table summarizes the latest signals for each timeframe. Custom alerts notify you of new setups in real time.
Why It Works
Pivot Logic:
Reversals often start when a strong expansion candle (pivot) is followed by a failed attempt to continue in the same direction. This script codifies that logic, looking for the “pause” after the expansion and the first sign of a reclaim.
Multi-Timeframe Edge:
By focusing on higher timeframes, the indicator filters out noise and highlights only the most significant reversal opportunities.
Objective, Repeatable Rules:
All conditions are clearly defined and repeatable, removing subjectivity from reversal trading.
Visual Clarity:
The combination of lines and boxes makes it easy to see where reversals are likely to start and where your risk/reward lies.
How to Use
Add the indicator to your chart and select your preferred timeframes (Monthly, Weekly, 3-Day).
Watch for new signals on the dashboard or via alerts.
Use the entry line and box as your trade zone; the target is also displayed.
Combine with your own confluence (price action, volume, etc.) for best results.
This indicator is best used as a framework for understanding where high-probability reversals are likely to occur, not as a standalone buy/sell tool. Always use proper risk management.
Cumulative Volume: Today vs YesterdayCumulative Volume: Today vs Yesterday. It is useful for intraday trades in stocks.
RSI(2) Pullback StrategyLarry Connors and Cesar Alvarez found through extensive testing that:
RSI(2) < 10 often indicates short-term oversold conditions in strong uptrends.
RSI(2) > 90 indicates short-term overbought.
In a strong uptrend, when RSI(2) drops below 10, it often means a short pullback — a buy opportunity.
JSSTable with MomentumAppears in the top-right (or any selected corner) of the chart.
Row 1: Column headers — names of the indicators.
Row 2: Live values — updated on every new candle.
Color-coded:
RSI: Green if strong, Red if weak
DI+ / DI-: Highlighted based on dominance
ADX: Blue if trend is strong
Momentum: Green if rising, Red if falling
High/Low Digit SumNAMAN SHAH
Its about the high low total of a candle only for gold where if highs total is 9 then its a chance that it will not break the high for a long time and it will be a good opportunity for short
And vise versa
Multi-Timeframe S&R Zones (Shaded)This indicator automatically plots support and resistance zones based on recent price action across multiple timeframes:
🟥 Daily
🟧 4-Hour
🟨 1-Hour
🟩 30-Minute
🟦 5-Minute
Each zone is color-coded by timeframe and represented as a shaded region instead of a hard line, giving you a clearer and more dynamic view of key market levels. The zones are calculated from recent swing highs (resistance) and swing lows (support), and each zone spans ±5 pips for precision.
Only the most recent levels are displayed—up to 3 per timeframe—and are limited to the last 48 hours to avoid chart clutter and keep your workspace clean.
✅ Key Benefits:
Price Action Based: Zones are drawn from actual market structure (swings), not arbitrary levels.
Multi-Timeframe Clarity: View confluence across major intraday and higher timeframes at a glance.
Color-Coded Zones: Instantly distinguish between timeframes using intuitive colour coordination.
Clean Charts: Only shows the latest relevant levels, automatically expires old zones beyond 48 hours.
Flexible & Lightweight: Built for Tradingview Essential; optimized for performance.
FX Majors (+CN) Currency Basket ComparisonDescription:
This indicator shows how individual FX major currencies (including CNY) have performed relative to each other. It calculates each currency's performance against a "Trade Weighted" basket of other major currencies.
I created this because I couldn't find it, and I wanted an easy way to see currency behaviour and flows.
Purpose:
It lets you see the relative strength and weakness of each currency, similar to how the DXY measures USD strength, but for all the major currencies. Each basket and currency weights are based on Trade Weighted values from literature/economics.
This way you can maybe decide which crosses / pairs to trade.
Can helps you visualise how events (economic, news or otherwise) affect currency flows.
Features:
Relative Performance: Focuses on how a currency's value has changed over time, rather than its absolute level.
Normalization: Adjusts currency values to a starting date, making it easy to compare their performance.
Adjustable Start Date: You can set the anchor date to choose the starting point for calculating relative performance.
Customizable Weights: The indicator allows you to use custom weights for each currency basket should you wish.
Enhanced Volume w/ Pocket Pivots, Milestones & LiquiditySure! Here’s a professional and clear **description** you can use when saving or publishing the script on TradingView:
---
## 📄 Script Description: *Enhanced Volume w/ Pocket Pivots, Milestones & Liquidity*
This custom volume indicator enhances the default volume view by combining key institutional-level insights into a single tool. It highlights meaningful volume activity, liquidity conditions, and milestone events to help traders better understand accumulation/distribution and smart money participation.
### 🔍 Features:
* **Color-coded volume bars**:
* 🔵 **Pocket Pivot Volume (PPV)**: Up-day with volume > highest down-day volume of last 10 bars.
* 🟢 **Up Volume**: Up-day with volume > 50-day average.
* 🔴 **Down Volume**: Down-day with volume > 50-day average.
* 🟠 **Dry Volume**: Low-volume bars < 20% of 50-day average.
* ⚫ **Neutral/Other bars**: No significant signal.
* **Volume Milestones**:
* **HVE**: Highest volume ever (20 years lookback).
* **HVY**: Highest volume in the past 1 year (252 bars).
* **HVQ**: Highest volume in the past quarter (63 bars).
* **Projected Volume**:
* Real-time estimate of end-of-day volume based on elapsed session time.
* **Liquidity Metrics**:
* Displays current and 50-day average dollar volume.
* Estimates 1-minute liquidity for large-position feasibility.
* **Relative Volume Label**:
* Displays how today’s volume compares to the 50-day average.
* **Alerts Included**:
* Set alerts for HVE, HVY, and HVQ to catch key breakout or climactic volume events.
---
### 🧠 Ideal For:
* Growth stock traders
* Volume/price analysts
* Intraday & swing traders
* Institutions or prop traders needing liquidity benchmarks
---
Let me know if you'd like a short or promotional version (for sharing with others).
S&P 500 Estimated PE (Sampled Every 4)📊 **S&P 500 Estimated PE Ratio (from CSV)**
This indicator visualizes the forward-looking estimated PE ratio of the S&P 500 index, imported from external CSV data.
🔹 **Features:**
- Real historical daily data from 2008 onward
- Automatically aligns PE values to closest available trading date
- Useful for macro valuation trends and long-term entry signals
📌 **Best for:**
- Investors interested in forward-looking valuation
- Analysts tracking over/undervaluation trends
- Long-term timing overlay on price action
Category: `Breadth indicators`, `Cycles`