Bull vs Bear Volume (Enhanced)Bull vs Bear Volume (Enhanced) is a custom volume histogram that separates and visualizes estimated buying vs. selling volume within each candle. This allows traders to better understand market sentiment and detect imbalances in demand and supply.
🔍 What It Does:
Plots bullish volume (green) above the x-axis and bearish volume (red) below.
Estimates bull/bear volume by analyzing the close location within the candle's range.
Highlights volume spikes with lime (bullish) or maroon (bearish) when volume exceeds a user-defined threshold.
Includes an optional total volume line for added context.
Supports smoothing via simple moving average (SMA) to reduce noise.
🛠️ Inputs:
Toggle smoothing and set its length.
Enable/disable threshold spike highlighting.
Show/hide the total volume overlay.
Adjust the threshold multiplier for spike detection.
⚠️ Important:
This script uses a proxy method based on candle structure to estimate volume split — it does not use real-time order flow or trade direction data.
Works best on liquid assets with consistent volume.
อินดิเคเตอร์และกลยุทธ์
AP IFTCCIv2/IFTStoch/IFTRSI Multi-TimeframeMulti-Timeframe IFT-CCI/Stoch/RSI Composite
This enhanced indicator combines three powerful oscillators—Inverse Fisher Transform (IFT) versions of the Commodity Channel Index (CCI), Stochastic, and Relative Strength Index (RSI)—into a unified multi-timeframe analysis tool. Originally developed by John Ehlers (pioneer of cyclical analysis and signal processing in trading systems) and adapted by KIVANC (@fr3762), this version adds dual-timeframe capability to compare indicator values across different chart resolutions.
Key Features:
Triple Oscillator Composite
IFT-CCI: Smoothed CCI values transformed via Ehlers' Inverse Fisher Transform (blue-gold)
IFT-Stochastic: Classic stochastic oscillator processed through IFT (blue)
IFT-RSI: RSI oscillator converted to IFT format (magenta)
Composite Average Line: Combined average of all three indicators (green)
Multi-Timeframe Analysis
Compare primary and secondary timeframes (e.g., 1H vs. 4H, daily vs. weekly)
Primary timeframe plots use solid lines with 80% opacity
Secondary timeframe (optional) uses dashed/circle markers with 40% opacity
Key Levels
Overbought (+0.75) and oversold (-0.75) reference lines
Zero-centerline for momentum direction bias
Applications:
Trend Confirmation: Align higher timeframe signals with lower timeframe entries
Divergence Detection: Spot inter-timeframe discrepancies in momentum
Regime Filter: Use higher timeframe composite values to filter trades
Technical Basis:
Inverse Fisher Transform: Compresses oscillator values into bounded (-1 to +1) range while emphasizing extreme moves
Dual WMA Smoothing: Combines initial calculation smoothing (WMA1) with final output smoothing (WMA2)
Exponential Scaling: (e^2x - 1)/(e^2x + 1) formula converts Gaussian-like distributions to bounded outputs
Credits:
Original Concept: John Ehlers (IFT methodology, cyclical analysis foundations)
Initial Implementation: KIVANC (@fr3762 on Twitter) for the base IFT-CCI/Stoch/RSI script
Multi-Timeframe Adaptation: for cross-resolution analysis capabilities
This tool is particularly effective for traders seeking to align multiple timeframes while using Ehlers' noise-reduction techniques. The composite average line provides a consensus view, while the individual oscillators help identify component strength/weakness.
SBC ProtfoSBC Portfo PNL Indicator
Description
The SBC Portfo PNL Indicator is a user-friendly tool designed for Hebrew-speaking traders to track the Profit and Loss (PNL) of their stock portfolios on TradingView charts. It supports up to 5 distinct portfolios, each capable of holding an unlimited number of stocks with unlimited buy commands, allowing real-time monitoring of portfolio performance.
Key Features
- Multi-Portfolio Support: Track up to 5 separate portfolios for different trading strategies or accounts.
- Unlimited Stock Entries: Add unlimited stocks and buy commands per portfolio.
- Detailed Buy Commands: Input for each stock:
- Stock Ticker (e.g., AAPL, TSLA).
- Buy Price (e.g., 150.25).
- Buy Amount (e.g., 10).
- Hebrew-Friendly Interface: Intuitive settings dialog with clear instructions in Hebrew.
- Customizable PNL Tracking: Visualize PNL on charts with real-time updates based on market data.
How to Use
1. Add the Indicator:
- Go to the Indicators menu in TradingView and add the "SBC Portfo" PNL Indicator.
2. Configure Portfolios:
- Open the indicator’s settings dialog.
- For each portfolio (up to 5), enter data in the provided input fields using this format:
PortfolioName:StockTicker:BuyPricexBuyAmount;StockTicker:BuyPricexBuyAmount
Example:
Portfolio1:AAPL:150.25x10;TSLA:266.72x5
- This represents a portfolio named "Portfolio1" with:
- 10 shares of AAPL bought at $150.25.
- 5 shares of TSLA bought at $266.72.
- Repeat for additional portfolios (e.g., Portfolio2, Portfolio3).
- Add multiple buy commands for the same stock if needed (e.g., AAPL:160.50x20).
3. Apply Settings:
- Save settings to display PNL based on current market prices.
4. Monitor PNL:
- View PNL for each portfolio on the chart via tables, labels, or graphical overlays (based on settings).
Input Format
Enter portfolio data manually in the settings dialog, one input field per portfolio:
PortfolioName:StockTicker:BuyPricexBuyAmount;StockTicker:BuyPricexBuyAmount
- PortfolioName: Unique name (e.g., Portfolio1, Growth).
- StockTicker: Stock symbol (e.g., AAPL).
- BuyPrice: Purchase price per share (e.g., 150.25).
- BuyAmount: Number of shares (e.g., 10).
- Use
: to separate portfolio name, ticker, and buy data
x to separate price and amount
; for multiple stocks in the portfolio
Example:
- Portfolio 1: GrowthPortfolio:AAPL:150.25x10;TSLA:266.72x5
- Portfolio 2: DividendPortfolio:KO:55.20x50;PG:145.30x30
Notes
- Hebrew Support: Settings and labels are optimized for Hebrew users.
- Manual Input: Enter portfolio data manually in the settings dialog using the correct format.
- Compatibility: Works with any stock ticker supported by TradingView.
תיאור אינדיקטור SBC Portfo PNL הוא כלי ידידותי למשתמש שתוכנן במיוחד עבור סוחרים דוברי עברית למעקב אחר רווח והפסד (PNL) של תיקי המניות שלהם ישירות בגרפים של TradingView. הוא תומך בעד 5 תיקים נפרדים, כאשר כל תיק יכול להכיל מספר בלתי מוגבל של מניות עם פקודות קנייה בלתי מוגבלות, ומאפשר מעקב בזמן אמת אחר ביצועי התיק.
תכונות עיקריות
- תמיכה בריבוי תיקים: מעקב אחר עד 5 תיקים נפרדים עבור אסטרטגיות מסחר או חשבונות שונים.
- רישום מניות ללא הגבלה: הוספת מספר בלתי מוגבל של מניות ופקודות קנייה לכל תיק.
- פקודות קנייה מפורטות: הזנת נתונים עבור כל מניה:
- סימול המניה (למשל, AAPL, TSLA).
- מחיר קנייה (למשל, 150.25).
- כמות קנייה (למשל, 10).
- ממשק ידידותי לעברית: חלונית הגדרות אינטואיטיבית עם הוראות ברורות בעברית.
- מעקב PNL הניתן להתאמה: הצגת רווח והפסד בגרפים עם עדכונים בזמן אמת בהתבסס על נתוני השוק.
כיצד להשתמש
1. הוספת האינדיקטור:
- נווט לתפריט האינדיקטורים ב-TradingView והוסף את "SBC Portfo PNL Indicator".
2. הגדרת תיקים:
- פתח את חלונית ההגדרות של האינדיקטור.
- עבור כל תיק (עד 5), הזן נתונים בשדות המסופקים בפורמט הבא:
PortfolioName:StockTicker:BuyPricexBuyAmount;StockTicker:BuyPricexBuyAmount
לדוגמה:
Portfolio1:AAPL:150.25x10;TSLA:266.72x5
שורה זו מייצגת תיק בשם "Portfolio1" עם:
- 10 מניות של AAPL שנקנו ב-$150.25.
- 5 מניות של TSLA שנקנו ב-$266.72.
- חזור על התהליך עבור תיקים נוספים (למשל, Portfolio2, Portfolio3).
- ניתן להוסיף פקודות קנייה מרובות לאותה מניה לפי הצורך (למשל, AAPL:160.50x20).
3. החלת ההגדרות:
- שמור את ההגדרות להצגת ה-PNL בהתבסס על מחירי השוק הנוכחיים.
4. מעקב אחר PNL:
- צפה ב-PNL עבור כל תיק בגרף באמצעות טבלאות, תוויות או שכבות גרפיות (בהתאם להגדרות).
פורמט קלט הזן נתוני תיק ידנית בחלונית ההגדרות, שדה קלט אחד לכל תיק: PortfolioName:StockTicker:BuyPricexBuyAmount;StockTicker:BuyPricexBuyAmount
PortfolioName: שם ייחודי (למשל, Portfolio1, Growth).
StockTicker: סימול המניה (למשל, AAPL).
BuyPrice: מחיר רכישה למניה (למשל, 150.25).
BuyAmount: מספר המניות (למשל, 10).
השתמש ב-
: להפרדה בין שם התיק, סימול ונתוני קנייה
x להפרדה בין מחיר וכמות
; להפרדה בין מניות מרובות
דוגמה:
- תיק 1: GrowthPortfolio:AAPL:150.25x10;TSLA:266.72x5
- תיק 2: DividendPortfolio:KO:55.20x50;PG:145.30x30
Release Notes
Version 1.1 includes:
- Calculations for extended hours (Pre-Market & After-Hours).
- Option to display portfolio summary data for stocks not in the portfolio (enable via settings checkbox).
- Table background for better visibility; click to bring table to the front.
- Updated text strings (names, titles, tooltips).
הערות
תמיכה בעברית: ההגדרות והתוויות מותאמות למשתמשים דוברי עברית.
הזנה ידנית: הזן נתוני תיק ידנית בחלונית ההגדרות תוך שימוש בפורמט הנכון.
תאימות: עובד עם כל סימול מניה הנתמך על ידי TradingView.
גרסה 1.1 מכילה:
1. חישובים כוללים שעות מסחר מורחבות (Pre-Market ו-After-Hours).
2. אפשרות להציג נתוני תיק כוללים עבור מניות שאינן בתיק (הפעל באמצעות תיבת סימון בהגדרות).
3. צבע רקע לטבלה לשיפור הנראות; לחיצה על הטבלה מביאה אותה לחזית.
4. תיקון נוסחים (שמות, כותרות, וטולטיפים).
Chart Patterns (PRO) [ActiveQuants]Unlock the full potential of chart pattern trading with Chart Patterns (PRO) ! This advanced indicator goes beyond basic detection, offering a comprehensive suite of tools for serious traders. Automatically identify an extensive range of reversal and continuation patterns, complete with projected price targets , visually appealing pattern fills , and a sophisticated multi-status alert system .
How It Works
The indicator employs a sophisticated multi-stage process:
Precision Pivot Detection: At its heart, the indicator identifies significant swing highs and lows (pivot points) using an optimized internal period. These pivots are the fundamental building blocks for all pattern recognition. ( Users can toggle visibility of these pivots ).
Advanced Pattern Recognition Engine: Sequences of these pivot points are meticulously analyzed against a vast library of predefined geometric conditions to identify chart patterns. This includes checks for relative pivot heights/lows, slope analysis of trendlines, and ATR-based proportionality for patterns like Head & Shoulders.
Dynamic Status Tracking & Invalidation:
- Active: A pattern's initial structure is identified (e.g., two tops of a Double Top, or the converging trendlines of a Pennant). The pattern is developing.
- Confirmed: The pattern completes, and price breaks out/down from a key level (e.g., neckline, trendline) in the expected direction. Price targets are plotted upon confirmation.
- Invalidated: If price breaks out/down in the opposite direction of what's expected for an "Active" pattern, or if a new pivot forms that structurally compromises an "Active" Double Top/Bottom or Head & Shoulders before its confirmation, the pattern is marked "Invalid".
Price Target Projection: For confirmed patterns (excluding simple HH/LL structures), the indicator automatically calculates and plots potential price targets based on common technical analysis principles (e.g., pattern height projected from the breakout point).
█ DETECTED CHART PATTERNS
Chart Patterns (PRO) identifies a comprehensive list of 20 patterns, categorized for clarity:
I. Simple Market Structures:
Lower Low (LL): Indicates bearish pressure, potentially forming part of a larger downtrend.
Lower Low & Lower High (LL & LH): Stronger confirmation of a bearish trend.
Higher High (HH): Signals bullish strength, potentially part of an uptrend.
Higher High & Higher Low (HH & HL): Stronger confirmation of a bullish trend.
II. Reversal Patterns:
These patterns typically signal a potential end of the current trend and the beginning of a new one in the opposite direction.
Double Top (DT): Bearish reversal. Two distinct peaks at similar levels.
Double Bottom (DB): Bullish reversal. Two distinct troughs at similar levels.
Head and Shoulders (H&S): Bearish reversal. A central peak (head) flanked by two smaller peaks (shoulders).
Inverse Head and Shoulders (Inv H&S): Bullish reversal. A central trough (head) flanked by two smaller troughs (shoulders).
Rising Wedge From Uptrend (RW From UT): Bearish reversal. Converging trendlines with an upward slant during an uptrend.
Falling Wedge From Downtrend (FW From DT): Bullish reversal. Converging trendlines with a downward slant during a downtrend.
Bearish Ascending Triangle (Reversal): Bearish reversal. A horizontal resistance line with rising support, typically occurring after a downtrend.
Bullish Descending Triangle (Reversal): Bullish reversal. A horizontal support line with falling resistance, typically occurring after an uptrend.
III. Continuation Patterns:
These patterns typically suggest a temporary pause in the prevailing trend, after which the trend is likely to resume.
Rising Wedge From Downtrend (RW From DT): Bearish continuation. An upward-slanted consolidation during a downtrend.
Falling Wedge From Uptrend (FW From UT): Bullish continuation. A downward-slanted consolidation during an uptrend.
Bearish Pennant: Bearish continuation. A small symmetrical triangle (converging trendlines) after a sharp downward move.
Bullish Pennant: Bullish continuation. A small symmetrical triangle (converging trendlines) after a sharp upward move.
Bearish Flag: Bearish continuation. A short, rectangular consolidation (parallel trendlines, often upward sloping) after a sharp downward move.
Bullish Flag: Bullish continuation. A short, rectangular consolidation (parallel trendlines, often downward sloping) after a sharp upward move.
Bearish Descending Triangle: Bearish continuation. Horizontal support and a descending resistance line during a downtrend.
Bullish Ascending Triangle: Bullish continuation. Horizontal resistance and an ascending support line during an uptrend.
█ KEY FEATURES
- Automatic Price Target Projection:
Once a pattern is "Confirmed," a price target is automatically plotted on the chart.
Targets are calculated based on established technical methods, typically measuring the height of the pattern and projecting it from the breakout point.
Includes a label displaying the target price level. Toggle with Show Price Targets .
- Advanced Multi-Status Alerts:
Never miss an opportunity with highly configurable alerts.
Receive notifications when a pattern is:
- Developing (Active): Get an early heads-up.
- Confirmed: Act on breakout signals.
- Invalidated: Re-assess your strategy quickly.
Alerts automatically include the pattern type and its status (e.g., "Double Top - Confirmed ✅").
Additional contextual information included by default: Ticker Symbol, Chart Timeframe, Current Price, and Projected Target Price (for confirmed patterns).
Enable/disable all alerts via the Enable Alerts setting.
- Comprehensive Pattern Validation & Invalidation:
Patterns like Wedges, Triangles, Pennants, and Flags are monitored for breakouts. A breakout in the expected direction confirms the pattern; a breakout in the opposite direction invalidates it.
Double Tops/Bottoms and Head & Shoulders have pre-confirmation invalidation logic: if a new pivot forms that compromises the pattern's structure before the neckline breaks, the pattern is marked "Invalid". This helps filter out weaker setups.
ATR is used internally for proportional checks in patterns like Head & Shoulders, ensuring more reliable formations.
- Superior Visualizations:
Pattern Fills: Wedges, Triangles, Pennants, and Flags are visually enhanced with a semi-transparent fill between their trendlines, making them easy to spot.
Clear Necklines & Trendlines: Critical lines for patterns are drawn clearly.
Distinct Labels: Each pattern receives a main label (e.g., "H&S", "BullP"). Double Tops/Bottoms and H&S also get individual component labels (Top 1/2, Shoulder 1/Head/Shoulder 2).
Customizable Colors: Set distinct colors for bullish and bearish patterns.
- Pattern Display Control:
Toggle visibility for each of the 20 individual pattern types.
Filter displayed patterns by their status: All , Active , Confirmed , or Invalid .
Control historical depth with Show Last History (Bars) .
- Pivot Point Engine:
The indicator uses an optimized internal lookback period for robust pivot detection.
Optionally display these pivot high and low markers on your chart, with customizable colors.
█ USER INPUTS
Visibility and Common Styling
- Show Last History (Bars):
Number of recent bars the indicator will analyze and plot patterns on.
Default: 3000. Min: 10.
- Patterns (Visibility Filter):
Filters displayed patterns based on their status.
Options: All, Active, Confirmed, Invalid.
Default: All.
- Show Price Targets:
Toggles the display of calculated price targets for confirmed patterns.
Default: Enabled.
- Bearish Color:
Sets the color for bearish patterns and their components.
Default: Red.
- Bullish Color:
Sets the color for bullish patterns and their components.
Default: Green.
Pivot Points
- Show Pivot Highs:
Toggles the visibility of detected pivot high markers.
Default: Enabled.
- Show Pivot Lows:
Toggles the visibility of detected pivot low markers.
Default: Enabled.
- Pivot Highs Color:
Color for pivot high markers.
Default: #ff5252 (Reddish).
- Pivot Lows Color:
Color for pivot low markers.
Default: #089981 (Greenish).
Pattern Toggles (Grouped by Type)
- Simple Structures:
Lower Low (Default: Enabled)
Lower Low & Lower High (Default: Enabled)
Higher High (Default: Enabled)
Higher High & Higher Low (Default: Enabled)
- Reversal Patterns:
Double Tops (Default: Enabled)
Double Bottoms (Default: Enabled)
Head and Shoulders (Default: Enabled)
Inverse Head and Shoulders (Default: Enabled)
Rising Wedges From Uptrend (Default: Enabled)
Falling Wedges From Downtrend (Default: Enabled)
Bearish Ascending Triangles (Reversal context) (Default: Enabled)
Bullish Descending Triangles (Reversal context) (Default: Enabled)
- Continuation Patterns:
Rising Wedges From Downtrend (Default: Enabled)
Falling Wedges From Uptrend (Default: Enabled)
Bearish Pennants (Default: Enabled)
Bullish Pennants (Default: Enabled)
Bearish Flags (Default: Enabled)
Bullish Flags (Default: Enabled)
Bearish Descending Triangles (Continuation context) (Default: Enabled)
Bullish Ascending Triangles (Continuation context) (Default: Enabled)
Alerts
- Enable Alerts:
Master switch to enable or disable all alert notifications from this indicator.
Default: Enabled. ( Alert messages are pre-configured to include Pattern Type, Status, Symbol, Timeframe, Price, and Target Price when applicable and confirmed ).
█ UNDERSTANDING PATTERN INVALIDATION
Trendline Patterns (Wedges, Triangles, Pennants, Flags): An "Active" pattern is invalidated if price breaks its trendlines in the direction opposite to the expected breakout before a confirmation occurs. E.g., an Active Bullish Pennant is invalidated if price breaks below its lower trendline.
Neckline Patterns (Double Tops/Bottoms, H&S): An "Active" pattern can be invalidated before a neckline break if a new pivot point forms that violates the pattern's structural integrity.
Example (Double Top): If Top 1, Neckline (P5), and Top 2 form (Active status), but before price breaks below P5, a new swing low forms at or above P5, the Double Top is invalidated. This indicates a failure to break support and potential renewed strength.
█ ALERTS GUIDE
Add the " Chart Patterns (PRO) " indicator to your chart.
Ensure Enable Alerts is checked in the indicator settings.
In TradingView, click the "Alert" icon (clock) in the right toolbar or press ALT + A .
In the "Create Alert" dialog:
- Condition: Select " Chart Patterns (PRO) ".
- For the condition dropdown below it, choose " Any alert() function call ". This will trigger for any alert generated by the script.
- Interval: Choose whatever interval you want the alert to be triggered.
- Expiration: Choose the expiration date.
Customize your alert notification preferences (popup, email, webhook, etc.) and click " Create ".
You will now receive alerts for pattern status changes (Developing, Confirmed, Invalidated) with detailed information.
█ CONCLUSION
The Chart Patterns (PRO) indicator is an indispensable tool for traders aiming to optimize their workflow. By automatically identifying and drawing classical chart patterns, it eliminates the need for manual chart analysis, thereby enabling users to dedicate substantially less time to chart monitoring. Its comprehensive detection, coupled with actionable insights like price targets and a meticulous status tracking system with alerts, provides a significant analytical edge. Automate your pattern recognition and drawing, and concentrate on making informed trading decisions with enhanced efficiency.
█ IMPORTANT NOTES
⚠ Confirmation is Crucial: While "Active" patterns provide early warnings, always await "Confirmed" status (e.g., neckline/trendline breaks) and consider volume and broader market context.
⚠ Non-Repainting Logic: Pattern detection and status updates are based on confirmed price bars and pivot points. Once a pattern is fully formed and its status set (Active, Confirmed, Invalid), it will not repaint its historical state. Initial drawing of "Active" patterns extends to the current bar and updates dynamically.
⚠ Combine with Other Tools: No indicator is a standalone solution. Use Chart Patterns (PRO) in conjunction with other forms of analysis (e.g., fundamental analysis, other indicators, volume analysis) and robust risk management .
⚠ Historical Data: Ensure sufficient historical data on your chart for patterns to form and be detected accurately. The Show Last History (Bars) setting can manage this.
⚠ Lagging Nature: By their very definition, chart patterns are lagging indicators as they require a sequence of price action and several pivot points to complete their formation.
█ RISK DISCLAIMER
Trading involves substantial risk of loss and is not suitable for all investors. The Chart Patterns (PRO) indicator and its generated information are for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any security. Chart patterns and projected targets indicate potential price movements based on historical tendencies but do not guarantee future results. Always conduct your own due diligence, consider multiple factors, and consult with a qualified financial advisor before making investment decisions. Past performance is not indicative of future results.
📈 Happy trading! 🚀
Rocky's Dynamic DikFat Supply & Demand ZonesDynamic Supply & Demand Zones
Overview
The Dynamic Supply & Demand Zones indicator identifies key supply and demand levels on your chart by detecting pivot highs and lows. It draws customizable boxes around these zones, helping traders visualize areas where price may react. With flexible display options and dynamic box behavior, this tool is designed to assist in identifying potential support and resistance levels for various trading strategies.
Key Features
Pivot-Based Zones: Automatically detects supply (resistance) and demand (support) zones using pivot highs and lows on the chart’s timeframe.
Dynamic Box Sizing: Boxes shrink when price enters them, reflecting reduced zone strength, and stop adjusting once price fully crosses through.
Customizable Display: Choose to show current-day boxes, historical boxes, or all boxes, with an option to update past box colors dynamically.
Session-Based Extension: Boxes can extend to the current bar or stop at 4:00 PM of the creation day’s 9:30 AM–4:00 PM trading session (ideal for stock markets).
Color Coding: Borders change color based on price position:
Green for demand zones (price above the box).
Red for supply zones (price below the box).
White for neutral zones (price inside the box).
User-Friendly Inputs: Adjust pivot lookback periods, box visibility, extension behavior, and colors via intuitive input settings.
How It Works
Zone Detection: The indicator uses pivot highs and lows to define supply and demand zones, plotting boxes between these levels.
Box Behavior:
Boxes are created when pivot highs and lows are confirmed, with no overlap with the previous box.
When price enters a box, it shrinks to reflect interaction, stopping once price exits completely.
Boxes can extend to the current bar or end at 4:00 PM of the creation day (or next trading day if created after 4:00 PM or on weekends).
Display Options:
Current Only: Shows boxes created on the current day.
Historical Only: Shows boxes from previous days, with optional color updates.
All Boxes: Shows all boxes, with an option to hide historical box color updates.
Performance: Limits the number of boxes to 200 to ensure smooth performance, removing older boxes as needed.
Inputs
Pivot Look Right/Left: Set the number of bars (default: 2) to confirm pivot highs and lows.
What Boxes to Show: Select Current Only, Historical Only, or All Boxes (default: Current Only).
Boxes On/Off: Toggle box visibility (default: on).
Extend Boxes to Current Bar: Choose whether boxes extend to the current bar or stop at 4:00 PM (default: off, stops at 4:00 PM).
Update Past Box Colors: Enable/disable color updates for historical boxes (default: on).
Demand/Supply/Neutral Box Color: Customize border colors (default: green, red, white).
How to Use
Add the indicator to your chart.
Adjust inputs to match your trading style (e.g., pivot lookback, box extension, colors).
Use the boxes to identify potential support (demand) and resistance (supply) zones:
Green-bordered boxes (price above) may act as support.
Red-bordered boxes (price below) may act as resistance.
White-bordered boxes (price inside) indicate active price interaction.
Combine with other analysis tools (e.g., trendlines, indicators) to confirm trade setups.
Monitor box shrinking to gauge zone strength and watch for breakouts when price fully crosses a box.
Understanding Supply and Demand in Stock Trading
In stock trading, supply and demand are fundamental forces driving price movements. Demand refers to the willingness of buyers to purchase a stock at a given price, often creating support levels where buying interest prevents further price declines. Supply represents the willingness of sellers to offload a stock, forming resistance levels where selling pressure halts price increases. These zones are critical because they highlight areas where significant buying or selling activity has occurred, influencing future price behavior.
The importance of supply and demand lies in their ability to reveal where institutional traders, with large orders, have entered or exited the market. Demand zones, often seen at pivot lows, indicate strong buying interest and potential areas for price reversals or bounces. Supply zones, typically at pivot highs, signal heavy selling and possible reversal points for downward moves. By identifying these zones, traders can anticipate where price is likely to stall, reverse, or break out, enabling better entry and exit decisions. This indicator visualizes these zones as dynamic boxes, making it easier to spot high-probability trading opportunities while emphasizing the core market dynamics of supply and demand.
Feedback
This indicator is designed to help traders visualize supply and demand zones effectively. If you have suggestions for improvements, please share your feedback in the comments!
CorrelationMulti-Timeframe Correlation Indicator
This Pine Script indicator measures the correlation between the current symbol and a reference symbol (default: GLD) across three different timeframes. It provides traders with valuable insights into how assets move in relation to each other over short, medium, and long-term periods.
Key Features
Multiple Timeframe Analysis: Calculates correlation coefficients over three customizable periods (default: 20, 50, and 200 bars)
Visual Reference Lines: Displays horizontal lines at +1, 0, and -1 to indicate perfect positive correlation, no correlation, and perfect negative correlation
Color-Coded Outputs: Shows short-term correlation in green, medium-term in yellow, and long-term in red for easy visual interpretation
Understanding Correlation
The correlation coefficient measures the statistical relationship between two data series, ranging from -1 to +1:
+1: Perfect positive correlation (both assets move together in the same direction)
0: No correlation (movements are random and independent)
-1: Perfect negative correlation (assets move in opposite directions)
How To Use This Indicator
Market Relationships: Identify how strongly your current asset correlates with the reference symbol
Diversification Analysis: Find assets with negative correlations to build a diversified portfolio
Divergence Opportunities: Watch for changes in correlation patterns that might signal trading opportunities
Trend Confirmation: Use correlation with benchmark assets to confirm broader market trends
Customization Options
Reference Symbol: Change the default GLD to any other symbol you want to compare against
Period Lengths: Adjust the short, medium, and long timeframes to match your trading strategy and timeframe
This indicator helps traders make more informed decisions by understanding the interrelationships between different assets across various timeframes, potentially improving portfolio construction and risk management strategies.
GoldenJet - First Candle High/LowThe "First Candle High/Low" indicator is a custom intraday trading tool designed for use on intraday charts (e.g., 1-minute, 5-minute, 15-minute). It automatically marks the high and low of the first completed candle of the trading day using horizontal dashed lines. These lines are extended visually across the chart until the end of the day, allowing traders to reference them easily throughout the session.
The first candle of the day is identified by detecting a new calendar day.
The high and low from that candle are stored and used as key levels.
The levels are displayed as horizontal lines from the first candle's time up to day end
✅ Benefits of This Indicator for Intraday Traders
Establishes Key Reference Points Early:
The high and low of the first candle often act as early indicators of intraday support and resistance.
Helps identify the day's potential range and momentum.
Improves Trade Planning:
You can use the levels to set breakout or reversal entries.
Helps in defining stop-loss and take-profit zones based on these levels.
Supports Multiple Strategies:
Useful in breakout trading, where a break above the first candle high might indicate bullish momentum.
Helpful in mean-reversion or range trading, where price bouncing between high and low can be exploited.
Enhances Risk Management:
By marking predefined levels, you avoid emotionally-driven entries.
Lines provide a clear visual cue for when to act or wait.
Works Across Markets and Instruments:
Applicable to stocks, indices, futures, forex, and crypto — anywhere intraday price action matters.
VWAP Double Touch Alert (Timeframe-Aware)📌 VWAP Double Touch Alert — Smart Re-entry Signal for Precision Traders
Take your VWAP trading to the next level with this intelligent indicator that filters out the noise and zeroes in on high-probability re-entry setups.
💡 How it works:
This script tracks every time price touches the VWAP line and alerts you when it happens twice within a defined window of time (adjustable per your timeframe). This is often a sign of smart money accumulation, potential reversals, or explosive breakouts.
🔍 Why Traders Love It:
✅ Filters out weak signals — only alerts on confirmed double touches
✅ Fully adjustable VWAP zone sensitivity
✅ Selectable timeframe profiles or custom window (1m, 5m, 15m, 30m, etc.)
✅ Clean visual cues with minimal chart clutter
✅ Perfect for scalping, intraday reversals, or VWAP mean-reversion strategies
⚙️ Customization:
VWAP zone width (in %)
Time window in bars or automatic based on timeframe
Custom alert messages
Alert only triggers once per double-touch event to avoid spamming
🎯 Best For:
Crypto scalpers & day traders
VWAP bounce and mean-reversion traders
Traders who want clean, conclusive entry alerts without lag
Stochastic RSI with MTF TableShort Description of the Script
The provided Pine Script indicator, titled "Stochastic RSI with MTF Table," calculates and displays the Stochastic RSI for the current timeframe and multiple other timeframes (5m, 15m, 30m, 60m, 240m, and daily). The Stochastic RSI is a momentum indicator that blends the Relative Strength Index (RSI) and Stochastic Oscillator to identify overbought and oversold conditions, as well as potential trend reversals via K and D line crossovers.
Key features of the script include:
Inputs: Customizable parameters such as K smoothing (default 3), D smoothing (default 3), RSI length (default 14), Stochastic length (default 14), source price (default close), and overbought/oversold levels (default 80/20).
MTF Table: A table displays the Stochastic RSI status for each timeframe:
"OB" (overbought) if K > 80, "OS" (oversold) if K < 20, or "N" (neutral) otherwise.
Crossovers: "K↑D" for bullish (K crosses above D) and "K↓D" for bearish (K crosses below D).
Visualization: Plots the K and D lines for the current timeframe, with horizontal lines at 80 (overbought), 50 (middle), and 20 (oversold), plus a background fill for clarity.
Table Position: Configurable to appear in one of four chart corners (default: top-right).
This indicator helps traders assess momentum across multiple timeframes simultaneously, aiding in the identification of trend strength and potential entry/exit points.
Trading Strategy with 50EMA and 200EMA for Highest Winning Rate
To create a strategy with the best probability of a high winning rate using the Stochastic RSI MTF indicator alongside the 50-period Exponential Moving Average (50EMA) and 200-period Exponential Moving Average (200EMA), we can combine trend identification with momentum-based entry timing. The 50EMA and 200EMA are widely used to determine medium- and long-term trends, while the Stochastic RSI MTF table provides multi-timeframe momentum signals. Here’s the strategy:
1. Determine the Overall Trend
Bullish Trend: The 50EMA is above the 200EMA on the current timeframe (e.g., daily or 60m chart). This suggests an uptrend, often associated with a "Golden Cross."
Bearish Trend: The 50EMA is below the 200EMA on the current timeframe. This indicates a downtrend, often linked to a "Death Cross."
Implementation: Plot the 50EMA and 200EMA on your chart and visually confirm their relative positions.
2. Identify Entry Signals Using the Stochastic RSI MTF Table
In a Bullish Trend (50EMA > 200EMA):
Look for timeframes in the MTF table showing:
Oversold (OS): K < 20, indicating a potential pullback in the uptrend where price may rebound.
Bullish Crossover (K↑D): K crosses above D, signaling rising momentum and a potential entry point.
Example: If the 60m and 240m timeframes show "OS" or "K↑D," this could be a buy signal.
In a Bearish Trend (50EMA < 200EMA):
Look for timeframes in the MTF table showing:
Overbought (OB): K > 80, suggesting a rally in the downtrend where price may reverse downward.
Bearish Crossover (K↓D): K crosses below D, indicating declining momentum and a potential short entry.
Example: If the 30m and daily timeframes show "OB" or "K↓D," this could be a sell/short signal.
Current Timeframe Check: Use the plotted K and D lines on your trading timeframe for precise entry timing (e.g., confirm a K↑D crossover on a 60m chart for a long trade).
3. Confirm Signals Across Multiple Timeframes
Strengthen the Signal: A higher winning rate is more likely when multiple timeframes align with the trend and signal. For instance:
Bullish trend + "OS" or "K↑D" on 60m, 240m, and daily = strong buy signal.
Bearish trend + "OB" or "K↓D" on 15m, 60m, and 240m = strong sell signal.
Prioritize Higher Timeframes: Signals from the 240m or daily timeframe carry more weight due to their indication of broader trends, increasing reliability.
4. Set Stop-Loss and Take-Profit Levels
Long Trades (Bullish):
Stop-Loss: Place below the most recent swing low or below the 50EMA, whichever is closer, to protect against trend reversals.
Take-Profit: Target a key resistance level or use a risk-reward ratio (e.g., 2:1 or 3:1) based on the stop-loss distance.
Short Trades (Bearish):
Stop-Loss: Place above the most recent swing high or above the 50EMA, whichever is closer.
Take-Profit: Target a key support level or apply a similar risk-reward ratio.
Trailing Stop Option: As the trend progresses, trail the stop below the 50EMA (for longs) or above it (for shorts) to lock in profits.
5. Risk Management
Position Sizing: Risk no more than 1-2% of your trading capital per trade to minimize losses from false signals.
Volatility Consideration: Adjust stop-loss distances and position sizes based on the asset’s volatility (e.g., wider stops for volatile stocks or crypto).
Avoid Overtrading: Wait for clear alignment between the EMA trend and MTF signals to avoid low-probability setups.
Example Scenario
Chart: 60-minute timeframe.
Trend: 50EMA > 200EMA (bullish).
MTF Table: 60m shows "OS," 240m shows "K↑D," and daily is "N."
Action: Enter a long position when the 60m K line crosses above D, confirming the table signal.
Stop-Loss: Below the recent 60m swing low (e.g., 2% below entry).
Take-Profit: At the next resistance level or a 3:1 reward-to-risk ratio.
Outcome: High probability of success due to trend alignment and multi-timeframe confirmation.
Why This Strategy Works
Trend Following: Trading in the direction of the 50EMA/200EMA trend reduces the risk of fighting the market’s momentum.
Momentum Timing: The Stochastic RSI MTF table pinpoints pullbacks or reversals within the trend, improving entry timing.
Multi-Timeframe Confirmation: Alignment across timeframes filters out noise, increasing the win rate.
Risk Control: Defined stop-loss and position sizing protect against inevitable losses.
Caveats
No strategy guarantees a 100% win rate; false signals can occur, especially in choppy markets.
Test this strategy on historical data or a demo account to verify its effectiveness for your asset and timeframe.
This approach leverages the strengths of both trend-following (EMA) and momentum (Stochastic RSI) tools, aiming for a high-probability, disciplined trading system.
AMA Alpha TrendKey Features
4 EMAs (20, 50, 100, 200) plotted in distinct colors
ATR-based Trend Line
Uses mid-price (HL/2) ± ATR × Multiplier
Automatically “steps” higher in up-trends and lower in down-trends
Colored green when bullish, red when bearish
Breakout Triangles
▲ Green triangle when price closes above the trend line → potential long entry
▼ Red triangle when price closes below the trend line → potential short entry
Continuation Dots
● Green dot under every bar that remains above the trend line (bullish continuation)
● Red dot above every bar that remains below the trend line (bearish continuation)
Inputs & Customization
ATR Length: look-back period for True Range (default 14)
ATR Multiplier: channel width factor (default 2.0)
EMA Periods: hard-coded to 20, 50, 100, 200 but can be modified in code
How to Use
Trend Identification
When the trend line turns green, the market is bullish.
When it turns red, the market is bearish.
Entries
Long: look for a ▲ green triangle (price crossing above the green trend line).
Short: look for a ▼ red triangle (price crossing below the red trend line).
Trend Following
Hold as long as continuation dots (●) keep appearing in the trend direction.
Exits & Stops
Consider exiting when the opposite breakout triangle appears.
Place stops just beyond the trend line or a multiple of ATR.
Why This Works
Combining multiple EMAs with a dynamically-sized ATR channel captures both the direction and strength of a move. Breakout triangles mark fresh trend initiations, while the tiny dots confirm that momentum is still intact.
Tip: Experiment with the ATR multiplier on different timeframes—lower values for tighter, more sensitive signals; higher for filtering out noise.
BB Vicinity Reversal SignalsThis indicator detects potential intraday reversal opportunities based on price action near the outer edges of Bollinger Bands (±2.7 std dev). Unlike traditional Bollinger Band signals that require strict band touches or crossings, this tool identifies reversals that occur in the vicinity of the outer bands, increasing signal frequency while maintaining logical precision.
✅ Key Features:
Buy Signal: Triggered when a bullish candle with a strong body forms near the lower Bollinger Band.
Sell Signal: Triggered when a bearish candle with a strong body forms near the upper Bollinger Band.
Vicinity logic: User-adjustable % range from the outer bands (default: 20%) to define how close price must be.
Body-to-candle ratio filter: Ensures that only meaningful directional candles trigger signals.
No repainting: All signals are generated in real-time based on confirmed candle closes.
Built-in alerts: Receive instant notifications for buy and sell setups.
This tool is ideal for traders looking to capture high-probability mean-reversion trades without being overly restrictive. It works well on intraday timeframes like 5m, 15m, and 1h.
TLC sessionA Professional Intraday Session Tracker with VWAP and Economic Event Integration
Description
This indicator provides visual tracking of major trading sessions (Asian, London, New York) combined with VWAP calculations and macroeconomic event zones. It's designed for intraday traders who need to monitor session overlaps, liquidity periods, and high-impact news events.
The basic script of trading sessions was taken as a basis and refined for greater convenience.
Key Features:
Customizable Session Tracking: Visualize up to 3 trading sessions with adjustable time zones (supports IANA & GMT formats)
Dynamic VWAP Integration: Built-in Volume-Weighted Average Price calculation
Macro Event Zones: Highlights key economic announcement windows (adjustable for summer/winter time)
Price Action Visualization: Displays open/close prices, session ranges, and average price levels
Automatic DST Adjustment: Uses IANA timezone database for daylight savings awareness
How It Works
1. Trading Session Detection
Three fully configurable sessions (e.g., Asia, London, New York)
Each session displays:
Colored background zone
Opening price (dashed line)
Closing price (dashed line)
Average price (dotted line)
Optional label with session name
2. VWAP Calculation
Standard Volume-Weighted Average Price plotted as circled line
Helps identify fair value within each session
3. Macro Event Zones
Special highlighted period for economic news releases
Automatically adjusts for summer/winter time
Default set to 1000-1200 (summer) or 0900-1100 (winter) GMT-5 (US session open)
Why This Indicator is Unique
Multi-Session Awareness
Unlike simple session indicators, this tool:
Tracks price development within each session
Shows session overlaps (critical for volatility periods)
Maintains separate VWAP calculations across sessions
Professional-Grade Features
IANA timezone support (automatic DST handling)
Customizable visual elements (toggle labels, ranges, averages)
Object-based architecture (clean, efficient rendering)
News event integration (helps avoid trading during high-impact releases)
Usage Recommendations
Best Timeframes
1-minute to 1-hour charts (intraday focus)
Not recommended for daily+ timeframes
Trading Applications
1. Session Breakout Strategy: Trade breakouts when London/New York sessions open
2. VWAP Reversion: Fade moves that deviate too far from VWAP
3. News Avoidance: Reduce position sizing during macro event windows
Visual Example
Asian session (red)
London session (blue)
New York session (purple)
Macro event zone (white)
VWAP line (gold circles)
The basic script of trading sessions was taken as a basis and refined for greater convenience.
Hybrid Momentum Suite [QuantAlgo]The Hybrid Momentum Suite is an advanced momentum-based technical indicator that utilizes a weighted fusion of RSI and CCI, combined with adaptive boundary detection to help traders and investors identify momentum strength and potential reversal zones across different timeframes and asset classes.
🟢 Technical Foundation
The Hybrid Momentum Suite employs a dual-component approach to momentum analysis, incorporating:
Hybrid RSI-CCI Calculation: Uses a customizable ratio for momentum signature creation, allowing traders and investors to balance the characteristics of both indicators
Bi-Directional Component Separation: Automatically separates unified momentum into distinct bullish and bearish forces for independent analysis
Adaptive Impulse Boundary: Uses exponential moving average combined with standard deviation multipliers to detect momentum exhaustion zones
Multi-Level Gradient Visualization: Applies sophisticated layering with varying transparency to show momentum strength and direction changes
The indicator processes price data through multiple filtering stages, applying mathematical principles including weighted averaging, component isolation, and statistical variance analysis. This creates a momentum system that adapts to market volatility while maintaining clarity in directional bias and strength quantification.
🟢 Key Features & Signals
1. Bi-Directional Component Separation
The indicator presents momentum through mathematically isolated histograms that separate bullish and bearish forces for independent analysis.
When bullish momentum is dominant, the bullish component (green) shows greater amplitude than the bearish component.
Similarly, when bearish momentum is dominant, the bearish component (red) shows greater amplitude than the bullish component.
During transitional periods, components may show equal strength, indicating momentum equilibrium.
This visualization provides immediate insights into:
→ Competing market forces simultaneously
→ Momentum exhaustion before reversals
→ Quantified momentum strength across different timeframes
2. Real-Time Status Update
The indicator features a comprehensive analysis dashboard that operates with dynamic strength classification:
The dashboard automatically categorizes momentum from "Very Weak" to "Very Strong" based on component amplitude.
Historical comparison displays previous bar metrics for trend analysis, helping traders and investors understand momentum persistence.
Color-coded visualization matches histogram components for immediate recognition of market bias.
Adaptive positioning offers nine customizable table locations for optimal display across different chart layouts.
Regardless of position, the dashboard displays:
Current momentum direction (BULLISH or BEARISH)
Momentum strength percentage (0-100%)
Previous bar comparison for trend persistence
Active component colors for visual consistency
This comprehensive approach helps traders and investors:
→ Assess current momentum strength quantitatively
→ Identify momentum shifts through historical comparison
→ Make informed decisions based on momentum context
3. Reversal Signal Detection System
The indicator generates trading signals using advanced multi-factor validation:
Exhaustion signals are detected when components cross down after exceeding statistical boundaries, indicating potential momentum reversals.
Trend flip alerts are generated when component dominance changes (bull>bear or bear>bull), signaling directional shifts.
Boundary interaction monitoring tracks crossovers above/below impulse threshold for extreme momentum identification.
Visual markers ( X ) are positioned using mathematical placement algorithms for clear signal identification.
The indicator also features a comprehensive alert system with notifications for:
Bullish potential reversals
Bearish potential reversals
Trend flip signals
Momentum boundary crossings
*Alerts can be customized and delivered through TradingView's notification system, making it easy to stay informed of important momentum developments even when away from the charts.
4. Conditional Bar Coloring
The indicator provides optional price bar coloring based on momentum analysis:
Bars are colored based on dominant momentum component (bullish/bearish).
Reversal conditions are highlighted with specialized coloring (default orange).
Color transparency adjusts based on momentum strength for immediate visual feedback.
Bar coloring can be toggled on/off to suit different chart aesthetics and personal preferences.
🟢 Practical Usage Tips
→ Component Analysis and Interpretation: The indicator visualizes momentum direction and strength through separate components, allowing traders to immediately identify dominant market forces. This helps in assessing potential for continuation or reversal.
→ Signal Generation Strategies: The indicator generates potential trading signals based on component crossovers, boundary violations, and momentum exhaustion. Users can focus on reversal signals at statistical extremes or trend-following signals during component dominance.
→ Multi-Component Assessment: Through its bi-directional approach, the indicator enables users to understand competing forces within the same timeframe. This helps in identifying momentum equilibrium and potential turning points.
🟢 Pro Tips
Adjust RSI/CCI ratio based on market conditions:
→ High ratios (70-100) for mean-reverting markets and longer timeframes
→ Low ratios (0-30) for trending markets and shorter timeframes
→ Default 50/50 for balanced momentum assessment across market types
Fine-tune impulse boundary based on volatility:
→ Lower boundary lengths (20-30) for more frequent reversal signals
→ Higher lengths (40-60) for only major momentum extremes
→ Adjust standard deviation multiplier (2.0-4.0) based on market volatility
Look for confluence between components:
→ Component divergence as early reversal warning
→ Simultaneous extreme readings for high-probability setups
→ Component correlation with price for confirmation
Use for multiple trading approaches:
→ Reversal trading at component extremes near impulse boundary
→ Trend following when components show clear dominance
→ Early momentum shift detection with gradient fading patterns
→ Position sizing based on component strength percentage
Combine with:
→ Support/resistance analysis for strategic entry and exit points
→ Volume indicators for momentum validation
→ Multiple timeframe analysis for broader market context
→ Price action patterns for confirmation of reversal signals
Apex Edge - MTF Confluence PanelApex Edge – MTF Confluence Panel
Description:
The Apex Edge – MTF Confluence Panel is a powerful multi-timeframe analysis tool built to streamline trade decision-making by aggregating key confluences across three user-defined timeframes. The panel visually presents the state of five core market signals—Trend, Momentum, Sweep, Structure, and Trap—alongside a unified Score column that summarizes directional bias with clarity.
Traders can customize the number of bullish/bearish conditions required to trigger a score signal, allowing the tool to be tailored for both conservative and aggressive trading styles. This script is designed for those who value a clean, structured, and objective approach to identifying market alignment—whether scalping or swing trading.
How it Works:
Across each of the three selected timeframes, the panel evaluates:
Trend: Based on a user-configurable Hull Moving Average (HMA), the script compares price relative to trend to determine bullish, bearish, or neutral bias.
Momentum: Uses OBV (On-Balance Volume) with volume spike detection to identify bursts of strong buying or selling pressure.
Sweep: Detects potential liquidity grabs by identifying price rejections beyond prior swing highs/lows. A break below a previous low with reversal signals bullish intent (and vice versa for bearish).
Structure: Uses dynamic pivot-based logic to identify market structure breaks (BOS) beyond recent confirmed swing levels.
Trap: Flags potential false moves by measuring RSI overbought/oversold signal clusters combined with minimal price movement—highlighting exhaustion or deceptive breaks.
Score: A weighted consensus of the above components. The number of required confluences to trigger a score (default: 3) can be set by the user via input, offering flexibility in signal sensitivity.
Why It’s Useful for Traders:
Quick Decision-Making: The color-coded panel provides instant visual feedback on whether confluences align across timeframes—ideal for fast-paced environments like scalping or high-volatility news sessions.
Multi-Timeframe Confidence: Helps eliminate guesswork by confirming whether higher and lower timeframe conditions support your trade idea.
Customizability: Adjustable confluence threshold means traders can fine-tune how sensitive the system is—more signals for faster entries, stricter confluence for higher conviction trades.
Built-In Alerts: Automated alerts for score alignment, trap detection, and liquidity sweeps allow traders to stay informed even when away from the screen.
Strategic Edge: Supports directional bias confirmation and trade filtering with logic designed to mimic professional decision-making workflows.
Features:
Clean, real-time confluence table across three user-selected timeframes
Configurable score sensitivity via “Minimum Confluences for Score” input
Cell-based colour coding for at-a-glance trade direction
Built-in alerts for score alignment, traps, and sweep triggers
Note - This Indicator works great in sync with Apex Edge - Session Sweep Pro
Useful levels for TP = previous session high/low boxes or fib levels.
⚠️ Disclaimer:
This script is for informational and educational purposes only and should not be considered financial advice. Always perform your own due diligence and practice proper risk management when trading.
Bollinger Volatility AnalyzerThe Bollinger Volatility Analyzer (BVA) is a powerful enhancement of the traditional Bollinger Bands indicator, tailored to help traders identify volatility cycles and catch potential breakouts with better precision and timing. It builds upon the foundational concept of Bollinger Bands—using a moving average and standard deviation bands—but adds crucial insights into market contraction and expansion, which can be instrumental in timing entries and exits.
Here's how it works and why it's useful
At its core, the indicator calculates a moving average (called the "basis") and plots two bands—one above and one below—based on a multiple of standard deviation. These bands expand during volatile periods and contract during quiet ones. The width between these bands, normalized as a percentage of the basis, gives us a sense of how compressed or expanded the market currently is. When the band width drops below a user-defined threshold (like 2%), the script highlights this with an orange triangle below the bar. This is the "squeeze" condition, signaling a potential buildup of market energy—a kind of calm before the storm.
What makes this version of Bollinger Bands particularly powerful is that it not only detects squeezes, but also tells you when price breaks out of that squeeze range. If price closes above the upper band after a squeeze, a green "Breakout ↑" label is shown; if it closes below the lower band, a red "Breakout ↓" appears. These breakout labels act as entry signals, suggesting that volatility is returning and a directional move has begun.
This indicator is especially useful in markets that tend to alternate between consolidation and breakout phases, such as forex, crypto, and even individual stocks. Traders who look for early signs of momentum—whether for swing trading, scalping, or position building—can benefit from this tool. During a quiet market phase, the indicator warns you that a move might be coming; when the move starts, it tells you the direction.
In fast-moving markets, BVA helps filter out noise by focusing only on high-probability conditions: quiet consolidation followed by a strong breakout. It’s not a complete system by itself—it works best when paired with volume confirmation or oscillators like RSI—but as a volatility trigger and directional guide, it’s a reliable component of a trading workflow.
Aroon Buy & Sell (Custom TFs)Here's a detailed explanation of your Pine Script titled "Aroon Buy & Sell (Custom TFs)":
🧠 Strategy Overview:
This script generates buy and sell signals using the Aroon indicator across two different timeframes:
* One for detecting the primary trend (Trend Timeframe)
* One for confirming precise entry signals (Signal Confirmation Timeframe)
📊 Key Components:
1. User Inputs
* trendTF: The timeframe used to determine overall trend direction (e.g., 5-minute).
* signalTF: The faster timeframe for confirming trade signals (e.g., 1-minute).
* aroonLength: Lookback period for the Aroon calculation (default 14).
* cooldownPeriod: Number of bars to wait before allowing a new signal.
2. Aroon Calculation Function
Calculates Aroon Up and Aroon Down values using the number of bars since the highest high and lowest low.
3. Multi-Timeframe Aroon Values
Uses request.security to compute Aroon values on both trendTF and signalTF.
4. Trend Detection
* A bullish trend is defined when Aroon Up crosses above Aroon Down on the trend timeframe.
* A bearish trend is defined when Aroon Down crosses above Aroon Up.
5. Signal Logic
* Buy Signal: When the overall trend is bullish and Aroon Down = 100 on the signal timeframe.
* Sell Signal: When the trend is bearish and Aroon Up = 100 on the signal timeframe.
6. Cooldown Mechanism
Prevents back-to-back signals by enforcing a cooldown (e.g., 20 bars) after each buy/sell.
7. Signal Plotting & Alerts
Plots buy/sell signals directly on the chart and supports alerts for automation.
📈 Visual Output:
* BUY label below the bar when buy conditions are met.
* SELL label above the bar when sell conditions are met.
🔔 Alerts:
Two alertconditions are defined to trigger alerts whenever a buy or sell signal occurs.
Delta AO + Regular AO (Normalized)🔀 Delta AO + Regular AO (Normalized) – Visualizing Market moods becomes simpler 🔀
🧠 Introduction
The Delta AO + Regular AO (Normalized) is a custom oscillator that fuses the power of classic momentum analysis with volume-derived delta flow to give traders a dual-perspective edge.
This tool was born from a need to better visualize internal market thrust (via delta) while still respecting the time-tested signal power of the traditional Awesome Oscillator (AO).
🔍 What makes it unique?
✅ Volume-based Delta Calculation – Models upward/downward delta using a custom volatility-weighted volume allocation method, not simple tick-delta or raw buys/sells.
✅ Cumulative Delta Candles – Instead of just plotting bars, the indicator rebuilds the market structure using cumulative delta logic.
✅ Dual AO Display – Shows both custom delta AO and traditional price AO simultaneously.
✅ Normalized Scaling – Each AO is independently normalized by its standard deviation (volatility-adjusted), making both indicators visually comparable without distortion.
🧮 Under the Hood
Let’s break down the components:
1. Delta Logic 📊
Rather than using raw delta or tick-level data, this script simulates net effort:
Delta Up = Volume × a smart weighting when the candle is bullish
Delta Down = Volume × weighting when the candle is bearish
The weighting dynamically adjusts based on candle body-to-wick ratio. This provides a more refined delta estimate based on candle structure.
This delta is accumulated (cumulative delta) and used to form a synthetic OHLC candle structure.
2. AO Calculations ⚖️
Custom AO: Calculated from the median of synthetic delta candles
Regular AO: Classic (median price 5-period SMA - 34-period SMA)
Both are normalized using their own 34-bar standard deviation, improving comparability and visualization in one pane.
3. Color Coding 🎨
For the delta AO histogram:
Lime: Bullish + Increasing Momentum
Green: Bullish + Weakening Momentum
Red: Bearish + Increasing Momentum (to the downside)
Maroon: Bearish + Weakening Momentum
This lets you immediately spot momentum shifts and strength behind volume-based moves.
📈 How to Use – Trading Guide
🔧 Recommended Setup:
Timeframe: Works well on all intraday and higher timeframes (5m–1D)
Symbol: Especially effective on liquid instruments (futures, indices, large caps)
✅ Entry Signals
🔹 Buy Setup
Delta AO turns green or lime above zero, and Regular AO is also rising
Ideal confirmation: Lime bar (strong bullish delta momentum) and a crossover above zero
🔹 Sell Setup
Delta AO turns maroon or red below zero, and Regular AO is also falling
Ideal confirmation: Red bar (strong bearish delta momentum) and AO falling further below zero
🔄 Momentum Confirmation
Look for divergence between the Delta AO and Regular AO.
🔼 If Delta AO is rising but Regular AO is flat or falling → Volume is leading price (possible breakout ahead)
🔽 If Regular AO is strong but Delta AO fades → Price may be unsustainable (fakeout risk)
🛑 Exit / Reversal Clues
Sudden color shifts (e.g., Lime → Green → Maroon) can signal momentum exhaustion
Both AOs converging to zero suggests consolidation phase ahead
📌 Pro Tips
Use this with volume profile, support/resistance, or market structure zones for maximum confluence
Works great as a secondary confirmation tool for your existing strategy
💬 Final Thoughts
This oscillator is not just a pretty double AO — it's a strategic fusion of price and volume time-series designed to help you anticipate shifts before they’re obvious in price alone.
If you're looking for:
A modernized AO
Volume-integrated signal clarity
Normalized, noise-filtered momentum visual
Then this tool belongs in your chart arsenal.
📈 Try it. Test it. Pair it. If you find value, consider sharing or following for more next-gen indicators.
Please note this is an educational idea and past performance is not assurance of future performance.
Happy trading!
— @Pratik_4Clover
Apex Edge - Session Sweep ProApex Edge Session Sweep Pro
By Apex Edge | 2025 Edition
🔍 What is it?
The Apex Session Sweep Pro is a precision trading tool designed for identifying high-probability liquidity sweep entries during key global market sessions. It combines powerful sweep detection logic with dynamic candle colouring, session visualization, TP projections, and real-time alerts — all within a clean, performance-optimized Pine Script engine.
This is not your average session box indicator. This is Apex-grade.
⚙️ How it Works
The indicator detects session liquidity sweeps by tracking price action relative to previous session highs and lows. When a session high/low is swept (i.e., price breaches it and then closes in the opposite direction), it generates a signal:
Buy Signal → Price sweeps previous low and closes back above it
Sell Signal → Price sweeps previous high and closes back below it
Each session is boxed on the chart (Tokyo, London, New York, Sydney), color-coded, and dynamically labelled.
Upon detecting a valid sweep, the script:
Plots a small entry label (toggleable)
Projects up to 5 customizable TP levels
Coloured candles for visual trade direction
Alerts for Buy or Sell sweep signals (optional)
All elements are memory-managed and customizable to suit your trading style.
🧠 Key Features
✅ Smart Sweep Detection Logic
✅ Global Market Session Boxes (Custom Times)
✅ Toggleable Entry Labels + TP Levels
✅ Candle Colouring by Signal
✅ Manual TP input + TP toggles
✅ Real-time Alerts for Apex entries
🕒 Why Are My Sessions Offset?
Your chart’s time zone may be different from UTC. This script is UTC-based by design, so if your chart is set to UTC+1, for example, the sessions will appear one hour later. Either:
Adjust your chart to UTC or or Exchange for perfect alignment,
Or tweak the session input times manually.
🧰 Who is this for?
This tool is made for:
Intraday traders looking for sweeps into liquidity
SMC (Smart Money Concept) strategists
Forex, crypto, and indices traders
Anyone who uses session-based levels to define entries
Whether you scalp London or ride NY swings, this tool frames each session cleanly — and shows you where the traps are laid.
🚨 Disclaimer
This indicator is a technical tool, not financial advice. Use proper risk management. Past performance ≠ future results.
Apex Edge – Super RSIThe Apex Edge – Super RSI is not your average RSI. This is an institutional-grade signal engine designed for serious traders who want confluence, control, and confidence — all wrapped into one visual powerhouse.
━━━━━━━━━━━━━━━━━━━━
KEY FEATURES
━━━━━━━━━━━━━━━━━━━━
✔ **RSI + Divergence Engine**
• Classic & Hidden Divergences (auto-detected)
• Labelled with shapes:
▲ Green Triangle – Buy Signal (strength-based size)
▼ Red Triangle – Sell Signal
◆ Green Diamond – Classic Bullish Divergence
◆ Red Diamond – Classic Bearish Divergence
● Green Circle – Hidden Bullish Divergence
● Red Circle – Hidden Bearish Divergence
Note - Users can edit symbol colours in settings for better clarity
✔ **Trap Detection System**
• Detects low-move, high-signal clusters (liquidity traps)
• Automatically suppresses signals for X bars after detection
• Trap zones shown with shaded background (optional)
✔ **Signal Scoring Logic**
• Each signal is scored 1–6 based on:
• RSI Threshold Break
• RSI Slope
• Divergence Detected
• Trap Avoidance
• Multi-Timeframe Confluence (optional)
• The plotted shape size reflects the strength of the entry signal
✔ **Multi-Timeframe Confluence (MTF)**
• Optional filter that uses HTF and VHTF RSI alignment
• Prevents countertrend signals
• MTF Bias shown on HUD panel
✔ **Always-On HUD Panel**
• Displays:
• Signal Type
• Signal Score
• Divergence Type
• RSI (LTF & HTF)
• Trap & Cooldown Status
• MTF Bias
• Volatility %
✔ **Alert Ready**
• Buy/Sell alerts
• Trap Detected alert
• Divergence alert with dynamic message
• Perfect for webhook integrations
━━━━━━━━━━━━━━━━━━━━
📘 HOW TO TRADE IT
━━━━━━━━━━━━━━━━━━━━
✅ **Buy Setup**
• Green triangle (▲) appears **below bar**
• RSI is oversold and rising
• HTF RSI agrees (optional)
• Signal score is 3+ for best confidence
• Avoid signals during cooldown zone
✅ **Sell Setup**
• Red triangle (▼) appears **above bar**
• RSI is overbought and falling
• HTF RSI agrees (optional)
• Signal score is 3+ for best confidence
✅ **Divergences**
• Use diamonds/circles to identify momentum shifts
• Strongest when aligned with score 4–6
❗**Trap Zones**
• When background is shaded, wait for cooldown
• Signals during traps are suppressed for safety
━━━━━━━━━━━━━━━━━━━━
📊 BEST USED WITH
━━━━━━━━━━━━━━━━━━━━
🔹 Apex Edge – Session Sweep Pro (to visualize liquidity levels)
🔹 Volume Profile or OBV (volume-based confirmation)
🔹 EMA Ribbon (for trend alignment)
🔹 Fair Value Gap indicator (smart money models)
━━━━━━━━━━━━━━━━━━━━
🧠 PRO TIPS
━━━━━━━━━━━━━━━━━━━━
• Use the HUD for decision confidence — if everything aligns, you’ve got an Apex-grade setup.
• Wait for candle close to confirm divergence-based entries.
• Score 5–6 = sniper entries. Score 1–2 = warning shots.
This indicator can be used alongside Apex Edge Session Sweep Pro for better visual clarity.
━━━━━━━━━━━━━━━━━━━━
© Apex Edge | All rights reserved.
3 days ago
Release Notes
Update - Added a toggle to show/hide HUD when using on smaller mobile devices so as not to clutter the screen.
CPR-Based Fib S/R with Circles by Arthavidhi📌 **CPR-Based Fibonacci S/R with Circles – Description**
This indicator combines the power of **CPR (Central Pivot Range)** and **Fibonacci ratios** to plot highly probable intraday and swing Support/Resistance levels derived from the **daily price structure**.
### 🧠 **How It Works**
* It uses the **Daily High, Low, and Close** to calculate the **Pivot Point** (P) as:
`P = (High + Low + Close) / 3`
* Then it calculates the **daily range**:
`Range = High - Low`
* Using this pivot and range, it derives both **Fibonacci-based Support and Resistance levels**:
* **Support levels** at: 0.382, 0.5, 0.618, 1.0, 1.272, 1.618 below pivot
* **Resistance levels** at: 0.382, 0.5, 0.618, 1.0, 1.272, 1.618 above pivot
These are **plotted as small colored circles** on your chart, with **labels on the left** for easy identification of each Fib level (e.g., "0.382", "1.618").
---
### 📈 **How to Use It**
🔹 **Intraday or Swing Traders**:
* Use these levels to **anticipate reversals**, **breakouts**, or **targets**.
* The levels act like a **natural price magnet** — price tends to pause, bounce, or reverse near them.
🔹 **Entry/Exit Zones**:
* Combine with price action (like pin bars, engulfing, or inside bars) or volume near these levels to plan entries.
* **R1.618 and S1.618** are great for extended targets or aggressive reversal setups.
🔹 **CPR Center Line**:
* Acts as a key mean-reversion zone or midline. You can combine this with VWAP or RSI for confirmation.
---
### 🧩 **Best Practices**
* **Higher Timeframe Confluence**: Align this with HTF S/R or trendlines.
* **Use Alerts**: Combine this with price action alerting tools (manually or with separate indicators).
* **Do Not Use Alone**: For best results, combine with a strategy (e.g., Supply/Demand, VWAP bounce, Trendline breaks).
Percentage SDThis TradingView indicator, called "Percentage SD," measures how much the price of an asset is fluctuating (its volatility) and shows this as a percentage.
You can choose which price to track (like the closing price) and the period over which to measure this volatility.
The indicator then draws a yellow line in a separate panel below your main chart. When this line is higher, it means the price is more volatile relative to its current level. A lower line suggests less volatility. This can help you see when price movements are becoming more or less active.
ItsGuarantee Instrument Net Change Real-TimeDescription of the Indicator
The "ItsGuarantee Instrument Net Change Real-Time" is a Pine Script (version 5) indicator developed for TradingView to provide real-time net price change metrics for a financial instrument across three timeframes: Year-to-Date (YTD), Month-to-Date (MTD), and Day-to-Date (DTD). It calculates the difference between the instrument's current closing price and its opening price at the start of the year, month, and day, respectively. These net changes are displayed in a customizable table overlaid on the chart, enabling traders to quickly assess the instrument's performance over these periods without manual calculations.
Key Features:
Real-Time Net Change Calculation:
YTD Net Change: Measures the difference between the current price and the opening price on January 1, 2025 (or the specified year).
MTD Net Change: Calculates the difference between the current price and the opening price at the beginning of the current month.
DTD Net Change: Computes the difference between the current price and the opening price of the current trading day.
Customizable Table Display:
The table's position on the chart can be adjusted via a user input dropdown, with options including "top_right," "top_left," "middle_right," "middle_left," "bottom_right," or "bottom_left."
The table is structured with two columns ("Metric" and "Value") and four rows (a header row followed by three rows for the net change metrics).
It features a clean design with a gray header and white cells, accented by a border for improved readability.
Overlay on Chart:
The indicator operates in overlay=true mode, meaning the table is displayed directly on the price chart rather than in a separate pane, allowing traders to view performance metrics alongside price action seamlessly.
Error Handling:
If data for a specific timeframe (e.g., the yearly open price) is unavailable (na), the table displays "N/A" instead of a numerical value, ensuring the indicator remains functional even with incomplete data.
How It Works:
Inputs:
The script defines the starting year for the YTD calculation (default is 2025) and includes an input for the table's position on the chart.
A switch statement maps the user-selected table position (e.g., "top_right") to the corresponding Pine Script position constant (e.g., position.top_right).
Data Retrieval:
The current price is sourced using the close variable, which updates in real-time as new price data becomes available.
Historical opening prices for the year, month, and day are retrieved using request.security, pulling data from the specified timeframes ("12M" for yearly, "M" for monthly, "D" for daily). The barmerge parameters ensure accurate data alignment without gaps or lookahead bias.
Net Change Calculations:
YTD Net Change = Current Price - Yearly Open Price (January 1, 2025)
MTD Net Change = Current Price - Monthly Open Price (start of the current month)
DTD Net Change = Current Price - Daily Open Price (start of the current trading day)
The na function checks for missing data to prevent errors during calculations.
Table Creation and Population:
A table is created using table.new with 2 columns and 4 rows, positioned according to the user's input.
The first row serves as a header with "Metric" and "Value" labels, styled with a gray background and white text for contrast.
The subsequent rows display the YTD, MTD, and DTD net changes in dollars, formatted to two decimal places using str.tostring. If a value is unavailable, it displays "N/A."
Use Case for Traders:
This indicator is highly practical for traders and investors who need to monitor an instrument's performance across different timeframes without performing manual calculations. Specific use cases include:
Day Traders: The DTD net change provides a snapshot of intraday performance, helping traders make quick decisions based on daily price movements.
Swing Traders: The MTD net change offers insights into short-term trends within the month, aiding in the identification of potential swing opportunities.
Long-Term Investors: The YTD net change allows for tracking yearly performance, which is valuable for portfolio management, performance evaluation, or tax-related purposes (e.g., assessing gains/losses in 2025).
The table's overlay format ensures that these metrics are always visible on the chart, providing a convenient reference point during technical analysis. It complements other tools like momentum indicators or moving averages, offering a comprehensive view of both price performance and trend dynamics.
Potential Enhancements:
Percentage Change: The indicator currently displays net changes in dollar terms. Adding percentage changes (e.g., YTD % change = (YTD Net Change / Year Open Price) * 100) could provide a more normalized perspective on performance.
Color Coding: Incorporating conditional formatting (e.g., green for positive net changes, red for negative) would make the table more visually intuitive for quick decision-making.
Dynamic Year Input: Allowing users to dynamically input the starting year (instead of hardcoding 2025) would enhance the indicator's flexibility for use in future years.
Additional Timeframes: Including other periods like Quarter-to-Date (QTD) could align with business reporting practices, as highlighted in related sources like Sisense (2025), which discusses the importance of QTD metrics for trend analysis.
Connection to the Original Post:
The "ItsGuarantee Instrument Net Change Real-Time" indicator connects directly to the theme of the original X post by @ItsGuarantee
about "Instrument Speed & Close Momentum." While the post likely refers to a momentum-based indicator (focusing on the rate of price changes to assess trend strength), this net change table provides a complementary perspective by quantifying price performance over specific timeframes. Momentum indicators, as noted in the Investopedia (2025) web results, are useful for identifying overbought or oversold conditions, while net change metrics (YTD, MTD, DTD) offer a straightforward way to track overall price movement, supporting trend confirmation or portfolio monitoring. The "ItsGuarantee" branding ties this indicator to the creator's suite of tools, emphasizing real-time, actionable insights for traders.
ItsGuarantee Instrument Speed & Close MomentumItsGuarantee Instrument Speed & Close Momentum
Overview
Exclusively engineered for premier hedge funds, the ItsGuarantee Instrument Speed & Close Momentum indicator is a vital tool that unlocks the speed of an instrument and how fast it’s going since the start of the current year, powered by proprietary physics-based calculations. These calculations preview the guaranteed net profit or loss of an instrument every day since the year’s start, using real-time data to deliver unmatched precision. It forecasts unmanipulated closing prices for today, the month, and the year, displayed on a sleek, customizable dashboard with lines, labels, and a table. With real-time alerts, manipulation detection, and global timezone support, this indicator is indispensable for maximizing returns.
Key Features
Real-Time Speed Analysis: Uses physics-based math to reveal an instrument’s speed and daily profit/loss preview since January 1 with live data.
Accurate Price Forecasts: Predicts unmanipulated daily, monthly, and yearly closing prices with precision.
Manipulation Detection: Spots price irregularities instantly, safeguarding your trades.
Clear Visuals: Features Sea Blue (daily), Purple (monthly), and Red (yearly) lines and labels for quick insights.
Instant Alerts: Sends real-time notifications when prices cross key levels.
Global Compatibility: Works in any market timezone with adjustable open times.
Custom Dashboard: Tailor table position, colors, and sizes to fit your needs.
How It Works
Driven by proprietary physics calculations, the indicator tracks an instrument’s price speed since January 1 using real-time data, previewing the guaranteed net profit or loss every day since the year’s start. It predicts unmanipulated closing prices for daily, monthly, and yearly periods, shown on a clear table, lines, and labels. Real-time alerts signal price crossings, and manipulation detection ensures market integrity, making it a cornerstone for hedge funds worldwide.
Ideal For
Hedge fund managers tracking daily profit/loss and instrument speed with live data.
Funds combating price manipulation to seize market opportunities.
Any Monday-to-Friday market globally.
Customization Options
Set market open time (e.g., 9:30 AM for NYSE).
Adjust table colors, borders, and text sizes (tiny to huge).
Customize Sea Blue (daily), Purple (monthly), and Red (yearly) visuals.
Choose from six table positions (e.g., Top Right, Bottom Left).
Setting Up Alerts
Add the indicator to your chart.
Enable alerts like “Daily Close Crossover” for key price movements.
Use “Once Per Bar Close” on daily charts for accurate alerts.
Note
Adapts to any chart timezone; align with your market’s settings.
Assumes 264 trading days per year and 22 trading days per month.
Includes debugging labels for NA values at the top of the chart.
Secure Your Advantage
Trusted by elite hedge funds, ItsGuarantee Instrument Speed & Close Momentum is your key to mastering market speed and daily profit/loss with real-time precision. Add it to your chart, set your market time, customize the dashboard, and enable alerts to trade with the confidence of the world’s top funds.
0830-0845 High/Low Marker (Accurate Start + History)This indicator marks the high and low of the 15-minute candle between 08:30 and 08:45 (local time) of the trading session. The high and low are tracked dynamically, with the lines drawn once the 08:45 candle closes.
Key Features:
Session-based Tracking: Automatically tracks and records the high and low of the 15-minute period starting at 08:30 and ending at 08:45.
Excludes 08:45 High : If a high is created exactly at 08:45, the indicator will ignore it and use the highest value before 08:45, ensuring it only references the price action during the specified window.
Line Extension : The high and low lines are drawn and extended to the right for a user-defined number of bars, making them visible beyond the session's close.
Customizable Parameters : Adjust the start and end times of the session, line colors, and line width to fit your preferences.
Use Case :
Ideal for traders who focus on the price action during the early part of the trading session (08:30 to 08:45) and want to track significant levels of support and resistance from that period.
The extended lines help identify potential price zones for the rest of the session or the trading day.