Previous D/W/M HLOCHey traders,
Here's a simple Multi-Timeframe indicator that essentially turns time and price into a box. It'll take the previous high, low, opening price, or closing price from one of the three timeframes of your choice (day, week, or month). For whatever reason I can't get the opening price to function consistently so if you find improvements feel free to let me know, this will help traders who prefer to use opening price over closing price.
Naturally this form of charting is classical and nature and some key figures you could use to study its usage are
- Richard W. Schabacker (1930s)
- Edwards & Magee (1948)
- Peter Brandt
- Stacey Burke (more on the intraday side - typically our preference)
It's usage put plainly:
- Quantifying Accumulation or Distribution
- Revealing Energy Build-Up (Compression)
- Framing Breakouts and False Breakouts
- Structuring Time
- Identifying opportunities to trade a daily, weekly, or monthly range. 
Analisis Trend
Dynamic Trend ChannelsDynamic Trend Channels is a volatility-adaptive channel indicator that dynamically adjusts to both trend and market noise, reducing false signals in ranging or trending conditions.
How to use:
- Buy/Long bias while price holds above the green adaptive support line.  
- Sell/Short bias while price holds **below the red adaptive resistance line.  
- The bands expand/contract with volatility and shift with trend, minimizing whipsaws.
Where to use:  
Works across all asset classes (stocks, forex, crypto, futures) and timeframes — from scalping (1m-15m) to swing/position trading (daily-weekly). A robust, low-maintenance alternative to traditional Bollinger Bands.
Why to use:
Built on Geometric Brownian Motion (GBM) principles, it separates trend (via short-term EWMA) from volatility (real-time stochastic estimate). The result: smarter, adaptive bands that follow price flow — not just fixed standard deviations.
Fewer trades. Cleaner signals. Built for real markets.
Lylytics Supertrend FakeoutOverview
This is an enhanced version of the classic Supertrend indicator that helps identify false breakouts (fakeouts) before committing to a trend change. It's designed to reduce whipsaws and improve trade timing by filtering out brief price movements that don't result in genuine trend reversals.
What Problem Does It Solve?
Standard Supertrend indicators change direction immediately when price crosses the trend line. This can lead to:
- False signals during choppy markets
- Premature entries that get stopped out
- Frequent trend changes that aren't sustainable
This indicator adds a "grace period" that allows price to briefly cross the Supertrend line without triggering an immediate trend change, helping you avoid these false signals.
How It Works
Core Concept
The indicator tracks potential trend changes but waits to confirm them. When price crosses the Supertrend line:
1. A fakeout detection period begins
2. If price returns within the limits, it's marked as a fakeout (triangle appears)
3. If price continues beyond the limits, the trend officially changes
Key Parameters
ATR Length (14): Period for calculating Average True Range, which measures volatility.
ATR Multiplier (3.0): Distance of the Supertrend line from price. Higher = wider bands, fewer signals.
Fakeout Bar Limit (5): Maximum number of bars to wait before confirming a trend change. If price stays beyond the line for more than this many bars, the trend changes.
Fakeout ATR Multiplier (1.5): How far price must move to force an immediate trend change, regardless of bar limit. Measured in ATR units.
Fakeout Type: 
- High/Low: Uses candle wicks for detection (more sensitive)
- Close: Uses closing prices only (more conservative)
Visual Signals
- Green Line: Bullish trend (price above support)
- Red Line: Bearish trend (price below resistance)
- Green Triangle (▲): Bullish fakeout detected - price tested below but bounced back
- Red Triangle (▼): Bearish fakeout detected - price tested above but pulled back
- Shaded Area: Fill between price and Supertrend line
 Use on Volatile Chart! 
Higher Timeframes
- Use on 4H, Daily, or Weekly charts for more reliable signals
- Better for swing trading and position trading
- Fewer false signals, clearer trend identification
Lower Timeframes (Scalping/Day Trading)
- Can be used on 5m, 15m, or 1H charts
- Recommended adjustments:
  - Reduce ATR Length for faster response
  - Increase ATR Multiplierto filter noise
  - Lower Fakeout Bar Limit
  - Use "Close" mode instead of "High/Low" for cleaner signals
