FIBO SWING mfi by julzALGOOVERVIEW
FIBO SWING mfi by julzALGO blends MFI → RSI → Least‑Squares smoothing to flag overbought/oversold swings and continuously plot Fibonacci retracements from the rolling high/low of the last 200 bars. It’s built to spot momentum shifts while giving you a clean, always‑current fib map of the recent market range.
CORE PRINCIPLES
Hybrid Momentum Signal
Uses MFI to integrate price and volume.
Applies RSI to MFI for momentum clarity.
Smooths the result with Least Squares regression to reduce noise.
Swing Identification
Marks potential swing highs when momentum is overbought.
Marks potential swing lows when momentum is oversold.
Fixed-Window Fibonacci Mapping
Always calculates fib levels from the highest high and lowest low of the last 200 bars.
This keeps fib zones consistent, independent of swing point detection.
Visual Clarity & Non-Repainting Logic
Clean labels for OB/OS zones.
Lines and levels update only as new bars confirm changes.
Adaptability
Works on any market and timeframe.
Adjustable momentum length, OB/OS thresholds, and smoothing.
HOW IT WORKS
Computes Money Flow Index (MFI) from price & volume.
Applies RSI to the MFI for clearer OB/OS momentum.
Smooths the hybrid with a Least Squares (linear regression) filter.
Swing labels appear when OB/OS conditions are met (green = swing low, red = swing high).
Fibonacci retracements are always drawn from the highest high and lowest low of the last 200 bars (rolling window), independent of swing labels.
HOW TO USE
Watch for OB/OS flips to mark potential swing highs/lows.
Use the 200‑bar fib grid as your active map of pullback levels and reaction zones.
Combine fib reactions with your price action/volume cues for confirmation.
Works across markets and timeframes.
SETTINGS
Length – Period for both MFI and RSI.
OB/OS Levels – Overbought/oversold thresholds (default 70/30).
Smooth – Least‑Squares smoothing length.
Fibonacci Window – Fixed at 200 bars in this version (changeable in code via fibLen).
NOTES
Logic is non‑repainting aside from standard bar/label confirmation.
Increase Length on very low timeframes to reduce noise.
Swing labels help context; fibs are always based on the most recent 200‑bar high/low range.
SUMMARY
FIBO SWING mfi by julzALGO is a momentum-plus-price action tool that merges MFI → RSI → smoothing to identify overbought/oversold swings and automatically plot Fibonacci retracements based on the rolling high/low of the last 200 bars.
It’s designed to help traders quickly see potential reversal points and pullback zones, offering visual confluence between momentum shifts and fixed-window price structure.
DISCLAIMER
For educational purposes only. Not financial advice. Trade responsibly with proper risk management.
Indicators and strategies
ATR Dynamische Candles 1.2 (by Droes)This script visualizes ATR values as candles to the right of the last candle at today's high and today's low.
Volume Profile, Pivot Anchored by [MARK804]Unlock Hidden Market Zones: Volume Profile Anchored to Dynamic Pivot Points (by Mark804)
Elevate Your Trading with Precision:
Discover the power of Volume Profile, Pivot Anchored by Mark804—an advanced TradingView tool that merges horizontal volume histograms with pivot-anchored price levels. See exactly where trading interest peaks and how those zones intersect with pivot points to identify meaningful support, resistance, and breakout zones—all on one clean chart. Crafted for traders who want clarity, speed, and a strategic edge.
Why This Indicator Stands Out:
Dual-Mode Insight: Combines volume-based price distribution with pivot point anchoring for sharper decision-making.
Actionable Alerts: Includes built-in alerts for touches on Point of Control (PoC), Value Area High (VAH), and Value Area Low (VAL), plus high-volume zone notifications.
Rich Context Display: Shows cumulative volume, percentage changes, VA width, bar counts, and more—directly on your chart.
Perfect For:
Day traders, swing traders, algorithmic designers—anyone who benefits from integrating volume-based levels with smart pivot overlays.
DXY Opening Zones - FixedFull Description:
Overview:
This indicator automates the identification of DXY (Dollar Index) opening zones, a cornerstone of the Funded Trader Academy's "Dixie Open" strategy. It marks the critical gap between market close and open, which acts as a magnetic attraction level for price action throughout the trading day.
Key Features:
✅ Automatic Gap Detection: Identifies opening gaps between market close (6:00 PM EST) and open (7:45 PM EST Sunday, 7:45 PM Mon-Thu)
✅ Smart Zone Expansion: Automatically expands zones when gaps are smaller than 20 pips to include prior candle highs/lows for better trading ranges
✅ Session Highlighting: Visual overlays for London (3 AM - 12 PM EST) and New York (8 AM - 5 PM EST) sessions
✅ Phantom Candle Filter: Ignores glitch/phantom candles smaller than 2 pips to prevent false zones
✅ Time-Based Zone Extension: Zones automatically extend to 5 PM EST (US market close) for full-day relevance
✅ 15-Minute Chart Optimization: Specifically designed for the 15-minute timeframe where the strategy performs best
✅ DXY-Only Protection: Built-in safeguards ensure the indicator only works on Dollar Index symbols
Trading Strategy Context:
The DXY Opening Level strategy capitalizes on the market's tendency to return to opening gaps, offering approximately 70-75% win rate when traded correctly. Best entries occur during London session (after 2:30 AM EST) when volume increases.
Ideal For:
Forex traders using DXY correlation strategies
Mean reversion and gap trading enthusiasts
Traders seeking high-probability setups with defined risk
Those following the Funded Trader Academy methodology
Settings Explained:
Zone Color: Customize the visual appearance of zones
Expand Zone Threshold: Adjust when zones should expand (default 20 pips)
Phantom Filter: Set minimum candle size to consider valid (default 2 pips)
Session Display: Toggle London/NY session backgrounds
Debug Mode: View detailed gap measurements and timing information
Important Notes:
Must be used on 15-minute DXY/Dollar Index charts
Zones mark attraction levels, not direct entry points
Always wait for valid entry signals (engulfing, pin bar, 3-bar reversal)
Trade correlated forex pairs, not DXY directly
Best results during London session (2:30 AM - 12 PM EST)
Risk Disclaimer:
This indicator identifies potential trading zones based on historical patterns. Always use proper risk management and never risk more than you can afford to lose. Past performance does not guarantee future results.
Motala's Trading — risk management xauusdA practical position-sizing and risk/TP planning tool designed for discretionary traders. It draws risk and profit zones as right-side boxes, places clean labels for Entry / SL / TP1..TP5, shows a breakeven midline, and calculates P&L, risk, margin, and R:R—all in your account currency (e.g., CAD) with optional live FX conversion (USD→Account) so numbers line up with your broker.
Key features
Auto/Long/Short: Auto infers direction from where SL sits vs Entry; or choose Long/Short explicitly.
TPs by R-multiples or manual prices:
R-multiples: TP1..TP5 automatically at 1R..5R from Entry based on your SL distance.
Manual: enter any mix of TP1..TP5 prices yourself.
Sizing modes:
Fixed — Lots (e.g., 0.01 lots)
Fixed — Units (base units)
Risk % (script computes lots/units to match your % risk target)
Cost realism (optional): Toggle bid/ask, commission per side (%), and slippage. All P&L and R:R update “after costs.”
Account currency P&L: Real-time conversion from USD→Account using a live feed (default OANDA:USDCAD, editable to Pepperstone/FOREXCOM, etc.).
Compact “luxury” panel (top-right):
Side, Notional, Balance, Initial Margin (uses your leverage), R:R (after costs)
Drawdown @SL (amount + %)
Blended P&L across TP1..TP5 (weighted by your TP percentages)
P&L @TP(main) and @SL
If Risk % sizing: shows Lots (calc). If Fixed lots/units: shows Risk Used (%).
Total Risk across parallel trades (simple multiplier).
Right-side chart labels: Entry, SL, TP1..TP5, and live P&L label near the midline.
Visuals you actually use: Boxes only (no left extension lines), configurable box colors/transparency, dashed right-extended breakeven line.
Guardrail warnings: Flags if SL/TP are on the wrong side or if R:R < 1 after costs.
Trade Notes + CSV one-shot: Type a note and emit a single CSV line to the Alerts Log (or a webhook) when you toggle Save now.
How to use
Set prices: Enter Entry and SL (both clamped to 2 decimals).
Choose TP mode:
“R-multiples (1R..5R)” to auto-space TP1..TP5, or
“Manual prices” to type TP prices (each 2 decimals).
Pick the direction: Auto (script infers), or force Long/Short.
Sizing:
Risk % → script calculates lots/units so loss @SL ≈ target % of balance.
Fixed — Lots/Units → script shows Risk Used (%) @SL.
Account & FX: Choose your Account Currency (USD/CAD/ZAR/EUR/INR). Keep Use Live FX on (default) and set Live FX Symbol (e.g., OANDA:USDCAD). If your feed quotes inverse, tick Invert Live FX.
(Optional) Costs: Turn on Enable Realistic Costs, then set Use Bid/Ask, Commission % per side, and Slippage to mirror your broker.
Visuals: Set Box extend right (bars), toggle labels/midline/warnings, and customize box colors.
Calculations (plain English)
1R = absolute distance between Entry and SL (price).
TP1..TP5 (R-mode) = Entry ± 1R..5R in the profit direction.
Net P&L uses effective entry/exit (adds/removes slippage; uses bid/ask for market fills if enabled) and subtracts commission (both sides).
Risk % sizing:
Compute loss per 1 unit at SL (after costs), then scale units = (Account × Risk %) / per-unit loss.
Derived Lots (calc) = Units / Contract Size.
Drawdown @SL = |P&L @SL| (in account currency) + percentage of account.
R:R (after costs) = |P&L @TP(main)| ÷ |P&L @SL)|.
Blended P&L = weighted sum of P&L at TP1..TP5 using your TP size %s.
Broker alignment tips
Contract Size matters. For XAUUSD CFDs, many brokers use 100 units per 1.00 lot (100 oz). If your broker uses a different lot size or tick value, set Contract Size to match, or P&L will differ.
If your broker adds commissions/markup/averaging, mirror that in Costs.
Live FX uses your chosen TradingView symbol (e.g., OANDA:USDCAD). For best matching, pick the same provider you see closest to your broker.
Notes & CSV export
Enter a Trade Note in inputs.
Toggle Enable CSV alert/save, then tick Save now (one-shot) once.
A CSV line is sent via alert() → copy from the Alerts Log or route to a webhook (e.g., Google Sheets).
Format: YYYY-MM-DD HH:MM,Symbol,Currency,Side,Entry,SL,TPmain,Lots/RiskLots,AbsRiskAtSL%,Note
Visual choices
Clean boxes only (risk & profit) that extend right a set number of bars.
Dashed breakeven midline, right-extended only.
Right-side labels so nothing sits on top of candles.
All prices and monetary values displayed to 2 decimals; Risk % rows show no decimals.
Defaults
Lots: 0.01
Leverage: 20× (used to display Initial Margin only; doesn’t change P&L)
Account Currency: CAD
Live FX Symbol: OANDA:USDCAD (editable)
Costs: OFF (for clean math)
Limitations & disclaimer
P&L relies on contract size, costs, and FX feed—set these to your environment for best alignment.
Some brokers’ internal markups/averaging won’t perfectly match a public feed.
For education/information only. Not financial advice.
Tags: risk management, position sizing, R multiples, TP/SL planner, XAUUSD, forex, CFD, money management, risk reward, panel, boxes, bid/ask, CSV export
RSI + RVOL Combo (with Alerts)RSI ≥50 且在信号线之上 → 动量偏多;≤50 且在下 → 偏空。
背景变绿代表 RVOL≥1.5×:这时的止跌/突破更可信。
想要提醒:点击顶部 Alerts → Condition 选本指标 → 选择
Bullish RSI Cross & Above 50(做多触发)
Bearish RSI Cross & Below 50(谨慎/减回新增)
RVOL crossed threshold(放量出现)
Relative Trend IndexRTI (Relative Trend Index)
Description:
The Relative Trend Index (RTI) is a customizable technical analysis indicator designed to gauge trend strength and direction by combining a user-selected moving average with the Relative Strength Index (RSI). The RTI oscillates around a zero line, providing clear visual signals for bullish, bearish, and neutral market conditions. It is plotted in a separate panel below the chart, making it ideal for identifying trend momentum, potential reversals, or periods of consolidation when used alongside other indicators.
The RTI incorporates user-defined upper and lower thresholds to delineate bullish, bearish, and neutral zones. When the RTI is between these thresholds, it signals a neutral market state, visually represented by gray coloring for the RTI plot, price bars, and background. This helps traders identify periods of indecision or consolidation, while strong bullish or bearish trends are highlighted with distinct colors.
How It Works
Moving Average Calculation: Users can choose from 10 moving average types (SMA, EMA, DEMA, TEMA, WMA, VWMA, SMMA, HMA, LSMA, ALMA) to smooth the price data.
The moving average determines the trend direction by comparing it to the closing price.
Trend Direction
A raw trend direction is calculated (+1 if the moving average is above the close price, -1 if below).
The trend direction is smoothed using a Simple Moving Average (SMA) over a user-defined trend length, producing a trendstrength value between -1 and 1.
RSI Integration
The RSI, calculated over a user-specified period, adjusts the RTI’s magnitude to incorporate momentum.
RTI Calculation
The RTI is computed as:
RTI = (trendstrength * (1 - RSI/100)) * 100trendstrength reflects the smoothed trend direction.
The RSI is scaled and inverted to influence the RTI’s intensity.
Threshold Zones
Bullish Zone: When RTI exceeds the upper threshold (default: +30), the RTI plot and price bars turn orange (#FF8040), and the background is light green, indicating strong bullish momentum.
Bearish Zone: When RTI falls below the lower threshold (default: -30), the RTI plot and price bars turn blue (#001BB7), and the background is light red, indicating strong bearish momentum.
Neutral Zone: When RTI is between the upper and lower thresholds, the RTI plot, price bars, and background turn gray, signaling a lack of strong trend or consolidation.
Features
Customizable Moving Average: Select from 10 moving average types (SMA, EMA, DEMA, TEMA, WMA, VWMA, SMMA, HMA, LSMA, ALMA) with adjustable period and ALMA sigma parameters.
Flexible Trend Smoothing: Adjust the trend length to smooth the trend direction, reducing noise and tailoring the indicator’s responsiveness.
RSI Integration: Fine-tune the RSI length to incorporate momentum into the RTI calculation.
Customizable Thresholds: Set upper and lower thresholds to define bullish, bearish, and neutral zones.
ATR x2 AUTODescription:
This indicator automatically plots ATR-based horizontal levels for each of the most recent candles, helping traders visualize potential stop-loss hunting zones, breakout areas, or price reaction points.
It works by taking the Average True Range (ATR) over a customizable period and multiplying it by a user-defined factor (default: ×2). For each of the last N candles (default: 5), it calculates and draws:
Below green candles (bullish) → A horizontal line placed ATR × multiplier below the candle’s low.
Above red candles (bearish) → A horizontal line placed ATR × multiplier above the candle’s high.
Doji candles → No line is drawn.
Each line extends to the right indefinitely, allowing traders to monitor how price reacts when returning to these ATR-based levels. This makes the tool useful for:
Identifying likely stop-loss clusters below bullish candles or above bearish candles.
Anticipating liquidity sweeps and fakeouts.
Supporting breakout or reversal strategies.
Key Features:
Customizable ATR length, multiplier, number of recent candles, and line thickness.
Separate colors for bullish and bearish candle levels.
Automatic real-time updates for each new bar.
Clean overlay on the main price chart.
Inputs:
ATR Length → Period used for ATR calculation.
Multiplier → Factor applied to the ATR distance.
Number of Candles → How many recent candles to track.
Line Thickness and Colors → Full visual customization.
Usage Tip:
These levels can be combined with key market structure points such as support/resistance, trendlines, or the 200 EMA to anticipate high-probability price reactions.
Auto ETH Futures Buyer with Auto Fib made by govindthis is for crypto indicator and trade automatic and help you
Pre-Pump/Crash Predictor with ZigZag - PJay777The "Pre-Pump/Crash Predictor with ZigZag" indicator designed to identify potential price pumps (upward movements) and crashes (downward movements) using the MACD (Moving Average Convergence Divergence) indicator combined with an EMA (Exponential Moving Average) trend filter. It provides visual signals on the chart and includes alert conditions for real-time notifications.
Key Components:
MACD Calculation:
Uses customizable fast (default: 12), slow (default: 26), and signal (default: 13) lengths to compute the MACD line, signal line, and histogram.
The MACD is plotted as blue (MACD line) and orange (signal line) for visual reference.
EMA Trend Filter:
A 200-period EMA (customizable) acts as a trend confirmation to filter signals, ensuring alignment with the broader market trend.
Signal Logic:
Pump Signal: Triggered when the MACD line crosses above the signal line (bullish crossover). If "Strict Filters" is enabled, it also requires a positive histogram and the price being above the EMA.
Crash Signal: Triggered when the MACD line crosses below the signal line (bearish crossunder). With strict filters, it requires a negative histogram and the price below the EMA.
Signals are plotted as green triangles (pump) below bars and red triangles (crash) above bars.
Debug Mode:
Optional debug labels display MACD, signal, histogram values, and crossover type on the last bar for troubleshooting.
Alerts:
Configurable alerts for pump ("MACD crossover: Potential pump!") and crash ("MACD crossunder: Potential dump!") signals.
Auto Nifty Option Buyer with Auto Fib made by govindthis is help you for option buying with sl and tp with the help of fib retracement
Crude Oil Option Auto Hedge made by govindits help for crudeoil option trading and you can easily decide
NIFTY Option Auto Hedge -made by govind this is help you for hedge your position in nifty and banknifty options.
Intraday Reversal & SL Risk Filter//@version=5
indicator("Intraday Reversal & SL Risk Filter", overlay=true, max_labels_count=500)
// ==== INPUTS ====
gapUpAlert = input.float(0.1, "Gap Up % filter (min)") // e.g., 0.1 = 0.1%
gapDownAlert = input.float(0.3, "Gap Down % high risk level") // e.g., 0.3 = 0.3%
vixMin = input.float(13.5, "Min VIX to trade")
reversalThresh = input.float(0.2, "Reversal % Threshold after open")
firstHourMins = input.int(60, "First Hour Duration (minutes)")
// ==== GET PREVIOUS CLOSE ====
prevClose = request.security(syminfo.tickerid, "D", close )
gapPerc = ((open - prevClose) / prevClose) * 100
// ==== VIX FILTER ====
vixSymbol = "INDIAVIX"
vixVal = request.security(vixSymbol, "D", close)
// ==== INTRADAY REVERSAL DETECTION ====
barsInFirstHour = math.floor(firstHourMins / timeframe.multiplier)
dayOpen = request.security(syminfo.tickerid, "D", open)
firstHourHigh = ta.highest(high, barsInFirstHour)
firstHourLow = ta.lowest(low, barsInFirstHour)
gapUpReversal = (gapPerc >= gapUpAlert) and ((firstHourHigh - close) / dayOpen * 100 > reversalThresh)
gapDownReversal = (gapPerc <= -gapDownAlert) and ((close - firstHourLow) / dayOpen * 100 > reversalThresh)
lowVixRisk = vixVal < vixMin
largeGapDownRisk = gapPerc <= -gapDownAlert
firstHourRevRisk = gapUpReversal or gapDownReversal
highRisk = lowVixRisk or largeGapDownRisk or firstHourRevRisk
// ==== PLOTS & LABELS ====
plotshape(highRisk, title="High Risk Day", style=shape.labeldown, location=location.abovebar, color=color.red, text="NO TRADE", size=size.small)
plotshape(not highRisk, title="Safe Day", style=shape.labelup, location=location.belowbar, color=color.green, text="TRADE OK", size=size.small)
// ==== BACKGROUND COLOR ====
bgcolor(highRisk ? color.new(color.red, 85) : na)
bgcolor(not highRisk ? color.new(color.green, 85) : na)
// ==== DEBUG INFO (last bar only) ====
var label debugLbl = na
if barstate.islast
label.delete(debugLbl)
debugTxt = "Gap%: " + str.tostring(gapPerc, format.mintick) +
" VIX: " + str.tostring(vixVal, format.mintick) +
" Risk: " + (highRisk ? "HIGH" : "OK")
debugLbl := label.new(bar_index, high, debugTxt, color=color.white, textcolor=color.black, style=label.style_label_down)
9 EMA Cross 20 with Volume 5minsimple script for 9 EMA crossing 20 EMA with some volume (default of 1000)
Advanced Price Projection & Trend Channel(Mastersinnifty)Description
The Advanced Price Projection & Trend Channel Analyzer is a technical analysis tool designed to forecast potential future price levels using enhanced linear regression statistics. It provides forward-looking projections, confidence bands, and pivot detection to help traders visualize trend direction, potential price ranges, and trend strength.
How It Works
This indicator applies an enhanced linear regression model to historical price data to calculate:
Slope and intercept for the regression line
R-squared for trend reliability
Standard error for confidence band calculation
Pivot points using Z-score analysis
Future price projections are computed for multiple periods ahead, with upper and lower confidence bands. A built-in projection table displays key metrics such as current price, projections, R-squared value, trend strength, and the projected price range.
Inputs
Regression Length – Number of bars used in regression calculation
Future Projection Periods – How far ahead to project prices
Pivot Threshold Multiplier – Sensitivity for pivot detection
Custom Timeframe – Option to use a different timeframe for analysis
Confidence Band Multiplier – Width of projection confidence area
Show/Hide Options – Toggle trend channel, projection line, and pivots
Color Settings – Customize projection and channel colors
Use Case
Forecast potential future price targets based on current trend data
Identify probable high/low ranges using confidence bands
Gauge trend reliability with R-squared values
Spot potential reversal zones with pivot detection
Support swing trading, trend following, and technical forecasting strategies
Disclaimer
This script is for educational purposes only and does not constitute financial advice. Trading involves risk, and past performance does not guarantee future results. Always perform your own analysis before making any trading decisions.
9am DCMcreates a range out of the 30 min 9 am candle
gives up to 3 breakout signals
solid lines are high and low of the range
dashed lines are open and close of the range
displays previous sessions
displays previous day wick gaps (daily time frame)
THE TRINTY - Multi-Timeframe MACD Alignment (Single Alert)Analyzes up to 3 timeframes at the same time waiting for MACD alignment plus determines when it's very bullish, very bearish, or just mixed. Ideal for traders who only want to trade in high probability markets to increase your chances at success. Also, there's only 1 single alert system that you can set for each pair making things much easier instead of setting separate bullish and bearish alerts like most other indicators.
Previous Day High/Low Levels [OWI]📘 How to Use the “Previous Day High/Low Levels ” Indicator
This TradingView indicator automatically tracks and displays the previous day's high and low during the Regular Trading Hours (RTH) session. It’s perfect for traders who want to visualize key support/resistance levels from the prior day in futures like CME_MINI:NQ1! and COMEX:GC1! .
🛠 Setup Instructions
1. Customize RTH Session Times
- In the Settings panel, adjust the following under the Levels group:
- RTH Start Hour and RTH Start Minute: Default is 9:30 AM (New York time).
- RTH End Hour and RTH End Minute: Default is 4:15 PM.
- These define the active trading session used to calculate the day’s high and low.
2. Toggle Labels
- Use the Show PDH/PDL Labels checkbox to display or hide the “PDH” and “PDL” labels on the chart.
- Labels appear after the session ends and follow price dynamically.
📊 What the Indicator Does
- During the RTH session:
- Tracks the highest and lowest price of the day.
- After the session ends:
- Draws horizontal lines at the previous day’s high (green) and low (red).
- Optionally displays labels ("PDH" and "PDL") at those levels.
- Lines extend into the current day to help identify potential support/resistance zones.
✅ Best Practices
- Use this indicator on intraday timeframes (e.g., 5m, 15m, 1h) for best results.
- Combine with volume or price action analysis to confirm reactions at PDH/PDL levels.
- Adjust session times if trading non-US markets or custom hours.
Minimalist RSI - Nasdaq (14) with Volume Filter and AlertsDescription:
This indicator shows the standard RSI (period 14) adapted for Nasdaq, with a clean and minimalist design. It adds visual levels for overbought (75) and oversold (25), plus an optional centerline 50 to better interpret momentum.
It incorporates a high volume visual filter to confirm signals and avoid false entries in low-interest conditions. Buy and sell signals are based on RSI crosses in extreme zones, optionally filtered by volume to improve reliability.
You can enable automatic alerts to receive notifications when important signals occur.
How to use:
Watch the RSI and its position relative to overbought/oversold zones and the 50 line.
Wait for high volume confirmation for greater reliability (you can disable this filter if preferred).
Use buy and sell signals alongside your price action and overall context analysis to make decisions.
Set alerts to not miss opportunities.
Important Notice:
This indicator is a support tool, not a complete strategy. Trading involves risks and no guarantees. Always use risk management and test the indicator on a demo before using it live.
Personal note:
This is my first script and I would love to receive constructive feedback to improve and offer better tools to the community. Thanks for trying it!
Motivational phrase:
“No risk, no reward.”
Enhanced 4H Candle Countdown & High/Low IndicatorBy profitgang
This Pine Script indicator provides real-time tracking of 4-hour timeframe levels with an integrated countdown timer, designed to help traders monitor key support and resistance zones.
Key Features
📊 Visual Elements
4H High/Low Lines: Clear visualization of previous 4-hour candle high and low levels
Range Fill: Subtle background fill between high and low for better context
Mid-Level Line: Shows the middle point of the 4H range
Position Indicator: Visual cue showing current price position within the range
⏰ Countdown Timer
Real-time countdown to next 4H candle close
Customizable table position (9 different locations)
Adjustable text size (6 size options from Tiny to Huge)
Distance calculations showing percentage distance from key levels
🎯 Signal Generation
Long signals when price crosses above 4H low
Short signals when price crosses below 4H high
RSI confluence filter to reduce false signals
Background highlighting for active signals
TradingView alerts compatible
⚙️ Customization Options
Toggle all features on/off independently
Custom colors for all elements
Table positioning (top/middle/bottom + left/center/right)
Text size selection for optimal readability
Alert notifications for level breaks and updates
How It Works
The indicator fetches the previous 4-hour candle's high and low values and displays them as horizontal lines on your current timeframe chart. It continuously calculates the time remaining until the current 4H candle closes and presents this information in a clean, customizable table.
Use Cases
Swing Trading: Identify key 4H support and resistance levels
Intraday Trading: Monitor when new 4H levels will be established
Risk Management: Calculate distance from key levels for position sizing
Multi-timeframe Analysis: Combine with lower timeframe setups
Educational Purpose
This indicator is designed for educational and analytical purposes to help traders understand price action relative to higher timeframe levels. It provides clear visual feedback about market structure and timing.
Settings Groups
Display Settings: Toggle features, positioning, and sizing
Colors: Customize all visual elements
Signal Settings: Configure alert conditions and confluence filters
Compatibility
Works on all timeframes (recommended for 1m to 1H charts)
Compatible with all instruments
Includes proper alert functionality for automated notifications
Optimized for both light and dark themes
This indicator does not provide financial advice. Always conduct your own research and risk management before making trading decisions.
EMA Deviation with Min/Max Levelshis indicator visualizes the percentage deviation of the closing price from its Exponential Moving Average (EMA), helping traders identify overbought and oversold conditions. It dynamically tracks the minimum and maximum deviation levels over a user-defined lookback period, highlighting extreme zones with color-coded signals:
• 🔵 Normal deviation range
• 🔴 Near historical maximum — potential sell zone
• 🟢 Near historical minimum — potential buy zone
Use it to spot price extremes relative to trend and anticipate possible reversals or mean reversion setups.