M2D 4H ProfileOverview
This tool is designed to profile 4-hour cycles on your chart. It marks the start of each 4H cycle with vertical lines, tracks the Open, High, and Low prices within each cycle, and displays them as horizontal lines with labeled High and Low levels. Ideal for intraday and swing traders, this indicator provides a clear visual profile of key price levels and cycle transitions, enhancing your market analysis with precision and customization.
If you don't want the label, turn background color to 0.
Features
Cycle Start Markers: Draws vertical lines at the start of each 4H cycle (18:00, 22:00, 2:00, 6:00, 10:00, 14:00 NY EST).
Cycle Start Labels: Displays customizable labels at the top of each vertical line (e.g., "4H Start: 18:00").
Open, High, Low (OHL) Lines: Plots horizontal lines for the Open, High, and Low prices of each 4H cycle, spanning from the cycle start to the next cycle start.
High/Low Labels: Adds labels in the middle of the High and Low lines, showing the cycle start time (e.g., "18:00 High").
DST Adjustment: Includes a toggle to align cycle starts with either the chart’s local time (including DST) or a fixed UTC-4 (EST) time.
Fully Customizable: Adjust colors, styles, and visibility for all visual elements to suit your chart setup.
Candlestick analysis
Bearish Highs & Bullish Lows (Untouched Levels)As the indicator-name already states:
This indicator draws rays from every untouched high of a bear candle and every untouched low of a bull candle.
Levels which are touched are deleted, not on touch, but on the start of the new candle.
EU vs GU Strength @smEURUSD vs GBPUSD Strength Tester
✅ What it does:
-Plots EURUSD change (blue line)
-Plot GBPUSD change (green line)
-Plots EURGBP change (orange line)
Background turns bluish if EUR is stronger, greenish if GBP is stronger!
So, just by watching the background color, you can immediately tell:
If you prefer EURUSD or GBPUSD for your long/short setup.
First Presented Fair Value Gap [TakingProphets]🧠 Indicator Purpose:
The "First Presented Fair Value Gap" (FPFVG) by Taking Prophets is a precision tool designed for traders utilizing Inner Circle Trader (ICT) concepts. It automatically detects and highlights the first valid Fair Value Gap (FVG) that forms between 9:30 AM and 10:00 AM New York time — one of the most critical windows in ICT-based trading frameworks.
It also plots the Opening Range Equilibrium (the average of the previous day's 4:14 PM close and today's 9:30 AM open) — a key ICT reference point for premium/discount analysis.
🌟 What Makes This Indicator Unique:
This script is highly specialized for early session trading and offers:
Automatic Detection: Finds the first Fair Value Gap after the 9:30 AM NYSE open.
Clear Visualization: Highlights the FVG zone and labels it with optional time stamps.
Equilibrium Line: Plots the Opening Range Equilibrium for instant premium/discount context.
Time-Sensitive Logic: Limits detection to the most volatile early session (9:30 AM - 10:00 AM).
Extension Options: You can extend both the FVG box and Equilibrium line out to 3:45 PM (end of major session liquidity).
⚙️ How the Indicator Works (Detailed):
Pre-Market Setup:
Captures the previous day's 4:14 PM close.
Captures today's 9:30 AM open.
Calculates the Equilibrium (midpoint between the two).
After 9:30 AM (New York Time):
Monitors each 1-minute candle for the creation of a Fair Value Gap:
Bullish FVG: Low of the current candle is above the high two candles ago.
Bearish FVG: High of the current candle is below the low two candles ago.
The first valid gap is boxed and optionally labeled.
Post-Detection Management:
The FVG box and label extend forward in time until 3:45 PM (or the current time, based on settings).
If enabled, the Equilibrium line and label also extend to help with premium/discount analysis.
🎯 How to Use It:
Step 1: Wait for market open (9:30 AM New York time).
Step 2: Watch for the first presented FVG on the 1-minute chart.
Step 3: Use the FPFVG zone to guide entries (retracements, rejections, or breaks).
Step 4: Use the Opening Range Equilibrium to determine premium vs. discount conditions:
Price above Equilibrium = Premium market.
Price below Equilibrium = Discount market.
Best Application:
In combination with ICT Killzones, especially during the London or New York Open.
When framing intraday bias and identifying optimal trade locations based on liquidity theory.
🔎 Underlying Concepts:
Fair Value Gaps: Price imbalances where liquidity is likely inefficient and future rebalancing can occur.
Opening Range Equilibrium: Key ICT price anchor used to separate premium and discount conditions post-open.
Time-Gated Setup: Limits focus to early session price action, aligning with inner circle trader timing models.
🎨 Customization Options:
FVG color, label visibility, and label size.
Opening Range Equilibrium line visibility and label styling.
Extend lines and boxes to 3:45 PM automatically for full session tracking.
✅ Recommended for:
Traders applying Inner Circle Trader (ICT) models.
Intraday scalpers or day traders trading the New York session open.
Traders who want to frame early session bias and liquidity traps effectively.
BTST By ANTThe BTST Indicator is a powerful tool specifically designed for traders in the Indian stock market. This unique indicator identifies and highlights key price movements at a pivotal time—3:15 PM. This time is crucial for making BTST (Buy Today, Sell Tomorrow) decisions, a popular trading strategy in India.
Key Features:
Gap Identification : The indicator detects whether the current price action represents a gap-up or gap-down situation compared to the Heikinashi candle close price. This information is vital for short-term traders looking to capitalize on price momentum.
Visual Alerts : When a gap-up trend is detected, a green label "Gap Up" is displayed above the relevant bar. Similarly, a red label "Gap Down" appears below the bar for gap-down movements. These visual indicators help traders make quick and informed decisions.
User-Friendly Insights: The BTST Indicator provides vital information about last closed prices and the dynamics between normal candles and Heikinashi candles. With detailed logs, users can see the exact conditions leading to buy or sell signals, helping optimize trading strategies.
Why Use the BTST Indicator?
Timeliness: The focus on the 3:15 PM mark aligns perfectly with trading patterns and market behavior specific to the Indian stock market, making it an invaluable addition to your trading arsenal.
Enhanced Decision-Making: By receiving immediate visual cues on significant price movements, traders can execute their BTST strategies with greater confidence and speed.
Designed for Indian Markets: This indicator caters specifically to the nuances of Indian stock trading, ensuring relevance and effectiveness for local traders.
Start utilizing the BTST Indicator today to enhance your trading strategies and position yourself for successful trades in the Indian stock market!
StupidTrader Money GlitchStupidTrader Money Glitch
This indicator identifies high-probability buy setups by combining key technical concepts. It detects a reclaimed demand zone (a significant low that was broken and reclaimed), confirms bullish market structure breaks (MSB), ensures the price is above the 9 and 21 EMAs, and looks for volume spikes or trends.
Key Features:
Plots a demand zone (blue box) based on a reclaimed low.
Signals long entries (green triangles) when conditions align: reclaimed demand zone, MSB, price above EMAs, and volume confirmation.
Includes EMA 9 (blue) and EMA 21 (aqua) for trend confirmation.
How to Use:
Add the indicator to your chart and look for green triangles below candles as buy signals. Ensure the price interacts with the demand zone, breaks market structure, and shows volume confirmation. Works best on daily or higher timeframes for assets like ONDO, BTC, and more.
Settings:
Short EMA Length: 9
Mid EMA Length: 21
Pivot Lookback for Demand Zone: 5
Zone Lookback for Demand: 90
Volume Lookback: 20
Pmax + T3Pmax + T3 is a versatile hybrid trend-momentum indicator that overlays two complementary systems on your price chart:
1. Pmax (EMA & ATR “Risk” Zones)
Calculates two exponential moving averages (Fast EMA & Slow EMA) and plots them to gauge trend direction.
Highlights “risk zones” behind price as a colored background:
Green when Fast EMA > Slow EMA (up-trend)
Red when Fast EMA < Slow EMA (down-trend)
Yellow when EMAs are close (“flat” zone), helping you avoid choppy markets.
You can toggle risk-zone highlighting on/off, plus choose to ignore signals in the yellow (neutral) zone.
2. T3 (Triple-Smoothed EMA Momentum)
Applies three sequential EMA smoothing (the classic “T3” algorithm) to your chosen source (usually close).
Fills the area between successive T3 curves with up/down colors for a clear visual of momentum shifts.
Optional neon-glow styling (outer, mid, inner glows) in customizable widths and transparencies for a striking “cyber” look.
You can highlight T3 movements only when the line is rising (green) or falling (red), or disable movement coloring.
HTF Candle + OHLC Line Extensions📈 Script Title:
HTF Candle + OHLC Line Extensions
✨ Capabilities Overview:
This Pine Script plots a dynamic Higher Timeframe (HTF) candle on your current (lower) chart.
It visually highlights:
• A solid "candle body" based on the highest close and lowest close within the selected HTF range.
• An optional wick representing the absolute high and low of that HTF period.
• Extended lines projecting the HTF Open, High, Low, and Close levels onto the current chart.
• Labels displaying the exact OHLC prices next to their respective lines.
• A central label naming the selected HTF.
This makes it easy to track HTF structure, key levels, and trends without switching chart timeframes.
________________________________________
⚙️ Inputs Explained and How to Set Them:
Input Name Description Recommended Settings
Higher Timeframe (htf_label) The timeframe to build the candle from (e.g., 4H, 1D, etc.). Choose a timeframe higher than your chart's timeframe (e.g., use 4H if on a 30min chart).
Offset to Right (bars) (offset_bars) Number of bars to shift the HTF candle to the right of current price action. Default 2 is good; increase if you want more spacing.
Show Wicks? (show_wicks) Toggles drawing of the wick (high-low range). Leave on for a more complete candle look. Turn off for cleaner appearance.
OHLC Line Color (line_color) Color of the Open, High, Low, Close extension lines. Pick a color that stands out on your chart (e.g., yellow).
OHLC Line Thickness (line_thickness) Thickness of the OHLC lines. Default 2 is visible but subtle. Increase for stronger emphasis.
OHLC Line Style (line_style) Solid, dotted, or dashed style for the OHLC lines. - Solid for strong levels
- Dotted for secondary importance
Candle Bullish Color (candle_up_color) Fill color for bullish HTF candles. Use a green shade.
Candle Bearish Color (candle_down_color) Fill color for bearish HTF candles. Use a red shade.
Bullish Wick Color (bullish_wick_color) Color of the wick for bullish candles. Match or slightly lighten the bullish candle color.
Bearish Wick Color (bearish_wick_color) Color of the wick for bearish candles. Match or slightly lighten the bearish candle color.
Bullish Border (bullish_candle_border) Color for the border of bullish candles. Usually match the candle body or make slightly darker.
Bearish Border (bearish_candle_border) Color for the border of bearish candles. Same principle as bullish borders.
Label Text Color (label_text_color) Text color for OHLC labels. White for dark charts; Black for light charts.
Label Background Color (label_bg_color) Background color for labels (for readability). Usually opposite of your chart background (e.g., black background on light charts).
________________________________________
📋 Detailed Script Behavior:
1. Timeframe Handling:
• Converts the user’s selection (htf_label) into minutes.
• Calculates how many chart bars make up the selected HTF period.
• Dynamically adapts even if the market is closed (no reliance on session endings).
2. HTF OHLC Calculation:
• Open: First bar’s open within HTF window.
• High/Low: Highest high and lowest low within HTF window.
• Close: Most recent bar’s close.
• High Close / Low Close: Highest and lowest closes for the candle body.
3. Plotting:
• Candle Body: Draws a box between highest close and lowest close.
• Wick: (Optional) Line connecting absolute High and Low.
• OHLC Lines: Drawn from where the price was observed to the HTF candle.
• Labels: Show precise O/H/L/C prices and the timeframe name.
________________________________________
📢 Important Usage Tips:
• Best Practice: Always select an HTF that’s higher than your current chart (for clarity).
For example:
o Chart: 15 min → HTF: 1H, 4H
o Chart: 1H → HTF: 4H, 1D
• Offset: If your chart is crowded, increase "Offset to Right" to move the candle visualization farther out.
• Customization: Adjust colors and line styles to match your chart theme for better visibility.
• Performance: Drawing many elements every bar is lightweight here, but on very high-frequency charts (like 1-min), it can cause slight lag.
________________________________________
🧠 Summary
This script is a powerful visual aid for traders who:
• Want to see HTF structure without changing charts.
• Like to track key HTF levels (especially Open, High, Low, Close).
• Prefer a minimal, customizable display that's easy to align with their chart styles.
LotusThis Pine Script is designed to plot multiple moving averages (SMA and EMA) on the chart, with dynamic color changes based on whether the price is above or below each moving average. The script includes customizable inputs for different SMA and EMA lengths, and each moving average has its own color scheme, which changes depending on the market price's position relative to the moving average.
Features:
Multiple Moving Averages:
SMA (Simple Moving Average) SELL: Configured with a default length of 22. This moving average is used for determining the "SELL" zone, and its color changes based on price action.
SMA (Simple Moving Average) CONTROL: Configured with a default length of 200. This moving average is a longer-term trend indicator used as a "control" reference. It’s color changes as well depending on price action.
SMA (Simple Moving Average) BUY: Configured with a default length of 50. This moving average acts as the "BUY" zone, where color changes help signal when price is above or below this moving average.
EMA (Exponential Moving Average): Configured with a default length of 13, which reacts more quickly to price changes compared to SMA. It’s plotted but hidden by default.
Dynamic Color Changes: Each moving average has two color states:
When the price is above the moving average, the color shifts to a positive tone, signaling potential buy signals.
When the price is below the moving average, the color turns negative, signaling potential sell or warning zones.
Colors used are:
SMA SELL: Green when above, Red when below.
SMA CONTROL: Blue when above, Red when below.
SMA BUY: Blue when above, Red when below.
EMA: Dark tone when above, Blue tone when below.
Customizable Inputs:
SMA 22 (SELL), SMA 200 (CONTROL), SMA 50 (BUY), and EMA 13 can be adjusted via the input panel to suit different trading strategies.
Source for calculations: The default source for all calculations is the close price.
Plotting and Visibility:
The SMA 22 and EMA 13 are hidden by default but can be revealed as per user preferences.
The SMA 200 and SMA 50 are visible by default for comparison.
How the Script Works:
Color Logic:
The moving averages are colored based on the position of the price relative to the moving average:
Green (Up trend): Price is above the moving average.
Red (Down trend): Price is below the moving average.
Blue (Neutral): For the SMA 50 and EMA, price is either neutral or ranging.
Dynamic Indicators:
The SMA SELL (22) helps traders spot short-term selling opportunities when the price is below this line.
The SMA CONTROL (200) helps gauge the long-term trend and acts as a control line.
The SMA BUY (50) is considered a neutral or buy zone, where the price is seen as more favorable for buying when above the line.
The EMA 13 reacts quickly to price changes, providing faster signals for traders looking for a more dynamic approach.
How to Use:
Trend Confirmation: Use the SMA 200 (Control line) for long-term trend confirmation.
Entry and Exit:
Buy: Look for price above the SMA 50 (BUY) and the SMA 22 (SELL) showing an uptrend.
Sell: Watch for price below the SMA 50 (BUY) or SMA 22 (SELL) indicating a possible downtrend or a selling opportunity.
EMA 13: Acts as a faster, more responsive trend indicator that can be used for shorter time-frame trades.
Example:
SMA SELL (22): The green line suggests potential buying opportunities when the price is above it. The red line suggests possible selling when the price is below.
SMA CONTROL (200): This acts as the primary trend indicator. If the price is above this, the long-term trend is bullish. If the price is below, the long-term trend is bearish.
SMA BUY (50): When the price is above this line, it indicates a favorable buying zone. When the price is below it, it suggests a potential bearish move.
EMA 13: Often used for short-term trades, especially when the price is moving quickly either above or below it.
Customization:
You can adjust the lengths of the SMA SELL, SMA CONTROL, SMA BUY, and EMA based on your personal strategy or trading style.
Modify the colors of each moving average line to better suit your chart preferences.
This script is suitable for traders looking to combine trend-following and short-term trading strategies using moving averages. It allows for an adaptable approach with visual cues based on the price's relationship with key moving averages.
Most Volume Candle LevelsThe script finds the candlestick with the maximum volume in the specified period (20 bars by default).
Draws levels on high and low of this candlestick.
You can set the color of the lines (yellow by default).
Relative Volume CandlesVisualizes candlesticks with transparency based on volume relative to a moving average. Higher-than-average volume makes candles more opaque, while lower volume increases transparency—helping you spot significant price movements at a glance!
Features:
Customizable up/down candle colors (default: green/red)
Adjustable lookback period for volume averaging (default: 21)
Fine-tune transparency with base transparency (default: 80) and scale (default: 2.0)
Overlay directly on your chart for seamless analysis
Weekday Colors with Time Highlighting by NabojeetThis script is a Pine Script (version 6) indicator called "Weekday Colors with Time Highlighting" designed for TradingView charts. It has several key functions:
1. **Weekday Color Coding**:
- Assigns different background colors to each trading day (Monday through Friday)
- Allows users to customize the color for each day
- Includes toggles to enable/disable colors for specific days
2. **Time Range Highlighting**:
- Highlights a specific time period (e.g., 18:15-18:30) on every trading day
- Uses a custom color that can be adjusted by the user
- The time range is specified in HHMM-HHMM format
3. **High/Low Line Drawing**:
- Automatically identifies the highest high and lowest low points within the specified time range
- Draws horizontal lines at these levels when the time period ends
- Lines extend forward in time to serve as support/resistance references
- Users can customize the line color, width, and style (solid, dotted, or dashed)
The script is organized into logical sections with input parameters grouped by function (Weekday Colors, Weekday Display, Time Highlighting, and Horizontal Lines). Each section's inputs are customizable through the indicator settings panel.
This indicator would be particularly useful for traders who:
- Want visual distinction between different trading days
- Focus on specific time periods each day (like market opens, closes, or specific sessions)
- Use intraday support/resistance levels from key time periods
- Want to quickly identify session highs and lows
The implementation resets tracking variables at the beginning of each new time range and draws the lines once the time period ends, ensuring accurate high/low marking for each day's specified time window.
Author - Nabojeet
Session Times + Strenght M7This Script Aims to Define Session Times, and Rank those. It can help to adjust your Strategy to Higher Volatility, if you choose to use the Session Volatility and Strenght Index from 1-10. Your timezone on Trading View should be NY. You can customize the Following in Settings: Weight of Volatility & Narrative Regarding the ranking + Transparency of the Lines. SP:SPX FX:EURUSD OANDA:EURUSD CAPITALCOM:USDJPY AMEX:SPY NASDAQ:QQQ TVC:DXY CAPITALCOM:USDJPY CME_MINI:NQ1! OANDA:XAUUSD FX:GBPUSD
OuterBar [DTMM]OuterBar Indicator – Technical Overview
The OuterBar Indicator is a technical analysis tool for TradingView that detects and visualizes "Outer Bars" based on price action.
Core Concept:
An Outer Bar is identified when a candle's closing price exceeds the high or low of the previously confirmed Outer Bar. Positive Outer Bars (close above high) and negative Outer Bars (close below low) are automatically detected.
Features:
Automatic detection of Outer Bars and optional marking of Inner Bars
Visual price range analysis with customizable lines and midpoints
Colored zone visualization for better structural recognition
Extensive customization options for colors, transparency, and number of Outer Bars retained
Applications:
Identifying potential trend reversals or continuation points
Recognizing key support and resistance zones
Analyzing price impulses across different timeframes
Unique Strengths:
Clear visual representation through color-coded candles and zones
Historical analysis support to detect long-term patterns
Flexible adaptation to various trading strategies and markets
The OuterBar Indicator provides a structured view of market price action by focusing on significant breakouts from prior trading ranges, helping traders recognize shifts in momentum and trend direction.
Tango Rocket velas 1.3Tango Rocket Indicator:
Daily Volatility Range Projection
This indicator identifies the 3 largest-bodied candles from the last N daily bars and calculates a projected price range centered on the current day’s opening price. The projected channel is displayed for the current day and past days, helping visualize potential daily movement and historical volatility patterns.
FXTDPR Dual Timeframe High-Low BoxesThe "Dual Timeframe High-Low Boxes" indicator is designed to visualize price ranges and key levels across two user-defined timeframes (default: 15-minute and 4-hour) on the same chart. It draws rectangular boxes representing the high and low price levels within each timeframe, along with a horizontal line indicating the opening price of the timeframe. Labels are added to mark the opening price with bilingual text (English/Turkish). The indicator is highly customizable, allowing users to adjust timeframes, colors, transparency, line styles, and display options.
// Key Features:
// 1. **Dual Timeframe Support**: Simultaneously displays boxes for two timeframes (e.g., 15M and 4H), enabling analysis of both short-term and long-term price movements.
// 2. **High-Low Boxes**: Each box represents the highest and lowest prices within the selected timeframe, dynamically updating as new highs or lows occur.
// 3. **Opening Price Line**: A horizontal line is drawn at the opening price of each timeframe, fixed from the start to the end of the timeframe period.
// 4. **Bilingual Labels**: Labels display the timeframe and opening price in both English and Turkish (e.g., "15M Open Price / Açılış Fiyatı") for enhanced accessibility.
// 5. **Customizable Display**: Users can choose to display boxes for both timeframes, only Timeframe 1, or only Timeframe 2 via the "Display Timeframes" setting.
// 6. **Color and Style Customization**: Separate settings for bullish/bearish box colors, opening price line color, line style (solid, dashed, dotted), and label text color for each timeframe.
// 7. **Transparency Control**: Adjustable transparency for boxes to prevent chart clutter.
// 8. **Performance Optimization**: Limits the number of displayed boxes to 500 (via max_boxes_count) to ensure smooth performance.
// 9. **Accurate Timing**: Boxes start precisely at the beginning of each timeframe’s candle (e.g., 16:45 for 15M, 00:00 for 4H), ensuring alignment with the selected timeframe.
// 10. **No Input Confirmation**: The indicator starts with default settings (15M and 4H, both displayed) without requiring user confirmation, streamlining the setup process.
// How It Works:
// - The indicator uses request.security() to fetch time data for the user-defined timeframes and detects new timeframe periods using ta.change().
// - For each timeframe, it initializes a box at the start of the period, setting the initial high, low, and open prices.
// - As new candles form within the timeframe, the box’s high and low boundaries are updated to reflect the highest and lowest prices.
// - The box color changes based on whether the closing price is above (bullish) or below (bearish) the opening price.
// - A fixed horizontal line is drawn at the opening price, spanning the timeframe’s duration, with a label at the end of the box indicating the timeframe and opening price.
// - Users can toggle between displaying both timeframes or a single timeframe, with all settings (colors, styles, transparency) applied independently for each timeframe.
// Usage:
// - Add the indicator to your chart, and it will automatically display 15M and 4H boxes with default settings.
// - Use the settings menu to customize timeframes, colors, line styles, transparency, or to select which timeframes to display.
// - Ideal for identifying support/resistance levels, breakout opportunities, or trend analysis across multiple timeframes.
// Notes:
// - For optimal performance, use a chart timeframe equal to or lower than the smaller selected timeframe (e.g., 15M chart for 15M and 4H boxes).
// - The indicator is designed for flexibility, supporting timeframes from 1 minute to monthly periods.
// - To avoid chart clutter, adjust transparency settings or reduce max_boxes_count for long historical data.
GCM Supreme Trading System Pro (With Golden Zone)Okay, bro! Here are some notes on your "GCM Supreme Trading System Pro (Dashboard + RSI)" indicator based on the Pine Script code you provided. Think of this as a breakdown of its components, logic, and how you might use it, along with some things to consider.
GCM Supreme Trading System Pro (Dashboard + RSI) - Notes
Overall Concept:
This indicator aims to provide an "all-in-one" visual dashboard and signal system by combining several technical analysis concepts:
Short-Term Trend: Using a fast EMA.
Volatility/Channel: High/Low plot with fill.
Sentiment: Background color based on price vs. EMA.
Price Structure/Pattern: Highlighting potential AMD phases.
Key Price Level: Previous day's specific Fibonacci zone (Golden Zone).
Momentum: RSI Overbought/Oversold status.
Volume Analysis: Identifying volume spikes.
Risk Assessment: Based on ATR volatility.
Signal Generation: Based on EMA direction change confirmed by candle color.
Centralized Summary: A dashboard showing the status of key components.
Key Components & How They Work:
Trend EMA (Length: 3 by default):
What: A very fast Exponential Moving Average of the specified source (close by default).
How: Plots the EMA line. Colors the line green if the EMA is moving up, red if moving down, gray if flat.
Usage: Provides a very quick view of the immediate price direction and momentum.
High/Low Channel Lines & Fill:
What: Plots the current bar's high and low.
How: The area between the high and low is filled. The fill color changes based on whether the Trend EMA is moving up (green fill), down (red fill), or is neutral (gray fill).
Usage: Visualizes the recent price range/volatility and ties it to the immediate trend direction.
Sentiment Background:
What: Colors the chart background.
How: Background is lightly colored green if the close is above the Trend EMA, and red if the close is below the Trend EMA.
Usage: Reinforces the current short-term bias based on price's position relative to the fast EMA.
AMD Pattern Candles:
What: Highlights specific candle patterns often associated with Accumulation, Manipulation, and Distribution phases.
How:
Accumulation (Aqua): Previous candle was Red, current candle is Green (Red -> Green).
Manipulation (Yellow): Previous candle was Green, current candle is Red (Green -> Red).
Distribution (Fuchsia): Two consecutive Red candles where the candle before the first Red was Not Red (Not Red -> Red -> Red).
Usage: Helps visually spot potential shifts in market behavior according to the AMD concept.
Previous Day's Fib Golden Zone (0.55-0.66):
What: Calculates a specific Fibonacci zone (between 55% and 66%) based on the previous day's range (High-Low).
How: Plots a horizontal box on the chart covering the calculated zone level. Uses the previous day's range direction (Green/Red candle) to determine if the zone is calculated up from the low (Green day) or down from the high (Red day).
Usage: Identifies a potential key retracement or support/resistance zone from the previous day's price action that may be relevant for the current day.
RSI (Relative Strength Index):
What: A classic momentum oscillator.
How: Calculates the RSI value based on the specified length and source. The dashboard shows the current value and flags it as Overbought (> OB level), Oversold (< OS level), or Neutral.
Usage: Provides context on momentum extremes. High RSI suggests strong upward momentum (potentially overextended), low RSI suggests strong downward momentum (potentially oversold).
Volume Spike Confirmation:
What: Compares current volume to its Moving Average.
How: Calculates a simple moving average of volume. Identifies a "Spike" if the current volume is significantly higher (multiplied by a factor) than the MA.
Usage: Provides a contextual check for increased activity accompanying price moves. (Note: In the current script, this is calculated and shown on the dashboard but not directly used in the signal label logic, though it could be added).
Risk Assessment (ATR):
What: Uses the Average True Range.
How: Calculates the ATR for the specified length. Compares the current ATR to a longer-term average ATR. Flags "High Risk" if the current ATR is significantly higher than the average.
Usage: Gives an indication of current volatility relative to recent history, which can inform stop-loss placement or position sizing.
Signals (Buy/Sell Labels):
What: Plots "BUY" or "SELL" labels on the chart.
How:
BUY Signal: Triggers when the Trend EMA starts moving Up on the previous bar AND the current bar is Green (close > open).
SELL Signal: Triggers when the Trend EMA starts moving Down on the previous bar AND the current bar is Red (close < open).
Usage: These are your potential entry triggers. They indicate that the fast EMA trend has just changed direction and the current candle is confirming that move with its color.
Dashboard:
What: A 2x5 table displayed on the chart (bottom right by default).
How: Shows the current status of:
Trend (Bull/Bear/Neutral)
Volume (Spike/Normal)
Last Signal (🟢 BUY, 🔴 SELL, or None)
Risk (High/Normal based on ATR)
RSI (Overbought/Oversold/Neutral + Current Value)
Usage: Provides a quick, centralized summary of multiple indicator components without having to visually check every detail on the chart or separate panes.
How to Potentially Use It (Example Interpretation):
Look for a BUY signal (Green label) when:
The dashboard shows "🟢 BUY" as the Last Signal.
Consider additional confirmation: Is Volume status "Spike"? Is Risk "Normal"? Is RSI not "Overbought" (or perhaps just coming out of "Oversold" territory)? Is the price above/interacting positively with the Golden Zone?
Look for a SELL signal (Red label) when:
The dashboard shows "🔴 SELL" as the Last Signal.
Consider additional confirmation: Is Volume status "Spike"? Is Risk "Normal"? Is RSI not "Oversold" (or perhaps just coming out of "Overbought" territory)? Is the price below/interacting negatively with the Golden Zone?
Use the Sentiment Background and High/Low Channel Fill to quickly see the immediate trend and volatility context.
Watch AMD candles around key levels (like the Golden Zone or signal triggers) for potential pattern confirmation.
Check the Dashboard frequently for a summary of all these factors, even without a specific signal.
Strengths & Potential Benefits:
Comprehensive View: Integrates multiple popular trading concepts into a single indicator.
Visual Clarity: Uses colors, fills, labels, and a dashboard for easy interpretation.
Customizable: Inputs allow tuning the sensitivity of the EMA, Volume, ATR, and RSI to different assets/timeframes.
Dashboard Efficiency: Saves time by consolidating key status points.
Non-Repainting Signals: The buy/sell labels trigger and stay based on closed bar data.
Important Considerations & Limitations:
Fast EMA Sensitivity: An EMA length of 3 is very fast and prone to whipsaws, especially in choppy or ranging markets. Signals based solely on this could be frequent and unreliable in non-trending conditions.
Signal Logic: The core signal is only based on EMA direction change + candle color. While simple, it might miss opportunities or generate signals without broader market confirmation (like strong volume, favorable RSI position, or reaction at key levels). The dashboard provides these other factors as context, but they aren't required for the signal label in the current code.
Golden Zone Reliance: The previous day's Fib zone is just one potential level. It won't always be respected, and its relevance might vary significantly across different markets and timeframes.
AMD Patterns: The defined AMD patterns are specific. The market's "real" accumulation/manipulation/distribution might manifest in more complex ways.
Dashboard as Summary, Not Signal: Remember the dashboard shows the current status of all components on the last bar, but the BUY/SELL signal labels are based on a specific historical event (previous bar's EMA turn). You need to look at both: the label for the trigger, and the dashboard for the confluence of other factors right now.
Not a Standalone System: While called a "Trading System," no single indicator guarantees profitability. This tool provides signals and context, but requires a robust trading plan including stop losses, profit targets, position sizing, and potentially confluence with other analysis methods.
Timeframe Dependency: The ideal settings (EMA length, RSI length, etc.) will likely differ significantly between timeframes (e.g., 1-minute vs. 4-hour). Testing and optimization are crucial.
In Summary:
The "GCM Supreme Trading System Pro (Dashboard + RSI)" is a well-designed indicator that consolidates several useful analysis tools into a single view. Its strength lies in providing quick visual context and a clear signal trigger based on short-term trend shifts. However, like any indicator, it's not perfect. Its effectiveness will largely depend on the market conditions, the chosen settings, and how it's integrated into a comprehensive trading strategy, using the dashboard components as essential confirmation and risk assessment tools alongside the primary signal labels.
Micro Gaps DetectorSimple Micro Gap Indicator: A Technical Analysis Tool
The Simple Micro Gap Indicator is a specialized momentum indicator designed to identify and analyze micro gaps between consecutive candlesticks in financial charts. Unlike traditional gap analysis that focuses on larger price gaps, this indicator specifically targets smaller, less noticeable spaces between candles.
Key Features:
Detects minimal price disparities between consecutive candlesticks
Helps identify potential short-term momentum shifts
Useful for high-frequency trading and scalping strategies
Functions as a momentum indicator for short-term price movements
SMC Entry Signals MTF v2📘 User Guide for the SMC Entry Signals MTF v2 Indicator
🎯 Purpose of the Indicator
This indicator is designed to identify reversal entry points based on Smart Money Concepts (SMC) and candlestick confirmation. It’s especially useful for traders who use:
Imbalance zones, order blocks, breaker blocks
Liquidity grabs
Multi-timeframe confirmation (MTF)
📈 How to Use the Signals on the Chart
✅ LONG Signal (green triangle below the candle):
Conditions:
Price is in a discount zone (below the FIB 50% level)
A bullish engulfing candle appears
A bullish Order Block (OB) or Breaker Block is detected
There’s an upward imbalance
A bullish OB is confirmed on the higher timeframe
➡️ How to act:
Consider entering long on the current or next candle.
Place your stop-loss below the OB or the nearest swing low.
Take profit at the nearest liquidity zone or premium area (above FIB 50%).
🔻 SHORT Signal (red triangle above the candle):
Conditions:
Price is in a premium zone (above FIB 50%)
A bearish engulfing candle appears
A bearish OB or Breaker Block is detected
There’s a downward imbalance
A bearish OB is confirmed on the higher timeframe
➡️ How to act:
Consider short entry after the signal.
Place your stop-loss above the OB or swing high.
Target the discount zone or the next liquidity pocket.
⚙️ Recommended Settings by Trading Style
Trading Style Suggested Settings Notes
Intraday (1–15m) fibLookback = 20–50, obLookback = 5–10, htf_tf = 1H/4H Fast signals. Use Discount/Premium + Engulfing.
Swing/Position (1H–1D) fibLookback = 50–100, obLookback = 10–20, htf_tf = 1D/1W Higher trust in MTF confirmation. Ideal with fundamentals.
Scalping (1m) fibLookback = 10–20, obLookback = 3–5, htf_tf = 15m/1H Remove Breaker and MTF for quick reaction trades.
🧠 Best Practices for Traders
Trend Filtering:
Use EMAs or volume to confirm the current trend.
Take longs only in uptrends, shorts in downtrends.
Liquidity Zones:
Use this indicator after liquidity grabs.
OBs and Breakers often appear right after stop hunts.
Combine with Manual Zones:
This works best when paired with manually drawn OBs and key levels.
Backtest the Signals:
Use Bar Replay mode on TradingView to test past signals.
🧪 Example Trade Setup
Example on BTCUSDT 15m:
Price drops into the discount zone.
A green triangle appears (bullish engulfing + OB + imbalance + HTF OB).
You enter long, stop below the OB, target the premium zone.
🎯 This type of setup often gives a risk/reward ratio of 1:2 or better — profitable even with a 40% win rate.
⏰ Alerts & Automation
Enable alerts:
"SMC Long Entry" — fires when a long signal appears.
"SMC Short Entry" — fires when a short signal appears.
You can integrate this with bots via webhook, like:
TradingConnector, 3Commas, Alertatron, etc.
✅ What This Indicator Gives You
High-probability entries using SMC logic
Customizable filters for entry logic
Multi-timeframe confirmation for stronger setups
Suitable for both intraday and swing trading
ADR% Extension Levels from SMA 50I created this indicator inspired by RealSimpleAriel (a swing trader I recommend following on X) who does not buy stocks extended beyond 4 ADR% from the 50 SMA and uses extensions from the 50 SMA at 7-8-9-10-11-12-13 ADR% to take profits with a 20% position trimming.
RealSimpleAriel's strategy (as I understood it):
-> Focuses on leading stocks from leading groups and industries, i.e., those that have grown the most in the last 1-3-6 months (see on Finviz groups and then select sector-industry).
-> Targets stocks with the best technical setup for a breakout, above the 200 SMA in a bear market and above both the 50 SMA and 200 SMA in a bull market, selecting those with growing Earnings and Sales.
-> Buys stocks on breakout with a stop loss set at the day's low of the breakout and ensures they are not extended beyond 4 ADR% from the 50 SMA.
-> 3-5 day momentum burst: After a breakout, takes profits by selling 1/2 or 1/3 of the position after a 3-5 day upward move.
-> 20% trimming on extension from the 50 SMA: At 7 ADR% (ADR% calculated over 20 days) extension from the 50 SMA, takes profits by selling 20% of the remaining position. Continues to trim 20% of the remaining position based on the stock price extension from the 50 SMA, calculated using the 20-period ADR%, thus trimming 20% at 8-9-10-11 ADR% extension from the 50 SMA. Upon reaching 12-13 ADR% extension from the 50 SMA, considers the stock overextended, closes the remaining position, and evaluates a short.
-> Trailing stop with ascending SMA: Uses a chosen SMA (10, 20, or 50) as the definitive stop loss for the position, depending on the stock's movement speed (preferring larger SMAs for slower-moving stocks or for long-term theses). If the stock's closing price falls below the chosen SMA, the entire position is closed.
In summary:
-->Buy a breakout using the day's low of the breakout as the stop loss (this stop loss is the most critical).
--> Do not buy stocks extended beyond 4 ADR% from the 50 SMA.
--> Sell 1/2 or 1/3 of the position after 3-5 days of upward movement.
--> Trim 20% of the position at each 7-8-9-10-11-12-13 ADR% extension from the 50 SMA.
--> Close the entire position if the breakout fails and the day's low of the breakout is reached.
--> Close the entire position if the price, during the rise, falls below a chosen SMA (10, 20, or 50, depending on your preference).
--> Definitively close the position if it reaches 12-13 ADR% extension from the 50 SMA.
I used Grok from X to create this indicator. I am not a programmer, but based on the ADR% I use, it works.
Below is Grok from X's description of the indicator:
Script Description
The script is a custom indicator for TradingView that displays extension levels based on ADR% relative to the 50-period Simple Moving Average (SMA). Below is a detailed description of its features, structure, and behavior:
1. Purpose of the Indicator
Name: "ADR% Extension Levels from SMA 50".
Objective: Draw horizontal blue lines above and below the 50-period SMA, corresponding to specific ADR% multiples (4, 7, 8, 9, 10, 11, 12, 13). These levels represent potential price extension zones based on the average daily percentage volatility.
Overlay: The indicator is overlaid on the price chart (overlay=true), so the lines and SMA appear directly on the price graph.
2. Configurable Inputs
The indicator allows users to customize parameters through TradingView settings:
SMA Length (smaLength):
Default: 50 periods.
Description: Specifies the number of periods for calculating the Simple Moving Average (SMA). The 50-period SMA serves as the reference point for extension levels.
Constraint: Minimum 1 period.
ADR% Length (adrLength):
Default: 20 periods.
Description: Specifies the number of days to calculate the moving average of the daily high/low ratio, used to determine ADR%.
Constraint: Minimum 1 period.
Scale Factor (scaleFactor):
Default: 1.0.
Description: An optional multiplier to adjust the distance of extension levels from the SMA. Useful if levels are too close or too far due to an overly small or large ADR%.
Constraint: Minimum 0.1, increments of 0.1.
Tooltip: "Adjust if levels are too close or far from SMA".
3. Main Calculations
50-period SMA:
Calculated with ta.sma(close, smaLength) using the closing price (close).
Serves as the central line around which extension levels are drawn.
ADR% (Average Daily Range Percentage):
Formula: 100 * (ta.sma(dhigh / dlow, adrLength) - 1).
Details:
dhigh and dlow are the daily high and low prices, obtained via request.security(syminfo.tickerid, "D", high/low) to ensure data is daily-based, regardless of the chart's timeframe.
The dhigh / dlow ratio represents the daily percentage change.
The simple moving average (ta.sma) of this ratio over 20 days (adrLength) is subtracted by 1 and multiplied by 100 to obtain ADR% as a percentage.
The result is multiplied by scaleFactor for manual adjustments.
Extension Levels:
Defined as ADR% multiples: 4, 7, 8, 9, 10, 11, 12, 13.
Stored in an array (levels) for easy iteration.
For each level, prices above and below the SMA are calculated as:
Above: sma50 * (1 + (level * adrPercent / 100))
Below: sma50 * (1 - (level * adrPercent / 100))
These represent price levels corresponding to a percentage change from the SMA equal to level * ADR%.
4. Visualization
Horizontal Blue Lines:
For each level (4, 7, 8, 9, 10, 11, 12, 13 ADR%), two lines are drawn:
One above the SMA (e.g., +4 ADR%).
One below the SMA (e.g., -4 ADR%).
Color: Blue (color.blue).
Style: Solid (style=line.style_solid).
Management:
Each level has dedicated variables for upper and lower lines (e.g., upperLine1, lowerLine1 for 4 ADR%).
Previous lines are deleted with line.delete before drawing new ones to avoid overlaps.
Lines are updated at each bar with line.new(bar_index , level, bar_index, level), covering the range from the previous bar to the current one.
Labels:
Displayed only on the last bar (barstate.islast) to avoid clutter.
For each level, two labels:
Above: E.g., "4 ADR%", positioned above the upper line (style=label.style_label_down).
Below: E.g., "-4 ADR%", positioned below the lower line (style=label.style_label_up).
Color: Blue background, white text.
50-period SMA:
Drawn as a gray line (color.gray) for visual reference.
Diagnostics:
ADR% Plot: ADR% is plotted in the status line (orange, histogram style) to verify the value.
ADR% Label: A label on the last bar near the SMA shows the exact ADR% value (e.g., "ADR%: 2.34%"), with a gray background and white text.
5. Behavior
Dynamic Updating:
Lines update with each new bar to reflect new SMA 50 and ADR% values.
Since ADR% uses daily data ("D"), it remains constant within the same day but changes day-to-day.
Visibility Across All Bars:
Lines are drawn on every bar, not just the last one, ensuring visibility on historical data as well.
Adaptability:
The scaleFactor allows level adjustments if ADR% is too small (e.g., for low-volatility symbols) or too large (e.g., for cryptocurrencies).
Compatibility:
Works on any timeframe since ADR% is calculated from daily data.
Suitable for symbols with varying volatility (e.g., stocks, forex, cryptocurrencies).
6. Intended Use
Technical Analysis: Extension levels represent significant price zones based on average daily volatility. They can be used to:
Identify potential price targets (e.g., take profit at +7 ADR%).
Assess support/resistance zones (e.g., -4 ADR% as support).
Measure price extension relative to the 50 SMA.
Trading: Useful for strategies based on breakouts or mean reversion, where ADR% levels indicate reversal or continuation points.
Debugging: Labels and ADR% plot help verify that values align with the symbol’s volatility.
7. Limitations
Dependence on Daily Data: ADR% is based on daily dhigh/dlow, so it may not reflect intraday volatility on short timeframes (e.g., 1 minute).
Extreme ADR% Values: For low-volatility symbols (e.g., bonds) or high-volatility symbols (e.g., meme stocks), ADR% may require adjustments via scaleFactor.
Graphical Load: Drawing 16 lines (8 upper, 8 lower) on every bar may slow the chart for very long historical periods, though line management is optimized.
ADR% Formula: The formula 100 * (sma(dhigh/dlow, Length) - 1) may produce different values compared to other ADR% definitions (e.g., (high - low) / close * 100), so users should be aware of the context.
8. Visual Example
On a chart of a stock like TSLA (daily timeframe):
The 50 SMA is a gray line tracking the average trend.
Assuming an ADR% of 3%:
At +4 ADR% (12%), a blue line appears at sma50 * 1.12.
At -4 ADR% (-12%), a blue line appears at sma50 * 0.88.
Other lines appear at ±7, ±8, ±9, ±10, ±11, ±12, ±13 ADR%.
On the last bar, labels show "4 ADR%", "-4 ADR%", etc., and a gray label shows "ADR%: 3.00%".
ADR% is visible in the status line as an orange histogram.
9. Code: Technical Structure
Language: Pine Script @version=5.
Inputs: Three configurable parameters (smaLength, adrLength, scaleFactor).
Calculations:
SMA: ta.sma(close, smaLength).
ADR%: 100 * (ta.sma(dhigh / dlow, adrLength) - 1) * scaleFactor.
Levels: sma50 * (1 ± (level * adrPercent / 100)).
Graphics:
Lines: Created with line.new, deleted with line.delete to avoid overlaps.
Labels: Created with label.new only on the last bar.
Plots: plot(sma50) for the SMA, plot(adrPercent) for debugging.
Optimization: Uses dedicated variables for each line (e.g., upperLine1, lowerLine1) for clear management and to respect TradingView’s graphical object limits.
10. Possible Improvements
Option to show lines only on the last bar: Would reduce visual clutter.
Customizable line styles: Allow users to choose color or style (e.g., dashed).
Alert for anomalous ADR%: A message if ADR% is too small or large.
Dynamic levels: Allow users to specify ADR% multiples via input.
Optimization for short timeframes: Adapt ADR% for intraday timeframes.
Conclusion
The script creates a visual indicator that helps traders identify price extension levels based on daily volatility (ADR%) relative to the 50 SMA. It is robust, configurable, and includes debugging tools (ADR% plot and labels) to verify values. The ADR% formula based on dhigh/dlow
Aggregate PDH High Break Alert**Aggregate PDH High Break Alert**
**Overview**
The “Aggregate PDH High Break Alert” is a lightweight Pine Script v6 indicator designed to instantly notify you when today’s price breaks above any prior-day high in a user-defined lookback window. Instead of manually scanning dozens of daily highs, this script automatically loops through the last _N_ days (up to 100) and fires a single-bar alert the moment price eclipses a specific day’s high.
**Key Features**
- **Dynamic Lookback**: Choose any lookback period from 1 to 100 days via a single `High-Break Lookback` input.
- **Single Security Call**: Efficiently retrieves the entire daily-high series in one call to avoid TradingView’s 40-call security limit.
- **Automatic Looping**: Internally loops through each prior-day high, so there’s no need to manually code dozens of lines.
- **Custom Alerts**: Generates a clear, formatted alert message—e.g. “Crossed high from 7 day(s) ago”—for each breakout.
- **Lightweight & Maintainable**: Compact codebase (<15 lines) makes tweaking and debugging a breeze.
**Inputs**
- **High-Break Lookback (days)**: Number of past days to monitor for high breaks. Valid range: 1–100.
**How to Use**
1. **Add to Chart**: Open TradingView, click “Indicators,” then “Create,” and paste in the code.
2. **Configure Lookback**: In the script’s settings, set your desired lookback window (e.g., 20 for the past 20 days).
3. **Enable Alerts**: Right-click the indicator’s name on your chart, select “Add Alert on Aggregate PDH High Break Alert,” and choose “Once per bar close.”
4. **Receive Notifications**: Whenever price crosses above any of the specified prior-day highs, you’ll get an on-screen and/or mobile push alert with the exact number of days ago.
**Use Cases**
- **Trend Confirmation**: Confirm fresh bullish momentum when today’s high outpaces any of the last _N_ days.
- **Breakout Trading**: Automate entries off multi-day highs without manual chart scanning.
- **System Integration**: Integrate with alerts to trigger orders in third-party bots or webhook receivers.
**Disclaimer**
Breakouts alone do not guarantee sustained moves. Combine with your preferred risk management, volume filters, and other indicators for higher-probability setups. Use on markets and timeframes where daily breakout behavior aligns with your strategy.
4H High-Low BoxesThis indicator dynamically plots high-low boxes based on the most recent 4-hour candle, providing visual markers for key price levels and trends. The box is updated in real-time to reflect the highest and lowest points of the current 4-hour candle, and its color changes based on the market's direction.
Key Features:
Dynamic Boxes: The indicator automatically adjusts to the 4-hour candle's high, low, and open price, creating a box that updates with price action.
Color-Coding: The box color changes based on the price direction. A green box indicates bullish market sentiment (price is above the 4H open), while a red box indicates bearish sentiment (price is below the 4H open).
Accurate Timeframe Representation: It works across any intraday timeframe (e.g., 5-minute, 15-minute, 1-hour), providing consistent, visually relevant markers for trading decisions.
Real-Time Updates: The box is adjusted dynamically as price evolves, ensuring it accurately represents the 4-hour price range during live trading.
Customizable Settings: Tailor the visual aspects of the box, including border color, background transparency, and other parameters.
Trading Strategy Ideas:
Rejection at High/Low: Look for price rejection at the 4H high/low for potential reversal signals.
Breakout Strategy: Trade breakouts above the 4H high or below the 4H low for momentum trades.
Mean Reversion: Enter when price moves away from the 4H open, expecting it to return to the open price.
This indicator can be used as a standalone tool or combined with other technical indicators to improve entry and exit points. Perfect for swing traders and those using price action to identify key support and resistance levels.
HAPPY TRADING
Daily Percent Change LabelDaily Percent Change Label
Overview
This Pine Script displays the percentage change from the previous day's closing price as a text label near the current price level on the chart. It works seamlessly across any timeframe (daily, hourly, minute charts) by referencing the daily chart's previous close, making it perfect for traders tracking daily performance.
The label is displayed with a semi-transparent background (green for positive changes, red for negative changes) and white text, ensuring a clean and readable appearance.
Features
Accurate Daily Percent Change: Calculates the percentage change based on the previous day's closing price, even on intraday timeframes (e.g., 1-hour, 5-minute).
Dynamic Label: Shows the percentage change as a label aligned with the current price, updating in real-time.
Color-Coded Background: Semi-transparent green background for positive changes and red for negative changes.
Customizable: Adjust label position, size, color, and style to fit your preferences.
Minimal Impact: No additional plots or graphs, keeping the chart uncluttered.
How to Use
Add the Script:
Copy and paste the script into the Pine Editor in TradingView.
Click "Add to Chart" to apply it.
Check the Output:
A text label (e.g., "+2.34%" or "-1.56%") appears near the current price with a semi-transparent background.
The label is colored green (positive) or red (negative) and updates in real-time.
Switch Timeframes:
Works on any timeframe. The percentage change is always calculated relative to the previous day's close.
Customization Options
Modify the label.new function to customize the label:
Label Position:
Change style=label.style_label_left to label.style_label_right or label.style_label_down to adjust label placement.
Adjust bar_index with an offset (e.g., bar_index + 1) to move the label horizontally.
Text Color:
Modify textcolor=color.white to another color (e.g., color.rgb(255, 255, 0) for yellow).
Background Color:
Adjust color=percent_change >= 0 ? color.new(color.green, 50) : color.new(color.red, 50) to change transparency (e.g., color.new(color.green, 0) for no transparency).
Text Size:
Change size=size.normal to size.small or size.large for smaller or larger text.
Code Details
Timeframe Handling: Uses request.security with the "D" timeframe to fetch the previous day's closing price, ensuring accuracy on intraday charts.
Performance: Updates only on the last bar (barstate.islast) for optimal performance.
Dynamic Styling: Background color changes based on the direction of the price change.
Notes
The label is positioned near the current price for easy reference. To move it closer to the Y-axis, adjust the bar_index offset.
For different reference points (e.g., weekly close), modify the request.security timeframe (e.g., "W" for weekly).
Ensure the script is copied correctly without extra spaces or characters. Use a plain text editor (e.g., Notepad) for copying.
Feedback
Please share your feedback or customizations in the comments! If you find this script helpful, give it a thumbs-up or let others know how you're using it. Happy trading!
Highlight Large Candles// 🔍 Highlight Large Candles Indicator
// 🇬🇧 This indicator highlights candles where the full candle size (high - low) exceeds a user-defined percentage of the opening price (e.g., 1%).
// 🟠 When detected, the candle is colored orange and a label appears showing:
// - Body size
// - Upper wick size
// - Lower wick size
// - Open → Close distance (in price and %)
//
// 🔧 The minimum candle size threshold can be customized in the Settings.
// Ideal for identifying strong momentum or breakout candles.