Infinite EMA with Alpha Control♾️ Infinite EMA with Alpha Control
What Makes This EMA "Infinite"?
Unlike traditional EMA indicators that are limited to typical periods (1-5000), this Infinite EMA breaks all boundaries. You can create EMAs with periods of 1,000, 10,000, or even 1,000,000 bars - that's why it's called "infinite"! Also Infinite EMA starts working immediately from the very first bar on your chart
Why This EMA is "Infinite":
1. Mathematically: When N → ∞, alpha → 0, meaning infinitely long "memory"
2. Practically: You can set any period - even 100,000 bars
3. Flexibility: Alpha allows precise control over the "forgetting speed"
How Does It Work?
The magic lies in the Alpha parameter. While regular EMAs use fixed formulas, this indicator gives you direct control over the EMA's "memory" through Alpha values:
• High Alpha (0.1-0.2): Fast reaction, short memory
• Medium Alpha (0.01-0.05): Balanced response
• Low Alpha (0.0001-0.001): Extremely slow reaction, very long memory
• Ultra-low Alpha (0.000001): Almost frozen in time
The Mathematical Formula:
Alpha = 2 / (Period + 1)
This means you can achieve any EMA period by adjusting Alpha, giving you infinite flexibility!
Expanded "Infinite EMA" Table:
Period EMA (N) - Alpha (Rounded) - Alpha (Exact) - Description
10 - 0.1818 - 0.181818... - Fast EMA
20 - 0.0952 - 0.095238... - Short-term
50 - 0.0392 - 0.039215... - Medium-term
100 - 0.0198 - 0.019801... - Long-term
200 - 0.0100 - 0.009950... - Standard long-term
500 - 0.0040 - 0.003996... - Very long-term
1,000 - 0.0020 - 0.001998... - Super long-term
2,000 - 0.0010 - 0.000999... - Ultra long-term
5,000 - 0.0004 - 0.000399... - Mega long-term
10,000 - 0.0002 - 0.000199... - Giga long-term
25,000 - 0.00008 - 0.000079... - Century-scale EMA
50,000 - 0.00004 - 0.000039... - Practically motionless
100,000 - 0.00002 - 0.000019... - "Glacial" EMA
500,000 - 0.000004 - 0.000003... - Geological timescale
1,000,000 - 0.000002 - 0.000001... - Approaching constant
5,000,000 - 0.0000004 - 0.0000003... - Virtually static
10,000,000 - 0.0000002 - 0.0000001... - Nearly flat line
100,000,000 - 0.00000002 - 0.00000001... - Mathematical infinity
Formula: Alpha = 2/(N+1) where N is the EMA period
Key Features:
Dual EMA System: Run fast and slow EMAs simultaneously
Crossover Signals: Automatic buy/sell signals with customizable alerts
Alpha Control: Direct mathematical control over EMA behavior
Infinite Periods: From 1 to 100,000,000+ bars
Visual Customization: Colors, fills, backgrounds, signal sizes
Instant Start: Works accurately from the very first bar
Update Intervals: Control calculation frequency for noise reduction
Why Choose Infinite EMA?
1. Unlimited Flexibility: Any period you can imagine
2. Mathematical Precision: Direct alpha control for exact behavior
3. Professional Grade: Suitable for all trading styles
4. Easy to Use: Simple settings with powerful results
5. No Warm-up Period: Accurate values from bar #1
Simple Explanation:
Think of EMA as a "memory system":
• High Alpha = Short memory (forgets quickly, reacts fast)
• Low Alpha = Long memory (remembers everything, moves slowly)
With Infinite EMA, you can set the "memory length" to anything from seconds to centuries!
⚡ Instant Start Feature - EMA from First Bar
Immediate Calculation from Bar #1
Unlike traditional EMA indicators that require a "warm-up period" of N bars before showing accurate values, Infinite EMA starts working immediately from the very first bar on your chart.
How It Works:
Traditional EMA Problem:
• Standard 200-period EMA: Needs 200+ bars to become accurate
• First 200 bars: Shows incorrect/unstable values
• Result: Large portions of historical data are unusable
Infinite EMA Solution:
Bar #1: EMA = Current Price (perfect starting point)
Bar #2: EMA = Alpha × Price + (1-Alpha) × Previous EMA
Bar #3: EMA = Alpha × Price + (1-Alpha) × Previous EMA
...and so on
Key Benefits:
No Warm-up Period: Start trading signals from day one
Full Chart Coverage: Every bar has a valid EMA value
Historical Accuracy: Backtesting works on entire dataset
New Markets: Works perfectly on newly listed assets
Short Datasets: Effective even with limited historical data
Practical Impact:
Scenario Traditional EMA Infinite EMA
New cryptocurrency Unusable for first 200 days ✅ Works from day 1
Limited data (< 200 bars) Inaccurate values ✅ Fully functional
Backtesting Must skip first 200 bars ✅ Test entire history
Real-time trading Wait for stabilization ✅ Trade immediately
Technical Implementation:
if barstate.isfirst
EMA := currentPrice // Perfect initialization
else
EMA := alpha × currentPrice + (1-alpha) × previousEMA
This smart initialization ensures mathematical accuracy from the very first calculation, eliminating the traditional EMA "ramp-up" problem.
Why This Matters:
For Backesters: Use 100% of available data
For Live Trading: Get signals immediately on any timeframe
For Researchers: Analyze complete datasets without gaps
Bottom Line: Infinite EMA is ready to work the moment you add it to your chart - no waiting, no warm-up, no exceptions!
Unlike traditional EMAs that require a "warm-up period" of 200+ bars before showing accurate values, Infinite EMA starts working immediately from bar #1.
This breakthrough eliminates the common problem where the first portion of your chart shows unreliable EMA data. Whether you're analyzing a newly listed cryptocurrency, working with limited historical data, or backtesting strategies, every single bar provides mathematically accurate EMA values.
No more waiting periods, no more unusable data sections - just instant, reliable trend analysis from the moment you apply the indicator to any chart.
🔄 Update Interval Bars Feature
The Update Interval feature allows you to control how frequently the EMA recalculates, providing flexible noise filtering without changing the core mathematics.
Set to 1 for standard behavior (updates every bar), or increase to 5-10 for smoother signals that update less frequently. Higher intervals reduce market noise and false signals but introduce slightly more lag. This is particularly useful on volatile timeframes where you want the EMA's directional bias without every minor price fluctuation affecting the calculation.
Perfect for swing traders who prefer cleaner, more stable trend lines over hyper-responsive indicators.
Conclusion
The Infinite EMA transforms the traditional EMA from a fixed-period tool into a precision instrument with unlimited flexibility. By understanding the Alpha-Period relationship, traders can create custom EMAs that perfectly match their trading style, timeframe, and market conditions.
The "infinite" nature comes from the ability to set any period imaginable - from ultra-fast 2-bar EMAs to glacially slow 10-million-bar EMAs, all controlled through a single Alpha parameter.
________________________________________
Whether you're a beginner looking for simple trend following or a professional researcher analyzing century-long patterns, Infinite EMA adapts to your needs. The power of infinite periods is now in your hands! 🚀
Go forward to the horizon. When you reach it, a new one will open up.
- J. P. Morgan
Trend Analysis
Pivot Extension Indicator (Jaxon0007)Pivot Extension Indicator (Jaxon0007)
This indicator automatically detects pivot highs and lows, then extends those levels forward as potential support and resistance zones. It's designed for traders who rely on price action, breakout setups, and clear structure in the market.
.
🔧 Key Features:
✅ Auto-detected pivot levels (highs & lows)
✅ Forward-projected SR lines with customizable length
✅ Real-time buy/sell signal alerts on pivot breakouts
✅ Optional RSI and MACD filters to confirm trade quality
✅ Clean chart visuals with full styling control (lines, width, style)
🧠 Best For:
Traders who follow breakouts, trends, or swing strategies
Those looking for a non-repainting indicator
Anyone who wants a clean way to visualize structure and key price zones
📌 Notes:
This is an indicator-only tool — it doesn't execute trades or track performance.
Built in Pine Script v5 and fully copyright-free.
💼 Created by @Jaxon0007
For VIP signals, private tools, or account management — DM me on Telegram.
PCCE + False Breakout DetectorPCCE + False Breakout Detector
Type: Invite‑Only Indicator (closed source)
Purpose: Identify volatility compression (“coil”) and the first expansion after it, while filtering failed breakouts (bull/bear traps).
What it does — in plain language
This tool unifies two complementary behaviours that often appear back‑to‑back around strong moves:
1. Price Coil Compression & Expansion (PCCE) – finds compact ranges created by shrinking candle bodies, wick dominance, and contracting range relative to recent history. When price expands out of that coil with strength, it prints a Burst↑ / Burst↓ label.
2. False Breakout Detection – monitors recent swing extremes. If price closes beyond a prior high/low but re‑enters that range within a short window, it marks a trap (❌ red for failed bullish breakout, ❌ green for failed bearish breakout).
Why combine them?
PCCE tells you where the next move is likely brewing; the trap filter validates whether the breakout is genuine or failing. Used together they turn raw breakouts into structured, risk‑aware opportunities.
How it works — concepts behind the calculations
1) Detecting “Coil” (compression)
• Body contraction: Count of consecutive bars where |close-open| is decreasing within a sliding window.
• Wick dominance: Average (upper wick + lower wick) / body must exceed a threshold → indecision/liquidity probing.
• Relative range: Current high‑low over the window must be smaller than the average of prior windows (tight market).
• Coil zone: When the above conditions align, the most recent high/low envelope defines the coil’s bounds.
2) Confirming “Burst” (expansion)
A breakout through the coil high/low is only labelled when:
• Body thrust: current body > moving‑average body × multiplier (large real body).
• Relative volume: volume > moving‑average volume × multiplier (participation filter).
• Trend alignment (optional): close vs EMA to avoid counter‑trend bursts.
• Cooldown: minimum bars between signals to reduce clustering.
Result: Burst↑ if closing beyond coil high with thrust; Burst↓ if closing beyond coil low with thrust.
3) Flagging failed breakouts (traps)
• Track recent swing high/low from a lookback excluding the current bar.
• If a bar closes beyond that swing but within N bars price closes back inside the swing range → flag a trap:
• Bull trap: ❌ red above bar (break above failed)
• Bear trap: ❌ green below bar (break below failed)
⸻
What you see on the chart
• Coil zone: a shaded box (tight range envelope).
• Burst labels: Burst↑ (triangle up) and Burst↓ (triangle down) at confirmed expansion bars.
• Trap markers: ❌ red (failed bullish breakout), ❌ green (failed bearish breakout).
• Alerts: “Burst Up”, “Burst Down” (fires on bar close only).
⸻
How to use it
1. Preparation : When a coil box forms, mark the zone and wait.
2. Trigger : A Burst label confirms the first expansion with thrust/volume; treat it as an entry cue only within your own plan.
3. Validation : If a ❌ trap appears shortly after a break, treat it as caution/exit info; the breakout is failing.
4. Context : Best on 15m–4H. Combine with higher‑timeframe bias, nearby S/R, and risk controls.
5. Parameters to tune :
• Coil window, wick‑to‑body threshold, and range tightness
• Body/volume multipliers
• EMA trend filter on/off
• Trap lookback and confirmation bars
• Cooldown bars
⸻
Originality & usefulness
• Behaviour‑first compression scoring: Coil detection blends monotonic body shrink, wick dominance, and relative range contraction—not generic bands or a single oscillator.
• Two‑stage discipline: A burst is not just any break; it requires body thrust + relative volume (+ optional trend) to reduce noise.
• Immediate invalidation layer: The trap filter is evaluated right after the burst context, turning breakouts into risk‑aware signals rather than blind entries.
• Operator controls: Cooldown + multipliers let traders adapt the strictness to instrument/session behaviour.
⸻
Repainting & limitations
• Signals are evaluated on bar close; no lookahead, no request.security() with lookahead_on.
• Coil boxes while forming can update until confirmed; Burst/Trap labels do not repaint after their bar closes.
• News spikes and illiquid hours can still create noise; adjust multipliers and cooldown for your market.
⸻
Disclaimer
This indicator is an educational decision‑support tool, not financial advice. Markets are uncertain; past behaviour does not guarantee future results. Use with your own analysis and risk management.
EW Convergence HUD (Pane) — v2.2.5📖 Description
The EW Convergence Suite is a dual-component Elliott-Wave inspired tool designed to help traders spot multi-timeframe convergence points — the places where waves across different timeframes terminate together and trend changes often ignite.
It contains two parts:
🔹 HUD (Pane)
Lives in the lower pane, one horizontal row per timeframe (1m → 1M).
Colors represent phase classification:
Lime = Impulse Up (+2)
Red = Impulse Down (−2)
Teal = Corrective Up (+1)
Orange = Corrective Down (−1)
Gray = Neutral/Unclear
Rows shift slightly up/down depending on impulse vs. corrective, so you can see transitions as diagonal “jumps.”
HUD ticker (top-right) shows current convergence state:
Example: IMP▲ = impulse up alignment on 3 TFs.
Example: ★ COR▼ = 4 TF corrective down alignment (special event).
🔹 Overlay Labels (on price chart)
Prints labels directly on the chart when convergence events meet your thresholds.
Shows which phases and which TFs are aligned at that moment.
Optional pivot confirmation:
Early mode → labels fire as soon as TFs align (onlyOnPivot=false).
Confirmed mode → labels fire only when convergence + a fresh pivot confirmation occur (onlyOnPivot=true + pivot lines on).
Can also draw multi-TF pivot lines to visually connect swing highs/lows across your chosen timeframes.
⚙️ Inputs & Customization
Timeframe Toggles → select which TFs to include in the convergence counts.
EMA Trend Stack (9/21/55/233/987 by default) → defines trend alignment for impulse vs. corrective classification.
Pivot left/right → sensitivity of swing highs/lows (2/2 = fast, 5/5 = smoother, 10/10+ = major swings).
MinN / SpecialN → thresholds for convergence events (regular vs. ★ special highlight).
Label Controls →
Only on pivot confirmations
Only on confirmed bars
Only when content changes
Minimum bar gap between labels
Wave Line Controls → toggle pivot-connecting lines per TF, with adjustable opacity and max lines stored.
🎯 How to Use
Scan the HUD for clusters of rows with the same color/phase. Flat plateaus across multiple TFs = strong alignment.
Wait for convergence counts (MinN or SpecialN) to be reached. HUD ticker will show IMP▲ or COR▼ with the TF list.
Watch the Overlay Labels on the price chart for where that convergence “hits” — optionally tied to fresh pivot confirmations.
Best practice:
Use lower TFs (1m/5m/15m) as entry triggers.
Use higher TFs (1h/4h/1D) as bias anchors.
Look for termination zones where both HUD alignment and Overlay labels agree.
🔑 Why it works
This indicator combines objective pivot detection with EMA-based trend structure to classify legs as impulsive or corrective. By watching multiple TFs simultaneously, it highlights the rare and powerful moments where waves across scales converge. These are often the cleanest points for entry, exit, or scaling.
Impulse convergence → continuation or breakout potential.
Corrective convergence → likely end of a pullback and resumption of higher-TF trend.
Pivot-gated mode → confirmation that the move is not just alignment, but a structural turn.
✅ Notes
This script does not attempt to count Elliott Waves strictly (1-2-3-4-5, A-B-C). Instead it provides a framework for convergence and context, letting you apply your own EW interpretation on top.
Works best when combined with your own risk management rules (stops, partials, capital buffer).
Default EMAs (9/21/55/233/987) and pivot lookbacks (3/3) are optimized for intraday trading; adjust for your style (scalp, swing, position).
⚡ Bottom line:
The EW Convergence Suite is like having a multi-timeframe radar + price-level marker that alerts you when Elliott-style phases across several TFs line up. It cuts through noise and helps you focus on the moments of real structural confluence.
EW Convergence HUD (Pane) — v2.2.5📖 Description
The EW Convergence Suite is a dual-component Elliott-Wave inspired tool designed to help traders spot multi-timeframe convergence points — the places where waves across different timeframes terminate together and trend changes often ignite.
It contains two parts:
🔹 HUD (Pane)
Lives in the lower pane, one horizontal row per timeframe (1m → 1M).
Colors represent phase classification:
Lime = Impulse Up (+2)
Red = Impulse Down (−2)
Teal = Corrective Up (+1)
Orange = Corrective Down (−1)
Gray = Neutral/Unclear
Rows shift slightly up/down depending on impulse vs. corrective, so you can see transitions as diagonal “jumps.”
HUD ticker (top-right) shows current convergence state:
Example: IMP▲ = impulse up alignment on 3 TFs.
Example: ★ COR▼ = 4 TF corrective down alignment (special event).
🔹 Overlay Labels (on price chart)
Prints labels directly on the chart when convergence events meet your thresholds.
Shows which phases and which TFs are aligned at that moment.
Optional pivot confirmation:
Early mode → labels fire as soon as TFs align (onlyOnPivot=false).
Confirmed mode → labels fire only when convergence + a fresh pivot confirmation occur (onlyOnPivot=true + pivot lines on).
Can also draw multi-TF pivot lines to visually connect swing highs/lows across your chosen timeframes.
⚙️ Inputs & Customization
Timeframe Toggles → select which TFs to include in the convergence counts.
EMA Trend Stack (9/21/55/233/987 by default) → defines trend alignment for impulse vs. corrective classification.
Pivot left/right → sensitivity of swing highs/lows (2/2 = fast, 5/5 = smoother, 10/10+ = major swings).
MinN / SpecialN → thresholds for convergence events (regular vs. ★ special highlight).
Label Controls →
Only on pivot confirmations
Only on confirmed bars
Only when content changes
Minimum bar gap between labels
Wave Line Controls → toggle pivot-connecting lines per TF, with adjustable opacity and max lines stored.
🎯 How to Use
Scan the HUD for clusters of rows with the same color/phase. Flat plateaus across multiple TFs = strong alignment.
Wait for convergence counts (MinN or SpecialN) to be reached. HUD ticker will show IMP▲ or COR▼ with the TF list.
Watch the Overlay Labels on the price chart for where that convergence “hits” — optionally tied to fresh pivot confirmations.
Best practice:
Use lower TFs (1m/5m/15m) as entry triggers.
Use higher TFs (1h/4h/1D) as bias anchors.
Look for termination zones where both HUD alignment and Overlay labels agree.
🔑 Why it works
This indicator combines objective pivot detection with EMA-based trend structure to classify legs as impulsive or corrective. By watching multiple TFs simultaneously, it highlights the rare and powerful moments where waves across scales converge. These are often the cleanest points for entry, exit, or scaling.
Impulse convergence → continuation or breakout potential.
Corrective convergence → likely end of a pullback and resumption of higher-TF trend.
Pivot-gated mode → confirmation that the move is not just alignment, but a structural turn.
✅ Notes
This script does not attempt to count Elliott Waves strictly (1-2-3-4-5, A-B-C). Instead it provides a framework for convergence and context, letting you apply your own EW interpretation on top.
Works best when combined with your own risk management rules (stops, partials, capital buffer).
Default EMAs (9/21/55/233/987) and pivot lookbacks (3/3) are optimized for intraday trading; adjust for your style (scalp, swing, position).
⚡ Bottom line:
The EW Convergence Suite is like having a multi-timeframe radar + price-level marker that alerts you when Elliott-style phases across several TFs line up. It cuts through noise and helps you focus on the moments of real structural confluence.
Reverse RSI Signals [AlgoAlpha]🟠 OVERVIEW
This script introduces the Reverse RSI Signals system, an original approach that inverts traditional RSI values back into price levels and then overlays them directly on the chart as dynamic bands. Instead of showing RSI in a subwindow, the script calculates the exact price thresholds that correspond to common RSI levels (30/70/50) and displays them as upper, lower, and midline bands. These are further enhanced with an adaptive Supertrend filter and divergence detection, allowing traders to see overbought/oversold zones translated into actionable price ranges and trend signals. The script combines concepts of RSI inversion, volatility envelopes, and divergence tracking to provide a context-driven tool for spotting reversals and regime shifts.
🟠 CONCEPTS
The script relies on inverting RSI math: by solving for the price that would yield a given RSI level, it generates real chart levels tied to oscillator conditions. These RSI-derived price bands act like support/resistance, adapting each bar as RSI changes. On top of this, a Supertrend built around the RSI midline introduces directional bias, switching regimes when the midline is breached. Regular bullish and bearish divergences are detected by comparing RSI pivots against price pivots, highlighting early reversal conditions. This layered approach means the indicator is not just RSI on price but a hybrid of oscillator translation, volatility-tracking midline envelopes, and divergence analysis.
🟠 FEATURES
Inverted RSI bands: upper (70), lower (30), and midline (50), smoothed with EMA for noise reduction.
Supertrend overlay on the RSI midline to confirm regime direction (bullish or bearish).
Gradient-filled zones between outer and inner RSI bands to visualize proximity and exhaustion.
Non-repainting bullish and bearish divergence markers plotted directly on chart highs/lows.
🟠 USAGE
Apply the indicator to any chart and use the plotted RSI price bands as adaptive support/resistance. The midline defines equilibrium, while upper and lower bands represent classic RSI thresholds translated into real price action. In bullish regimes (green candles), long trades are stronger when price approaches or bounces from the lower band; in bearish regimes (red candles), shorts are favored near the upper band. Divergence markers (▲ for bullish, ▼ for bearish) flag potential reversal points early. Traders can combine the band proximity, divergence alerts, and Supertrend context to time entries, exits, or to refine ongoing trend trades. Adjust smoothing and Supertrend ATR settings to match the volatility of the instrument being analyzed.
ASI - Large-CapsAltcoin Season Indicator (ASI) — Large Caps (1D)
Purpose-built for top-tier, established altcoins (typically Top 10–30, ≳ $15B market cap) that have lived through multiple cycles and move differently than small/mid caps.
---
Why this preset:
Calibrated for large-cap behavior: longer bases, steadier trends, and fewer whipsaws.
Highlights true bottoming and genuine overheating on the daily chart—without overreacting to short-term noise.
Ideal when you want clean timing on names that dominate liquidity and follow broader cycle dynamics.
---
Usage:
Timeframe: 1D (primary).
Best fit: mature, high-cap projects (Top 10–30; ≳ $15B).
Playbook: Use Large Caps (1D) as your default for majors. If a name becomes more volatile or “mid-cap-like,” you can compare against the Mid Caps (1D) preset; for very young listings, start with Small Caps (8h) until history builds.
---
Reading:
Green zone → Entry (credible bottom formation / early uptrend)
Red zone → Exit (overheating / distribution risk)
---
Who is it for?
Investors and active traders who want disciplined, visual BUY/EXIT timing on the market’s most established altcoins—capturing the meat of the move while avoiding premature signals.
*(ASI is a timing tool, not financial advice.)*
ASI - Mid-CapsAltcoin-Season Indicator (ASI) - Mid Caps (1D)
Built for established yet still nimble altcoins.
This preset targets projects typically in the ~$200M–$2B market-cap range—assets with solid history but more volatility than top-tier names.
---
Why this preset:
Tuned for mid-cap volatility: sensitive enough to catch rotations, restrained enough to avoid noise.
Reads bottoming and overheating phases cleanly on the daily chart.
Versatile across sectors; also works on seasoned small caps that now have sufficient history.
---
Usage:
Timeframe: 1D (primary).
Best fit: mid-caps (~$200M–$2B), and small caps with a longer price record.
Playbook: Use Mid Caps (1D) as your go-to once a project has matured beyond the “new listing” phase. If the Default (1D) feels too broad or sluggish for a volatile name, switch to Mid Caps; if a coin is very young, start with Small Caps (8h) and move up to Mid Caps (1D) as history builds.
---
Reading:
Green zone → Entry (credible bottoming, start of a new trend)
Red zone → Exit (overheating, distribution risk)
---
Who is it for?
Investors and active traders who want disciplined, visual BUY/EXIT timing across a broad mid-cap universe—without overfitting.
*(ASI is a timing tool, not financial advice.)*
Customisable Asia & London Session High/Low (UTC+1)london + asia high / low
can customise however you like. its not perfect but saves time
Today’s Key Time Markers (Last 6 Only)updated version of key markets. london session asia and new york
Pring Special K|a2m# 📈 Pring Special K | a2m
The **Pring Special K (PSK)** is a momentum indicator developed by **Martin Pring**, designed to capture both short-term and long-term market cycles in one oscillator.
This version includes **customizable smoothing** and **Bollinger Bands** for enhanced visualization of momentum shifts.
---
## 🏷️ Tagline
**“Multi-cycle momentum oscillator with smoothing & Bollinger Bands for trend confirmation and early reversals.”**
---
## 📄 Short Description
The Pring Special K blends **short-term and long-term ROC cycles** into one powerful momentum oscillator.
This version adds **SMA, EMA, WMA, RMA, VWMA smoothing options** and optional **Bollinger Bands**.
Use it to:
- Confirm **long-term trends**
- Spot **early reversals**
- Identify **divergences around the zero line**
---
## ⚙️ Features
✅ **Core PSK Calculation** (Martin Pring’s weighted ROC methodology)
✅ **Momentum Color-Coding** → Green (bullish) / Red (bearish)
✅ **Smoothing Options** → SMA, EMA, WMA, SMMA (RMA), VWMA
✅ **Optional Bollinger Bands** (with adjustable length & StdDev multiplier)
✅ **Zero Line Reference** for trend confirmation
---
## 🎛️ User Inputs
- **Source** → Default: `close`
- **Type** → `"None"`, `"SMA"`, `"SMA + Bollinger Bands"`, `"EMA"`, `"SMMA (RMA)"`, `"WMA"`, `"VWMA"`
- **Length** → Default: `20`
- **BB StdDev** → Default: `2.0` (active only with SMA + Bollinger Bands)
---
## 📊 How to Use
1. **Trend Identification**
- PSK rising above 0 → Long-term uptrend
- PSK falling below 0 → Long-term downtrend
2. **Momentum Shifts**
- Watch PSK crossing its **smoothing MA** for entry/exit signals.
- Bollinger Bands help spot **momentum extensions** or **contractions**.
3. **Divergences**
- Compare PSK vs. price swings to catch early **trend reversals**.
---
## 🖼️ Visual Guide
- **Green PSK Line** → Bullish momentum
- **Red PSK Line** → Bearish momentum
- **Blue Line** → Smoothing MA
- **Shaded Green Bands** → Bollinger Bands (if enabled)
- **Gray Dotted Line** → Zero momentum baseline
---
Trend Display Table (with Change Alerts)📌 Indicator: Trend Display Table (with Change Alerts)
This indicator helps identify trend direction based on a 15-minute 20 SMA compared against a 10 EMA applied to that SMA.
Trend Logic:
Bullish → 20 SMA crosses above 10 EMA (on SMA values)
Bearish → 20 SMA crosses below 10 EMA (on SMA values)
Neutral → No crossover (trend continues from previous state)
Display:
A compact trend table appears on the chart (top-right), showing the current trend with customizable colors, font size, and background.
Alerts:
Alerts are triggered only when the trend changes (from Bullish → Bearish or Bearish → Bullish).
This prevents repeated alerts on every bar.
✅ Useful for:
Confirming higher timeframe trend bias
Filtering trades in choppy markets
Getting notified instantly when the trend flips
Alexmoku Genesis v0.2.6 — Runtime BulletproofAlexmoku Genesis v0.2.6 – Reinventing Ichimoku with Precision and Intelligence
Built by Alex • Engineered for traders who demand more than lagging clouds
🔬 Overview
Alexmoku Genesis is a ground-up reimagining of the traditional Ichimoku system — retaining its philosophical foundations of harmony, balance, and structure, while infusing it with modern logic, advanced volatility modeling, and AI-aligned signal classification.
This is not your grandfather’s Ichimoku. Genesis transforms it into a forward-sensing, volatility-aware system that adapts in real time and guides discretionary and algorithmic traders alike with smarter signals, predictive structure, and built-in trade intelligence.
⚙️ Core Enhancements
📐 Volatility-Responsive Smoothing
Tenkan-sen and Kijun-sen lengths are dynamically adjusted based on recent price volatility (ATR-based).
Prevents overreaction in choppy markets and improves responsiveness during strong trends.
🌀 Adaptive Cloud Projection
Span A and Span B are still projected 52 periods forward — but cloud width adapts to market rhythm, not just static values.
🕵️ Enhanced Chikou Span (CKS+)
Chikou logic is upgraded to emphasize structure interaction, not just simple price overlay.
Useful for identifying support/resistance echoes and divergence validation.
🌐 Multi-Timeframe Cloud Awareness (Genesis Core)
Internal alignment checks between higher and lower timeframe Kumo positioning.
Future module support for overlaying MTF clouds.
🔖 Signal Classifier Engine (Experimental)
Each major structure event is tagged with signal intent:
📦 prep
🚀 launch
🔁 reversion
🪤 trap
Enables faster discretionary reads or future automation.
🧠 Trust Score Logic (Coming soon)
Future versions will assign numerical trust scores (1–10) to trade setups based on confluence.
🧰 Settings
🔧 Volatility Scaling Factor – Adjusts how reactive the indicator is to volatility. Default: 300.
🌫 Displacement (Kumo) – Cloud projection forward. Default (and required): 52.
⛅ Cloud Display Toggle – Show/hide Kumo visuals without affecting logic.
⚡️ Future expansion modules already scaffolded (MTF overlays, color-coded signal classifiers, Trust Score engine, etc.)
🧘 Philosophy Behind the System
"This isn’t just about catching runners — it’s about becoming the kind of person who can trade with clarity, peace, and precision."
Alexmoku Genesis reflects the W.E.A.L.T.H. System's holistic philosophy:
Wealth
Engineered
Algorithmic
Leveraged
Trading
Holistically
Trading isn't just a strategy. It's a mirror. Genesis is designed to train both your execution and your awareness.
⚠️ Disclaimer
This tool is designed for experienced technical traders and is still in active development. Use judgment and proper risk management. This is not financial advice.
Fibonacci Zone + EMA RibbonThis script combines two well-known concepts into a single indicator: the Fibonacci Zone and the EMA Ribbon.
The Fibonacci Zone highlights potential support and resistance levels derived from recent price ranges, helping traders identify key breakout or reversal areas.
The EMA Ribbon overlays multiple exponential moving averages, providing a clear visual representation of market trend and momentum.
Together, these two tools allow traders to assess both dynamic support/resistance and trend direction at a glance, making it easier to spot confluence zones and high-probability trading opportunities.
This indicator can be effectively applied on shorter timeframes such as 5m, 15m, or 30m for active trading.
For additional confirmation of medium- to long-term trend direction, it is recommended to complement it with the 20-period SMA from the 4H timeframe.
Inside Candle DivergenceStudy Material: Inside Candle Divergence Indicator (aiTrendview)
1. Introduction
The Inside Candle Divergence Indicator is a custom tool built on TradingView using Pine Script. It is designed to help traders identify potential reversal points or trend continuations using a mix of candlestick analysis, RSI (Relative Strength Index), VWAP (Volume Weighted Average Price), Pivot Points, and Volume analytics. The tool also provides a dashboard table on the chart, summarizing all key values in a single glance for traders and analysts.
This indicator is not just a signal generator but also an educational framework—explaining how different concepts in technical analysis combine to build a systematic approach for market entries and exits.
________________________________________
2. Core Concepts Behind the Tool
A. Inside Candle Pattern
An Inside Candle forms when the current candle’s high is lower than or equal to the previous candle’s high, and the low is higher than or equal to the previous candle’s low.
• This means the entire price action of the current candle is "inside" the range of the previous candle.
• A bullish inside candle occurs when the close is higher than the open.
• A bearish inside candle occurs when the close is lower than the open.
This pattern shows market indecision but also sets up potential breakouts or trend reversals.
________________________________________
B. RSI (Relative Strength Index)
The indicator calculates RSI using the formula from the ta.rsi() function in TradingView. RSI helps measure momentum in the market.
• A low RSI (below 25) signals an oversold zone → possible buy.
• A high RSI (above 75) signals an overbought zone → possible sell.
By combining RSI with the Inside Candle, the indicator ensures that signals are triggered only when momentum and price patterns confirm each other.
________________________________________
C. Buy & Sell Signals
• Buy Signal: Triggered when RSI < Buy Level (default 25) and a bullish inside candle forms.
• Sell Signal: Triggered when RSI > Sell Level (default 75) and a bearish inside candle forms.
When triggered, the chart displays a BUY (green label below candle) or SELL (red label above candle) marker. The indicator also saves the entry price and signal bar for future reference inside the dashboard.
________________________________________
D. VWAP (Volume Weighted Average Price)
VWAP is calculated using the typical price (H+L+C)/3 and weighting it by volume.
• VWAP shows the average trading price weighted by volume, widely used by institutions.
• The tool calculates the distance of price from VWAP in % terms.
• If price is far above VWAP, the market may be overheated (overbought). If far below, it may be undervalued (oversold).
________________________________________
E. Volume Analysis
The tool splits volume into Buy Volume and Sell Volume:
• Buy Volume: If close > open.
• Sell Volume: If close ≤ open.
• Cumulative totals are maintained, and percentages are calculated to show what proportion of total market volume is bullish vs bearish.
• A progress bar style visual (using blocks █) shows the dominance of buyers or sellers.
This allows traders to quickly measure whether buyers or sellers are controlling the market trend.
________________________________________
F. Daily Pivot Points
Pivot Points are calculated using the previous day’s high, low, and close:
• Pivot = (High + Low + Close) / 3
• R1, S1, R2, S2, R3, S3 levels are derived from this pivot.
• These levels act as support and resistance zones.
The script plots Pivot, R1, and S1 lines on the chart for easy reference.
________________________________________
G. Trend Direction
The indicator checks where the price is compared to R1 and S1:
• If price > R1 → Bullish Trend
• If price < S1 → Bearish Trend
• Otherwise → Neutral Trend
The trend direction is displayed in the dashboard with arrows (↑, ↓, →).
________________________________________
H. Price Change Calculation
The tool calculates:
• Price Change = Current Close – Previous Close
• Percentage Change = (Change / Previous Close) × 100
• Displays ▲ (green upward) or ▼ (red downward) with the exact percentage.
This gives traders a quick snapshot of intraday price movement.
________________________________________
I. Dashboard Table
One of the most powerful features is the real-time dashboard table shown on the chart. It contains:
1. Symbol & Price Info (Current ticker, price, change %)
2. RSI Reading (with color coding: green for oversold, red for overbought)
3. VWAP and Distance from VWAP
4. Volume Analysis with Progress Bar (Buy vs Sell %)
5. Pivot Levels (Pivot, R1, S1)
6. Trend Direction (Bullish, Bearish, Neutral)
7. Signal Status (Last Buy/Sell signal with entry price)
This reduces the need for multiple indicators and gives traders a command-center view directly on the chart.
________________________________________
J. Alerts
The tool generates alerts whenever a Buy or Sell condition is met. Traders can set up TradingView alerts to be notified instantly when:
• Buy Signal Alert → RSI oversold + Bullish inside candle
• Sell Signal Alert → RSI overbought + Bearish inside candle
This ensures no opportunity is missed even if you’re not actively monitoring the chart.
________________________________________
K. Background Highlights
The chart background also changes faintly (light green or light red) when a Buy or Sell condition is triggered. This gives traders visual confirmation along with signals and alerts.
________________________________________
3. Practical Use of This Tool
• Scalpers & Intraday Traders can use it for quick momentum-based entries.
• Swing Traders can use the RSI + Inside Candle + Pivot Points to find medium-term reversals.
• Analysts can use the dashboard for real-time summaries in reports.
• Volume Analysis helps understand institutional activity.
Remember: This is not a standalone holy grail. It must be used with proper risk management and confirmation from higher timeframes.
________________________________________
4. Strict Disclaimer (aiTrendview)
⚠️ Disclaimer from aiTrendview:
This indicator is designed for educational and analytical purposes only. It is not financial advice or a guaranteed trading strategy. Markets are inherently risky and unpredictable; past performance of indicators does not ensure future results. Trading involves risk of financial loss, and traders must use proper risk management, stop-loss, and independent judgment.
aiTrendview strictly follows TradingView.com rules and compliance guidelines.
Any misuse of this tool, its code, or analytical features for unauthorized commercial purposes, false promises, or misleading activities is strictly discouraged. The creators of this script and aiTrendview will not be responsible for any losses, damages, or misuse arising from its application. Always trade responsibly and only with money you can afford to lose.
________________________________________
Candlestick Pattern Reader + Cheat Sheet (Label Mode, Stable)Candlestick Pattern Reader is a practical tool for traders who want crystal-clear candlestick signals without memorizing mnemonics. It detects popular single-, double- and triple-bar patterns, prints full names directly on the chart, and (optionally) filters signals by trend using an EMA. It also provides a compact on-chart cheat-sheet reminder and alert conditions for every pattern.
What it Detects
Bullish patterns
Bullish Engulfing
Bullish Harami
Hammer (pin bar)
Morning Star (3-bar)
Piercing Line
Three White Soldiers
Bearish patterns
Bearish Engulfing
Bearish Harami
Shooting Star (inverted pin)
Evening Star (3-bar)
Dark Cloud Cover
Three Black Crows
Neutral / structure
Inside Bar
Outside Bar
Doji family: Doji, Dragonfly Doji, Gravestone Doji
Crypto note: Star patterns do not require gaps (they’re rare on 24/7 markets); logic uses body/positioning instead.
Key Features
Full-text labels: Clear, readable names (no abbreviations).
EMA Trend Filter (optional): Only show bullish patterns in uptrends and bearish in downtrends.
Bar-close confirmation (optional): Choose confirmed (stable) or intrabar (faster, can move during the live bar).
Sensitivity controls:
Min body % of range (filters tiny bodies)
Doji body % of range
Star (middle bar) small body %
Long-wick multiple for pins
Short wick % for Three Soldiers/Crows
Alerts: Individual alerts for every pattern plus an “Any Candlestick Pattern” aggregate alert.
Cheat-Sheet label: A small on-chart reference that explains each pattern’s usual meaning.
Inputs (most used)
Use EMA Trend Filter (on/off) and EMA Length
Only mark after bar close (on/off)
Sensitivity: minBodyPct, dojiPct, starSmallPct, wickBodyMult, shortWickPct
Display: toggle labels and the cheat-sheet
How to Use
Timeframe: Works on any TF. Many traders prefer 5–60m for active setups; 4H/D for swing confirmation.
Trend filter: Turn Use EMA Trend Filter = ON, EMA Length = 50 (or 100/200 for higher TFs).
Confirmation: For backtests and cleaner signals, set Only mark after bar close = ON.
Confluence: Pair with support/resistance, volume, or momentum (e.g., RSI/MACD) to avoid low-quality context.
Alerts: Add alerts on the specific patterns you trade most, or use Any Candlestick Pattern for discovery.
Alerts Provided
One alert per pattern (e.g., “Bullish Engulfing”, “Shooting Star”, etc.).
Any Candlestick Pattern — fires when any of the above triggers.
Notes & Limitations
No repaint when “Only mark after bar close” is on. Intrabar mode can shift until the bar closes.
Patterns represent price action context, not guaranteed outcomes. Always add risk management.
On very low timeframes, micro-noise increases false positives; use the trend filter and/or higher TF confluence.
Good Defaults
Use EMA Trend Filter: ON
EMA Length: 50
Only mark after bar close: ON
Wick multiple: 2.0
Doji body ≤: 10% of range
Tags
candlestick, price action, engulfing, harami, hammer, shooting star, doji, morning star, evening star, inside bar, outside bar, three white soldiers, three black crows, alerts, trend filter, EMA
Disclaimer
This script is provided for educational and informational purposes only and does not constitute financial advice, investment advice, trading advice, or any recommendation to buy or sell any security, cryptocurrency, or instrument. Trading involves risk. You are solely responsible for your own decisions and the outcomes of those decisions.
No guarantees: Past performance (including backtests) does not guarantee future results. Signals can fail, and losses can exceed initial capital, especially with leverage.
Model limits: Pattern detection is probabilistic and context-dependent. Market regimes, news events, gaps, and liquidity conditions can invalidate historical tendencies.
Repainting: With “Only mark after bar close” = ON, labels are final and do not repaint. In intrabar mode (OFF), labels may move or disappear until the bar closes.
Backtest caveats: Backtests may understate slippage, fees, funding, latency, and execution impact. Results can differ materially in live markets.
Do your own due diligence: Verify settings (timeframe, symbol, broker/venue filters) and test on paper before going live. Use appropriate position sizing, stops, and risk limits.
No liability: The author and publisher assume no responsibility for any direct or indirect loss arising from use of this script or any information contained herein.
By using this script, you acknowledge that you understand these risks and accept full responsibility for your trading decisions.
Stacked Order Blocks & Breaker Blocks [FREE] [Extended]BASED ON LOGIC FROM "Order Blocks and Breaker Blocks
This indicator builds directly on the LuxAlgo Order Blocks & Breaker Blocks concept and adds a powerful new feature: stacked intersection highlighting.
Order Blocks (OBs) and Breaker Blocks are detected with the original LuxAlgo swing-based logic for reliability.
Blocks automatically extend to the right until invalidated, with breaker transitions marked clearly.
Intersection Zones: when multiple OBs and/or Breakers overlap, the shared price-time region is highlighted. These stacked zones represent areas of especially strong supply/demand confluence.
Customizable highlight styling:
Choose different colors for OB vs Breaker intersections.
Adjust transparency and maximum highlights displayed.
Optionally draw a center line through the overlap mid-price.
Toggle visibility so you can display only intersections, or both intersections and the underlying blocks.
Supports both bullish and bearish block filtering for overlap detection.
This tool is designed to help traders quickly identify high-probability confluence zones where multiple institutional footprints align.
Stacked Order Blocks & Breaker Blocks [Extended] BASED ON LOGIC FROM "Order Blocks and Breaker Blocks
This indicator builds directly on the LuxAlgo Order Blocks & Breaker Blocks concept and adds a powerful new feature: stacked intersection highlighting.
Order Blocks (OBs) and Breaker Blocks are detected with the original LuxAlgo swing-based logic for reliability.
Blocks automatically extend to the right until invalidated, with breaker transitions marked clearly.
Intersection Zones: when multiple OBs and/or Breakers overlap, the shared price-time region is highlighted. These stacked zones represent areas of especially strong supply/demand confluence.
Customizable highlight styling:
Choose different colors for OB vs Breaker intersections.
Adjust transparency and maximum highlights displayed.
Optionally draw a center line through the overlap mid-price.
Toggle visibility so you can display only intersections, or both intersections and the underlying blocks.
Supports both bullish and bearish block filtering for overlap detection.
This tool is designed to help traders quickly identify high-probability confluence zones where multiple institutional footprints align.
Enhanced EMA Crossover with Supertrend + Ribbon + Multi TFThe indicator has 4 core indicators in 1, the supertrend, the 2ema crossover, the moving average ribbon and a multi-timeframe trend indicator. I have modified the code for better visuals, all the indicators are fully customizable for better visuals and trend identification. Specially the 2 ema crossover indicator ribbon should guide you in the direction of the overall trend in different timeframes. The white dots were added to the real price close on everu candle , it is very usefull visually to see exactly where the price is closing specially when using heiken ashi candles. The small arrows on every candle should guide you in the direction of the overall trend when adjusting the 2 ema crossover lengths, the bigger arrow plots on the first candle only when the 2 ema crossover happens to either direction, using the supertrend indicator with the moving averages will also help you keep in the right trend direction.
Magic triangles ^v^v^vAddes filter to the indicator for better results.
Less triangles, filtered out unnecessary ones :)
XAUUSD Confluence Analyzer# TradingView Setup Guide - XAUUSD Confluence Indicator
Configuring the Indicator Settings
Once added to your chart, click the **gear icon** next to the indicator name to access settings:
### RSI Settings:
- **RSI Length**: 14 (default)
- **RSI Overbought**: 70
- **RSI Oversold**: 30
### Volume Settings:
- **Volume Multiplier**: 1.5 (signals high volume when 1.5x average)
### Support/Resistance Settings:
- **Lookback Period**: 20
- **S/R Touch Strength**: 3
### Key Levels (Update these based on current market):
- **Key Support 1**: 3269.0
- **Key Support 2**: 3321.0
- **Key Resistance 1**: 3400.0
- **Key Resistance 2**: 3450.0
### Fibonacci Settings:
- **Fibonacci Lookback**: 100 periods
Understanding the Visual Elements
### Lines and Levels:
- **Green Lines**: Support levels (Key Support 1 & 2)
- **Red Lines**: Resistance levels (Key Resistance 1 & 2)
- **Purple/Blue/Orange Dots**: Fibonacci retracement levels (61.8%, 50%, 38.2%)
### Background Colors:
- **Yellow Background**: High confluence (70+ score) - Strong signal
- **Blue Background**: Moderate confluence (40-69 score)
- **Gray Background**: Low confluence (<40 score)
### Signal Arrows:
- **Green Triangle Up**: Buy signal (confluence score 70+ at support)
- **Red Triangle Down**: Sell signal (confluence score 70+ at resistance)
### Information Table (Top Right):
- **Confluence Score**: Current confluence strength (0-100)
- **RSI**: Current RSI value
- **Distance to Levels**: How close price is to key levels
- **Volume**: Current volume status (HIGH/NORMAL)
- **Signal**: Current signal (BUY/SELL/NONE)
- **Strength**: Overall signal strength (STRONG/MODERATE/WEAK)
Setting Up Alerts
1. **Right-click on the chart** and select "Add Alert"
2. **Choose your indicator** from the dropdown
3. **Select alert type**:
- "Confluence Buy Signal" - Alerts when buy conditions met
- "Confluence Sell Signal" - Alerts when sell conditions met
- "High Confluence Alert" - Alerts when score reaches 70+
4. **Configure notification method** (email, SMS, app notification)
5. **Click "Create"**
## Step 5: Additional Setup Recommendations
### Complementary Indicators to Add:
1. **Volume Profile** - Shows volume at price levels
2. **MACD** - Momentum confirmation
3. **Bollinger Bands** - Volatility and mean reversion
4. **200 EMA** - Long-term trend direction
### Chart Setup:
- **Timeframe**: Daily for main signals, 4H for entries/exits
- **Chart Type**: Candlesticks
- **Extended Hours**: Enable for complete price action
### Watchlist Setup:
Create a watchlist with:
- XAUUSD (main)
- DXY (Dollar Index - inverse correlation)
- US10Y (Bond yields - affects gold)
- SPX (Risk sentiment)
Trading Rules Based on Confluence Score
### High Confluence (70+ Score):
- **Entry**: Wait for score 70+ at key levels
- **Stop Loss**: Below nearest support (buy) / Above nearest resistance (sell)
- **Take Profit**: Next resistance level (buy) / Next support level (sell)
- **Position Size**: Full position size
### Moderate Confluence (40-69 Score):
- **Entry**: Wait for additional confirmation (price action, volume)
- **Stop Loss**: Tighter stops
- **Take Profit**: Partial targets
- **Position Size**: Reduced position size
### Low Confluence (<40 Score):
- **Action**: Avoid trading, wait for better setup
- **Use**: Market analysis only
## Step 7: Backtesting Your Strategy
1. **Use TradingView's Strategy Tester**
2. **Convert indicator to strategy** (modify Pine Script)
3. **Test different timeframes** (4H, Daily, Weekly)
4. **Optimize parameters** based on historical performance
5. **Paper trade** before live implementation
## Step 8: Regular Maintenance
### Weekly Tasks:
- Review key support/resistance levels
- Update Fibonacci lookback period if needed
- Check alert functionality
### Monthly Tasks:
- Analyze performance metrics
- Adjust key levels based on new market structure
- Review and optimize parameters
## Troubleshooting Common Issues
### Indicator Not Loading:
- Check Pine Script syntax errors
- Ensure all input values are valid
- Try reducing lookback periods if memory issues
### Signals Not Appearing:
- Verify key levels are current
- Check if confluence score is reaching threshold
- Ensure all conditions are met simultaneously
### Too Many/Few Signals:
- Adjust confluence score threshold
- Modify RSI overbought/oversold levels
- Change volume multiplier sensitivity
## Mobile App Usage
The indicator works on TradingView mobile app:
1. **Sync your account** to access custom indicators
2. **Alerts will work** on mobile notifications
3. **Table display** may be smaller but functional
4. **All signals and levels** display correctly
## Pro Tips
1. **Combine with multiple timeframes**: Use daily for signals, 4H for entries
2. **Watch news events**: Gold is sensitive to economic data
3. **Monitor correlations**: Watch DXY, yields, and equity markets
4. **Use confluence with price action**: Look for engulfing patterns, pin bars at levels
5. **Risk management**: Never risk more than 1-2% per trade
This indicator automates the confluence analysis we identified and provides clear visual signals for XAUUSD trading opportunities.
SR Zones - ADA 4HThink of ADA’s price like a ball bouncing in a hallway. This script watches the **4‑hour** chart to spot where the ball keeps **turning around**—those become **floors (support)** and **ceilings (resistance)**. It groups nearby turnarounds into **thick colored bands** (green floors, red ceilings), makes bands **wider when the market is jumpy** and **narrower when it’s calm**, and **strengthens** a band each time price bumps it. Old or weak bands get **cleaned up**, overlapping ones get **merged**, and the bands **extend forward** so you can see likely bounce zones ahead
HM2 - Swing Low High 1-2# HM2 Swing Low High 1-2 Indicator Logic Description
## Overview
This indicator identifies and tracks key swing points in price action, specifically maintaining four critical levels: **SL1, SL2, SH1, and SH2**. These levels represent a hierarchy of support and resistance based on recent price swings.
## Core Logic
### Swing Point Detection
The indicator uses a **symmetrical swing detection method**:
- **Swing Length Parameter**: Defines how many candles on each side of a potential swing point must be higher (for lows) or lower (for highs)
- **Confirmation**: Only processes confirmed/closed candles to avoid repainting
- **Lookback Buffer**: Waits for adequate price history before making determinations
### The Four Key Levels
#### **SL1 (Swing Low 1) - Most Recent Low**
- The most recently formed swing low
- Always the latest confirmed low point in the price structure
- Updates whenever a new swing low is detected
#### **SL2 (Swing Low 2) - Lower Reference Low**
- The most recent swing low that is **below** SL1
- Must be lower in price than SL1 (deeper support level)
- Provides context for the support structure below current levels
#### **SH1 (Swing High 1) - Most Recent High**
- The most recently formed swing high
- Always the latest confirmed high point in the price structure
- Updates whenever a new swing high is detected
#### **SH2 (Swing High 2) - Higher Reference High**
- The highest swing high that is **above** SH1
- Must be higher in price than SH1 (stronger resistance level)
- Represents the most significant resistance overhead
## Key Features
### Smart Level Management
- **Array-Based Storage**: Maintains up to 50 recent swing points for performance optimization
- **Duplicate Prevention**: Prevents the same bar from being recorded multiple times
- **Hierarchy Enforcement**: SL2 must be below SL1, and SH2 must be above SH1
### Visual Elements
- **Horizontal Lines**: Draw from the swing point to current price with customizable extension
- **Background Plots**: Subtle reference lines for all four levels
- **Labels**: Clear "SL1", "SL2", "SH1", "SH2" labels positioned to the right of current price
- **Detection Markers**: Small triangular markers show when new swing points are detected
### Customization Options
- **Swing Length**: Adjustable sensitivity (1-10 candles)
- **Visual Controls**: Toggle labels and lines on/off
- **Line Extension**: Choose how lines extend (none, right, or both directions)
- **Color Customization**: Separate colors for lows (default red) and highs (default green)
## Practical Application
This indicator is particularly useful for:
- **Support/Resistance Trading**: The four levels provide clear zones for potential reversals
- **Trend Analysis**: Understanding the relationship between recent highs and lows
- **Entry/Exit Planning**: Using the hierarchy of levels for stop-loss and target placement
- **Market Structure**: Visualizing the current swing structure in any timeframe
The indicator automatically updates as new swing points form, ensuring traders always have the most current and relevant support/resistance levels based on actual price structure rather than arbitrary technical levels.
Previous Days High & Low RTH Session by TenAM TraderPurpose:
This indicator plots the high and low levels of previous trading days’ Regular Trading Hours (RTH), helping traders identify key support and resistance zones based on historical price action.
How to Use / Strategy:
Designed as a super simple trading strategy:
Buy when price breaks above and confirms the previous day’s high.
Sell when price breaks below and confirms the previous day’s low.
Alerts notify you when price interacts with these levels, helping traders act on confirmed breakout opportunities rather than premature moves.
*Traders can also look for reversal opportunities if price breaks back through one of the levels.
Note: Make sure RTH (Regular Trading Hours) is turned on for the chart, as the indicator is based on RTH highs and lows.
Features:
Tracks previous days’ highs and lows.
Provides clear visual reference for support and resistance.
Simple, actionable strategy based on breakout confirmations and reversal plays.
Alerts for confirmed price breaks.
Disclaimer:
This indicator is for educational and informational purposes only. It does not provide financial advice. Trading involves risk, and past performance does not guarantee future results. Users trade at their own risk.