Shooting Star ORB🧠 Indicator Name: "First Candle Shooting Star + ORB"
📌 Purpose
This indicator detects when the first candle of the day forms a Shooting Star pattern and then monitors for a breakout beyond its range. It visually marks the pattern and the breakout with boxes and provides real-time alerts and a status table.
🔍 What It Does Step-by-Step
1. 📅 Detects the Start of a New Trading Day
Uses ta.change(time("D")) to identify a new trading day.
When a new day starts, it checks if the very first candle of the session is a Shooting Star.
2. 🕯️ Identifies a Shooting Star Pattern
A candle is labeled a Shooting Star if:
It has a small body compared to the full candle range.
It has a long upper shadow at least 2× the body.
It has a short or tiny lower shadow.
All these criteria are adjustable through inputs.
3. 📦 Draws a Box for the First Candle Range
If a Shooting Star is found in the first candle of the day:
It draws a red shaded box covering the high and low of that candle.
The box visually marks the potential Opening Range.
4. 💥 Detects Breakout from Shooting Star Candle
After the first candle:
If price moves above or below the range by a specified % (like 1%), it flags a breakout.
A blue shaded box is drawn at the breakout candle for visual confirmation.
5. 🔔 Alerts
🔴 Shooting Star Detected: Alerts when the first candle is a shooting star.
🔵 Breakout Detected: Alerts when the price breaks out of the first candle’s range.
6. 📊 Displays Real-Time Info Table
A small table is shown on the chart:
🕯️ Pattern: “Shooting Star” or blank
💥 Breakout: “Yes” or “No”
⏱️ The timeframe being analyzed (e.g., “5” for 5-minute)
Candlestick analysis
Daily Levels & Time MarkersKey Features:
Price Level Tracking:
Previous Day High/Low (PDH/PDL) - Shows yesterday's highest and lowest prices as horizontal lines
Overnight High/Low (ONH/ONL) - Tracks the highest and lowest prices during overnight sessions (4:00 PM to 9:30 AM ET)
Opening Range High/Low (ORH/ORL) - Captures the price range during the first 30 minutes of regular trading (9:30-10:00 AM ET)
Visual Elements:
Draws horizontal lines for previous day levels that extend across the chart
Creates rays (extending lines) for overnight and opening range levels that project forward from when they were established
Uses different colors and line styles for each level type (solid lines for daily levels, dashed for opening range)
Adds text labels showing the exact price values (PDH, PDL, ONH, ONL, ORH, ORL)
Time Markers:
Draws vertical dashed lines at key trading times: 10:00 AM, 11:30 AM, 1:00 PM, 2:30 PM, and 4:00 PM ET
Uses Eastern Time zone by default but allows customization
Customization Options:
Toggle each feature on/off independently
Customize colors for all line types
Adjust timezone settings
CISD Levels by HAZEDCISD Levels by HAZED - Advanced Market Structure Analysis
📊 Overview
The CISD Levels indicator is a sophisticated market structure analysis tool that automatically identifies and plots critical support and resistance levels based on Change in State Direction (CISD) methodology. This indicator helps traders visualize key market turning points and potential breakout/breakdown levels with precision.
🎯 What are CISD Levels?
CISD (Change in State Direction) levels represent significant price points where market sentiment shifts from bullish to bearish or vice versa. These levels are dynamically calculated based on:
Market structure breaks (higher highs/lower lows)
Pullback patterns and trend continuations
Real-time price action analysis
Dynamic level updates as market conditions evolve
✨ Key Features
🔥 Smart Level Detection
Automatically identifies bullish (+CISD) and bearish (-CISD) levels
Real-time updates as market structure evolves
Intelligent pullback detection algorithm
🎨 Full Customization
Colors: Customize bullish/bearish level colors
Line Styles: Choose from solid, dotted, or dashed lines
Text Labels: Fully customizable text, size, and font options
Transparency: Adjustable line transparency (0-100%)
Extensions: Control how far lines extend into the future
📈 Historical Analysis
Show All Levels: Option to display historical CISD levels
Max Levels Control: Limit the number of historical levels shown (1-50)
Level Management: Automatic cleanup of old levels
🚨 Smart Alerts
Bullish Alerts: Get notified when price breaks above +CISD levels
Bearish Alerts: Get notified when price breaks below -CISD levels
Alert Frequency: Choose between "Once Per Bar" or "Once Per Bar Close"
📊 Statistics Table
Market State: Current bullish/bearish market condition
Active Levels: Count of currently active CISD levels
Latest Levels: Display of most recent +CISD and -CISD values
Positioning: 5 different table positions available
🛠️ How to Use
For Swing Traders:
Use CISD levels as key support/resistance zones
Enter positions on level breaks with proper risk management
Set stop losses below/above opposite CISD levels
For Day Traders:
Watch for price reactions at CISD levels
Use levels for entry/exit timing
Combine with volume analysis for confirmation
For Position Traders:
Identify major market structure changes
Use higher timeframe CISD levels for strategic entries
Monitor level breaks for trend continuation signals
⚙️ Settings Guide
CISD Level Settings
Bullish/Bearish Colors: Customize level appearance
Custom Text: Add your own labels to levels
Alert Setup: Enable notifications for level breaks
Historical Levels: Choose to show past levels for context
Appearance Customization
Line Width: 1-5 pixel thickness options
Line Style: Solid, dotted, or dashed
Extension Bars: Control future projection (1-50 bars)
Text Options: Size, font, and bold formatting
Statistics Table
Enable/Disable: Toggle table visibility
Position: 5 placement options on chart
Real-time Data: Live market state and level information
🎯 Best Practices
Multi-Timeframe Analysis: Use CISD levels across different timeframes for confluence
Risk Management: Always use proper position sizing and stop losses
Confirmation: Combine with volume, momentum, or other indicators
Market Context: Consider overall market conditions and news events
Backtesting: Test the levels on historical data before live trading
📋 Technical Specifications
Overlay: True (plots directly on price chart)
Max Lines: 500 (handles multiple historical levels)
Max Labels: 500 (supports extensive labeling)
Real-time Updates: Dynamic level calculation and alerts
Performance: Optimized code for smooth chart operation
🚀 Why Choose CISD Levels?
Precision: Advanced algorithm for accurate level identification
Flexibility: Extensive customization options for any trading style
Reliability: Proven market structure analysis methodology
User-Friendly: Intuitive settings with helpful tooltips
Professional: Clean, professional appearance on any chart
📞 Support & Updates
This indicator is actively maintained and updated. For questions, suggestions, or feature requests, feel free to reach out through TradingView messaging.
⚠️ Disclaimer: This indicator is for educational and informational purposes only. Always conduct your own analysis and risk management. Past performance does not guarantee future results.
Opening Range Breakout with John Wick + CDH/CDLOpening Range Breakout (ORB) De Luxe with John Wick Pattern - User Manual Table of Contents
1. Introduction
2. Key Features
3. Installation
4. Configuration Guide
5. Trading Signals
6. Pattern Recognition
7. Zone Trading
8. Alert Setup
9. Trading Strategies
10. Best Practices
11. Troubleshooting
________________________________________
1. Introduction The Opening Range Breakout (ORB) with John Wick indicator is a comprehensive trading tool designed for intraday and swing traders. It combines the classic Opening Range Breakout strategy with advanced candlestick pattern recognition, including the unique "John Wick" pattern. What is Opening Range Breakout? The Opening Range (OR) is the price range established during the first 15 minutes of a trading session. This range often acts as support and resistance for the remainder of the trading day. Breakouts above or below this range can signal strong directional moves. Key Concepts: • Opening Range High: The highest price during the first 15 minutes • Opening Range Low: The lowest price during the first 15 minutes • Breakout: Price movement above OR High (bullish) or below OR Low (bearish) • Pattern Zones: Areas around key levels where pattern recognition is most effective • PDH/PDL: Previous Day High and Previous Day Low - key reference levels from the prior trading day • CDH/CDL: Current Day High and Current Day Low - dynamically updating intraday extremes
________________________________________
2. Key Features Core Features: • Multi-Session Support: New York, London, Tokyo, Sydney, Frankfurt, and Custom sessions • Opening Range Visualization: Automatic OR High/Low detection and plotting • Pattern Recognition: Engulfing, Hammer/Shooting Star, Doji, and John Wick patterns • Zone Trading: Customizable zones around OR and PDH/PDL/CDH/CDL levels • Previous Day Levels: PDH (Previous Day High) and PDL (Previous Day Low) • Current Day Levels: CDH (Current Day High) and CDL (Current Day Low) - real-time tracking • Mid-Point Levels: Automatic calculation of OR mid-point • Real-Time Alerts: Breakout and pattern-based alerts • Multi-Timezone Support: Exchange or custom timezone selection Visual Features: • Dynamic color-coded levels • Triangle signals for breakouts • Pattern labels with clear identification • Information table with current session data • Fully customizable colors and styles
________________________________________
3. Installation Step 1: Add to Chart
4. Open TradingView and navigate to your desired chart
5. Click on "Indicators" (or press /)
6. Search for "Opening Range Breakout with John Wick"
7. Click to add the indicator to your chart Step 2: Initial Setup
8. The indicator will automatically detect your chart's timezone
9. Default session is set to "New York"
10. All features are enabled by default Recommended Timeframes: • Optimal: 1-minute to 15-minute charts • Suitable: Up to 1-hour charts • Not Recommended: Daily or higher timeframes
________________________________________
4. Configuration Guide Timezone Settings Use Exchange Timezone • Enabled (Default): Uses the exchange's native timezone • Disabled: Uses chart timezone or custom selection Timezone Selection Available when "Use Exchange Timezone" is disabled: • America/New_York • Europe/London • Europe/Amsterdam • Asia/Tokyo • Australia/Sydney Session Selection Trading Sessions • Sydney: 09:00-16:00 Sydney time • Tokyo: 09:00-15:00 Tokyo time • London: 08:00-16:30 London time • Frankfurt: 09:00-17:30 Frankfurt time • New York: 09:30-16:00 New York time • Custom: User-defined session • Previous Sessions: Shows multiple historical ORs Custom Session Settings • Custom Session Time: Define your own trading hours • Custom Session Name: Label for your custom session Display Options Line Settings • Line Width: 1-5 (Default: 2) • Line Style: Solid, Dashed, or Dotted • Show Current Only: Hide historical OR lines • Show Session Name: Display session label on chart Color Customization • OR Resistance (High): Default red • OR Support (Low): Default green • Session Colors: Unique color per session type • Zone Colors: Separate colors for OR and PDH/PDL zones Pattern Zone Settings Zone Configuration • Show Pattern Detection Zone: Enable/disable zones • OR Zone Size: Percentage of OR range (Default: 2%) • PDH/PDL Zone Size: Percentage of PDH-PDL range (Default: 1.5%) • CDH/CDL Zone Size: Percentage of CDH-CDL range (Default: 1.5%) • Show Zone Labels: Display zone boundary values • Only Detect Patterns in Zone: Limit pattern detection to zones Mid-Point Settings • Show Opening Range Mid-Point: Display OR midline • Mid-Point Color: Default gray • Mid-Point Style: Dotted, Dashed, or Solid • Show Mid-Point Label: Display midpoint value Previous Day Levels • Show Previous Day High/Low: Enable PDH/PDL lines • PDH/PDL Colors: Default yellow • PDH/PDL Line Style: Customizable style • Show PDH/PDL Labels: Display level values
Current Day Levels • Show Current Day High/Low: Enable CDH/CDL lines • CDH/CDL Colors: Default blue • CDH/CDL Line Style: Customizable style • Show CDH/CDL Labels: Display level values • Update Frequency: Real-time updates as new highs/lows are made
________________________________________
5. Trading Signals Signal Types
6. Breakout Signals • Bullish (Buy): Green triangle below candle when price breaks above OR High • Bearish (Sell): Red triangle above candle when price breaks below OR Low
7. Pattern-Enhanced Signals Signals are generated when breakouts occur WITH confirming patterns: • Stronger probability of follow-through • Reduced false breakouts • Better risk/reward setups Signal Configuration Alert Settings • Enable Alerts: Turn alerts on/off • Show Buy/Sell Signals: Visual signals on chart • Show Signal Text: Display "BUY"/"SELL" labels Pattern Filter Options • Use Candle Pattern Filter: Require patterns for signals • Pattern Combination Mode: o Any Pattern: Signal on any single pattern o Multiple Patterns: Require minimum pattern count o Specific Combo: Require specific pattern combinations
________________________________________
6. Pattern Recognition Supported Patterns
7. Engulfing Pattern • Bullish Engulfing: Large green candle completely engulfs previous red candle • Bearish Engulfing: Large red candle completely engulfs previous green candle • Label: "E"
8. Hammer/Shooting Star • Hammer: Small body at top, long lower wick (2x body size) • Shooting Star: Small body at bottom, long upper wick (2x body size) • Labels: "H" (Hammer), "S" (Shooting Star)
9. Doji Pattern • Definition: Open and close nearly equal (body < 10% of average) • Significance: Indecision, potential reversal • Label: "D"
10. John Wick Pattern (Unique Feature) • Bullish John Wick: o Opens below previous candle's low o 30-70% of body extends below previous low o Strong momentum indication • Bearish John Wick: o Opens above previous candle's high o 30-70% of body extends above previous high • Label: "JW" Pattern Visualization • Pattern Markers: Small circular labels with pattern abbreviations • Pattern Count: Number showing total patterns detected • Pattern Background: Optional highlighting (disabled by default) • Positioning: o Bullish patterns: Below candles at varying distances o Bearish patterns: Above candles at varying distances
________________________________________
7. Zone Trading Zone Concept Zones are buffer areas around key levels where price action and patterns are monitored more closely. Zone Types
8. Opening Range Zones • OR High Zone: Area around the OR High level • OR Low Zone: Area around the OR Low level • Purpose: Identify potential breakout or rejection areas
9. PDH/PDL Zones • PDH Zone: Area around Previous Day High • PDL Zone: Area around Previous Day Low • Purpose: Monitor reactions at key daily levels
10. CDH/CDL Zones • CDH Zone: Area around Current Day High • CDL Zone: Area around Current Day Low • Purpose: Track reactions at evolving intraday extremes • Dynamic Nature: These zones move as new highs/lows are established Zone Features • Visual Representation: Semi-transparent colored boxes • Customizable Size: Percentage-based calculation • Pattern Detection: Option to only detect patterns within zones • Bar Coloring: Candles change color when in zones Zone Trading Strategy
11. Wait for price to enter a zone
12. Look for pattern formation within the zone
13. Trade breakouts with pattern confirmation
14. Use zone boundaries as stop-loss references
________________________________________
8. Alert Setup Creating Alerts Step 1: Basic Alert Setup
9. Right-click on the chart
10. Select "Add Alert"
11. Choose "ORB The Luxe" from Condition dropdown
12. Select alert type Step 2: Alert Types • Any alert() function call: All indicator alerts • Crossed above OR High: Bullish breakout • Crossed below OR Low: Bearish breakout Alert Messages Alerts include: • Session name (e.g., "New York") • Direction (above/below) • Level crossed • Pattern detected (if applicable) • Zone information (if in zone) Alert Best Practices
13. Set alerts after the OR is established (15+ minutes into session)
14. Use pattern filters to reduce false signals
15. Consider zone alerts for higher probability setups
16. Set stop-loss alerts at opposite OR level
________________________________________
9. Trading Strategies Strategy 1: Classic ORB
10. Entry: o Long: Break above OR High o Short: Break below OR Low
11. Stop Loss: Opposite OR level
12. Target: 1:2 or 1:3 risk/reward
13. Best Time: First 2 hours after OR Strategy 2: ORB with Pattern Confirmation
14. Entry Requirements: o Breakout signal o At least one confirming pattern o Preferably within a zone
15. Stop Loss: Mid-point of OR
16. Target: Previous day's high/low or current day's high/low
17. Win Rate: Higher than classic ORB Strategy 3: Zone Rejection Trading
18. Setup: Price enters zone but fails to break OR
19. Entry: Reversal pattern in zone
20. Stop Loss: Just outside zone boundary
21. Target: Opposite OR level
22. Best For: Range-bound markets Strategy 4: Multi-Session Confluence
23. Look for: Alignment of multiple session ORs
24. Entry: Break of aligned levels
25. Confirmation: Pattern at confluence point
26. Target: Extended moves expected
27. Additional Edge: Watch for CDH/CDL tests during the session
Strategy 5: CDH/CDL Breakout Trading
1. Setup: Price approaches current day's high or low
2. Entry: Break and hold above CDH or below CDL
3. Confirmation: Volume increase or pattern formation
4. Stop Loss: Just inside the CDH/CDL level
5. Target: Measured move based on intraday range
6. Best For: Trending days with momentum Risk Management Rules • Position Size: Risk 1-2% per trade • Max Daily Loss: 3-5% of account • Avoid: First and last 15 minutes of session • Best Days: Tuesday through Thursday
________________________________________
10. Best Practices Do's:
• Wait for OR to be established (15 minutes)
• Use multiple confirmations (pattern + zone + volume)
• Trade in the direction of the larger trend
• Set alerts to avoid missing opportunities
• Keep a trading journal of ORB trades
• Adjust zones based on market volatility
• Use proper position sizing Don'ts:
• Trade immediately at market open
• Ignore the overall market context
• Trade every OR breakout
• Use in choppy/low volume markets
• Set stops too close to entry
• Trade against strong trends
• Over-leverage positions Market Conditions Best Performance: • Trending days • High volume sessions • Economic news days • Clear market sentiment Avoid During: • Low volume holidays • Extremely choppy conditions • Major uncertainty events • End of month/quarter repositioning
________________________________________
11. Troubleshooting Common Issues and Solutions Issue: No signals appearing Solutions: • Ensure "Show Buy/Sell Signals" is enabled • Check if pattern filter is too restrictive • Verify correct session is selected • Confirm market has broken OR levels Issue: Too many false signals Solutions: • Enable pattern filter requirement • Use "Multiple Patterns" mode • Trade only within zones • Increase zone size percentage Issue: Incorrect session times Solutions: • Check timezone settings • Verify exchange timezone option • Use custom session for specific needs • Ensure chart timeframe is appropriate Issue: Overlapping indicators Solutions: • Disable pattern markers if too cluttered • Turn off signal text • Hide PDH/PDL or CDH/CDL if not needed • Use "Show Current Only" option Performance Tips
12. Reduce Chart Load: Hide historical sessions
13. Clean View: Disable unused pattern types
14. Mobile Trading: Increase line widths for visibility
15. Multiple Monitors: Use different sessions per screen Getting Help • Check indicator settings tooltips • Test on demo account first • Document your settings for consistency • Join ORB trading communities for tips
________________________________________
Conclusion The Opening Range Breakout with John Wick indicator is a powerful tool that combines time-tested ORB strategies with advanced pattern recognition. Success comes from understanding each component, practicing proper risk management, and adapting the tool to your trading style. Remember: No indicator guarantees profits. Always use proper risk management and continuous education to improve your trading results. Happy Trading!
________________________________________
Version: 1.0 Last Updated: June 2025 Pine Script Version: 6
HTF Overlay Candles (Aggregated)🕯️ Synthetic Aggregated Candles
Created by: The_Forex_Steward
License: Mozilla Public License 2.0
🔍 Description
This indicator creates visually aggregated candles directly on your chart, allowing you to view synthetic candlesticks that combine multiple bars into one. It enables a higher-level perspective of price action without switching timeframes.
Each synthetic candle is built by combining a user-defined number of consecutive bars (e.g., 4 bars from the current timeframe form one aggregated candle). It accurately tracks open, high, low, and close values, then draws a colored box and wick to represent the aggregated data.
⚙️ Features
Aggregation Factor: Combine candles over a custom number of bars (e.g., 4 = 4x current TF)
Timezone Alignment: Aggregation is aligned with midnight in UTC-5 (modifiable in code)
Custom Colors: Choose colors for bullish and bearish synthetic candles
Body Opacity: Control the opacity of the candle body for visual clarity
Wick Width: Customize the thickness of the candle wick
📌 Use Case
Ideal for traders looking to:
- Reduce noise in lower timeframes
- Visualize price action in broader chunks
- Spot larger structure and swing patterns without switching charts
📈 How It Works
At every bar, the script checks whether a new aggregation interval has begun (aligned to the day start). If so, it finalizes the previous candle and starts a new one. On the last bar of the chart, it ensures the final synthetic candle is drawn.
✅ Tip
For best results, apply this script on intraday timeframes and experiment with different aggregation factors (4, 6, 12, etc.) to discover the most insightful compression for your strategy.
Note: This script is optimized for visual representation only. It does not repaint, but it is not intended for algorithmic strategies or alerts.
Adjustable Vertical LinesThe script provides an indicator which will plot lines - 15 min, 30 min and 60 min. You can customize the time intervals and go to as low as one minute, but I found the 15-minute and 30-minute intervals works best for me when trying to find setups, and the lower time-frame intervals, is just pointless to use if you're not scalping on the seconds timeframe.
You can customize inputs for the line style. Line thickness, colour, etc.
I've seen this work using the OBR theory and applying it to the one-minute candle then looking for other confluences like order blocks, or breakers, FVGs, BOS/CHoC for further confirmation for scalping. It's important to backtest though and see for yourself.
Thanks for the boost.
[Kpt-Ahab] Poor Mans Orderflow SimulatorScript Description – Poor Mans Orderflow Simulator
Purpose of the Script
This script simulates a simplified order flow approach ("Poor Man's Orderflow") without access to actual Bid/Ask data. The goal is to detect, quantify, and visualize patterns such as absorption, impulsive moves, and structured re-entry behaviors.
Calculation Logic
Absorption Candles
A candle is classified as "absorption" if:
The ratio of body size to full candle range is below a defined threshold,
Volume is significantly higher than the average of the last N periods,
The candle direction is negative (for long absorption) or positive (for short absorption).
These conditions define a candle with high activity but minimal price movement in the respective direction.
Impulse Candles
A candle is classified as "impulse" if:
The body-to-range ratio is high (indicating a strong directional move),
Volume exceeds the average significantly,
The price closes in the direction of the candle body (bullish or bearish).
Additionally, the average range of previous candles serves as a minimum benchmark for the impulse.
Cluster Detection
A cluster is detected when:
A minimum number of absorption candles is counted within a defined lookback period,
Either the long or short version of the absorption logic is used,
The result is a binary condition: cluster active or inactive.
Entry Signals (Re-entry)
An entry signal is generated when:
One or more absorption candles occurred in the last two bars,
A pullback against the direction of absorption occurs,
The current candle shows a directional move confirmed by a close in the expected direction.
These re-entry signals are evaluated separately for long and short scenarios.
Cluster-Confirmed Signals
A separate signal is generated when a valid re-entry setup occurs while a cluster is active. This represents a combined logic condition.
Alert Logic
The script provides a multi-layer alert framework:
Signal selection (Alertmode):
The user defines which signal type should trigger an alert (e.g. re-entry only, cluster only, combination, or impulse).
Optional filter (Filtermode):
A secondary filter limits alerts to cases where an additional condition (e.g. absorption cluster) is active.
Signal output:
As a simple binary value (+1 / –1) for classic alerts,
Or via an encoded Multibit signal, compatible with other modules in the djmad ecosystem.
These alerts are intended for integration with external systems or for use within platform-native visual or automation features.
Crystal Buy Sell Liquidity📖 Crystal Buy Sell Liquidity (Crystal BSL)
The Crystal Buy Sell Liquidity (Crystal BSL) is an educational tool designed to support traders in recognizing directional bias and potential liquidity-based reversal zones—particularly during the first hour of market activity. It highlights potential Buy and Sell signals using intuitive labels and optional color-coded candles for improved visual clarity.
This indicator is built for traders who prefer a structured, rule-based approach without the need to constantly interpret raw market data.
📘 How It Works:
Optimized for use on the 1-hour (H1) timeframe.
The script analyzes price behavior during the first session hour to determine potential areas of interest.
Buy and Sell labels appear when key conditions based on market structure and liquidity are met.
Optional candle coloring enhances directional context.
✅ Suggested Use:
Entry: Enter trades when a Buy or Sell label appears and aligns with your personal trading strategy.
Exit / Trade Management:
Consider exiting the trade if the price closes beyond the opposite side of the signal candle.
Use your own risk-reward criteria to set stop loss and take profit.
Always apply responsible risk management.
🔧 Features:
Clean, customizable Buy/Sell signal labels.
Optional color-coded bars for clarity.
Built-in alerts to notify signal events in real-time.
Toggle visibility options for cleaner charts.
⚠️ Important Disclaimer:
This indicator is intended solely for educational purposes. It does not provide financial advice and should not be considered a signal service or investment recommendation. Trading involves risk, and all decisions are made at the user’s discretion. Past performance is not a guarantee of future results. Always test and validate any trading strategy thoroughly before using it in live market conditions.
Candle Count RSI📈 Candle Count RSI — A Dual-Perspective Momentum Engine
The Candle Count RSI is a custom-built momentum oscillator that expands on the classic Relative Strength Index (RSI) by introducing a directional-only variant that tracks the frequency of bullish or bearish closes, rather than price magnitude. It gives traders a second lens through which to evaluate momentum, trend conviction, and subtle divergences—often invisible to traditional price-based RSI.
💡 What Makes It Unique?
While the standard RSI is sensitive to the size of price changes, the Candle Count RSI is magnitude-blind. It counts candle closes above/below open over a lookback period, generating a purer signal of directional consistency. To enhance signal fidelity, it includes a streak amplifier, dynamically weighting extended runs of green or red candles to reflect intensity of market bias—without introducing artificial price sensitivity.
This dual-RSI approach allows for:
- Divergence detection between directional bias and price magnitude.
- Smoother trend confirmation in choppy markets.
- Cleaner visual cues using dynamic glow and background logic.
📐 How Standard RSI Actually Works (Not What You Think)
RSI doesn’t just check if price went up or down over a span—it checks each individual candle and tracks whether it closed higher or lower than the one before. Here's how it works under the hood:
1.) For each bar, it calculates the change from the previous close.
2.) It separates those changes into gains (upward moves) and losses (downward moves).
3.) Then it computes a smoothed average of those gains and losses (usually using an RMA).
4.) It calculates the Relative Strength (RS) as:
RS = AvgGain / AvgLoss
5.) Finally, it plugs that into the RSI formula:
RSI = 100 - (100 / (1 + RS))
⚖️ What Does the 50 Line Mean?
- The RSI scale runs from 0 to 100, but 50 is the true neutral zone:
- RSI > 50 means average gains outweigh average losses over the period.
- RSI < 50 means losses dominate.
- RSI ≈ 50? The market is balanced—momentum is indecisive, no clear trend bias.
- This makes 50 a powerful midline for trend filters, directional bias tools, and divergence detection—especially when paired with alternative RSI logic like Candle Count RSI.
🔧 Inputs and Customization
- Everything is fully modular and customizable:
🧠 Core Settings
- RSI Length: Used for both the standard RSI and Candle Count RSI.
📉 Standard RSI
- Classic RSI calculation based on price changes.
- Optional WMA smoothing to reduce noise.
- Glow effect toggle with custom intensity.
🕯 Candle Count RSI
- Computes RSI using only the count of up/down candles.
- Optional smoothing for stability.
- Amplifies streaks (e.g., multiple consecutive bullish candles increase strength).
- Glow effect toggle with adjustable strength.
🎇 Glow Visuals
- Background glow (subpane and/or main chart).
- Fades based on RSI distance from the 50 midpoint.
- Independent color settings for bull and bear bias.
🧬 Divergence Zones
- Detects when Candle RSI and Standard RSI diverge.
- Highlights:
- Bullish Divergence: Candle RSI > 50, Standard RSI < threshold.
- Bearish Divergence: Candle RSI < 50, Standard RSI > threshold.
- Background fill optionally shown in subpane and/or main chart.
📊 Directional Histogram
- MACD-style histogram showing the difference between the two RSI lines.
- Color-coded based on directional agreement:
- Both rising → green.
- Both falling → red.
- Conflict → yellow.
🧠 Under the Hood — How It Works
🔹 Standard RSI
- Classic ta.rsi() applied to close prices, optionally WMA-smoothed.
🔹 Candle Count RSI (CCR)
- Counts how many candles closed up/down over the period.
- Computes a magnitude-free RSI from these counts.
- Applies a streak-based multiplier to exaggerate trend strength during consecutive green/red runs.
- Optionally smoothed with WMA to create a clean signal line.
- This makes CCR ideal for detecting true directional bias without being faked out by volatile price spikes.
🔹 Divergence Logic
- When Candle RSI and Standard RSI disagree strongly across defined thresholds, background fills highlight early signs of momentum decay or hidden accumulation/distribution.
🔹 Glow Logic
- Glow zones are controlled by a master toggle and drawn with dynamic transparency:
- Further from 50 = stronger conviction = darker glow.
- Shows up in subpane and/or main chart depending on user preference.
📷 Suggested Use Case / Visual Setup
- Use in conjunction with your primary price action system.
- Watch for divergences between the Candle Count RSI and Standard RSI for early trend reversals.
- Use glow bias zones on the main chart to get subconscious directional cues during fast scalping.
- Histogram helps you confirm when both RSI variants agree—useful during strong trending conditions.
🛠️ Tip for Traders
- This tool isn’t trying to “predict” price. It’s designed to visualize hidden market psychology—when buyers are showing up with consistent pressure, or when momentum has a disconnect between conviction and magnitude. Use this to filter entries, spot weak rallies, or sense when a trend is about to break down.
⚠️ WARNING
- Not for use with Heikin Ashi, Renko, etc.).
🧠 Summary
Candle Count RSI is not just another mashup—it's a precision-built, dual-perspective oscillator that captures directional conviction using real candle behavior. Whether you're scalping intraday or swing trading momentum, this script helps clarify trend integrity and exposes hidden weaknesses with elegance and clarity.
—
🛠️ Built by: Sherlock_MacGyver
Feel free to share feedback or reach out if you'd like to collaborate on custom features.
NDOG & NWOG Indicatorndicator automatically identifies and displays New Day Opening Gaps (NDOG) and New Week Opening Gaps (NWOG) directly on your chart. It focuses on gaps based on specific session times in the New York (NY) timezone.
Key Features:
NDOG: Identifies the gap between the NY 4:59 PM (daily close) and the NY 6:00 PM (daily open).
NWOG: Identifies the gap between the Friday NY 4:59 PM (weekly close) and the Sunday NY 6:00 PM (weekly open).
Draws customizable lines for the high and low levels of each gap.
Option to show an additional mid-level line for each gap.
Includes options for line colors, styles, and width.
Allows filtering gaps by a minimum size.
Control the maximum number of recent NDOGs and NWOGs displayed.
Optionally shows text labels on the lines and a summary table on the chart.
This tool can help traders visualize potential areas of interest related to these specific opening gaps.
Note: Calculations are based on the "America/New_York" timezone.
Disclaimer: Trading involves risk and may not be suitable for all investors. This indicator is provided for informational and educational purposes only and does not constitute financial advice or a recommendation to trade. Use at your own risk.
Prev Candle Before Biggest Body (3-7am EST)This indicator automatically identifies and marks, for each trading day, the candle immediately preceding the largest open-to-close movement (in pips) during the key London session window from 3:00am to 7:00am EST (New York time). The largest candle is determined by the absolute difference between its open and close prices, measured in pips. The candle just before this “biggest” move is highlighted with a distinctive pink flag above the bar. This tool is especially useful for traders seeking to analyze pre-breakout price action or to identify key levels and setups that occur right before significant volatility during the early London session.
3 Bar Reversal3 Bar Reversal
This pattern is described in John Carter's "Mastering the Trade"
The 3 Bar Reversal indicator is a simple but effective price action tool designed to highlight potential short-term reversals in market direction. It monitors consecutive bar behavior and identifies turning points based on a three-bar pattern. This tool can assist traders in spotting trend exhaustion or early signs of a reversal, particularly in scalping or short-term trading strategies.
How It Works
This indicator analyzes the relationship between consecutive bar closes:
It counts how many bars have passed since the price closed higher than the previous close (barssince(close >= close )) — referred to as an "up streak".
It also counts how many bars have passed since the price closed lower than the previous close (barssince(close <= close )) — known as a "down streak".
A reversal condition is met when:
There have been exactly 3 bars in a row moving in one direction (up or down), and
The 4th bar closes in the opposite direction.
When this condition is detected, the script performs two actions:
Plots a triangle on the chart to signal the potential reversal:
A green triangle below the bar for a possible long (buy) opportunity.
A red triangle above the bar for a possible short (sell) opportunity.
Triggers an alert condition so users can set notifications for when a reversal is detected.
Interpretation
Long Signal: The market has printed 3 consecutive lower closes, followed by a higher close — suggesting bullish momentum may be emerging.
Short Signal: The market has printed 3 consecutive higher closes, followed by a lower close — indicating possible bearish momentum.
These patterns are common in market retracements and can act as confirmation signals when used with other indicators such as RSI, MACD, support/resistance, or volume analysis.
Usage Examples
Scalping: Use the reversal signal to quickly enter short-term trades after a short-term exhaustion move.
Swing Trading: Combine this with trend indicators (e.g., moving averages) to time pullbacks within larger trends.
Confirmation Tool: Use this indicator alongside candlestick patterns or support/resistance zones to validate entry or exit points.
Alert Setup: Enable alerts based on the built-in alertcondition to receive instant notifications for potential trade setups.
Limitations
The 3-bar reversal logic does not guarantee a trend change; it signals potential reversals, which may need confirmation.
Best used in conjunction with broader context such as trend direction, market structure, or other technical indicators.
Liquidity-Quant Execution Score (LQES)Liquidity-Quant Execution Score (LQES)
Precision execution insights made simple — your go-to score for market clarity.
What you see:
A dynamic line score plotted clearly below your chart that reflects the market’s execution strength.
Color-coded threshold bands —
The upper red band signals zones where caution is advised (potential bearish conditions).
The lower green band marks areas of potential bullish strength.
A shaded purple zone between the bands that highlights “normal” or neutral conditions.
Features:
Designed to give you a clear sense of market execution dynamics without complex numbers.
Adjustable input parameters allow you to tailor the sensitivity and timeframe to your strategy.
Includes fixed alert conditions to notify you when the score crosses key zones — so you never miss important signals.
How to use it:
Watch for the score crossing above the upper red line — this could hint at increasing market pressure to the downside.
When the score drops below the lower green line, it may suggest bullish momentum picking up.
Use the middle purple zone to identify calm or balanced periods — ideal for preparation or cautious trading.
Why traders rely on LQES:
This indicator translates complex market execution data into one straightforward, visually intuitive score — making it easier to spot shifts in liquidity and price action that matter most for smart entries and exits.
No need to second guess. Just watch the score, respect the zones, and integrate it smoothly with your trading plan.
VIDYA (Chande)This script brings you VIDYA – the Variable Index Dynamic Average, developed by Tushar Chande. It’s not your typical moving average. Unlike the standard SMA or EMA, VIDYA adapts its speed and smoothness based on real-time market momentum using the Chande Momentum Oscillator (CMO).
Think of it like a moving average that gets faster during strong trends and slows down during sideways or choppy markets — just like how a smart trader would!
🧠 What Makes VIDYA Different?
Traditional moving averages use fixed smoothing, so they lag more during big moves or chop during weak trends.
VIDYA fixes that by adapting its behavior dynamically:
When momentum is strong → VIDYA reacts faster 🚀
When momentum is weak → VIDYA smooths out the noise 🧘
⚙️ How It Works (Explained Simply):
1️⃣ CMO Calculation (Chande Momentum Oscillator):
We look at the past cmoLength candles (default 9) and:
i) Add up all the positive price changes (gains)
ii) Add up all the negative price changes (losses)
iii) Use those to compute a normalized momentum score between -100 and +100
📌 CMO = (Gains - Losses) / (Gains + Losses)
• This gives us a momentum reading that powers the next step.
2️⃣ Dynamic Alpha Smoothing:
• We convert the absolute value of the CMO into an alpha — this is the "speed" of the VIDYA.
📌 Higher momentum = higher alpha → faster response
📌 Lower momentum = lower alpha → smoother behavior
3️⃣ VIDYA Formula:
• Finally, we apply the smoothing:
📌 VIDYA = α × Price + (1 - α) × Previous VIDYA
• This equation continuously adapts to market behavior — trending or ranging.
📊 What’s Plotted?
🟠 The VIDYA Line:
A smooth, responsive line plotted on your price chart that adjusts in real-time with price momentum.
🔎 How to Use It:
✅ Use it like a moving average, but smarter:
• Price > VIDYA and rising → Trend is likely up
• Price < VIDYA and falling → Trend is likely down
• Flat VIDYA = Possible consolidation or sideways market
✅ Combine with:
• Breakout strategies (VIDYA confirms momentum)
• Reversal entries (look for price crossing VIDYA)
• Volatility filters (ignore signals when VIDYA flattens)
🧪 Bonus Tip:
Pair this with a volume indicator (like my Volume Confirmation Bars or Volume Strength Highlight) to confirm whether momentum is backed by real participation or just a fakeout.
📩 Want alerts, dual-timeframe overlays, or VIDYA with other base inputs (like typical price or HLC3)? Let me know — happy to expand this for your setup!
Stay adaptive, not reactive — trade smarter with VIDYA! 🧠📉📈
Volume Strength HighlightThis simple script helps you quickly see when volume is strong or weak on the chart — it highlights the candles based on how the current volume compares to the recent average 📊
🔍 Here's what it does:
Calculates a 20-bar average volume
Marks candles green or red if volume is much higher than average (more than 1.5x)
Marks candles gray if volume is very low (less than 0.5x the average)
Normal candles stay unchanged
You can also turn on a basic volume plot in a separate panel if you want to compare visually (just toggle it in settings).
⚠️ It’s not a buy/sell signal — just a helper to see when the market is waking up or going quiet.
Not perfect but works well with other indicators! Let me know if you like it or have ideas to add more 💡
Market Sleep ZonesHey traders 👋
This script shows when the market is in a "sleeping" or low volatility phase. I call it Market Sleep Zones 😴
It looks at the average price movement over a window (default 20 bars), and if the price changes are small (under a % threshold you set), it highlights that area on the chart with a soft green background.
💡 This can help spot moments when the market is quiet — maybe before a breakout or just moving sideways.
It also places labels to mark where these zones start and end, so it's easy to track.
You can change:
The window size (how many bars to look back)
The breath depth (how much price is allowed to move before it’s "not sleeping" anymore)
Not perfect, but helpful if you want to avoid getting chopped in low-volatility zones or want to prepare for when the market "wakes up" 😄
Let me know if you find it useful or have ideas to improve it!
Doganayy2 Buy/Sell & liquidityTrap🔧 User-Changeable Settings and Their Meanings
1. ✅ Is Wick Filter Active?
What does it do?: Controls the length of the candle wick.
Effect: If active, a long wick is considered a trap (a sign of manipulation).
2. 📊 Is Volume Filter Active?
What does it do?: Controls abnormally high volume according to the volume average.
Effect: If active, high volume candles are considered for a liquidity trap signal.
3. 📈 Is RSI Filter Active?
What does it do?: Controls overbought/oversold according to the RSI level.
Effect: If active;
If RSI > ?, a long trap is searched.
If RSI < ?, a short trap is searched.
4. 🔴🟢 Is Candle Color (Direction) Filter Active?
What does it do?: Controls whether the candle is green or red.
Effect: If active;
A red candle (selling pressure) is required for a long trap.
A green candle (buying pressure) is required for a short trap.
5. 🧮 Is Fibonacci Level Filter Active?
What does it do?: Checks whether the price has reached important Fibonacci levels.
Effect: If active;
For a long trap, the price must rise above the Fibo level.
For a short trap, the price must fall below the Fibo level.
6. 📏 Is ATR Filter Active?
What does it do?: Checks whether there is sufficient deviation in the price according to the ATR.
Effect: If active;
A trap signal is given according to whether the price has moved too far from the ATR.
📌 As a result:
As these filters are activated, the system's long/short trap detection becomes tighter and produces fewer but more reliable signals. If you close the filters, you will receive more signals, but reliability may decrease.
Purpose of the indicator: To present buy/sell opportunities by detecting liquidity traps.
ATR Display ShorcutATR Value Display - On-Chart Volatility Monitor
Clean ATR display directly on your price chart - no extra panels needed!
This indicator displays the current Average True Range (ATR) value as a clean table overlay on your price chart, eliminating the need for a separate indicator panel below your main chart.
✨ Key Features:
On-chart display: ATR value shown directly on price chart
Customizable positioning: Choose from 4 corner positions
Clean design: Minimal, non-intrusive table format
Real-time updates: Always shows the latest ATR value
Adjustable period: Default 14-period, fully customizable
🎯 Perfect For:
Position sizing calculations
Stop-loss placement (1x, 1.5x, 2x ATR)
Volatility assessment at a glance
Clean chart setups without extra panels
Quick reference during live trading
📊 How to Use:
Add to chart
Select your preferred table position
Adjust ATR period if needed (default: 14)
The current ATR value displays automatically
💡 Pro Tip:
Use this ATR value to:
Set stop-losses at 1.5x or 2x ATR distance
Determine position size based on account risk
Compare current volatility to historical levels
Clean charts, clear data, better trading decisions.
Compatible with all timeframes and instruments. Pine Script v6.
Feel free to adjust this description to match your style or add any specific features you want to highlight!
Simple Monthly SeasonalityThis script helps traders quickly visualize how an asset performs month by month over a customizable historical period.
🔍 What it does:
• Calculates average monthly returns over the past N years (default: 15).
• Highlights the current month for quick context.
• Displays results in a clean 2-column table (Month | Avg % Return).
💡 Features:
• Works on any timeframe – internally pulls monthly data.
• Color-coded performance (green for positive, red for negative).
• Dynamic highlights – the current month is softly emphasized.
• Fully customizable lookback period (1–50 years).
📈 Use cases:
• Spot seasonal market trends.
• Time entries/exits based on recurring historical strength/weakness.
• Build the foundation for more advanced seasonality or macro scripts.
Just load it on any chart and see which months historically outshine the rest.
⸻
FX Fix with Adjustable TimezoneFX Fix Time Highlighter
This indicator visually highlights candlesticks at a user-defined time and timezone to help traders easily identify when the FX fix occurs. Simply set your preferred timezone and the exact time you want to mark on the chart, and the indicator will automatically highlight the corresponding candlesticks.
Ideal for forex traders who want a clear visual reference of the FX fix window, aiding in analysis of price behavior during this key market event.
Features:
Customizable timezone selection
Adjustable highlight time (hour and minute)
Automatic candlestick highlighting at the chosen time
Supports all timeframes
Use this tool to better understand market dynamics around the FX fix and improve your trading decisions.
5 AM NY 4H Candle High/LowThis indicator identifies the 4-hour candle that starts at 5:00 AM New York time (NYT) and automatically plots its high and low on intraday charts (e.g., 15m, 30m, 1H).
It helps traders:
Highlight a key session window often associated with increased market activity.
Use the 5AM–9AM NYT range for breakout, reversal, or liquidity zone strategies.
See clean horizontal levels that can act as support or resistance throughout the trading day.
🧠 Key Features:
Works on any timeframe below 4H.
Automatically detects and updates daily.
Optional labels to mark the range visually.
Hide Current Bara lightweight overlay indicator designed to hide the color of the active (unconfirmed) candle on the chart.
Key Features:
Purpose: Hide the color of the currently forming bar (i.e., the active candle) on the price chart.
Psychological Benefit of Hiding the Active Candle’s Color
Hiding the color of the active candle can have notable psychological benefits for traders:
Reduction of Bias: The color of a forming candle often fluctuates as prices move up and down during its formation. This can trigger emotional responses such as fear or greed. By removing the color, traders avoid overreacting to incomplete information and are less likely to jump to conclusions based on transient price moves.
Focus on Confirmed Data: Since only completed candles are relevant for most technical analysis, hiding the color of the active candle encourages traders to make decisions based on fully formed and reliable data rather than noise.
Improved Discipline: By not seeing the color of the active candle, traders are less tempted to enter or exit trades impulsively in reaction to price flickers. This promotes a more systematic and disciplined approach.
Minimized Overtrading: Visual cues like bright green or red candles can prompt hasty trades, particularly in fast-moving markets. A transparent active candle helps reduce the temptation to trade every minor tick, fostering patience.
In summary, by hiding the color of the active candle, this script helps traders maintain emotional neutrality and focus on confirmed price action, leading to better, more rational trading decisions.
9:15 Range with 0.09% BufferThis strategy is based on the first 9:15 AM candle for Nifty, which is considered a key reference point (also called the "GAN level entry"). It defines a range around the high and low of the 9:15 candle with a 0.09% buffer on both sides.
The upper buffer level acts as a potential resistance.
The lower buffer level acts as a potential support.
When the price crosses above the upper buffer, it signals a possible entry for a Call option (CE) or a long position.
When the price crosses below the lower buffer, it signals a possible entry for a Put option (PE) or a short position.
This approach helps traders identify early breakout opportunities based on the opening candle range, aiming to capture momentum moves in either direction during the trading session.