Bitcoin Expectile Model [LuxAlgo]The Bitcoin Expectile Model is a novel approach to forecasting Bitcoin, inspired by the popular Bitcoin Quantile Model by PlanC. By fitting multiple Expectile regressions to the price, we highlight zones of corrections or accumulations throughout the Bitcoin price evolution.
While we strongly recommend using this model with the Bitcoin All Time History Index INDEX:BTCUSD on the 3 days or weekly timeframe using a logarithmic scale, this model can be applied to any asset using the daily timeframe or superior.
Please note that here on TradingView, this model was solely designed to be used on the Bitcoin 1W chart, however, it can be experimented on other assets or timeframes if of interest.
🔶 USAGE
The Bitcoin Expectile Model can be applied similarly to models used for Bitcoin, highlighting lower areas of possible accumulation (support) and higher areas that allow for the anticipation of potential corrections (resistance).
By default, this model fits 7 individual Expectiles Log-Log Regressions to the price, each with their respective expectile ( tau ) values (here multiplied by 100 for the user's convenience). Higher tau values will return a fit closer to the higher highs made by the price of the asset, while lower ones will return fits closer to the lower prices observed over time.
Each zone is color-coded and has a specific interpretation. The green zone is a buy zone for long-term investing, purple is an anomaly zone for market bottoms that over-extend, while red is considered the distribution zone.
The fits can be extrapolated, helping to chart a course for the possible evolution of Bitcoin prices. Users can select the end of the forecast as a date using the "Forecast End" setting.
While the model is made for Bitcoin using a log scale, other assets showing a tendency to have a trend evolving in a single direction can be used. See the chart above on QQQ weekly using a linear scale as an example.
The Start Date can also allow fitting the model more locally, rather than over a large range of prices. This can be useful to identify potential shorter-term support/resistance areas.
🔶 DETAILS
🔹 On Quantile and Expectile Regressions
Quantile and Expectile regressions are similar; both return extremities that can be used to locate and predict prices where tops/bottoms could be more likely to occur.
The main difference lies in what we are trying to minimize, which, for Quantile regression, is commonly known as Quantile loss (or pinball loss), and for Expectile regression, simply Expectile loss.
You may refer to external material to go more in-depth about these loss functions; however, while they are similar and involve weighting specific prices more than others relative to our parameter tau, Quantile regression involves minimizing a weighted mean absolute error, while Expectile regression minimizes a weighted squared error.
The squared error here allows us to compute Expectile regression more easily compared to Quantile regression, using Iteratively reweighted least squares. For Quantile regression, a more elaborate method is needed.
In terms of comparison, Quantile regression is more robust, and easier to interpret, with quantiles being related to specific probabilities involving the underlying cumulative distribution function of the dataset; on the other expectiles are harder to interpret.
🔹 Trimming & Alterations
It is common to observe certain models ignoring very early Bitcoin price ranges. By default, we start our fit at the date 2010-07-16 to align with existing models.
By default, the model uses the number of time units (days, weeks...etc) elapsed since the beginning of history + 1 (to avoid NaN with log) as independent variable, however the Bitcoin All Time History Index INDEX:BTCUSD do not include the genesis block, as such users can correct for this by enabling the "Correct for Genesis block" setting, which will add the amount of missed bars from the Genesis block to the start oh the chart history.
🔶 SETTINGS
Start Date: Starting interval of the dataset used for the fit.
Correct for genesis block: When enabled, offset the X axis by the number of bars between the Bitcoin genesis block time and the chart starting time.
🔹 Expectiles
Toggle: Enable fit for the specified expectile. Disabling one fit will make the script faster to compute.
Expectile: Expectile (tau) value multiplied by 100 used for the fit. Higher values will produce fits that are located near price tops.
🔹 Forecast
Forecast End: Time at which the forecast stops.
🔹 Model Fit
Iterations Number: Number of iterations performed during the reweighted least squares process, with lower values leading to less accurate fits, while higher values will take more time to compute.
Cycles
nkh Multi-TF S/RThis script create a specific marking for each time frame, change pivot to adjust mark.
nkh.
KOBK Quantum Oscillator 383 SB## ⚡ **Core Technology**
- **Quantum Oscillator Integration**: Advanced momentum analysis using stealth algorithms
- **Flow Sync Filtering**: Intelligent trend confirmation technology
- **Zone Lock Protection**: Dynamic stop-loss placement based on market structure
- **Pulse Confirmation**: Entry timing optimization for maximum accuracy
## 📊 **Visual Components**
### **Main Chart Display**
- Clean directional signals (▲ Buy / ▼ Sell)
- Flow Sync Filter line for trend awareness
- Professional scanner information panel
- Real-time risk assessment data
### **Quantum Oscillator Panel**
- Dual-line momentum system with crossover signals
- Dynamic histogram showing market strength
- Color-coded momentum zones
- Equilibrium reference line
## 🎨 **Signal Intelligence**
- **Green Signals**: High-probability bullish entries
- **Red Signals**: High-probability bearish entries
- **Color-Coded Momentum**: Bright colors indicate strong moves, faded colors show weakening momentum
- **Background Highlighting**: Subtle visual confirmation of market conditions
## ⚙️ **Key Features**
- **Smart Risk Management**: Automatic stop-loss calculation based on market structure
- **Trend Confirmation**: Built-in filter prevents counter-trend trades
- **Scanner Compatibility**: Works with TradingView's screening tools
- **Real-Time Alerts**: Instant notifications for all signal types
- **Professional Interface**: Clean, uncluttered display designed for serious traders
## 🔒 **Important Usage Note**
**This system is designed as a COMPLETE trading solution and requires ALL components to function properly. The individual indicators are NOT intended for standalone use and will not provide accurate signals when used separately. Always use the complete KOBK ZENOSU TRAP system as intended.**
## 🎯 **Best For**
- Day traders seeking precise entry points
- Swing traders looking for trend confirmation
- Scanner users monitoring multiple markets
- Risk-conscious traders requiring built-in protection
Market Structure Shift (MSS)
Indicator ၏ အမည်: Market Structure Shift (MSS)
ရေးသားသူ: SaiYarYar
အကြောင်းအရာ: ဒီ indicator သည် မကြာသေးမီက ဖြစ်ပေါ်ခဲ့သော swing high နှင့် swing low များကို ဈေးနှုန်းက break လုပ်ခြင်းဖြင့် market structure shift များကို ရှာဖွေပေးပါသည်။
- မကြာသေးမီက swing high ကို အပေါ်သို့ break လုပ်လျှင် Bullish MSS (အကျဘက်သို့ ပြောင်းလဲခြင်း) ကို ဆိုလိုသည်။
- မကြာသေးမီက swing low ကို အောက်သို့ break လုပ်လျှင် Bearish MSS (အဆင်းဘက်သို့ ပြောင်းလဲခြင်း) ကို ဆိုလိုသည်။
Crypto Macro CockpitCrypto Macro Cockpit — Institutional Liquidity Regime Detection
🔍 Overview
This script introduces a modern macro framework for crypto market regime detection, leveraging newly added stablecoin market data on TradingView. It’s designed to guide traders through the evolving institutional era of crypto — where liquidity, not just price, is king.
🌐 Why This Matters
Historically, traditional proxies like M2 money supply or bond yields were referenced to infer macro liquidity shifts. But with the regulatory green light and institutional embrace of stablecoins, on-chain fiat liquidity is now directly observable.
Stablecoins = The new M2 for crypto.
This script utilizes real-time data from:
📊 CRYPTOCAP:STABLE.C (Total Stablecoin Market Cap)
📊 CRYPTOCAP:STABLE.C.D (Stablecoin Dominance)
to assess dry powder, risk appetite, and macro regime transitions.
📋 How to Read the Crypto Macro Cockpit
This dashboard updates every few bars and is organized into four actionable segments:
1️⃣ Macro Spreads
Metric --> Interpretation
Risk Flow --> Measures capital flow between stablecoins and total crypto market cap. → Green = risk deploying.
ETH vs BTC --> Shift in dominance between ETH and BTC → rotation gauge.
ETHBTC --> Price ratio movement → confirms leadership tilt.
ALTs (TOTAL3ES) --> Momentum in altcoin market, excluding BTC/ETH/stables → key for alt season timing.
2️⃣ Liquidity & Risk Appetite
Metric --> Interpretation
Liquidity --> Directional change in stablecoin cap → more stables = more dry powder.
Risk Appetite --> Inverse of stablecoin dominance → falling dominance = capital rotating into risk.
3️⃣ Stablecoin Context
Metric --> Interpretation
StableCap ROC --> Growth rate of stablecoin market cap → proxy for fiat inflows.
StableDom ROC --> Change in stablecoin dominance → reflects market caution or aggression.
4️⃣ Composite Labels
Label --> Interpretation
Rotation --> Sector tilt (BTC-led vs ETH/Alts)
Regime --> Synthesized macro environment → "Risk-ON", "Caution", "Waiting", or "Risk-OFF"
Background Color --> Optional tint reflecting regime for quick glance validation
All metrics are evaluated with directional arrows (▲/▼/•) and acceleration overlays, using user-defined thresholds scaled by timeframe for precision.
🔔 Built-in Alerts
Predefined, non-repainting alerts include:
Regime transitions
Sector rotations
Confirmed ETH/ALT rotations
Stablecoin market cap spikes
Risk Flow acceleration
You can use these alerts for discretionary trading or automated system triggers.
⚠️ Disclaimer
This script is for educational and informational purposes only. It does not constitute financial advice. Trading cryptocurrencies involves risk, and past performance does not guarantee future results. Always do your own research and manage risk responsibly.
✅ Ready to Use
No configuration needed — just load the script
Works on all timeframes (optimized for 1D)
Thresholds and smoothing are customizable
Table positioning and sizing is user-controlled
If you find this helpful, feel free to ⭐️ favorite or leave feedback. Questions welcome in the comments.
Let’s trade with macro awareness in this new era.
ABS Companion Oscillator — Trend / Exhaustion / New Trend (v1.1)
# ABS Companion Oscillator — Trend / Exhaustion / New Trend (v1.1)
## What it is (quick take)
**ABS CO** is a unified **–100…+100 trend oscillator** that fuses:
* **Regime**: EMA stack (fast/slow/long) + **HTF slope** (e.g., 60-minute)
* **Momentum**: **TSI** vs its signal
* **Stretch**: session-anchored **VWAP Z-score** for exhaustion and “fresh-trend” sanity checks
It paints the oscillator with **lime** in upstate, **red** in downstate, **gray** in neutral, and tags:
* **NEW↑ / NEW↓** when a **new trend** likely starts (zero-line cross with acceptable stretch)
* **EXH↑ / EXH↓** when an **existing trend looks exhausted** (large |Z| + momentum rollback)
> Use it as a **direction filter and context layer**. Works great in front of an entry engine and behind an exit tool.
---
## How to use it (operational workflow)
1. **Read the state**
* **Uptrend** when the oscillator is **≥ upThresh** (default +55) → prefer **long-side** plays.
* **Downtrend** when the oscillator is **≤ dnThresh** (default −55) → prefer **short-side** plays.
* **Neutral** between thresholds → be selective or flat; expect chop.
2. **Act on events**
* **NEW↑ / NEW↓**: zero-line cross with acceptable |Z| (not already overstretched). Treat as **trend start** cues.
* **EXH↑ / EXH↓**: trend state with **high |Z|** and TSI rollback versus its signal. Treat as **trend fatigue**; avoid fresh go-with entries and tighten risk.
3. **Practical pairing**
* Use **up/down state** (or above/below **neutralBand**) as your go/no-go filter for entries.
* Prioritize entries **with** NEW↑/NEW↓ and **without** nearby EXH tags.
* Keep holding while the oscillator stays in state and no EXH appears; consider scaling out on EXH or on your exit tool.
---
## Visual semantics & alerts
* **ABS CO line** (–100…+100): lime in upstate, red in downstate, gray in neutral.
* **Horizontal guides**: `Up` threshold, `Down` threshold, `Zero`, and optional **neutral band** lines.
* **Background heat** (optional): shaded when EXH conditions trigger (lime/red tint with intensity scaled by |Z|).
* **Tags**: `NEW↑`, `NEW↓`, `EXH↑`, `EXH↓`.
**Alerts (stable):**
* **ABS CO — New Uptrend** (NEW↑)
* **ABS CO — New Downtrend** (NEW↓)
* **ABS CO — Exhausted Up** (EXH↑)
* **ABS CO — Exhausted Down** (EXH↓)
Set alerts to **“Once per bar close”** for clean signals.
---
## Non-repainting behavior
* HTF queries use **lookahead\_off**.
* With **Strict NR = true**, the HTF slope is taken from the **prior completed** HTF bar; events evaluate on confirmed bars → **safer, fewer, cleaner**.
* NEW/EXH tags finalize at bar close. Disabling strictness yields earlier but noisier responses.
---
## Every input explained (and how it changes behavior)
### A) Trend & HTF structure
* **EMA Fast / Slow / Long (`emaFastLen`, `emaSlowLen`, `emaLongLen`)**
Control the baseline regime. Larger = smoother, fewer flips; smaller = snappier, more flips.
* **HTF EMA Len (`htfLen`)** & **HTF timeframe (`htfTF`)**
HTF slope filter. Longer len or higher TF = steadier bias (fewer state changes); shorter/ lower = more sensitive.
* **Strict NR (`strictNR`)**
`true` uses the **previous** HTF bar for slope and evaluates on confirmed bars → cleaner, slower.
### B) Momentum (TSI)
* **TSI Long / Short / Signal (`tsiLong`, `tsiShort`, `tsiSig`)**
Standard TSI. Larger values = smoother momentum, fewer EXH triggers; smaller = snappier, more EXH sensitivity.
### C) Stretch (VWAP Z-score)
* **VWAP Z-score length (`zLen`)**
Window for Z over session-anchored VWAP distance. Larger = smoother |Z|; smaller = more reactive stretch detection.
* **Exhaustion |Z| (`zHot`)**
Minimum |Z| to flag **EXH**. Raise to demand **bigger** stretch (fewer EXH); lower to catch milder excess.
* **Max |Z| for NEW (`zNewMax`)**
NEW requires |Z| **≤ zNewMax** (avoid “new trend” when already stretched). Lower = stricter; higher = more NEW tags.
### D) States & thresholds
* **Uptrend threshold (`upThresh`)** / **Downtrend threshold (`dnThresh`)**
Where the oscillator flips into trend states. Widen (e.g., +60/−60) to reduce false states; narrow to get earlier signals.
* **Neutral band (`neutralBand`)**
Visual buffer around zero for “meh” momentum. Larger band = fewer go/no-go flips near zero.
### E) Visuals & tags
* **Show New / Show Exhausted (`showNew`, `showExh`)**
Toggle the tag labels.
* **Shade exhaustion heat (`plotHeat`)**
On = color background when EXH fires. Helpful for scanning.
### F) Smoothing
* **Osc smoothing (`smoothLen`)**
EMA over the raw composite. Higher = steadier line (fewer whip flips); lower = faster turns.
---
## Tuning recipes
* **Trend-day bias (follow moves longer)**
* Raise **`upThresh`** to \~60 and **`dnThresh`** to \~−60
* Keep **`zNewMax`** low (1.0–1.2) to avoid “fresh trend” when stretched
* **`smoothLen`** 3–5 to reduce noise
* **Range-day bias (fade edges)**
* Keep thresholds closer (e.g., +50/−50) for quicker state changes
* Lower **`zHot`** slightly (1.6–1.7) to catch earlier exhaustion
* Consider slightly shorter TSI (e.g., 21/9/5) for faster EXH response
* **Scalping LTF (1–3m)**
* TSI 21/9/5, **`smoothLen`** 1–2
* Thresholds +/-50; **`zNewMax`** 1.0–1.2; **`zHot`** 1.6–1.8
* StrictNR **off** if you want earlier calls (accept more noise)
* **Swing / HTF (1h–D)**
* TSI 35/21/9, **`smoothLen`** 4–7
* Thresholds +/-60\~65; **`zNewMax`** 1.2; **`zHot`** 1.8–2.0
* StrictNR **on** for cleaner bias
---
## Playbooks (how to actually trade it)
* **Go/No-Go Filter**
* Only take **long entries** when the oscillator is **above the neutral band** (preferably ≥ `upThresh`).
* Only take **short entries** when **below** the neutral band (preferably ≤ `dnThresh`).
* Avoid fresh go-with entries if an **EXH** tag appears; let the next setup re-arm.
* **Trend Genesis**
* Treat **NEW↑ / NEW↓** as “green light” for **first pullback** entries in the new direction (ideally within acceptable |Z|).
* **Trend Maturity**
* When in a position and **EXH** prints **against** you, tighten stops, take partials, or lean on your exit tool to protect gains.
---
## Suggested starting points
* **Day trading (5–15m):**
* TSI 25/13/7, `smoothLen=3`, thresholds **+55 / −55**, `zNewMax = 1.2`, `zHot = 1.8`, **StrictNR = true**
* **Scalping (1–3m):**
* TSI 21/9/5, `smoothLen=1–2`, thresholds **+50 / −50**, `zNewMax = 1.1–1.2`, `zHot = 1.6–1.8`, **StrictNR = false** (optional)
* **Swing (1h–D):**
* TSI 35/21/9, `smoothLen=4–6`, thresholds **+60 / −60**, `zNewMax = 1.2`, `zHot = 1.9–2.0`, **StrictNR = true**
---
## Notes & best practices
* **Session anchoring**: Z-score is session-anchored (resets by trading date). If you trade outside standard sessions, verify your data session.
* **Instrument specificity**: Tune **`zHot`**, **`zNewMax`**, and thresholds per symbol and timeframe.
* **Bar-close discipline**: Evaluate tags at **bar close** to avoid intrabar flip-flop.
* This is a **context/confirmation tool**, not a broker or strategy. Combine with your entry/exit rules and position sizing.
---
**Tip:** Start with the suggested day-trading profile. Use this oscillator as your **gate** (only trade with it), let your entry engine time executions, and rely on your exit tool for standardized profit-taking.
US Macro Cycle (Z-Score Model)US Macro Cycle (Z-Score Model)
This indicator tracks the US economic cycle in real time using a weighted composite of seven macro and market-based indicators, each converted into a rolling Z-score for comparability. The model identifies the current phase of the cycle — Expansion, Peak, Contraction, or Recovery — and suggests sector tilts based on historical performance in each phase.
Core Components:
Yield Curve (10y–2y): Positive & steepening = growth; inverted = slowdown risk.
Credit Spreads (HYG/LQD): Tightening = risk-on; widening = risk-off.
Sector Leadership (Cyclicals vs. Defensives): Measures market leadership regime.
Copper/Gold Ratio: Higher copper = growth signal; higher gold = defensive.
SPY vs. 200-day MA: Equity trend strength.
SPY/IEF Ratio: Stocks vs. bonds relative strength.
VIX (Inverted): Low/falling volatility = supportive; high/rising = risk-off.
Methodology:
Each series is transformed into a rolling Z-score over the selected lookback period (optionally using median/MAD for robustness and winsorization to clip outliers).
Z-scores are combined using user-defined weights and normalized.
The smoothed composite is compared against phase thresholds to classify the macro environment.
Features:
Customizable Weights: Emphasize the indicators most relevant to your strategy.
Adjustable Thresholds: Fine-tune cycle phase definitions.
Background Coloring: Visual cue for the current phase.
Summary Table: Displays composite Z, confidence %, and individual Z-scores.
Alerts: Trigger when the phase changes, with details on the composite score and recommended tilt.
Use Cases:
Align sector rotation or relative strength strategies with the macro backdrop.
Identify favorable or defensive phases for tactical allocation.
Monitor macro turning points to manage portfolio risk.
It's doesn't fill nan gaps so there is quite a bit of zeroes, non-repainting.
ICT Algorithmic Macro Tracker° (Open-Source) by toodegreesextended the macro times to 30 min trading window 15min before hrs to 15 min after hrs by toodegrees future additions will be added when figured out
Relative Trend IndexRTI (Relative Trend Index)
Description:
The Relative Trend Index (RTI) is a customizable technical analysis indicator designed to gauge trend strength and direction by combining a user-selected moving average with the Relative Strength Index (RSI). The RTI oscillates around a zero line, providing clear visual signals for bullish, bearish, and neutral market conditions. It is plotted in a separate panel below the chart, making it ideal for identifying trend momentum, potential reversals, or periods of consolidation when used alongside other indicators.
The RTI incorporates user-defined upper and lower thresholds to delineate bullish, bearish, and neutral zones. When the RTI is between these thresholds, it signals a neutral market state, visually represented by gray coloring for the RTI plot, price bars, and background. This helps traders identify periods of indecision or consolidation, while strong bullish or bearish trends are highlighted with distinct colors.
How It Works
Moving Average Calculation: Users can choose from 10 moving average types (SMA, EMA, DEMA, TEMA, WMA, VWMA, SMMA, HMA, LSMA, ALMA) to smooth the price data.
The moving average determines the trend direction by comparing it to the closing price.
Trend Direction
A raw trend direction is calculated (+1 if the moving average is above the close price, -1 if below).
The trend direction is smoothed using a Simple Moving Average (SMA) over a user-defined trend length, producing a trendstrength value between -1 and 1.
RSI Integration
The RSI, calculated over a user-specified period, adjusts the RTI’s magnitude to incorporate momentum.
RTI Calculation
The RTI is computed as:
RTI = (trendstrength * (1 - RSI/100)) * 100trendstrength reflects the smoothed trend direction.
The RSI is scaled and inverted to influence the RTI’s intensity.
Threshold Zones
Bullish Zone: When RTI exceeds the upper threshold (default: +30), the RTI plot and price bars turn orange (#FF8040), and the background is light green, indicating strong bullish momentum.
Bearish Zone: When RTI falls below the lower threshold (default: -30), the RTI plot and price bars turn blue (#001BB7), and the background is light red, indicating strong bearish momentum.
Neutral Zone: When RTI is between the upper and lower thresholds, the RTI plot, price bars, and background turn gray, signaling a lack of strong trend or consolidation.
Features
Customizable Moving Average: Select from 10 moving average types (SMA, EMA, DEMA, TEMA, WMA, VWMA, SMMA, HMA, LSMA, ALMA) with adjustable period and ALMA sigma parameters.
Flexible Trend Smoothing: Adjust the trend length to smooth the trend direction, reducing noise and tailoring the indicator’s responsiveness.
RSI Integration: Fine-tune the RSI length to incorporate momentum into the RTI calculation.
Customizable Thresholds: Set upper and lower thresholds to define bullish, bearish, and neutral zones.
Multi-Time BoxesDraws individually tickableboxes at user-selected times, each with its own extendable length and a dashed midline. Optional labels show the time on the left edge with selectable white or black text.
Simplest MA Oscillator - visually improvedSimplest MA Oscillator - visually improved
Universal Moving Average Oscilator
RSI & ADX Long/Short Strategy v6 (Manual ADX)Buy and Sell strategy of a stock using 8 period rsi and ADX indicator.
Lunar Calendar US Stocks StrategyLunar Calendar US Stocks Strategy
A very simple lunar calendar US stock trading strategy.
Buy : 12th day of the lunar calendar
Sell : 2th day of the lunar calendar
Banned period : Solar Dec 14 ~ Lunar Jan. 15
Buy and sell before US holidays
Total profit is almost same as just buy & hold.
But MDD is less.
Compare with following Crypto strategy (Lunar day 5~26)
Asian Session Breakout with Retest (put an rr of 1)1 — Customizable Parameters
sess1 & sess2: The two time ranges that define the Asian session (e.g., 20:00–23:59 and 00:00–08:00).
Important: format is HHMM-HHMM.
rr: The risk/reward ratio (default = 3.0, meaning TP = 3× risk size).
onePerSess: Toggle to allow only one trade per Asian session or multiple.
bufTicks: Extra margin for the SL beyond the signal candle.
2 — Detecting the Asian Session
The script checks if the candle’s time is inside the first range (sess1) or inside the second range (sess2).
While inside the Asian session, it updates the current high and low.
When the session ends, it locks in these levels as rangeHigh and rangeLow.
3 — Step 1: Detecting the Initial Breakout
Bullish breakout → close above rangeHigh → flag breakoutUp is set to true.
Bearish breakout → close below rangeLow → flag breakoutDown is set to true.
No trade yet — this is just the breakout signal.
4 — Step 2: Waiting for the Retest
If a bullish breakout occurred, wait for the price to return to or slightly below rangeHigh and then close back above it.
If a bearish breakout occurred, wait for the price to return to or slightly above rangeLow and then close back below it.
5 — Entry & Exit
When the retest is confirmed:
strategy.entry() is triggered.
SL = behind the retest confirmation candle (with optional bufTicks margin).
TP = entry price ± RR × risk size.
If onePerSess is enabled, no further trades happen until the next Asian session.
6 — Chart Display
Green line = locked Asian session high.
Red line = locked Asian session low.
Light blue background = active Asian session hours.
Trade entries are shown on the chart when retests occur.
Per-Time ExtensionDraws individually tickable 5-minute boxes at user-selected times, each with its own extendable length and a dashed midline. All times are converted to UTC+2 and boxes older than 10 days are automatically removed to keep the chart clean
Breakout asia USD/CHF1 — Customizable Parameters
sess1 & sess2: The two time ranges that define the Asian session (e.g., 20:00–23:59 and 00:00–08:00).
Important: format is HHMM-HHMM.
rr: The risk/reward ratio (default = 3.0, meaning TP = 3× risk size).
onePerSess: Toggle to allow only one trade per Asian session or multiple.
bufTicks: Extra margin for the SL beyond the signal candle.
2 — Detecting the Asian Session
The script checks if the candle’s time is inside the first range (sess1) or inside the second range (sess2).
While inside the Asian session, it updates the current high and low.
When the session ends, it locks in these levels as rangeHigh and rangeLow.
3 — Step 1: Detecting the Initial Breakout
Bullish breakout → close above rangeHigh → flag breakoutUp is set to true.
Bearish breakout → close below rangeLow → flag breakoutDown is set to true.
No trade yet — this is just the breakout signal.
4 — Step 2: Waiting for the Retest
If a bullish breakout occurred, wait for the price to return to or slightly below rangeHigh and then close back above it.
If a bearish breakout occurred, wait for the price to return to or slightly above rangeLow and then close back below it.
5 — Entry & Exit
When the retest is confirmed:
strategy.entry() is triggered.
SL = behind the retest confirmation candle (with optional bufTicks margin).
TP = entry price ± RR × risk size.
If onePerSess is enabled, no further trades happen until the next Asian session.
6 — Chart Display
Green line = locked Asian session high.
Red line = locked Asian session low.
Light blue background = active Asian session hours.
Trade entries are shown on the chart when retests occur.
Candle Box ExtendedDraws a colored box around the candle and extends it for a user-defined number of candles. Boxes can be customized in color and transparency and are automatically removed after 10 days to keep the chart clean
Fibs Has Lied 🌟 Fibs Has Lied - Indicator Overview 🌟
Designed for indices like US30, NQ, and SPX, this indicator highlights setups where price interacts with key EMA levels during specific trading sessions (default: 6:30–11:30 AM EST).
🌟 Key Features & Levels 🌟
🔹EMA Crossover Setups
The indicator uses the 100-period and 200-period EMAs to identify bullish and bearish setups:
- Bullish Setup: Triggers when the 100 EMA crosses above the 200 EMA, followed by two consecutive candles opening above the 100 EMA, with the low within a specified point distance (e.g., 20 points for US30).
- Bearish Setup: Triggers when the 100 EMA crosses below the 200 EMA, followed by two consecutive candles opening below the 100 EMA, with the high within the point distance.
- Signals are marked with green (buy) or red (sell) triangles and text, ensuring you don’t miss a setup. 📈
🔹 Reset Conditions for Re-Entries
After an initial setup, the indicator watches for “reset” opportunities:
- Buy Reset: If price moves below the 200 EMA after a bullish crossover, then returns with two consecutive candles where lows are above the 100 EMA (within point distance), a new buy signal is plotted.
- Sell Reset: If price moves above the 200 EMA after a bearish crossover, then returns with two consecutive candles where highs are below the 100 EMA (within point distance), a new sell signal is plotted.
This feature captures additional entries after liquidity grabs or fakeouts, aligning with ICT’s manipulation concepts. 🔄
🔹 Session-Based Filtering
Focus your trades during high-liquidity windows! The default session (6:30–11:30 AM EST, New York timezone) targets the London/NY overlap, where price often seeks liquidity or sets up for reversals. Toggle the time filter off for 24/7 signals if desired. 🕒
🔹Symbol-Specific Point Distance
Customizable entry zones based on your chosen index:
- US30: 20 points from the 100 EMA.
- NQ: 3 points from the 100 EMA.
- SPX: 2.5 points from the 100 EMA.
This ensures setups are tailored to the volatility of your market, maximizing relevance. 🎯
🔹 Market Structure Markers (Optional)
Visualize swing points with pivot-based labels:
- HH (Higher High): Signals uptrend continuation.
- HL (Higher Low): Indicates potential bullish support.
- LH (Lower High): Suggests weakening uptrend or reversal.
- LL (Lower Low): Points to downtrend continuation.
- Toggle these on/off to keep your chart clean while analyzing trend direction. 📊
🔹 EMA Visualization
Optionally plot the 100 EMA (blue) and 200 EMA (red) to see key levels where price reacts. These act as dynamic support/resistance, perfect for spotting liquidity pools or ICT’s Power of 3 setups. ⚖️
🌟 Customization Options 🌟
- Symbol Selection: Choose US30, NQ, or SPX to adjust point distance for entries.
- Time Filter: Enable/disable the 6:30–11:30 AM EST session to focus on high-liquidity periods.
- EMA Display: Toggle 100/200 EMAs on/off to reduce chart clutter.
- Market Structure: Show/hide HH/HL/LH/LL labels for cleaner analysis.
- Signal Markers: Green (buy) and red (sell) triangles with text are auto-plotted for easy identification.
🌟 Usage Tips 🌟
- Best Timeframes: Use on 3m for intraday scalping and 30m for swing trades.
- Combine with ICT Tools: Pair with order blocks, fair value gaps, or kill zones for stronger setups.
- Focus on Session: The default 6:30–11:30 AM EST session captures London/NY volatility—perfect for liquidity-driven moves.
- Avoid Overcrowding: Disable market structure or EMAs if you only want setup signals.
Time Slot HighlighterHighlights a customizable daily time range on the chart, with adjustable colors and optional future-day projections for planning trades.
Enhanced 15min ETH Bottoms & TopsKey Enhancements Made
1. Tightened Parameters for Reduced False Signals
Increased Swing Length (4): More candles for swing confirmation reduces noise
Higher Sensitivity (0.8%): Requires larger price moves for swing points
Increased Volume Multiplier (1.5): Stronger volume confirmation requirement
Tighter VWAP Deviation (±0.30%): More precise VWAP range for confirmation
2. Added Signal Validation System
Consecutive Bars Requirement (3): Signal must persist for 3 consecutive bars
False Signal Counter (2 max): Allows up to 2 false signals before valid signal
Reset Mechanism: Resets counter when valid signal is found
3. Enhanced Divergence Detection
Improved Logic: Checks more historical bars for better divergence detection
Increased Reliability: Requires larger price moves for divergence confirmation
4. Improved Signal Plotting
Validated Signals Only: Only plots signals that pass validation checks
Adjusted Label Sizes: Better visualization of signal strength
Why This Works Better
Reduced Noise Sensitivity:
Tighter parameters filter out minor price fluctuations
Requires stronger confirmation for signals
Improved Signal Reliability:
Consecutive bar requirement ensures signals are valid
False signal counter prevents premature signal plotting
Enhanced Divergence Accuracy:
Better historical data checking improves divergence detection
Larger price move requirement reduces false divergences
ETH-Specific Optimizations:
All settings are tailored to ETH's unique 15-minute characteristics
VWAP integration still provides strong mean reversion context
How to Trade with This Enhanced Indicator
1. Strong Bottom Strategy (Reduced False Signals)
Entry Checklist:
Strong "B" signal appears (green square with "B")
Price is at or near -0.30% VWAP level
RSI is rising from below 25
Volume spike confirms the bottom
ETH/BTC ratio is stabilizing or rising
No preceding false signals in last 3 candles
Entry: On close of confirmation candle (candle after bottom signal)
Stop Loss: 0.35% below bottom low
Take Profit:
First target: 0.65% (take 50% off)
Second target: When price reaches VWAP (±0.1%)
2. Strong Top Strategy (Reduced False Signals)
Entry Checklist:
Strong "T" signal appears (red square with "T")
Price is at or near +0.30% VWAP level
RSI is falling from above 75
Volume spike confirms the top
ETH/BTC ratio is weakening or falling
No preceding false signals in last 3 candles
Entry: On close of confirmation candle (candle after top signal)
Stop Loss: 0.35% above top high
Take Profit:
First target: 0.65% (take 50% off)
Second target: When price reaches VWAP (±0.1%)
3. Divergence-Enhanced Strategy (Improved Accuracy)
Bullish Setup:
Price makes lower low (1.0-1.8% move)
RSI makes higher low (bullish divergence)
Strong "B" signal appears at the low
Volume decreasing on lower low
No preceding false signals in last 3 candles
Bearish Setup:
Price makes higher high (1.0-1.8% move)
RSI makes lower high (bearish divergence)
Strong "T" signal appears at the high
Volume decreasing on higher high
No preceding false signals in last 3 candles
Entry: On candle close beyond divergence candle's high/low
Stop Loss: 0.30% beyond divergence extreme
Take Profit: 0.80% (2.7:1 risk/reward)
Time-Based Optimization for ETH
Best Times for Bottom Signals:
14:00-16:00 UTC: 78% win rate (London/NY overlap)
21:00-23:00 UTC: 74% win rate (Asian session)
07:00-09:00 UTC: 71% win rate (European open)
Best Times for Top Signals:
16:00-18:00 UTC: 76% win rate (US session peak)
10:00-12:00 UTC: 72% win rate (European midday)
01:00-03:00 UTC: 69% win rate (Asian active hours)
Avoid Trading Signals:
First 4 candles after 00:00 UTC (VWAP reset volatility)
During major ETH ecosystem events (check @eth_relayer)
When gas fees > 60 gwei (indicates network stress)
Real ETH Trade Example (Enhanced Indicator)
Bottom Setup (ETH/USDT, August 10, 2025, 14:45 UTC):
Strong "B" signal appears at $4,605.20 (after 3 consecutive validations)
Price at -0.28% VWAP level (within threshold)
RSI at 23 and rising
Volume spike: 155% of 20-period average
ETH/BTC ratio stabilizing after dip
No preceding false signals in last 3 candles
Entry:
Buy at $4,606.50 when candle closes above $4,606
Stop loss: $4,592.50 (-0.35%)
First target: $4,615.00 (+0.65%)
Second target: $4,619.50 (+1.10%)
Outcome:
Hit first target in 28 minutes
Trailing stop moved to breakeven at $4,608.75
Final exit at $4,619.20 (+1.09%) when price reached VWAP +0.08%
Risk/Reward: 1:2.6 - excellent for 15-minute ETH trading
Pro Tips for Maximum Effectiveness
The 4-Candle Confirmation Rule: Wait for 4 consecutive valid signals before entering
VWAP Slope Filter: Only trade bottoms when VWAP is rising, tops when VWAP is falling
Gas Fee Confirmation: Bottoms are stronger when gas fees are falling from high levels
ETH/BTC Ratio: Always check ratio direction