- Expect more signals but combine with volume and price action confirmation
Trading Strategy
1. Trend Following: Trade in the direction of the colored line (green = buy, red = sell)
2. Fakeout Confirmations: Triangles show rejected breakouts, confirming trend strength
3. Trend Changes: When the line color changes, consider position adjustments
Alerts Available
- Bullish Fakeout Detected
- Bearish Fakeout Detected
- Any Fakeout
- Trend Changed to Bullish
- Trend Changed to Bearish
Best Practices
- Adjust ATR Multiplier based on asset volatility (stocks: 2-3, crypto: 3-4)
- Lower Fakeout Bar Limit for faster response, higher for fewer false signals
- Combine with support/resistance levels for confirmation
- Use multiple timeframe analysis for better context
About the Supertrend Concept
The Supertrend indicator was developed by Olivier Seban, a French trader and author. Seban created this indicator to provide a simple yet effective trend-following system based on Average True Range (ATR). His approach focused on identifying the current market trend and providing clear entry/exit signals. The original Supertrend quickly became popular among traders for its simplicity and effectiveness in trending markets. This Fakeout version builds upon Seban's foundation by adding intelligent filtering to reduce false signals while maintaining the indicator's core trend-following principles.
Technical Notes
This indicator uses a state-based approach to track potential trend changes and validates them against time and distance thresholds before confirming. It's built on Pine Script v6 and works on all TradingView charts.
---
This indicator helps you stay in trends longer and avoid premature exits during temporary price fluctuations.
Smart Candle Labels (Harami, Engulfing, Pinbar)Smart Candle Labels scans every candle in real time to spot high-probability reversal patterns — Harami, Engulfing, and Pinbar — and prints clear, color-coded arrows on the chart.
• No lag, no repaint.
• Works on all timeframes.
• Designed for intraday and swing traders who rely on price action over indicators.
The Bardan Bias IndicatorThis Bardan Bias Indicator analyzes pure daily chart momentum agnostically across any asset by employing a weighted scoring system based on three universal components: EMA alignment (20, 50, 100 periods), price position relative to these EMAs, and momentum indicators (RSI and MACD). The system objectively awards points for bullish configurations like stacked EMA alignment, price trading above key EMAs, and positive momentum readings, while deducting points for bearish setups, completely independent of the specific instrument. The total score normalizes to a 0-100 scale and classifies into five clear bias categories, providing a single, universal overlay that reveals the underlying daily trend direction for any tradable asset—from cryptocurrencies to stocks to forex—while effectively filtering out minor pullbacks and market noise.
Macro Valuation Oscillator (MVO)Here’s a professional English description (≈950 characters) you can use:
---
**Macro Valuation Oscillator (MVO)** is a macro-relative-strength indicator designed to compare the current valuation of any asset against key benchmarks — **GOLD**, **USD**, and **BOND**. It helps investors visualize when an asset is relatively undervalued or overvalued within a macro context.
When the MVO line versus GOLD (yellow) moves below the neutral zone (0), it signals that the asset is *undervalued* compared to gold, suggesting a potential **buy opportunity**. Conversely, when it rises above +80, the asset may be *overvalued* and due for correction. The same interpretation applies to USD (blue) and BOND (purple) comparisons.
The indicator provides quick insight into macro-rotation trends, showing which assets are **overperforming** (green) or **underperforming** (red) in real time. It is especially effective on **daily charts**, giving traders and investors a clear framework to assess long-term relative value and position timing across global markets.
BRB Strict Scanner (Break → Retest → Break) - BNRPerfect ✅
Here is a **clean**, final formatted version — **NO development notes**, **NO options**, **NO extra commentary**.
Just **copy + paste** into TradingView’s script description box:
---
## 📌 BRB STRICT Scanner — Break → Retest → Break
**This indicator identifies high-probability breakout continuation setups** using a strict price-action + trend + volume confirmation model.
### ✅ What It Detects
A precise **3-step structure**:
1️⃣ **Break** of key support/resistance
2️⃣ **Retest** of that level (structure validation)
3️⃣ **Break again** with strong conviction + volume
This confirms the level has **flipped** and momentum is continuing.
---
### 🔍 Why “STRICT”?
The scanner applies **multiple filters** to eliminate low-quality signals:
✔ Trend direction & slope confirmed using EMAs
✔ Volume must exceed **Vol SMA × custom multiplier**
✔ Tight consolidation (base) before breakout
✔ Strong “power candle” on 2nd break (close in top/bottom 30%)
✔ ATR threshold to ensure real movement
✔ VWAP alignment (optional)
✔ Optional **avoid lunchtime chop** filter
✔ Cooldown between signals — no spam
**Quality > Quantity** every time.
---
### 🧠 Signal Meaning
| Label on Chart | Signal Type                |
| -------------- | -------------------------- |
| **BRB🟢**      | Bullish continuation setup |
| **BRB🔻**      | Bearish continuation setup |
Signals appear **only on trend continuation**, not reversals.
---
### 🎯 Best Usage
* Intraday trading (**3m–15m**)
* Trending symbols: SPY, QQQ, META, NVDA, TSLA, AMD, ES/NQ futures
* Crypto momentum runs
* Swing: works well on **30m/1H** with confirmation
---
### ⚙️ Suggested Settings (Intraday)
* Volume ≥ **1.5–2.0×** Vol SMA
* ATR minimum: **0.30–0.50%** of price
* Base bars: **8–12**
* Confirm %: **0.7** (top/bottom 30% close)
* **VWAP alignment: ON**
* **Avoid lunchtime: ON**
---
### 📈 Risk Management (Important)
This tool **identifies structure**, not exits.
Common trade plan:
* **Stop**: just below retest low (bull) / above retest high (bear)
* **Target 1**: 1–1.5R
* **Target 2**: trail below structure
Avoid trading right into:
⚠️ Major economic events
⚠️ First few minutes of open if volatility extreme
---
### 🔔 Alerts Included
Add alerts:
* **Bullish BRB STRICT**
* **Bearish BRB STRICT**
Recommended: **Once Per Bar Close**
---
### ✅ Summary
This indicator helps traders:
✔ Stay aligned with the **dominant trend**
✔ Avoid early + fake breakouts
✔ Execute cleaner, more reliable continuation entries
Not meant for:
✘ Bottom/top picking
✘ Low-volume tickers
✘ Choppy range scalping
---
If you find this helpful — please consider:
⭐️ Rating & Adding to Favorites
💬 Commenting your results
🔁 Sharing with other disciplined traders
Trade with structure. Trade with confirmation. ✅📈⚡
---
Would you like me to also create:
✅ A **feature banner thumbnail**
✅ A **version tag** (v1.0 / v1.1 etc)
✅ A short **headline/summary line** for the top?
Opposing Candle V1Opposing Candle Indicator Summary:
This indicator detects engulfing candles (where the current candle's high is above the previous candle's high AND the low is below the previous candle's low) across multiple trading sessions.
Key Features:
Multi-timeframe detection - Works on any timeframe you set (default 15min)
Session filtering - Detects opposing candles during Q1-Q4 of four major sessions: Asia, London, NYAM, and NYPM
Visual representation - Draws colored boxes (green for bullish, red for bearish) with extension lines showing:
High line
Low line
Midline (dotted white)
Open line (black)
Customizable - Adjust box/line extensions, colors, line widths, and max number of candles displayed
Optional labels - Can show session names and timeframe on each detection
Status table - Displays current settings in top-right corner
Alerts - Notifies when new opposing candles are detected
What it does: Helps identify potential support/resistance zones created by strong engulfing price action during key trading hours, with the open price highlighted as an additional reference level.
Higher Timeframe CandlesOverlay Higher Timeframe Candles on Lower Timeframes 
Select any higher timeframe to overlay on your lower timeframe to easily see LTF market structure within HTF candles.
Please report any bugs or request improvements in the comments.
Support Resistance Signals 15min 1h📝 Description for TradingView (English Version)
Name: Support Resistance Signals 15min 1h
Type: Indicator (Visual + Signal-based)
Built with: Pine Script v6
🔍 What It Does:
This indicator automatically detects key support and resistance zones based on pivot highs and lows, as well as price structure logic.
It visually draws:
🟥 Resistance zones (in red)
🟩 Support zones (in green)
✅ Optionally displays Order Blocks (OBs) based on calculated imbalances
📢 Alerts (Signals):
It triggers TradingView alerts when:
📈 Price touches an active support zone → Buy Signal (Support Touched)
📉 Price touches an active resistance zone → Sell Signal (Resistance Touched)
The signal triggers on any touch, including wicks — not just candle closes.
🕒 Multi-Timeframe Compatible:
Automatically adapts to your selected timeframe (15min, 1h, etc.).
You can control the number of active zones via input settings.
⚙️ Best Suited For:
Technical zone-based analysis
Breakout or mean-reversion strategies
Signal automation via webhook or manual alerts
✅ Fully compatible with TradingView Alerts
✅ No coding required – plug-and-play ready
EMA8/21+VWAP+MOM+ADX FilterEMA8/21 MTF Momentum-ADX Trade Assistant
This script is not a basic “EMA crossover” indicator. The goal is not just to flash a signal, but to provide an actual trade plan: entry, confirmation, stop, profit targets, and position management in one package.
1. Core Logic
The main trigger of the indicator is the EMA8 and EMA21 crossover:
When EMA8 crosses ABOVE EMA21 → potential LONG signal.
When EMA8 crosses BELOW EMA21 → potential EXIT / WEAKNESS signal.
This structure is designed to work on 30-minute and 60-minute charts.
Fast EMA: default 8
Slow EMA: default 21
Trend EMA: for 30m charts ~50–55, for 60m charts ~100 (this is adjustable via input)
2. Advanced confirmations for LONG entries
The LONG signal is not taken blindly at every crossover. It can be filtered (optionally) by several confirmation layers. All of these can be turned on/off from the inputs:
Momentum filter: Is price actually pushing, or did it just barely cross? A long is only confirmed if momentum is above a chosen threshold.
ADX / DMI filter: Is there real trend strength? The script can require ADX above a threshold and +DI > -DI (bullish directional bias). This helps avoid fake breakouts in choppy, sideways zones.
Relative Volume filter: Is there real participation behind the move? The script can require current volume to be at least X times the recent average volume (for example 1.5x the 20-bar average). This helps avoid signals that appear on “empty” volume.
Higher Timeframe Trend filter (MTF): Example: if you’re trading on the 30-minute chart, you can force longs to only trigger when the 60-minute trend is already bullish. This prevents going long against the dominant higher-timeframe direction. (On a 60m chart you might compare against 240m / 4h, etc.)
The purpose of these filters is:
→ When entering long, don’t just chase any crossover. Demand alignment in trend, strength, demand, and higher timeframe structure.
Note: These filters are independent. You are NOT forced to enable all of them at once. Different tickers behave differently. The user can decide which confirmations make sense for that specific instrument.
3. How does the SHORT/EXIT signal work?
The exit/weakness signal is intentionally kept simple:
When EMA8 crosses BELOW EMA21, the script immediately fires a signal.
No extra conditions (no momentum, no ADX, etc.).
You can treat this as “take profit / reduce risk / exit warning.”
Why is it designed like that?
When entering a position, you want to be very selective.
When protecting profit or cutting risk, you want to be fast, not slow.
So LONG entry is filtered and disciplined. EXIT warning is fast and blunt.
4. Trade management (automatic Stop / Targets / Trailing Stop)
When a confirmed LONG signal appears, the indicator does more than say “go long.” It also drafts a mini plan on the chart:
Entry: Uses the close of the signal candle as the assumed entry.
Stop: Default stop level is placed at (or near) the low of the signal candle.
TP1 (Partial Take Profit): A first target such as 1R (customizable). Think of this as partial take profit. When TP1 is reached, the label updates visually (e.g. “TP1 ✅”).
TP2 (Final target): A second target such as 2R (customizable). This is plotted separately with its own line and label.
Trailing Stop: While the position is “open,” the stop level can automatically trail upward as new higher lows form. The stop is never moved downward. You can turn trailing on/off.
All of these levels (Stop / TP1 / TP2) are drawn directly on the chart, with readable labels.
After an EXIT (bearish crossover) is triggered and the position is considered closed, those lines/labels are grayed out. Visually this makes it clear: “that trade is done.”
5. Position state tracking
The script internally tracks whether you are considered “in a position” or “flat”:
When a confirmed LONG triggers and you are not already in a position → it marks you as “in position.”
When an EXIT signal triggers → it marks you as flat / position closed.
While in position, it keeps updating Stop / TP levels and the trailing stop logic.
It will not spam repeated “long long long” signals every bar.
This makes the tool behave more like a lightweight trade assistant rather than a dumb arrow plotter.
6. How to actually use it
This tool does NOT force a single style. Instead, it gives you building blocks (filters and management rules) that you can mix depending on the instrument and market condition.
For example:
Profile A: Trend-Following / Swing-Style
ADX filter: ON
Higher Timeframe filter: ON
Momentum filter: ON
Relative Volume filter: optional
Larger R targets (TP2 ~2R or more), trailing stop ON
This profile is for cleaner, directional names that actually trend. You’re trying to ride continuation, not scalp noise.
Profile B: Intraday Momentum / One-Shot Burst
Momentum filter: ON
Relative Volume filter: ON (you want expansion in volume)
ADX filter: OFF (ADX often lags on the first impulse bar)
Higher Timeframe filter: can be looser if you’re just playing the spike
Focus on TP1 / fast partial exit more than holding forever
This profile tries to catch sharp breakouts that come with volume. You care about speed, not holding all day.
Profile C: Simple / Low-Stress Mode
Only Higher Timeframe filter: ON
Other filters: OFF
Idea: “I’ll only take longs if the bigger timeframe is already bullish. Otherwise I do nothing.”
This is useful when you don’t want to overthink. Fewer rules, less noise.
So in practice, instead of forcing the same confirmation stack on every ticker, you select the subset of filters that best fits how that ticker usually moves and how YOU want to trade it. That flexibility is intentional.
7. Time-of-day context
Signal quality is not only about technical conditions, it’s also about timing:
A “perfect” long setup in the first strong impulse of the session is not the same as a random crossover in low-liquidity midday chop.
Near the close, a signal might mean “carry this into the next session,” which is a different risk profile than a quick intraday scalp.
The script does not automatically block signals by session time, but you should treat early-session breakouts, midday noise, and late-session continuation differently in your decision-making. The filters (volume, higher timeframe alignment, ADX) help, but discretion about timing still matters.
8. Mental discipline
One very important workflow tip:
Before you take a trade, say (to yourself), which “profile” you are using.
For example:
“This is a Momentum Burst trade. I’m using volume + momentum. I only care about TP1. I’m not trying to swing this overnight.”
or
“This is a Trend-Follow trade. ADX is on, higher timeframe is aligned. I will trail this and aim for TP2.”
Why is this important?
It stops you from panicking mid-trade and changing your plan emotionally.
After 10–20 trades, you can review which profile actually performs for you. You’ll see which filters are truly adding edge, and which are just “comfort filters” that feel safe but don’t actually improve results.
That review is how this tool goes from “indicator” to “personal trading process.”
9. Disclaimer
This script is for educational and experimental trading workflow support.
It is NOT financial advice.
Trading involves significant risk. All decisions and outcomes are your own.
Do not use this live with real capital without forward testing and proper risk management.
Summary:
This script is not just an arrow that says “BUY/SELL.”
It’s a compact trade assistant built around the EMA8/21 structure.
It can:
filter long entries using momentum, ADX/DMI strength, higher timeframe alignment, and relative volume,
generate fast exit warnings on bearish cross,
automatically draw stop, TP1, TP2, and even trail the stop while the position is active,
and track whether you’re “in a trade” or flat.
You’re not forced into one rigid style. You choose which confirmation layers match the personality of the ticker you’re trading — and you get visual risk management on the chart.
pine script tradingbot - many ema oscillator## 🧭 **Many EMA Oscillator (TradingView Pine Script Indicator)**  
*A multi-layer EMA differential oscillator for trend strength and momentum analysis*
---
### 🧩 **Overview**
The **Many EMA Oscillator** is a **TradingView Pine Script indicator** designed to help traders visualize **trend direction**, **momentum strength**, and **multi-timeframe EMA alignment** in one clean oscillator panel.  
It’s a **custom EMA-based trend indicator** that shows how fast or slow different **Exponential Moving Averages (EMAs)** are expanding or contracting — helping you identify **bullish and bearish momentum shifts** early.
This **Pine Script EMA indicator** is especially useful for traders looking to combine multiple **EMA signals** into one **momentum oscillator** for better clarity and precision.
---
### ⚙️ **How It Works**
1. **Multiple EMA Layers:**  
   The indicator calculates seven **EMAs** (default: 20, 50, 100, 150, 200, 300) and applies a **smoothing filter** using another EMA (default smoothing = 20).  
   This removes short-term noise and gives a smoother, professional-grade momentum reading.
2. **EMA Gap Analysis:**  
   The oscillator measures the **difference between consecutive EMAs**, revealing how trend layers are separating or converging.  
   ```
   diff1 = EMA(20) - EMA(50)
   diff2 = EMA(50) - EMA(100)
   diff3 = EMA(100) - EMA(150)
   diff4 = EMA(150) - EMA(200)
   diff5 = EMA(200) - EMA(300)
   ```
   These gaps (or “differentials”) show **trend acceleration or compression**, acting like a **multi-EMA MACD system**.
3. **Color-Coded Visualization:**  
   Each differential (`diff1`–`diff5`) is plotted as a **histogram**:  
   - 🟢 **Green bars** → EMAs expanding → bullish momentum growing  
   - 🔴 **Red bars** → EMAs contracting → bearish momentum or correction  
   This gives a clean, compact view of **trend strength** without cluttering your chart.
4. **Automatic Momentum Signals:**  
   - **🟡 Up Triangle** → All EMA gaps increasing → strong bullish trend alignment  
   - **⚪ Down Triangle** → All EMA gaps decreasing → trend weakening or bearish transition  
---
### 📊 **Inputs**
| Input | Default | Description |
|-------|----------|-------------|
| `smmoth_emas` | 20 | Smoothing factor for all EMAs |
| `Length2`–`Length7` | 20–300 | Adjustable EMA periods |
| `Length21`, `Length31`, `Length41`, `Length51` | Optional | For secondary EMA analysis |
---
### 🧠 **Interpretation Guide**
| Observation | Meaning |
|--------------|----------|
| Increasing green bars | Trend acceleration and bullish continuation |
| Decreasing red bars | Trend exhaustion or sideways consolidation |
| Yellow triangles | All EMA layers aligned bullishly |
| White triangles | All EMA layers aligned bearishly |
This **EMA oscillator for TradingView** simplifies **multi-EMA trading strategies** by showing alignment strength in one place.  
It works great for **swing traders**, **scalpers**, and **trend-following systems**.
---
### 🧪 **Best Practices for Use**
- Works on **all TradingView timeframes** (1m, 5m, 1h, 1D, etc.)  
- Suitable for **stocks, forex, crypto, and indices**  
- Combine with **RSI**, **MACD**, or **price action** confirmation  
- Excellent for detecting **EMA compression zones**, **trend continuation**, or **momentum shifts**  
- Can be used as part of a **multi-EMA trading strategy** or **trend strength indicator setup**
---
### 💡 **Why It Stands Out**
- 100% built in **Pine Script v6**  
- Optimized for **smooth EMA transitions**  
- Simple color-coded momentum visualization  
- Professional-grade **multi-timeframe trend oscillator**  
This is one of the most **lightweight and powerful EMA oscillators** available for TradingView users who prefer clarity over clutter.
---
### ⚠️ **Disclaimer**
This indicator is published for **educational and analytical purposes only**.  
It does **not provide financial advice**, buy/sell signals, or investment recommendations.  
Always backtest before live use and trade responsibly.
---
### 👨💻 **Author**
Developed by **@algo_coders**  
Built in **Pine Script v6** on **TradingView**  
Licensed under the  (mozilla.org)
2-Stage PSP with SMT [Pogiest]General 
Precision Swing Point (PSP) is a concept derived from Quarterly Theory concepts originating from ICT methodologies. The concept typically uses a 3-candle swing formation in which candle 2 has a divergence in the closing price with one asset compared to the other two assets in a correlated asset triad (i.e. one closes bullish and other two closes bearish, vice-versa). A Terminus Price Divergence (TPD) is an additional divergence between candle 1’s closing price and candle 3’s opening price (i.e. one asset’s candle 3 opening price opens below candle 1 closing price while the other two assets’ candle 3 opening price opens above candle 1 closing price, vice-versa). The candle 3 divergence and candle 2 divergence put together is what defines a TPD.  Additionally, consecutive candle SMT (Smart Money Technique) are divergences between Candle 1/Candle 2 highs/lows or Candle 2/Candle 3 high/lows. There are different types of cracks in correlation. A crack in correlation can be defined as a precision swing point, a terminus price divergence, SMT, etc. A “2-Stage PSP” can be defined as a confirmed PSP with consecutive candle SMT. Several cracks in correlation can signify a potential reversal, retracement, or continuation.
 What makes this indicator unique: 
This indicator is designed to track PSP and TPDs in real time as they are forming. It first displays the current state of the current candle’s price action whether bullish or bearish and highlights when a PSP is about to form. Once the PSP is confirmed, the indicator looks for a second crack in correlation between candle 1’s closing price and candle 3’s opening price to confirm a TPD is active. Once the TPD is active, it looks for a crack in correlation via SMT between Candle 1 and Candle 2’s highs/lows or between Candle 2 and Candle 3’s high/lows. The PSP w/ TPD confirmation and SMT divergence would be deemed a “2-Stage PSP” which is all highlighted in the indicator table. Several cracks in correlation can signify a potential reversal, retracement, or continuation.
  
Note: Credit of concepts/ideas goes to TraderDaye, JacobSpeculates, The Market Lens Team, Afyz, and ICT.
 How the Indicator Table Works 
 Timeframe Column: 
1. Displays up to four different timeframes to monitor.
 Asset Columns: 
1. Cells display “Bull” in green background color or “Bear” in red background color showing the current state of each candle and updates in real-time tick by tick.
-2. Up and Down arrows are fixed in the cells when the TPD status is “Active” (See below) indicating the final print of the PSP candle (candle 2) closing bullish (up arrow) or bearish (down arrow). The arrows will be cleared once the TPD status is either in an “Inactive” or “Pending” state.
  
 TPD Status Column (see defined divergences in General section above): 
1. “Inactive” indicates no divergence in all assets (i.e. all three assets in a triad are all printing bullish or bearish candles)
2. “Pending” indicates a potential divergence in candle 2’s closing price (i.e. one asset’s current state in candle 2 is bearish while the others are bullish, vice versa). This updates in real-time tick by tick and continues to monitor each candle as they form for a candle 2 divergence.
  
3. “Active” indicates a confirmed TPD in which both a candle 2 divergence and candle 3 divergence (i.e. divergence between candle 3 opening price and candle 1 closing price) exists.
  
Note 1: If candle 2 has an asset in a correlated triad close as a doji candle (opening price and closing price are exactly the same) while the other two assets close bullish or bearish, the indicator will not deem candle 2 as a valid PSP candle. There has to be a divergence in the opening/closing price on at least two assets to be valid.
Note 2: Any historical TPDs will not be displayed in the table as this indicator only tracks TPDs in real time and continuously monitors for potential TPDs and confirmed TPDs.
 Added Feature (2 Stage PSP) 
SMT 1: Displays an SMT consecutive candle divergence between candle 1 and candle 2’s highs and lows. This is displayed once a TPD is in “Active” status while candle 3 is printing. Therefore, the label in the table cell displays past data (Candle 1 and Candle 2 high/low SMTs).
1. “Inactive” indicates there were no SMT divergences.
2. “Asset symbol names” are displayed with a corresponding up arrow or down arrow. Cell background color is red for SMT Divergence at the highs and green for SMT Divergence at the lows. For example, if there was a bearish SMT at the highs of candle 1/candle 2 and one asset made the higher high in candle 2, then that asset would have the up arrow indicating it swept candle 1’s high while the other assets have the down arrow as they did not sweep candle 1’s high. This works vice versa for bullish scenario.
  
3. “Both” indicates there are SMT divergences at both the highs and lows of candle 1 and candle 2.
  
SMT 2: Displays an SMT consecutive candle divergence between candle 2 and candle 3’s highs and lows. This is displayed while a TPD is in “Active” status and updates in real-time tick by tick during candle 3’s price action.
1. “Inactive” indicates there are no current SMT divergences.
2. “Asset symbol names” are displayed with a corresponding up arrow or down arrow. Cell background color is red for SMT Divergence at the highs and green for SMT Divergence at the lows. For example, if there was a bearish SMT at the highs of candle 2/candle 3 and one asset made the higher high in candle 3, then that asset would have the up arrow indicating it swept candle 2’s high while the other assets have the down arrow as they did not sweep candle 2’s high. If one of the assets that did not sweep candle 2’s high ends up sweeping the high, then that asset will dynamically move to the left of the cell next to the asset that swept candle 2’s high with an up arrow leaving only one asset with the down arrow. If the last asset ends up sweeping candle 2’s high, then the cell would change to “Inactive”. This works vice versa for bullish scenario.
  
3. “Both” indicates there are SMT divergences at both the highs and lows of candle 2 and candle 3. If an SMT on one side gets deleted, then the cell will automatically update to display the SMT that is still intact.
  
Note: Equal lows/highs are considered to be a failure swing since it did not sweep the previous candle low/high.
 Settings 
1. Choose up to three different assets to monitor.
Note: If only two are selected, the indicator will only display the two selected and compare the two assets for divergences. If one is selected, a warning sign will be displayed to select at least two assets.
2. Choose up to four different timeframes. Option to deselect timeframes.
3. Option to enable all alerts or active alerts. Alerts include the different status changes in the table (i.e. Pending, Active, Bullish SMT, Bearish SMT, etc for each or all timeframes).
4. Toggle option to show/hide the table. Toggle option to show/hide the “Title Row” which is the first row at the top of the table.
5. Adjust the table positioning to be displayed on the chart. 
6. Option to change text size in the table cells. This will also increase/decrease the size of the table.
 Unique User Experience: 
1. Track current PSP/TPD status in real-time tick by tick as candles form in multiple timeframes.
2. Track consecutive candle SMT in a 3-candle swing formation in real-time in multiple timeframes.
3. Instead of switching through timeframes to check for PSPs/TPDs, they are consolidated in one table.
4. Once there is a confirmed consecutive candle SMT indicated on the table, there are several cracks in correlation (PSP, TPD, and SMT).
 Risk Disclaimer 
This indicator is for educational and informational purposes only and does not constitute financial advice. All trading and investment decisions remain solely the responsibility of the user.
Trading involves a high degree of risk, and past performance is not indicative of future results.
Always conduct your own research and consult with a qualified financial professional before making any trading decisions. 
By using this indicator, users acknowledge they understand these risks and accept full responsibility for their trading decisions and outcomes.
Quantum Rotational Field MappingQuantum Rotational Field Mapping (QRFM):  
Phase Coherence Detection Through Complex-Plane Oscillator Analysis
 Quantum Rotational Field Mapping  applies complex-plane mathematics and phase-space analysis to oscillator ensembles, identifying high-probability trend ignition points by measuring when multiple independent oscillators achieve phase coherence. Unlike traditional multi-oscillator approaches that simply stack indicators or use boolean AND/OR logic, this system converts each oscillator into a rotating phasor (vector) in the complex plane and calculates the  Coherence Index (CI) —a mathematical measure of how tightly aligned the ensemble has become—then generates signals only when alignment, phase direction, and pairwise entanglement all converge.
The indicator combines three mathematical frameworks:  phasor representation  using analytic signal theory to extract phase and amplitude from each oscillator,  coherence measurement  using vector summation in the complex plane to quantify group alignment, and  entanglement analysis  that calculates pairwise phase agreement across all oscillator combinations. This creates a multi-dimensional confirmation system that distinguishes between random oscillator noise and genuine regime transitions.
 What Makes This Original 
 Complex-Plane Phasor Framework 
This indicator implements classical signal processing mathematics adapted for market oscillators. Each oscillator—whether RSI, MACD, Stochastic, CCI, Williams %R, MFI, ROC, or TSI—is first normalized to a common   scale, then converted into a complex-plane representation using an  in-phase (I)  and  quadrature (Q)  component. The in-phase component is the oscillator value itself, while the quadrature component is calculated as the first difference (derivative proxy), creating a velocity-aware representation.
 From these components, the system extracts: 
 Phase (φ) : Calculated as φ = atan2(Q, I), representing the oscillator's position in its cycle (mapped to -180° to +180°)
 Amplitude (A) : Calculated as A = √(I² + Q²), representing the oscillator's strength or conviction
This mathematical approach is fundamentally different from simply reading oscillator values. A phasor captures both  where  an oscillator is in its cycle (phase angle) and  how strongly  it's expressing that position (amplitude). Two oscillators can have the same value but be in opposite phases of their cycles—traditional analysis would see them as identical, while QRFM sees them as 180° out of phase (contradictory).
 Coherence Index Calculation 
The core innovation is the  Coherence Index (CI) , borrowed from physics and signal processing. When you have N oscillators, each with phase φₙ, you can represent each as a unit vector in the complex plane: e^(iφₙ) = cos(φₙ) + i·sin(φₙ).
 The CI measures what happens when you sum all these vectors: 
 Resultant Vector : R = Σ e^(iφₙ) = Σ cos(φₙ) + i·Σ sin(φₙ)
 Coherence Index : CI = |R| / N
Where |R| is the magnitude of the resultant vector and N is the number of active oscillators.
The CI ranges from 0 to 1:
 CI = 1.0 : Perfect coherence—all oscillators have identical phase angles, vectors point in the same direction, creating maximum constructive interference
 CI = 0.0 : Complete decoherence—oscillators are randomly distributed around the circle, vectors cancel out through destructive interference
 0 < CI < 1 : Partial alignment—some clustering with some scatter
This is not a simple average or correlation. The CI captures  phase synchronization  across the entire ensemble simultaneously. When oscillators phase-lock (align their cycles), the CI spikes regardless of their individual values. This makes it sensitive to regime transitions that traditional indicators miss.
 Dominant Phase and Direction Detection 
Beyond measuring alignment strength, the system calculates the  dominant phase  of the ensemble—the direction the resultant vector points:
 Dominant Phase : φ_dom = atan2(Σ sin(φₙ), Σ cos(φₙ))
This gives the "average direction" of all oscillator phases, mapped to -180° to +180°:
 +90° to -90°  (right half-plane): Bullish phase dominance
 +90° to +180° or -90° to -180°  (left half-plane): Bearish phase dominance
The combination of CI magnitude (coherence strength) and dominant phase angle (directional bias) creates a two-dimensional signal space. High CI alone is insufficient—you need high CI  plus  dominant phase pointing in a tradeable direction. This dual requirement is what separates QRFM from simple oscillator averaging.
 Entanglement Matrix and Pairwise Coherence 
While the CI measures global alignment, the  entanglement matrix  measures local pairwise relationships. For every pair of oscillators (i, j), the system calculates:
 E(i,j) = |cos(φᵢ - φⱼ)| 
This represents the phase agreement between oscillators i and j:
 E = 1.0 : Oscillators are in-phase (0° or 360° apart)
 E = 0.0 : Oscillators are in quadrature (90° apart, orthogonal)
 E between 0 and 1 : Varying degrees of alignment
The system counts how many oscillator pairs exceed a user-defined entanglement threshold (e.g., 0.7). This  entangled pairs count  serves as a confirmation filter: signals require not just high global CI, but also a minimum number of strong pairwise agreements. This prevents false ignitions where CI is high but driven by only two oscillators while the rest remain scattered.
The entanglement matrix creates an N×N symmetric matrix that can be visualized as a web—when many cells are bright (high E values), the ensemble is highly interconnected. When cells are dark, oscillators are moving independently.
 Phase-Lock Tolerance Mechanism 
A complementary confirmation layer is the  phase-lock detector . This calculates the maximum phase spread across all oscillators:
For all pairs (i,j), compute angular distance: Δφ = |φᵢ - φⱼ|, wrapping at 180°
 Max Spread  = maximum Δφ across all pairs
If max spread < user threshold (e.g., 35°), the ensemble is considered  phase-locked —all oscillators are within a narrow angular band.
This differs from entanglement: entanglement measures pairwise cosine similarity (magnitude of alignment), while phase-lock measures maximum angular deviation (tightness of clustering). Both must be satisfied for the highest-conviction signals.
 Multi-Layer Visual Architecture 
QRFM includes six visual components that represent the same underlying mathematics from different perspectives:
 Circular Orbit Plot : A polar coordinate grid showing each oscillator as a vector from origin to perimeter. Angle = phase, radius = amplitude. This is a real-time snapshot of the complex plane. When vectors converge (point in similar directions), coherence is high. When scattered randomly, coherence is low. Users can  see  phase alignment forming before CI numerically confirms it.
 Phase-Time Heat Map : A 2D matrix with rows = oscillators and columns = time bins. Each cell is colored by the oscillator's phase at that time (using a gradient where color hue maps to angle). Horizontal color bands indicate sustained phase alignment over time. Vertical color bands show moments when all oscillators shared the same phase (ignition points). This provides historical pattern recognition.
 Entanglement Web Matrix : An N×N grid showing E(i,j) for all pairs. Cells are colored by entanglement strength—bright yellow/gold for high E, dark gray for low E. This reveals  which  oscillators are driving coherence and which are lagging. For example, if RSI and MACD show high E but Stochastic shows low E with everything, Stochastic is the outlier.
 Quantum Field Cloud : A background color overlay on the price chart. Color (green = bullish, red = bearish) is determined by dominant phase. Opacity is determined by CI—high CI creates dense, opaque cloud; low CI creates faint, nearly invisible cloud. This gives an atmospheric "feel" for regime strength without looking at numbers.
 Phase Spiral : A smoothed plot of dominant phase over recent history, displayed as a curve that wraps around price. When the spiral is tight and rotating steadily, the ensemble is in coherent rotation (trending). When the spiral is loose or erratic, coherence is breaking down.
 Dashboard : A table showing real-time metrics: CI (as percentage), dominant phase (in degrees with directional arrow), field strength (CI × average amplitude), entangled pairs count, phase-lock status (locked/unlocked), quantum state classification ("Ignition", "Coherent", "Collapse", "Chaos"), and collapse risk (recent CI change normalized to 0-100%).
Each component is independently toggleable, allowing users to customize their workspace. The orbit plot is the most essential—it provides intuitive, visual feedback on phase alignment that no numerical dashboard can match.
 Core Components and How They Work Together 
 1. Oscillator Normalization Engine 
The foundation is creating a common measurement scale. QRFM supports eight oscillators:
 RSI : Normalized from   to   using overbought/oversold levels (70, 30) as anchors
 MACD Histogram : Normalized by dividing by rolling standard deviation, then clamped to  
 Stochastic %K : Normalized from   using (80, 20) anchors
 CCI : Divided by 200 (typical extreme level), clamped to  
 Williams %R : Normalized from   using (-20, -80) anchors
 MFI : Normalized from   using (80, 20) anchors
 ROC : Divided by 10, clamped to  
 TSI : Divided by 50, clamped to  
Each oscillator can be individually enabled/disabled. Only active oscillators contribute to phase calculations. The normalization removes scale differences—a reading of +0.8 means "strongly bullish" regardless of whether it came from RSI or TSI.
 2. Analytic Signal Construction 
For each active oscillator at each bar, the system constructs the analytic signal:
 In-Phase (I) : The normalized oscillator value itself
 Quadrature (Q) : The bar-to-bar change in the normalized value (first derivative approximation)
This creates a 2D representation: (I, Q). The phase is extracted as:
φ = atan2(Q, I) × (180 / π)
This maps the oscillator to a point on the unit circle. An oscillator at the same value but rising (positive Q) will have a different phase than one that is falling (negative Q). This velocity-awareness is critical—it distinguishes between "at resistance and stalling" versus "at resistance and breaking through."
The amplitude is extracted as:
A = √(I² + Q²)
This represents the distance from origin in the (I, Q) plane. High amplitude means the oscillator is far from neutral (strong conviction). Low amplitude means it's near zero (weak/transitional state).
3. Coherence Calculation Pipeline
For each bar (or every Nth bar if phase sample rate > 1 for performance):
 Step 1 : Extract phase φₙ for each of the N active oscillators
 Step 2 : Compute complex exponentials: Zₙ = e^(i·φₙ·π/180) = cos(φₙ·π/180) + i·sin(φₙ·π/180)
 Step 3 : Sum the complex exponentials: R = Σ Zₙ = (Σ cos φₙ) + i·(Σ sin φₙ)
 Step 4 : Calculate magnitude: |R| = √ 
 Step 5 : Normalize by count: CI_raw = |R| / N
 Step 6 : Smooth the CI: CI = SMA(CI_raw, smoothing_window)
The smoothing step (default 2 bars) removes single-bar noise spikes while preserving structural coherence changes. Users can adjust this to control reactivity versus stability.
The dominant phase is calculated as:
φ_dom = atan2(Σ sin φₙ, Σ cos φₙ) × (180 / π)
This is the angle of the resultant vector R in the complex plane.
 4. Entanglement Matrix Construction 
For all unique pairs of oscillators (i, j) where i < j:
 Step 1 : Get phases φᵢ and φⱼ
 Step 2 : Compute phase difference: Δφ = φᵢ - φⱼ (in radians)
 Step 3 : Calculate entanglement: E(i,j) = |cos(Δφ)|
 Step 4 : Store in symmetric matrix: matrix  = matrix  = E(i,j)
The matrix is then scanned: count how many E(i,j) values exceed the user-defined threshold (default 0.7). This count is the  entangled pairs  metric.
For visualization, the matrix is rendered as an N×N table where cell brightness maps to E(i,j) intensity.
 5. Phase-Lock Detection 
 Step 1 : For all unique pairs (i, j), compute angular distance: Δφ = |φᵢ - φⱼ|
 Step 2 : Wrap angles: if Δφ > 180°, set Δφ = 360° - Δφ
 Step 3 : Find maximum: max_spread = max(Δφ) across all pairs
 Step 4 : Compare to tolerance: phase_locked = (max_spread < tolerance)
If phase_locked is true, all oscillators are within the specified angular cone (e.g., 35°). This is a boolean confirmation filter.
 6. Signal Generation Logic 
Signals are generated through multi-layer confirmation:
 Long Ignition Signal :
CI crosses above ignition threshold (e.g., 0.80)
 AND  dominant phase is in bullish range (-90° < φ_dom < +90°)
 AND  phase_locked = true
 AND  entangled_pairs >= minimum threshold (e.g., 4)
 Short Ignition Signal :
CI crosses above ignition threshold
 AND  dominant phase is in bearish range (φ_dom < -90° OR φ_dom > +90°)
 AND  phase_locked = true
 AND  entangled_pairs >= minimum threshold
 Collapse Signal :
CI at bar   minus CI at current bar > collapse threshold (e.g., 0.55)
 AND  CI at bar   was above 0.6 (must collapse from coherent state, not from already-low state)
These are strict conditions. A high CI alone does not generate a signal—dominant phase must align with direction, oscillators must be phase-locked, and sufficient pairwise entanglement must exist. This multi-factor gating dramatically reduces false signals compared to single-condition triggers.
 Calculation Methodology 
 Phase 1: Oscillator Computation and Normalization 
On each bar, the system calculates the raw values for all enabled oscillators using standard Pine Script functions:
RSI: ta.rsi(close, length)
MACD: ta.macd() returning histogram component
Stochastic: ta.stoch() smoothed with ta.sma()
CCI: ta.cci(close, length)
Williams %R: ta.wpr(length)
MFI: ta.mfi(hlc3, length)
ROC: ta.roc(close, length)
TSI: ta.tsi(close, short, long)
Each raw value is then passed through a normalization function:
normalize(value, overbought_level, oversold_level) = 2 × (value - oversold) / (overbought - oversold) - 1
This maps the oscillator's typical range to  , where -1 represents extreme bearish, 0 represents neutral, and +1 represents extreme bullish.
For oscillators without fixed ranges (MACD, ROC, TSI), statistical normalization is used: divide by a rolling standard deviation or fixed divisor, then clamp to  .
 Phase 2: Phasor Extraction 
For each normalized oscillator value val:
I = val (in-phase component)
Q = val - val  (quadrature component, first difference)
Phase calculation:
phi_rad = atan2(Q, I)
phi_deg = phi_rad × (180 / π)
Amplitude calculation:
A = √(I² + Q²)
These values are stored in arrays: osc_phases  and osc_amps  for each oscillator n.
 Phase 3: Complex Summation and Coherence 
Initialize accumulators:
sum_cos = 0
sum_sin = 0
For each oscillator n = 0 to N-1:
phi_rad = osc_phases  × (π / 180)
sum_cos += cos(phi_rad)
sum_sin += sin(phi_rad)
Resultant magnitude:
resultant_mag = √(sum_cos² + sum_sin²)
Coherence Index (raw):
CI_raw = resultant_mag / N
Smoothed CI:
CI = SMA(CI_raw, smoothing_window)
Dominant phase:
phi_dom_rad = atan2(sum_sin, sum_cos)
phi_dom_deg = phi_dom_rad × (180 / π)
Phase 4: Entanglement Matrix Population
For i = 0 to N-2:
For j = i+1 to N-1:
phi_i = osc_phases  × (π / 180)
phi_j = osc_phases  × (π / 180)
delta_phi = phi_i - phi_j
E = |cos(delta_phi)|
matrix_index_ij = i × N + j
matrix_index_ji = j × N + i
entangle_matrix  = E
entangle_matrix  = E
if E >= threshold:
  entangled_pairs += 1
The matrix uses flat array storage with index mapping: index(row, col) = row × N + col.
 Phase 5: Phase-Lock Check 
max_spread = 0
For i = 0 to N-2:
For j = i+1 to N-1:
delta = |osc_phases  - osc_phases |
if delta > 180:
delta = 360 - delta
max_spread = max(max_spread, delta)
phase_locked = (max_spread < tolerance)
 Phase 6: Signal Evaluation 
 Ignition Long :
ignition_long = (CI crosses above threshold) AND
(phi_dom > -90 AND phi_dom < 90) AND
phase_locked AND
(entangled_pairs >= minimum)
 Ignition Short :
ignition_short = (CI crosses above threshold) AND
(phi_dom < -90 OR phi_dom > 90) AND
phase_locked AND
(entangled_pairs >= minimum)
 Collapse :
CI_prev = CI 
collapse = (CI_prev - CI > collapse_threshold) AND (CI_prev > 0.6)
All signals are evaluated on bar close. The crossover and crossunder functions ensure signals fire only once when conditions transition from false to true.
 Phase 7: Field Strength and Visualization Metrics 
 Average Amplitude :
avg_amp = (Σ osc_amps ) / N
 Field Strength :
field_strength = CI × avg_amp
 Collapse Risk  (for dashboard):
collapse_risk = (CI  - CI) / max(CI , 0.1)
collapse_risk_pct = clamp(collapse_risk × 100, 0, 100)
 Quantum State Classification :
if (CI > threshold AND phase_locked):
state = "Ignition"
else if (CI > 0.6):
state = "Coherent"
else if (collapse):
state = "Collapse"
else:
state = "Chaos"
 Phase 8: Visual Rendering 
 Orbit Plot : For each oscillator, convert polar (phase, amplitude) to Cartesian (x, y) for grid placement:
radius = amplitude × grid_center × 0.8
x = radius × cos(phase × π/180)
y = radius × sin(phase × π/180)
col = center + x (mapped to grid coordinates)
row = center - y
 Heat Map : For each oscillator row and time column, retrieve historical phase value at lookback = (columns - col) × sample_rate, then map phase to color using a hue gradient.
 Entanglement Web : Render matrix  as table cell with background color opacity = E(i,j).
 Field Cloud : Background color = (phi_dom > -90 AND phi_dom < 90) ? green : red, with opacity = mix(min_opacity, max_opacity, CI).
All visual components render only on the last bar (barstate.islast) to minimize computational overhead.
 How to Use This Indicator 
 Step 1 : Apply QRFM to your chart. It works on all timeframes and asset classes, though 15-minute to 4-hour timeframes provide the best balance of responsiveness and noise reduction.
 Step 2 : Enable the dashboard (default: top right) and the circular orbit plot (default: middle left). These are your primary visual feedback tools.
 Step 3 : Optionally enable the heat map, entanglement web, and field cloud based on your preference. New users may find all visuals overwhelming; start with dashboard + orbit plot.
 Step 4 : Observe for 50-100 bars to let the indicator establish baseline coherence patterns. Markets have different "normal" CI ranges—some instruments naturally run higher or lower coherence.
 Understanding the Circular Orbit Plot 
The orbit plot is a polar grid showing oscillator vectors in real-time:
 Center point : Neutral (zero phase and amplitude)
 Each vector : A line from center to a point on the grid
 Vector angle : The oscillator's phase (0° = right/east, 90° = up/north, 180° = left/west, -90° = down/south)
 Vector length : The oscillator's amplitude (short = weak signal, long = strong signal)
 Vector label : First letter of oscillator name (R = RSI, M = MACD, etc.)
 What to watch :
 Convergence : When all vectors cluster in one quadrant or sector, CI is rising and coherence is forming. This is your pre-signal warning.
 Scatter : When vectors point in random directions (360° spread), CI is low and the market is in a non-trending or transitional regime.
 Rotation : When the cluster rotates smoothly around the circle, the ensemble is in coherent oscillation—typically seen during steady trends.
 Sudden flips : When the cluster rapidly jumps from one side to the opposite (e.g., +90° to -90°), a phase reversal has occurred—often coinciding with trend reversals.
Example: If you see RSI, MACD, and Stochastic all pointing toward 45° (northeast) with long vectors, while CCI, TSI, and ROC point toward 40-50° as well, coherence is high and dominant phase is bullish. Expect an ignition signal if CI crosses threshold.
 Reading Dashboard Metrics 
The dashboard provides numerical confirmation of what the orbit plot shows visually:
 CI : Displays as 0-100%. Above 70% = high coherence (strong regime), 40-70% = moderate, below 40% = low (poor conditions for trend entries).
 Dom Phase : Angle in degrees with directional arrow. ⬆ = bullish bias, ⬇ = bearish bias, ⬌ = neutral.
 Field Strength : CI weighted by amplitude. High values (> 0.6) indicate not just alignment but  strong  alignment.
 Entangled Pairs : Count of oscillator pairs with E > threshold. Higher = more confirmation. If minimum is set to 4, you need at least 4 pairs entangled for signals.
 Phase Lock : 🔒 YES (all oscillators within tolerance) or 🔓 NO (spread too wide).
 State : Real-time classification:
🚀 IGNITION: CI just crossed threshold with phase-lock
⚡ COHERENT: CI is high and stable
💥 COLLAPSE: CI has dropped sharply
🌀 CHAOS: Low CI, scattered phases
 Collapse Risk : 0-100% scale based on recent CI change. Above 50% warns of imminent breakdown.
Interpreting Signals
 Long Ignition (Blue Triangle Below Price) :
Occurs when CI crosses above threshold (e.g., 0.80)
Dominant phase is in bullish range (-90° to +90°)
All oscillators are phase-locked (within tolerance)
Minimum entangled pairs requirement met
 Interpretation : The oscillator ensemble has transitioned from disorder to coherent bullish alignment. This is a high-probability long entry point. The multi-layer confirmation (CI + phase direction + lock + entanglement) ensures this is not a single-oscillator whipsaw.
 Short Ignition (Red Triangle Above Price) :
Same conditions as long, but dominant phase is in bearish range (< -90° or > +90°)
 Interpretation : Coherent bearish alignment has formed. High-probability short entry.
 Collapse (Circles Above and Below Price) :
CI has dropped by more than the collapse threshold (e.g., 0.55) over a 5-bar window
CI was previously above 0.6 (collapsing from coherent state)
 Interpretation : Phase coherence has broken down. If you are in a position, this is an exit warning. If looking to enter, stand aside—regime is transitioning.
 Phase-Time Heat Map Patterns 
Enable the heat map and position it at bottom right. The rows represent individual oscillators, columns represent time bins (most recent on left).
 Pattern: Horizontal Color Bands 
If a row (e.g., RSI) shows consistent color across columns (say, green for several bins), that oscillator has maintained stable phase over time. If  all  rows show horizontal bands of similar color, the entire ensemble has been phase-locked for an extended period—this is a strong trending regime.
 Pattern: Vertical Color Bands 
If a column (single time bin) shows all cells with the same or very similar color, that moment in time had high coherence. These vertical bands often align with ignition signals or major price pivots.
 Pattern: Rainbow Chaos 
If cells are random colors (red, green, yellow mixed with no pattern), coherence is low. The ensemble is scattered. Avoid trading during these periods unless you have external confirmation.
 Pattern: Color Transition 
If you see a row transition from red to green (or vice versa) sharply, that oscillator has phase-flipped. If multiple rows do this simultaneously, a regime change is underway.
 Entanglement Web Analysis 
Enable the web matrix (default: opposite corner from heat map). It shows an N×N grid where N = number of active oscillators.
 Bright Yellow/Gold Cells : High pairwise entanglement. For example, if the RSI-MACD cell is bright gold, those two oscillators are moving in phase. If the RSI-Stochastic cell is bright, they are entangled as well.
 Dark Gray Cells : Low entanglement. Oscillators are decorrelated or in quadrature.
 Diagonal : Always marked with "—" because an oscillator is always perfectly entangled with itself.
 How to use :
Scan for clustering: If most cells are bright, coherence is high across the board. If only a few cells are bright, coherence is driven by a subset (e.g., RSI and MACD are aligned, but nothing else is—weak signal).
Identify laggards: If one row/column is entirely dark, that oscillator is the outlier. You may choose to disable it or monitor for when it joins the group (late confirmation).
Watch for web formation: During low-coherence periods, the matrix is mostly dark. As coherence builds, cells begin lighting up. A sudden "web" of connections forming visually precedes ignition signals.
Trading Workflow
 Step 1: Monitor Coherence Level 
Check the dashboard CI metric or observe the orbit plot. If CI is below 40% and vectors are scattered, conditions are poor for trend entries. Wait.
 Step 2: Detect Coherence Building 
When CI begins rising (say, from 30% to 50-60%) and you notice vectors on the orbit plot starting to cluster, coherence is forming. This is your alert phase—do not enter yet, but prepare.
 Step 3: Confirm Phase Direction 
Check the dominant phase angle and the orbit plot quadrant where clustering is occurring:
Clustering in right half (0° to ±90°): Bullish bias forming
Clustering in left half (±90° to 180°): Bearish bias forming
Verify the dashboard shows the corresponding directional arrow (⬆ or ⬇).
 Step 4: Wait for Signal Confirmation 
Do  not  enter based on rising CI alone. Wait for the full ignition signal:
CI crosses above threshold
Phase-lock indicator shows 🔒 YES
Entangled pairs count >= minimum
Directional triangle appears on chart
This ensures all layers have aligned.
 Step 5: Execute Entry 
 Long : Blue triangle below price appears → enter long
 Short : Red triangle above price appears → enter short
 Step 6: Position Management 
 Initial Stop : Place stop loss based on your risk management rules (e.g., recent swing low/high, ATR-based buffer).
 Monitoring :
Watch the field cloud density. If it remains opaque and colored in your direction, the regime is intact.
Check dashboard collapse risk. If it rises above 50%, prepare for exit.
Monitor the orbit plot. If vectors begin scattering or the cluster flips to the opposite side, coherence is breaking.
 Exit Triggers :
Collapse signal fires (circles appear)
Dominant phase flips to opposite half-plane
CI drops below 40% (coherence lost)
Price hits your profit target or trailing stop
 Step 7: Post-Exit Analysis 
After exiting, observe whether a new ignition forms in the opposite direction (reversal) or if CI remains low (transition to range). Use this to decide whether to re-enter, reverse, or stand aside.
 Best Practices 
 Use Price Structure as Context 
QRFM identifies  when  coherence forms but does not specify  where  price will go. Combine ignition signals with support/resistance levels, trendlines, or chart patterns. For example:
Long ignition near a major support level after a pullback: high-probability bounce
Long ignition in the middle of a range with no structure: lower probability
 Multi-Timeframe Confirmation 
 Open QRFM on two timeframes simultaneously: 
Higher timeframe (e.g., 4-hour): Use CI level to determine regime bias. If 4H CI is above 60% and dominant phase is bullish, the market is in a bullish regime.
Lower timeframe (e.g., 15-minute): Execute entries on ignition signals that align with the higher timeframe bias.
This prevents counter-trend trades and increases win rate.
 Distinguish Between Regime Types 
 High CI, stable dominant phase (State: Coherent) : Trending market. Ignitions are continuation signals; collapses are profit-taking or reversal warnings.
 Low CI, erratic dominant phase (State: Chaos) : Ranging or choppy market. Avoid ignition signals or reduce position size. Wait for coherence to establish.
 Moderate CI with frequent collapses : Whipsaw environment. Use wider stops or stand aside.
 Adjust Parameters to Instrument and Timeframe 
 Crypto/Forex (high volatility) : Lower ignition threshold (0.65-0.75), lower CI smoothing (2-3), shorter oscillator lengths (7-10).
 Stocks/Indices (moderate volatility) : Standard settings (threshold 0.75-0.85, smoothing 5-7, oscillator lengths 14).
 Lower timeframes (5-15 min) : Reduce phase sample rate to 1-2 for responsiveness.
 Higher timeframes (daily+) : Increase CI smoothing and oscillator lengths for noise reduction.
 Use Entanglement Count as Conviction Filter 
 The minimum entangled pairs setting controls signal strictness: 
 Low (1-2) : More signals, lower quality (acceptable if you have other confirmation)
 Medium (3-5) : Balanced (recommended for most traders)
 High (6+) : Very strict, fewer signals, highest quality
Adjust based on your trade frequency preference and risk tolerance.
 Monitor Oscillator Contribution 
Use the entanglement web to see which oscillators are driving coherence. If certain oscillators are consistently dark (low E with all others), they may be adding noise. Consider disabling them. For example:
On low-volume instruments, MFI may be unreliable → disable MFI
On strongly trending instruments, mean-reversion oscillators (Stochastic, RSI) may lag → reduce weight or disable
 Respect the Collapse Signal 
Collapse events are early warnings. Price may continue in the original direction for several bars after collapse fires, but the underlying regime has weakened. Best practice:
If in profit: Take partial or full profit on collapse
If at breakeven/small loss: Exit immediately
If collapse occurs shortly after entry: Likely a false ignition; exit to avoid drawdown
Collapses do not guarantee immediate reversals—they signal  uncertainty .
 Combine with Volume Analysis 
If your instrument has reliable volume:
Ignitions with expanding volume: Higher conviction
Ignitions with declining volume: Weaker, possibly false
Collapses with volume spikes: Strong reversal signal
Collapses with low volume: May just be consolidation
Volume is not built into QRFM (except via MFI), so add it as external confirmation.
 Observe the Phase Spiral 
The spiral provides a quick visual cue for rotation consistency:
 Tight, smooth spiral : Ensemble is rotating coherently (trending)
 Loose, erratic spiral : Phase is jumping around (ranging or transitional)
If the spiral tightens, coherence is building. If it loosens, coherence is dissolving.
 Do Not Overtrade Low-Coherence Periods 
When CI is persistently below 40% and the state is "Chaos," the market is not in a regime where phase analysis is predictive. During these times:
Reduce position size
Widen stops
Wait for coherence to return
QRFM's strength is regime detection. If there is no regime, the tool correctly signals "stand aside."
 Use Alerts Strategically 
 Set alerts for: 
Long Ignition
Short Ignition
Collapse
Phase Lock (optional)
Configure alerts to "Once per bar close" to avoid intrabar repainting and noise. When an alert fires, manually verify:
Orbit plot shows clustering
Dashboard confirms all conditions
Price structure supports the trade
Do not blindly trade alerts—use them as prompts for analysis.
Ideal Market Conditions
Best Performance
 Instruments :
Liquid, actively traded markets (major forex pairs, large-cap stocks, major indices, top-tier crypto)
Instruments with clear cyclical oscillator behavior (avoid extremely illiquid or manipulated markets)
 Timeframes :
15-minute to 4-hour: Optimal balance of noise reduction and responsiveness
1-hour to daily: Slower, higher-conviction signals; good for swing trading
5-minute: Acceptable for scalping if parameters are tightened and you accept more noise
 Market Regimes :
Trending markets with periodic retracements (where oscillators cycle through phases predictably)
Breakout environments (coherence forms before/during breakout; collapse occurs at exhaustion)
Rotational markets with clear swings (oscillators phase-lock at turning points)
 Volatility :
Moderate to high volatility (oscillators have room to move through their ranges)
Stable volatility regimes (sudden VIX spikes or flash crashes may create false collapses)
Challenging Conditions
 Instruments :
Very low liquidity markets (erratic price action creates unstable oscillator phases)
Heavily news-driven instruments (fundamentals may override technical coherence)
Highly correlated instruments (oscillators may all reflect the same underlying factor, reducing independence)
 Market Regimes :
Deep, prolonged consolidation (oscillators remain near neutral, CI is chronically low, few signals fire)
Extreme chop with no directional bias (oscillators whipsaw, coherence never establishes)
Gap-driven markets (large overnight gaps create phase discontinuities)
 Timeframes :
Sub-5-minute charts: Noise dominates; oscillators flip rapidly; coherence is fleeting and unreliable
Weekly/monthly: Oscillators move extremely slowly; signals are rare; better suited for long-term positioning than active trading
 Special Cases :
During major economic releases or earnings: Oscillators may lag price or become decorrelated as fundamentals overwhelm technicals. Reduce position size or stand aside.
In extremely low-volatility environments (e.g., holiday periods): Oscillators compress to neutral, CI may be artificially high due to lack of movement, but signals lack follow-through.
Adaptive Behavior
QRFM is designed to self-adapt to poor conditions:
When coherence is genuinely absent, CI remains low and signals do not fire
When only a subset of oscillators aligns, entangled pairs count stays below threshold and signals are filtered out
When phase-lock cannot be achieved (oscillators too scattered), the lock filter prevents signals
This means the indicator will naturally produce fewer (or zero) signals during unfavorable conditions, rather than generating false signals. This is a  feature —it keeps you out of low-probability trades.
Parameter Optimization by Trading Style
Scalping (5-15 Minute Charts)
 Goal : Maximum responsiveness, accept higher noise
 Oscillator Lengths :
RSI: 7-10
MACD: 8/17/6
Stochastic: 8-10, smooth 2-3
CCI: 14-16
Others: 8-12
 Coherence Settings :
CI Smoothing Window: 2-3 bars (fast reaction)
Phase Sample Rate: 1 (every bar)
Ignition Threshold: 0.65-0.75 (lower for more signals)
Collapse Threshold: 0.40-0.50 (earlier exit warnings)
 Confirmation :
Phase Lock Tolerance: 40-50° (looser, easier to achieve)
Min Entangled Pairs: 2-3 (fewer oscillators required)
 Visuals :
Orbit Plot + Dashboard only (reduce screen clutter for fast decisions)
Disable heavy visuals (heat map, web) for performance
 Alerts :
Enable all ignition and collapse alerts
Set to "Once per bar close"
Day Trading (15-Minute to 1-Hour Charts)
 Goal : Balance between responsiveness and reliability
 Oscillator Lengths :
RSI: 14 (standard)
MACD: 12/26/9 (standard)
Stochastic: 14, smooth 3
CCI: 20
Others: 10-14
 Coherence Settings :
CI Smoothing Window: 3-5 bars (balanced)
Phase Sample Rate: 2-3
Ignition Threshold: 0.75-0.85 (moderate selectivity)
Collapse Threshold: 0.50-0.55 (balanced exit timing)
 Confirmation :
Phase Lock Tolerance: 30-40° (moderate tightness)
Min Entangled Pairs: 4-5 (reasonable confirmation)
 Visuals :
Orbit Plot + Dashboard + Heat Map or Web (choose one)
Field Cloud for regime backdrop
 Alerts :
Ignition and collapse alerts
Optional phase-lock alert for advance warning
Swing Trading (4-Hour to Daily Charts)
 Goal : High-conviction signals, minimal noise, fewer trades
 Oscillator Lengths :
RSI: 14-21
MACD: 12/26/9 or 19/39/9 (longer variant)
Stochastic: 14-21, smooth 3-5
CCI: 20-30
Others: 14-20
 Coherence Settings :
CI Smoothing Window: 5-10 bars (very smooth)
Phase Sample Rate: 3-5
Ignition Threshold: 0.80-0.90 (high bar for entry)
Collapse Threshold: 0.55-0.65 (only significant breakdowns)
 Confirmation :
Phase Lock Tolerance: 20-30° (tight clustering required)
Min Entangled Pairs: 5-7 (strong confirmation)
 Visuals :
All modules enabled (you have time to analyze)
Heat Map for multi-bar pattern recognition
Web for deep confirmation analysis
 Alerts :
Ignition and collapse
Review manually before entering (no rush)
Position/Long-Term Trading (Daily to Weekly Charts)
 Goal : Rare, very high-conviction regime shifts
 Oscillator Lengths :
RSI: 21-30
MACD: 19/39/9 or 26/52/12
Stochastic: 21, smooth 5
CCI: 30-50
Others: 20-30
 Coherence Settings :
CI Smoothing Window: 10-14 bars
Phase Sample Rate: 5 (every 5th bar to reduce computation)
Ignition Threshold: 0.85-0.95 (only extreme alignment)
Collapse Threshold: 0.60-0.70 (major regime breaks only)
 Confirmation :
Phase Lock Tolerance: 15-25° (very tight)
Min Entangled Pairs: 6+ (broad consensus required)
 Visuals :
Dashboard + Orbit Plot for quick checks
Heat Map to study historical coherence patterns
Web to verify deep entanglement
 Alerts :
Ignition only (collapses are less critical on long timeframes)
Manual review with fundamental analysis overlay
Performance Optimization (Low-End Systems)
If you experience lag or slow rendering:
 Reduce Visual Load :
Orbit Grid Size: 8-10 (instead of 12+)
Heat Map Time Bins: 5-8 (instead of 10+)
Disable Web Matrix entirely if not needed
Disable Field Cloud and Phase Spiral
 Reduce Calculation Frequency :
Phase Sample Rate: 5-10 (calculate every 5-10 bars)
Max History Depth: 100-200 (instead of 500+)
 Disable Unused Oscillators :
If you only want RSI, MACD, and Stochastic, disable the other five. Fewer oscillators = smaller matrices, faster loops.
 Simplify Dashboard :
Choose "Small" dashboard size
Reduce number of metrics displayed
These settings will not significantly degrade signal quality (signals are based on bar-close calculations, which remain accurate), but will improve chart responsiveness.
Important Disclaimers
This indicator is a technical analysis tool designed to identify periods of phase coherence across an ensemble of oscillators. It is  not  a standalone trading system and does not guarantee profitable trades. The Coherence Index, dominant phase, and entanglement metrics are mathematical calculations applied to historical price data—they measure past oscillator behavior and do not predict future price movements with certainty.
 No Predictive Guarantee : High coherence indicates that oscillators are currently aligned, which historically has coincided with trending or directional price movement. However, past alignment does not guarantee future trends. Markets can remain coherent while prices consolidate, or lose coherence suddenly due to news, liquidity changes, or other factors not captured by oscillator mathematics.
 Signal Confirmation is Probabilistic : The multi-layer confirmation system (CI threshold + dominant phase + phase-lock + entanglement) is designed to filter out low-probability setups. This increases the proportion of valid signals relative to false signals, but does not eliminate false signals entirely. Users should combine QRFM with additional analysis—support and resistance levels, volume confirmation, multi-timeframe alignment, and fundamental context—before executing trades.
 Collapse Signals are Warnings, Not Reversals : A coherence collapse indicates that the oscillator ensemble has lost alignment. This often precedes trend exhaustion or reversals, but can also occur during healthy pullbacks or consolidations. Price may continue in the original direction after a collapse. Use collapses as risk management cues (tighten stops, take partial profits) rather than automatic reversal entries.
 Market Regime Dependency : QRFM performs best in markets where oscillators exhibit cyclical, mean-reverting behavior and where trends are punctuated by retracements. In markets dominated by fundamental shocks, gap openings, or extreme low-liquidity conditions, oscillator coherence may be less reliable. During such periods, reduce position size or stand aside.
 Risk Management is Essential : All trading involves risk of loss. Use appropriate stop losses, position sizing, and risk-per-trade limits. The indicator does not specify stop loss or take profit levels—these must be determined by the user based on their risk tolerance and account size. Never risk more than you can afford to lose.
 Parameter Sensitivity : The indicator's behavior changes with input parameters. Aggressive settings (low thresholds, loose tolerances) produce more signals with lower average quality. Conservative settings (high thresholds, tight tolerances) produce fewer signals with higher average quality. Users should backtest and forward-test parameter sets on their specific instruments and timeframes before committing real capital.
 No Repainting by Design : All signal conditions are evaluated on bar close using bar-close values. However, the visual components (orbit plot, heat map, dashboard) update in real-time during bar formation for monitoring purposes. For trade execution, rely on the confirmed signals (triangles and circles) that appear only after the bar closes.
 Computational Load : QRFM performs extensive calculations, including nested loops for entanglement matrices and real-time table rendering. On lower-powered devices or when running multiple indicators simultaneously, users may experience lag. Use the performance optimization settings (reduce visual complexity, increase phase sample rate, disable unused oscillators) to improve responsiveness.
This system is most effective when used as  one component  within a broader trading methodology that includes sound risk management, multi-timeframe analysis, market context awareness, and disciplined execution. It is a tool for regime detection and signal confirmation, not a substitute for comprehensive trade planning.
Technical Notes
 Calculation Timing : All signal logic (ignition, collapse) is evaluated using bar-close values. The barstate.isconfirmed or implicit bar-close behavior ensures signals do not repaint. Visual components (tables, plots) render on every tick for real-time feedback but do not affect signal generation.
 Phase Wrapping : Phase angles are calculated in the range -180° to +180° using atan2. Angular distance calculations account for wrapping (e.g., the distance between +170° and -170° is 20°, not 340°). This ensures phase-lock detection works correctly across the ±180° boundary.
 Array Management : The indicator uses fixed-size arrays for oscillator phases, amplitudes, and the entanglement matrix. The maximum number of oscillators is 8. If fewer oscillators are enabled, array sizes shrink accordingly (only active oscillators are processed).
 Matrix Indexing : The entanglement matrix is stored as a flat array with size N×N, where N is the number of active oscillators. Index mapping: index(row, col) = row × N + col. Symmetric pairs (i,j) and (j,i) are stored identically.
 Normalization Stability : Oscillators are normalized to   using fixed reference levels (e.g., RSI overbought/oversold at 70/30). For unbounded oscillators (MACD, ROC, TSI), statistical normalization (division by rolling standard deviation) is used, with clamping to prevent extreme outliers from distorting phase calculations.
 Smoothing and Lag : The CI smoothing window (SMA) introduces lag proportional to the window size. This is intentional—it filters out single-bar noise spikes in coherence. Users requiring faster reaction can reduce the smoothing window to 1-2 bars, at the cost of increased sensitivity to noise.
 Complex Number Representation : Pine Script does not have native complex number types. Complex arithmetic is implemented using separate real and imaginary accumulators (sum_cos, sum_sin) and manual calculation of magnitude (sqrt(real² + imag²)) and argument (atan2(imag, real)).
 Lookback Limits : The indicator respects Pine Script's maximum lookback constraints. Historical phase and amplitude values are accessed using the   operator, with lookback limited to the chart's available bar history (max_bars_back=5000 declared).
 Visual Rendering Performance : Tables (orbit plot, heat map, web, dashboard) are conditionally deleted and recreated on each update using table.delete() and table.new(). This prevents memory leaks but incurs redraw overhead. Rendering is restricted to barstate.islast (last bar) to minimize computational load—historical bars do not render visuals.
 Alert Condition Triggers : alertcondition() functions evaluate on bar close when their boolean conditions transition from false to true. Alerts do not fire repeatedly while a condition remains true (e.g., CI stays above threshold for 10 bars fires only once on the initial cross).
 Color Gradient Functions : The phaseColor() function maps phase angles to RGB hues using sine waves offset by 120° (red, green, blue channels). This creates a continuous spectrum where -180° to +180° spans the full color wheel. The amplitudeColor() function maps amplitude to grayscale intensity. The coherenceColor() function uses cos(phase) to map contribution to CI (positive = green, negative = red).
 No External Data Requests : QRFM operates entirely on the chart's symbol and timeframe. It does not use request.security() or access external data sources. All calculations are self-contained, avoiding lookahead bias from higher-timeframe requests.
 Deterministic Behavior : Given identical input parameters and price data, QRFM produces identical outputs. There are no random elements, probabilistic sampling, or time-of-day dependencies.
— Dskyz, Engineering precision. Trading coherence.
Trend Duration Forecast [ChartPrime]⯁ OVERVIEW   
The  Trend Duration Forecast   indicator is designed to estimate the probable lifespan of a bullish or bearish trend. Using a  Hull Moving Average (HMA)  to detect directional shifts, it tracks the duration of each historical trend and calculates an average to forecast how long the current trend is statistically likely to continue. This allows traders to visualize both real-time trend strength and potential exhaustion zones with exceptional clarity.
 ⯁ KEY FEATURES   
   
   Dynamic Trend Detection:  Utilizes the Hull Moving Average to identify when price transitions into a new uptrend or downtrend.  
  
   Trend Duration Counting:  Measures the number of bars in each completed bullish and bearish phase to understand trend persistence.  
  
   Forecast Projection:  Automatically projects an estimated trend continuation line based on the average length of recent trends.  
  
   Real-Time Updates:  Continuously updates the “Real Length” label as the trend develops.
  
   Historical Data Table:  Displays previous trend durations for both bullish and bearish cycles, along with their averages.  
  
   Adaptive Sampling:  Uses a customizable sample size to smooth out volatility in the forecast and provide statistically meaningful projections.  
   Color-Based Clarity:  Highlights uptrends in green and downtrends in orange for instant visual interpretation.    
 
 ⯁ USAGE   
   
  Use the  Trend Detection Sensitivity  setting to control how fast or slow the indicator reacts to trend changes — lower values increase responsiveness, while higher values smooth out noise.  
  
  Compare the  Real Length  of the ongoing trend with the  Probable Length  forecast to estimate whether the move is nearing exhaustion.  
  
  Observe the historical duration table to understand the average lifespan of trends in the current market structure.  
  
  Use the color-coded HMA line and projection arrows to identify when momentum strength is fading and prepare for possible reversals.  
  Ideal for swing or trend-following strategies where trend longevity is crucial to managing entries and exits effectively.  
 
 ⯁ CONCLUSION   
The  Trend Duration Forecast   gives traders a quantitative edge by combining real-time trend tracking with statistical forecasting. It helps identify not only when a new trend begins, but also how long it’s likely to persist based on past market behavior. This indicator enhances timing precision for both entries and exits, supporting smarter trend-following decisions with clear, data-driven insights.
Cyberbikes Adjustable 4x EMA + 4x SMAProbably the best EMA + SMA because you can choose the lenght of 8 different EMA and SMA.
By standard 9,21,80,200 EMA and SMA. Great for tradingview free users, many EMA and SMA in one indicator!
ارتداد من القاع فلتر ارتداد من القاع مع ملاحظة انه يعمل كتنبيه في القائمة 
Bottom bounce filter, note that it works as an alert in the menu
Swing High/Low (Adaptive)Swing High/Low (Adaptive) 
 Overview 
The Indicator is a pivot point detection tool that identifies swing highs and lows with invalidation tracking. The key differentiator of this indicator is its  adaptive invalidation system . Most pivot indicators simply mark every detected pivot without considering whether subsequent price action has made earlier pivots less relevant.
 How It Works 
The indicator uses Pine Script's native  ta.pivotlow()  and  ta.pivothigh()  functions combined with custom logic to detect swing points. The adaptive algorithm evaluates each potential pivot against the following criteria:
 For Low Pivots: 
 
  Confirms a new low pivot when it's the next expected pivot type in the swing sequence
  If consecutive lows occur, only accepts a new low if it's lower than the previous low
  Marks the previous low as invalidated when a stronger low is detected
 
 For High Pivots: 
 
  Confirms a new high pivot when it's the next expected pivot type in the swing sequence
  If consecutive highs occur, only accepts a new high if it's higher than the previous high
  Marks the previous high as invalidated when a stronger high is detected
 
This approach ensures that the indicator maintains clean swing structure and automatically adjusts when price action creates stronger pivots, providing a more realistic view of support and resistance levels.
 Settings 
 Pivot Settings: 
 
   Left Bars : Number of bars to the left required for pivot confirmation (default: 5)
   Right Bars : Number of bars to the right required for pivot confirmation (default: 5)
 
 Pivot Display Settings: 
 
  Toggle visibility for low and high pivots independently
  Customizable colors for valid pivot markers
  Low pivots marked with upward triangle (▲)
  High pivots marked with downward triangle (▼)
 
 Invalid Pivot Settings: 
 
  Optional display of invalidated pivots
  Separate color customization for invalid low and high pivots
  Helps visualize where market structure expectations changed
 
 ZigZag Settings: 
 
  Toggle ZigZag line display on/off
  Separate colors for upward and downward price swings
  Adjustable line width
 
 Use Cases 
 1. Market Structure Analysis 
Identify key swing points to understand the current market structure and trend direction. The adaptive invalidation feature ensures you're always looking at the most relevant pivots.
 2. Support and Resistance Identification 
Use confirmed swing highs and lows as potential support and resistance levels for entry and exit planning.
 3. Trend Confirmation 
The ZigZag visualization helps confirm trends by showing the sequence of higher highs and higher lows (uptrend) or lower highs and lower lows (downtrend).
 Disclaimer 
This indicator is designed as a technical analysis tool and should be used in conjunction with other forms of analysis and proper risk management. Past performance does not guarantee future results, and traders should thoroughly test any strategy before implementing it with real capital.
Da MARk on the WALL 2.0Well if you came looking for tom you found a group with a a lot of respect for the systems . That being said come join in some banter plus a few more private scripts ,   Trade safe dont get rugged . 
DA Mark on the wall Well it seems we ran the ball up one more time. i mean Percy is a train , but this thing is insane, Also if you like banter come join the crew discord.gg GREAT channel also free chat 
CHN-Super AnalizAutomatically determines support and resistance levels. Performs trend analysis. Determines stop level. Gives buy and sell signals.
HEK Dynamic Price Channel StrategyHEK Dynamic Price Channel Strategy
Concept
The HEK Dynamic Price Channel provides a channel structure that expands and contracts according to price momentum and time-based equilibrium.
Unlike fixed-band systems, it evaluates the interaction between price and its balance line through an adaptive channel width that dynamically adjusts to changing market conditions.
How It Works
When the price reacts to the midline, the channel bands automatically reposition themselves.
Touching the upper band indicates a strengthening trend, while touching the lower band signals weakening momentum.
This adaptive mechanism helps filter out false signals during sudden directional changes, enhancing overall signal quality.
Advantages
✅ Maintains trend continuity while avoiding overtrading.
✅ Automatically adapts to changing volatility conditions.
✅ Detects early signals of short- and mid-term trend reversals.
Applications
Directional confirmation in spot and futures markets.
A supporting tool in channel breakout strategies.
Identifying price consolidation and equilibrium zones.
Note
This strategy is intended for educational and research purposes only.
It should not be considered financial advice. Always consult a professional financial advisor before making investment decisions.
© HEK — Adaptive Channel Approach on Dynamic Market Structures






















