60-Minute Range Highlighter - Color Coded (All Dates)//@version=5
indicator("60-Minute Range Highlighter - Color Coded (All Dates)", overlay=true)
// === INPUTS ===
show_all_ranges = input.bool(true, "Highlight All 60-Minute Ranges")
show_specific_range = input.bool(true, "Show Specific 60-Minute Range")
target_hour = input.int(9, "Target Hour (24h format)", minval=0, maxval=23)
// === COLOR PICKERS ===
color1 = input.color(color.new(color.teal, 85), "Box Color 1")
color2 = input.color(color.new(color.orange, 85), "Box Color 2")
color3 = input.color(color.new(color.purple, 85), "Box Color 3")
color4 = input.color(color.new(color.green, 85), "Box Color 4")
label_color = input.color(color.yellow, "Label Color")
// === TIME CONDITIONS ===
range_period = 60
range_index = math.floor(time / (range_period * 60 * 1000)) // continuous 60-min index
is_new_range = ta.change(range_index)
range_color = switch range_index % 4
0 => color1
1 => color2
2 => color3
=> color4
// === VARS FOR STORING RANGE ===
var float h_start = na
var float l_start = na
var label range_label = na
var box b = na
if is_new_range
h_start := high
l_start := low
if show_all_ranges
b := box.new(left=bar_index, right=bar_index,
top=h_start, bottom=l_start,
border_color=color.new(range_color, 40),
bgcolor=range_color)
else
h_start := math.max(high, h_start)
l_start := math.min(low, l_start)
if show_all_ranges and not na(b)
box.set_right(b, bar_index)
box.set_top(b, h_start)
box.set_bottom(b, l_start)
// === SHOW SPECIFIC RANGE ===
hour_now = hour(time)
next_hour = (target_hour + 1) % 24
in_target_range = (hour_now == target_hour) or (hour_now == next_hour and minute(time) < 30)
if show_specific_range and is_new_range and in_target_range
range_val = h_start - l_start
label.delete(range_label)
mid_price = (h_start + l_start) / 2
range_label := label.new(bar_index, mid_price, text="Range: " + str.tostring(range_val, "#.##"), style=label.style_label_left, color=label_color, textcolor=color.black, size=size.small)
Индикаторы и стратегии
VIX Calm vs Choppy (Bar Version, VIX High Threshold)This indicator tracks market stability by measuring how long the VIX stays below or above a chosen intraday threshold. Instead of looking at VIX closes, it uses VIX high, so even a brief intraday spike will flip the regime into “choppy.”
The tool builds a running clock of consecutive bars spent in each regime:
Calm regime: VIX high stays below the threshold
Choppy regime: VIX high hits or exceeds the threshold
Calm streaks plot as positive bars (light blue background).
Choppy streaks plot as negative bars (dark pink background).
This gives a clean picture of how long the market has been stable vs volatile — useful for trend traders, breakout traders, and anyone who watches risk-on/risk-off conditions. A table shows the current regime and streak length for quick reference.
Checklist (D1 / H4 / M15/30 BoS / VP / Fibo / S/R) This is a simple, visual checklist indicator that allows you to quickly assess how many of your strategy conditions are met, without affecting the chart itself. It is ideal for multi-timeframe strategies and point-by-point setup monitoring.
Tendencia Anual (YTD + YTY) - robustaThis indicator displays annual performance metrics including YTD (Year-To-Date) and YTY (Year-To-Year) returns based on daily prices. It also plots long and short EMAs to highlight market trends, offering a clear view of yearly momentum and crossover signals for strategic trading decisions.
Relative Strength HSIWe add the relative strength indicator. We try to maximize the alpha,
when there is price divergence, we should notice.
RSI with Zone ColorsRSI with zone cooler highlight for everyone
🔹 Short description (for the “Description” box)
RSI with Zone Colors
This indicator plots a classic RSI and highlights the overbought / oversold zones with clear colors.
The RSI line changes color when it enters each zone, the zones are softly filled in the RSI pane, and the price candles on the main chart are recolored whenever RSI is overbought or oversold.
It’s designed to make momentum shifts easy to see at a glance on any symbol or timeframe.
⸻
🔹 What the script does (explanation)
1. Custom RSI calculation
• Uses the price source you choose (close by default) and the RSI length you set.
• Calculates average up-moves and down-moves, then builds a classic RSI value from 0–100.
2. Configurable levels
• Overbought Level (default 70)
• Oversold Level (default 30)
• Midline at 50 is drawn automatically.
3. RSI line color by zone
• Above OB level → RSI line becomes red (overbought zone).
• Below OS level → RSI line becomes green (oversold zone).
• Between the two levels → blue (normal zone).
4. Zone lines
• Horizontal lines at Overbought, Oversold, and 50 are plotted to clearly mark each region.
5. Zone fills
• The space around the overbought area is filled with a soft red background.
• The space around the oversold area is filled with a soft green background.
• Transparency is used so the RSI line stays visible.
6. Candle colors on the main chart
• When RSI is overbought, price candles are colored red.
• When RSI is oversold, price candles are colored green.
• In the normal zone, candles keep their default color.
→ This lets you see RSI conditions directly on the price chart without looking down at the indicator pane all the time.
⸻
🔹 How to use (for “How to use / Strategy idea” section)
You can copy-paste and tweak this:
How to use
• Apply this indicator to any symbol and timeframe.
• Adjust RSI Length, Overbought Level, and Oversold Level to match your trading style (for example 14 / 80 / 20 for stronger filters).
• Use the red overbought zone to look for potential exhaustion after strong up moves.
• Use the green oversold zone to look for potential exhaustion after strong down moves.
• Candle colors on the main chart help you see when RSI is extended without taking your eyes off price.
• This script is meant as a visual aid, not a complete trading system. Combine it with your own trend, structure, and risk-management rules.
⸻
🔹 Optional disclaimer (short)
This script is for educational and informational purposes only and is not financial advice. Always test any idea on a demo account before using it with real capital.
MACD/SMACD Screener — signal EMA supportFor screening in Pine, SMACD values for crosses up below 0-line for instance.
Daily OBV Trend & Divergence + Zones By SamuilDaily OBV Trend Analysis - Shows if OBV is above/below its MA
Daily OBV Divergence Detection - Detects bullish/bearish divergences
Zone Awareness - Tracks if price is in demand/supply zones
Comprehensive Info Table - Shows all key metrics in real-time including:
Active zones count
Current zone (demand/supply/none)
OBV trend direction
OBV momentum
OBV distance from MA
Divergence status
Combined signal strength
The diamond markers appear when divergences are detected, and the table gives you a complete picture of the market state!
Chande Momentum Oscillator Trend | DextraOverview
A momentum-driven trend filter that turns the powerful Chande Momentum Oscillator (CMO) into a clean, actionable trend signal. ChandeMO Trend uses hysteresis locking to stay in bullish or bearish mode only when true momentum confirms direction. Instant visual clarity with fully colored candles:
Emerald Green → Bullish momentum locked
Hot Pink → Bearish momentum locked
How It Works
Calculates Chande Momentum Oscillator using EMA-smoothed upside/downside momentum
Triggers trend only when CMO exits the neutral zone
Locks the state until opposite threshold is broken
Updates CMO line color and candle appearance in real time
RSI Regime: Continuation vs Reversal Indicator Description: RSI Regime (Continuation vs. Reversal)
This indicator uses the standard Relative Strength Index (RSI) to analyze market momentum and categorize it into three "regimes." Its primary goal is to help you determine if an overbought (OB) or oversold (OS) signal is likely to be a continuation of the current trend or a reversal point.
It also identifies "Fast Trend Starts," which are exceptionally fast and powerful moves from one extreme to the other.
Core Features & How to Read It
1. The Three RSI Regimes (Background Color) The script calculates a moving average (SMA) of the RSI to determine the dominant medium-term momentum. This is shown as the background color:
Bull Regime (Green Background): The RSI's average is high (e.g., above 55). The market is in a clear uptrend.
Bear Regime (Red Background): The RSI's average is low (e.g., below 45). The market is in a clear downtrend.
Range Regime (Orange Background): The RSI's average is in the middle. The market is consolidating or undecided.
2. Overbought (OB) & Oversold (OS) Signals
When the RSI line crosses into the overbought (e.g., >70) or oversold (e.g., <30) zones, the indicator generates one of two types of signals:
A) Continuation Signals (Small Triangles: ►)
These signals suggest an OB/OS reading is just a "pause" and the main trend will likely continue.
Orange ► (at the top): Appears when RSI becomes overbought while the market is already in a Bull Regime. This suggests the uptrend is strong, and this OB signal may not lead to a big drop.
Teal ► (at the bottom): Appears when RSI becomes oversold while the market is already in a Bear Regime. This suggests the downtrend is strong, and this OS signal may not lead to a big bounce.
(Note: An optional Price EMA filter can be enabled to make these signals more strict.)
B) Reversal Signals (Small Labels: "OS→>50" / "OB→<50")
These labels appear after an OB/OS signal to confirm that a reversal has actually occurred.
"OS→>50 Reversal" (Aqua Label): Appears if the RSI becomes oversold and then recovers back above the 50 midline within a set number of bars. This confirms the oversold dip was a reversal point.
"OB→<50 Reversal" (Orange Label): Appears if the RSI becomes overbought and then falls back below the 50 midline within a set number of bars. This confirms the overbought peak was a reversal point.
3. "Fast Trend Starts" (Large Labels)
This is a unique feature that identifies the fastest percentile of market moves. It measures how many bars it takes for the RSI to go from one extreme to the other and flags when a move is in the top 5% (default) of all historical moves.
"Long Pullbacks (Fast OS→BullRange)" (Large Green Label): This powerful signal appears when the RSI moves from oversold (<30) all the way up to the bull range (>60) exceptionally fast. It identifies a very strong, fast, and decisive bounce that could signal the start of a new uptrend.
"Short Pumps (Fast OB→BearRange)" (Large Red Label): This appears when the RSI moves from overbought (>70) all the way down to the bear range (<40) exceptionally fast. It identifies a very sharp, fast rejection or "pump-and-dump" that could signal the start of a new downtrend.
Key User Inputs
RSI Length (14): The lookback period for the main RSI calculation.
OB (70) / OS (30): The standard overbought and oversold levels.
Bull/Bear Range Threshold (60/40): These are the levels used to confirm the "Fast Trend Starts." They are separate from the OB/OS levels.
RSI Regime SMA Length (21): The lookback period for the moving average that determines the background regime.
Use Price EMA filter (true): If checked, the small "Continuation" triangles will only appear if the price is also above (for bulls) or below (for bears) its own 50-period EMA.
Fastest X% duration (5.0): This sets the percentile for the "Fast Trend Start" labels. 5.0 means it only flags moves that are in the fastest 5% of all recorded moves.
7 AM PST Vertical Line//@version=5
indicator("7 AM PST Vertical Line", overlay=true)
// Convert chart timestamp into PACIFIC time
pacificTime = time(timeframe.period, "America/Los_Angeles")
// Extract hour/minute in PACIFIC timezone
pacHour = hour(pacificTime)
pacMinute = minute(pacificTime)
// Check for 7:00 AM PACIFIC
isSevenPST = (pacHour == 7 and pacMinute == 0)
if isSevenPST
line.new(bar_index, 1e10, bar_index, -1e10, extend=extend.none, color=color.blue, width=3, style=line.style_dashed)
Average True Range Stop Loss Finder [MasterYodi]This indicator utilizes the Average True Range (ATR) to help traders identify optimal stop-loss levels that reduce the risk of premature exits caused by market volatility or tight stop placements. The default multiplier is set to 1.5, providing a balanced stop-loss buffer. For more conservative setups, a multiplier of 2 is recommended; for tighter risk management, use 1.
ATR values and corresponding stop-loss levels are displayed in a table at the bottom of the chart.
Use the high-based (red) level for short positions
Use the low-based (teal) level for long positions
EMA 200 Crossover (Buy Only) v5 FinalEMA 200 Crossover (Buy Only) v5 Final for buying using only ema200
Rons Custom WatermarkRon's Custom Watermark (RCW)
This is a lightweight, all-in-one watermark indicator that displays essential fundamental and technical data directly on your chart. It's designed to give you a quick, at-a-glance overview of any asset without cluttering your screen.
Features
The watermark displays the following information in a clean table:
* Company Info: Full Name & Market Cap (e.g., "AST SpaceMobile, Inc. (18.85B)")
* Symbol & Timeframe: Ticker and current chart period (e.g., "ASTS, 1D")
* Sector & Industry: The asset's classification.
* Technical Status (MA): Shows if the price is Above or Below the SMA (with a 🟢/🔴 emoji).
* Technical Status (EMA): Shows if the price is Above or Below the EMA (with a 🟢/🔴 emoji).
* Earnings: A countdown showing "X days remaining" until the next earnings report.
* (Optional) Volatility: The 14-day ATR value and its percentage of the current price.
matty lad ema buy sell stratergythe stratergy is very very simple it basically give you a buy or sell signal on crossing the ema
Lightning Session LevelsLightning Session Levels (LSL) draws clean, non-repainting levels for the major market sessions and a compact HUD in the top-right corner. It’s built to be lightweight, readable, and “set-and-forget” for intraday traders.
What it shows
Session High/Low and Open/Close levels for:
ASIA (00:00–08:00 UTC)
EUROPE (07:00–16:00 UTC)
US (13:30–20:00 UTC)
OVERNIGHT (20:00–24:00 UTC)
HUD panel:
Current active session
Countdown to the next US session (auto-calculated from UTC)
How it works (non-repainting)
Levels are anchored at session close. Each line is created once on the confirmed closing bar of the session (x2 = session end).
Optional Extend Right keeps the level projecting forward without changing the anchor (no “drifting”).
All drawings are pinned to the right price scale for stable reading.
Inputs
Show HUD — toggle the top-right panel.
Show Levels — master switch for drawing levels.
Draw High/Low — H/L session levels.
Draw Open/Close — O/C session levels.
Extend Right — extend all session lines to the future.
Keep N past sessions per market — FIFO limit per session group (default 12).
ASIA / EUROPE / US / OVERNIGHT — enable/disable specific sessions.
Style & palette
Consistent “Lightning” colors:
ASIA = Cyan, EUROPE = Violet, US = Amber, OVERNIGHT = Teal
Labels are always size: Normal for readability.
HUD uses a dark, subtle two-tone background to stay out of the way.
Recommended use
Timeframes: intraday (1m → 4h).
On 1D and higher, TradingView’s session-window time() filters won’t match intraday windows, so levels won’t plot (by design).
Markets: crypto, indices, FX, equities — any symbol where intraday session context helps.
Notes & limitations
Fixed UTC windows. The US window is set to 13:30–20:00 UTC. Daylight-saving shifts (DST) are not auto-adjusted; if you need region-specific DST behavior, treat this as a consistent UTC model.
The HUD timer counts down to the next US open from the current UTC clock.
Draw limits are capped (500 lines, 500 labels) for performance and stability.
Quick start
Add Lightning Session Levels to your chart.
Toggle Draw High/Low and/or Draw Open/Close.
Turn on Extend Right if you want the levels to project forward.
Enable only the sessions you care about (e.g., just EUROPE and US).
Use Keep N past sessions to control clutter (e.g., 6–12).
Disclaimer
This tool is for educational/informational purposes only and is not financial advice. Past session behavior does not guarantee future results. Always manage risk.
Gold - SMC Premium (Confluence Scoring & Optimized)What I added and changed
A confluence scoring system with configurable weights: EMA alignment, HTF alignment, Order Block proximity, FVG/Imbalance proximity, and Trendline break. Scores normalized and presented on a small dashboard.
Confluence alerts that fire when score ≥ threshold (buy) or ≤ -threshold (sell). Messages include the threshold value.
Performance improvements: limited lookback (maxDetectBars), capped drawn objects (maxDraw), and cleanup logic that deletes old boxes/lines to reduce repainting and slowdowns.
Reused HTF zone drawing and avoided heavy/unbounded loops.
Visual markers for confluence signals and a compact table showing score + nearby SMC info.
Triple Linear Regression Channel [CongTrader]🏷️ Triple Linear Regression Channel
A multi-timeframe linear regression channel tool for traders who seek clarity between short-term volatility and long-term trend direction.
📘 Overview
The Triple Linear Regression Channel is a professional-grade visualization tool that plots three adaptive linear regression channels directly on your chart:
Two long-term channels — representing the broader market structure and directional bias.
One short-term channel — reflecting short-term momentum, pullbacks, and volatility compression zones.
Each channel dynamically updates with price movement, providing a visual map of trend strength, mean reversion areas, and volatility boundaries.
⚙️ How It Works
Each channel is based on:
A linear regression line calculated from a rolling price window.
Standard deviation bands (configurable via multiplier) to define upper and lower channel limits.
This combination allows traders to clearly see where price deviates significantly from its statistical mean — an essential concept for trend continuation or mean reversion strategies.
📈 How to Use
Identify the Trend:
The long-term channels (default: 100 & 300 bars) indicate the dominant market direction.
When both long channels slope upward → long bias; downward → short bias.
Find Tactical Entries:
Use the short-term channel (default: 25 bars) for entries within the major trend.
A price touch near the lower band in an uptrend or upper band in a downtrend may signal a pullback opportunity.
Volatility Analysis:
The distance between the channel lines reflects market volatility.
Narrowing bands = compression phase → possible breakout ahead.
Customization Tips:
Adjust the Std Dev Multiplier to widen or tighten sensitivity.
Extend future bars (Extend Lines by Bars) to project trend paths visually.
🌟 Key Features
✅ Three independently calculated linear regression channels (short + two long)
✅ Dynamic, real-time updates with customizable parameters
✅ Visual color distinction for quick trend and volatility recognition
✅ Lightweight and efficient (optimized for chart performance)
✅ Suitable for any market or timeframe
🔬 Technical Notes
Built with Pine Script® v5 using custom regression and standard deviation functions.
Channels update on every bar for precision; repaint behavior is limited to natural regression recalculation.
Works seamlessly on all assets: crypto, forex, stocks, indices, and futures.
🙏 Credits & Acknowledgement
Developed with dedication by CongTrader (2025) for the TradingView community.
Inspired by classic regression channel concepts, this version adds a unique multi-layer visualization and smoother plotting logic for modern traders.
Special thanks to the global Pine coders and TradingView community for their continuous inspiration and support.
🏁 Disclaimer
This script is for educational and analytical purposes only and should not be considered financial advice.
Always perform your own analysis before making trading decisions.
#regression #trend #channel #volatility #technicalanalysis #tradingtools
ADR% / AWR% / AMR% / ATR / LoD Dist. TableThis is an updated script from ArmerSchlucker that includes AWR (average weekly range) and AMR (average monthly range) in the table when toggled to those timeframes
Tendencia Anual todos los Y – robustaThis indicator displays annual performance metrics including YTD (Year-To-Date) and YTY (Year-To-Year) returns based on daily prices. It also plots long and short EMAs to highlight market trends, offering a clear view of yearly momentum and crossover signals for strategic trading decisions.
SMC-SRKWhat I added and changed
A confluence scoring system with configurable weights: EMA alignment, HTF alignment, Order Block proximity, FVG/Imbalance proximity, and Trendline break. Scores normalized and presented on a small dashboard.
Confluence alerts that fire when score ≥ threshold (buy) or ≤ -threshold (sell). Messages include the threshold value.
Performance improvements: limited lookback (maxDetectBars), capped drawn objects (maxDraw), and cleanup logic that deletes old boxes/lines to reduce repainting and slowdowns.
Reused HTF zone drawing and avoided heavy/unbounded loops.
Visual markers for confluence signals and a compact table showing score + nearby SMC info.
BTC CME Gaps Detector [SwissAlgo]BTC CME Gaps Detector
Track Unfilled Gaps & Identify Price Magnets
------------------------------------------------------
Overview
The BTC CME Gap Detector identifies and tracks unfilled price gaps on any timeframe (1-minute recommended for scalping) to gauge potential trading bias.
Verify Gap Behavior Yourself : Use TradingView's Replay Mode on the 1-Minute chart to observe how the price interacts with gaps. Load the BTC1! ticker (Bitcoin CME Futures), enable Replay Mode, and play forward through time (for example: go back 15 days). You may observe patterns such as price frequently returning to fill gaps, nearest gaps acting as near-term targets, and gaps serving as potential support/resistance zones. Some gaps may fill quickly, while others may remain open for longer periods. This hands-on analysis lets you independently assess how gaps may influence price movement in real market conditions and whether you may use this indicator as a complement to your trading analysis.
------------------------------------------------------
Purpose
Price gaps occur when there is a discontinuity between consecutive candles - when the current candle's low is above the previous candle's high (gap up), or when the current candle's high is below the previous candle's low (gap down).
This indicator identifies and tracks these gaps on any timeframe to help traders:
Identify gap zones that may attract price (potential "price magnets")
Monitor gap fill progression
Assess potential directional bias based on nearest unfilled gaps (long, short)
Analyze market structure and liquidity imbalances
------------------------------------------------------
Why Use This Indicator?
Universal Gap Detection : Identifies all gaps on any timeframe (1-minute, hourly, daily, etc.)
Multi-Candle Mitigation Tracking : Detects gap fills that occur across multiple candles
Distance Analysis : Shows percentage distance to nearest bullish and bearish gaps
Visual Representation : Color-coded boxes indicate gap status (active vs. mitigated)
Age Filtering : Option to display only gaps within specified time periods (3/6/12/24 months), as older gaps may lose relevance
ATR-Based Sizing : Minimum gap size adjusts to instrument volatility to filter noise (i.e. small gaps)
------------------------------------------------------
Trading Concept
Gaps represent price zones where no trading occurred. Historical market behavior suggests that unfilled gaps may attract price action as markets tend to revisit areas of incomplete price discovery. This phenomenon creates potential trading opportunities:
Bullish gaps (above current price) may act as upside targets where the price could move to fill the gap
Bearish gaps (below current price) may act as downside targets where price could move to fill the gap
The nearest gap often provides directional bias, as closer gaps may have a higher probability of being filled in the near term
This indicator helps quantify gap proximity and provides a visual reference for these potential target zones.
EXAMPLE
Step 1: Bearish Gaps Appear Below Price
Step 2: Price Getting Close to Fill Gap
Step 3: Gap Mitigated Gap
------------------------------------------------------
Recommended Setup
Timeframe: 1-minute chart recommended for maximum gap detection frequency. Works on all timeframes (higher timeframes will show fewer, larger gaps).
Symbol: Any tradable instrument. Originally designed for BTC1! (CME Bitcoin Futures) but compatible with all symbols.
Settings:
ATR Length: 14 (default)
Min Gap Size: 0.5x ATR (adjust based on timeframe and noise level)
Gap Age Limit: 3 months (configurable)
Max Historical Gaps: 300 (adjustable 1-500)
------------------------------------------------------
How It Works
Gap Detection : Identifies price discontinuities on every candle where:
Gap up: current candle low > previous candle high
Gap down: current candle high < previous candle low
Minimum gap size filter (ATR-based) eliminates insignificant gaps
Mitigation Tracking : Monitors when price touches both gap boundaries. A gap is marked as filled when the price has touched both the top and bottom of the gap zone, even if this occurs across multiple candles.
Visual Elements :
Green boxes: Unfilled gaps above current price (potential bullish targets)
Red boxes: Unfilled gaps below current price (potential bearish targets)
Gray boxes: Filled gaps (historical reference)
Labels: Display gap type, price level, and distance percentage
Analysis Table: Shows :
Distance % to nearest bullish gap (above price)
Distance % to nearest bearish gap (below price)
Trade bias (LONG if nearest gap is above, SHORT if nearest gap is below)
------------------------------------------------------
Key Features
Detects gaps on any timeframe (1m, 5m, 1h, 1D, etc.)
Boxes extend 500 bars forward for active gaps, stop at the fill bar for mitigated gaps
Real-time distance calculations update on every candle
Configurable age filter removes outdated gaps
ATR multiplier ensures gap detection adapts to market volatility and timeframe
------------------------------------------------------
Disclaimer
This indicator is provided for informational and educational purposes only.
It does not constitute financial advice, investment recommendations, or trading signals. The concept that gaps attract price is based on historical observation and does not guarantee future results.
Gap fills are not certain - gaps may remain unfilled indefinitely, or the price may reverse before reaching a gap. This indicator should not be used as the sole basis for trading decisions.
All trading involves substantial risk, including the potential loss of principal. Users should conduct their own research, apply proper risk management, test strategies thoroughly, and consult with qualified financial professionals before making trading decisions.
The authors and publishers are not responsible for any losses incurred through the use of this indicator.






















