Adaptive Rolling Quantile Bands [CHE] Adaptive Rolling Quantile Bands
Part 1 — Mathematics and Algorithmic Design
Purpose. The indicator estimates distribution‐aware price levels from a rolling window and turns them into dynamic “buy” and “sell” bands. It can work on raw price or on *residuals* around a baseline to better isolate deviations from trend. Optionally, the percentile parameter $q$ adapts to volatility via ATR so the bands widen in turbulent regimes and tighten in calm ones. A compact, latched state machine converts these statistical levels into high-quality discretionary signals.
Data pipeline.
1. Choose a source (default `close`; MTF optional via `request.security`).
2. Optionally compute a baseline (`SMA` or `EMA`) of length $L$.
3. Build the *working series*: raw price if residual mode is off; otherwise price minus baseline (if a baseline exists).
4. Maintain a FIFO buffer of the last $N$ values (window length). All quantiles are computed on this buffer.
5. Map the resulting levels back to price space if residual mode is on (i.e., add back the baseline).
6. Smooth levels with a short EMA for readability.
Rolling quantiles.
Given the buffer $X_{t-N+1..t}$ and a percentile $q\in $, the indicator sorts a copy of the buffer ascending and linearly interpolates between adjacent ranks to estimate:
* Buy band $\approx Q(q)$
* Sell band $\approx Q(1-q)$
* Median $Q(0.5)$, plus optional deciles $Q(0.10)$ and $Q(0.90)$
Quantiles are robust to outliers relative to means. The estimator uses only data up to the current bar’s value in the buffer; there is no look-ahead.
Residual transform (optional).
In residual mode, quantiles are computed on $X^{res}_t = \text{price}_t - \text{baseline}_t$. This centers the distribution and often yields more stationary tails. After computing $Q(\cdot)$ on residuals, levels are transformed back to price space by adding the baseline. If `Baseline = None`, residual mode simply falls back to raw price.
Volatility-adaptive percentile.
Let $\text{ATR}_{14}(t)$ be current ATR and $\overline{\text{ATR}}_{100}(t)$ its long SMA. Define a volatility ratio $r = \text{ATR}_{14}/\overline{\text{ATR}}_{100}$. The effective quantile is:
Smoothing.
Each level is optionally smoothed by an EMA of length $k$ for cleaner visuals. This smoothing does not change the underlying quantile logic; it only stabilizes plots and signals.
Latched state machines.
Two three-step processes convert levels into “latched” signals that only fire after confirmation and then reset:
* BUY latch:
(1) HLC3 crosses above the median →
(2) the median is rising →
(3) HLC3 prints above the upper (orange) band → BUY latched.
* SELL latch:
(1) HLC3 crosses below the median →
(2) the median is falling →
(3) HLC3 prints below the lower (teal) band → SELL latched.
Labels are drawn on the latch bar, with a FIFO cap to limit clutter. Alerts are available for both the simple band interactions and the latched events. Use “Once per bar close” to avoid intrabar churn.
MTF behavior and repainting.
MTF sourcing uses `lookahead_off`. Quantiles and baselines are computed from completed data only; however, any *intrabar* cross conditions naturally stabilize at close. As with all real-time indicators, values can update during a live bar; prefer bar-close alerts for reliability.
Complexity and parameters.
Each bar sorts a copy of the $N$-length window (practical $N$ values keep this inexpensive). Typical choices: $N=50$–$100$, $q_0=0.15$–$0.25$, $k=2$–$5$, baseline length $L=20$ (if used), adaptation strength $s=0.2$–$0.7$.
Part 2 — Practical Use for Discretionary/Active Traders
What the bands mean in practice.
The teal “buy” band marks the lower tail of the recent distribution; the orange “sell” band marks the upper tail. The median is your dynamic equilibrium. In residual mode, these tails are deviations around trend; in raw mode they are absolute price percentiles. When ATR adaptation is on, tails breathe with regime shifts.
Two core playbooks.
1. Mean-reversion around a stable median.
* Context: The median is flat or gently sloped; band width is relatively tight; instrument is ranging.
* Entry (long): Look for price to probe or close below the buy band and then reclaim it, especially after HLC3 recrosses the median and the median turns up.
* Stops: Place beyond the most recent swing low or $1.0–1.5\times$ ATR(14) below entry.
* Targets: First scale at the median; optional second scale near the opposite band. Trail with the median or an ATR stop.
* Symmetry: Mirror the rules for shorts near the sell band when the median is flat to down.
2. Continuation with latched confirmations.
* Context: A developing trend where you want fewer but cleaner signals.
* Entry (long): Take the latched BUY (3-step confirmation) on close, or on the next bar if you require bar-close validation.
* Invalidation: A close back below the median (or below the lower band in strong trends) negates momentum.
* Exits: Trail under the median for conservative exits or under the teal band for trend-following exits. Consider scaling at structure (prior swing highs) or at a fixed $R$ multiple.
Parameter guidance by timeframe.
* Scalping / LTF (1–5m): $N=30$–$60$, $q_0=0.20$, $k=2$–3, residual mode on, baseline EMA $L=20$, adaptation $s=0.5$–0.7 to handle micro-vol spikes. Expect more signals; rely on latched logic to filter noise.
* Intraday swing (15–60m): $N=60$–$100$, $q_0=0.15$–0.20, $k=3$–4. Residual mode helps but is optional if the instrument trends cleanly. $s=0.3$–0.6.
* Swing / HTF (4H–D): $N=80$–$150$, $q_0=0.10$–0.18, $k=3$–5. Consider `SMA` baseline for smoother residuals and moderate adaptation $s=0.2$–0.4.
Baseline choice.
Use EMA for responsiveness (fast trend shifts) and SMA for stability (smoother residuals). Turning residual mode on is advantageous when price exhibits persistent drift; turning it off is useful when you explicitly want absolute bands.
How to time entries.
Prefer bar-close validation for both band recaptures and latched signals. If you must act intrabar, accept that crosses can “un-cross” before close; compensate with tighter stops or reduced size.
Risk management.
Position size to a fixed fractional risk per trade (e.g., 0.5–1.0% of equity). Define invalidation using structure (swing points) plus ATR. Avoid chasing when distance to the opposite band is small; reward-to-risk degrades rapidly once you are deep inside the distribution.
Combos and filters.
* Pair with a higher-timeframe median slope as a regime filter (trade only in the direction of the HTF median).
* Use band width relative to ATR as a range/trend gauge: unusually narrow bands suggest compression (mean-reversion bias); expanding bands suggest breakout potential (favor latched continuation).
* Volume or session filters (e.g., avoid illiquid hours) can materially improve execution.
Alerts for discretion.
Enable “Cross above Buy Level” / “Cross below Sell Level” for early notices and “Latched BUY/SELL” for conviction entries. Set alerts to “Once per bar close” to avoid noise.
Common pitfalls.
Do not interpret band touches as automatic signals; context matters. A strong trend will often ride the far band (“band walking”) and punish counter-trend fades—use the median slope and latched logic to separate trend from range. Do not oversmooth levels; you will lag breaks. Do not set $q$ too small or too large; extremes reduce statistical meaning and practical distance for stops.
A concise checklist.
1. Is the median flat (range) or sloped (trend)?
2. Is band width expanding or contracting vs ATR?
3. Are we near the tail level aligned with the intended trade?
4. For continuation: did the 3 steps for a latched signal complete?
5. Do stops and targets produce acceptable $R$ (≥1.5–2.0)?
6. Are you trading during liquid hours for the instrument?
Summary. ARQB provides statistically grounded, regime-aware bands and a disciplined, latched confirmation engine. Use the bands as objective context, the median as your equilibrium line, ATR adaptation to stay calibrated across regimes, and the latched logic to time higher-quality discretionary entries.
Disclaimer
No indicator guarantees profits. Adaptive Rolling Quantile Bands is a decision aid; always combine with solid risk management and your own judgment. Backtest, forward test, and size responsibly.
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Enhance your trading precision and confidence 🚀
Best regards
Chervolino
Komut dosyalarını "entry" için ara
[ACR+]©AudenFXHTF ACR Pattern Detection
Detects ACR Sweep (Advanced Candle Reaction) with C1–C5 labeling, complete with sweep line, mid-line, and projection to LTF.
Dynamic Equilibrium Zones
Zones automatically appear according to the ACR phase (C2→C3, C3→C4, C4→C5). Previous zones are cleared, only the active phase zone remains visible.
Change in State of Delivery (CISD)
Highlights supply–demand structure shifts with confirmation lines (Bullish / Bearish / Neutral).
Liquidity Sweep (LTF)
Detects high/low sweeps on LTF, marking liquidity trap momentum.
Fair Value Gap (FVG)
Automatically detects FVGs based on ACR bias. FVG boxes are auto-deleted once mitigated.
Double Sweep Quality Filter
Evaluates pattern quality (Single vs Double Sweep) and flags setups with lower reliability.
Glassmorphism UI
Modern, mobile-friendly status table displaying ACR direction, quality, zone phase, and CISD in real time.
Alert System (Compact & Discord Webhook)
Ready-to-use alerts for personal trading or direct integration with Discord servers.
📈 How to Use
Select your main trading timeframe (M1, M5, H1, etc.).
Let the indicator auto-select the HTF (or set manually).
Wait for a valid ACR Sweep (C1–C2).
Monitor the zone phase (C2→C3, C3→C4, etc.).
Confirm with CISD & Liquidity Sweep.
Enter/re-enter in the zone or FVG aligned with the ACR bias.
🎯 Who Is It For?
Scalpers who need multi-timeframe confirmation.
Intraday traders aiming for precision entries.
Swing traders seeking clear HTF bias.
Prop firm traders focused on risk & consistency.
⚠️ Disclaimer
This indicator is not a standalone buy/sell signal. Always use with proper risk management. Past performance does not guarantee future results.
AudenFX mempersembahkan indikator premium untuk trader profesional yang ingin membaca struktur pasar dengan pendekatan ICT (Inner Circle Trader) yang lebih sistematis, modern, dan mudah dipahami.
🔑 Fitur Utama:
HTF ACR Pattern Detection
Mendeteksi ACR Sweep (Advanced Candle Reaction) dengan labeling C1–C5, lengkap dengan sweep line, mid-line, dan proyeksi ke LTF.
Dynamic Equilibrium Zones
Zona otomatis muncul sesuai fase ACR (C2→C3, C3→C4, C4→C5). Zona lama akan hilang, hanya fase aktif yang tampil.
Change in State of Delivery (CISD)
Menggambarkan perubahan struktur supply–demand dengan garis konfirmasi (Bullish/Bearish/Neutral).
Liquidity Sweep (LTF)
Deteksi sweep high/low pada LTF, menandai momentum jebakan likuiditas.
Fair Value Gap (FVG)
Deteksi otomatis FVG berbasis bias ACR. Kotak FVG akan auto-delete saat mitigasi.
Double Sweep Quality Filter
Menilai kualitas pola (Single/Double Sweep), memberi tanda peringatan jika kualitas setup lebih rendah.
Glassmorphism UI
Status table modern & mobile-friendly: menampilkan arah ACR, kualitas, fase zona, dan CISD secara real-time.
Alert System (Compact & Discord Webhook)
Siap pakai untuk alert personal atau integrasi langsung ke server Discord komunitas.
📈 Cara Pakai:
Pilih timeframe utama Anda (M1, M5, H1, dst.).
Biarkan indikator auto memilih HTF (atau set manual).
Tunggu ACR Sweep valid (C1–C2).
Perhatikan zona fase (C2→C3, C3→C4, dst.).
Konfirmasi dengan CISD & Liquidity Sweep.
Entry/re-entry di zona atau FVG yang selaras dengan bias ACR.
🎯 Untuk Siapa?
Scalper yang butuh konfirmasi multi-timeframe.
Intraday trader yang mengincar precision entry.
Swing trader yang ingin membaca bias HTF dengan jelas.
Trader prop firm yang fokus ke risk & consistency.
⚠️ Disclaimer
Indikator ini bukan sinyal trading. Gunakan bersama manajemen risiko yang baik. Hasil masa lalu tidak menjamin hasil di masa depan.
➡️ Info lebih lengkap: audenfx.com
EdgeFlow Pullback [CHE]EdgeFlow Pullback \ — Icon & Visual Guide (Deep Dive)
TL;DR (1-minute read)
⏳ Hourglass = Pending verdict. A countdown runs from the signal bar until your Evaluation Window ends.
✔ Checkmark (green) = OK. After the evaluation window, price (HLC3) is on the correct side of the EMA144 for that signal’s direction.
✖ Cross (red) = Fail. After the evaluation window, price (HLC3) is on the wrong side of the EMA144.
▲ / ▼ Triangles = the actual PB Long/Short signal bar (sequence completed in time).
Small lime/red crosses = visual markers when HLC3 crosses EMA144 (context, not trade signals).
Orange line = EMA144 (baseline/trend filter).
T3 line color = Context signal: green when T3 is below HLC3, red when T3 is above HLC3.
Icon Glossary (What each symbol means)
1) ⏳ Hourglass — “Pending / Countdown”
Appears immediately when a PB signal fires (Long or Short).
Shows `⏳ currentBars / EvaluationBars` (e.g., `⏳ 7/30`).
The label stays anchored at the signal bar and its original price level (it does not drift with price).
During ⏳ you get no verdict yet. It’s simply the waiting period before grading.
2) ✔ Checkmark (green) — “Condition met”
Appears after the Evaluation Window completes.
Logic:
Long signal: HLC3 (typical price) is above EMA144 → ✔
Short signal: HLC3 is below EMA144 → ✔
The label turns green and text says “✔ … Condition met”.
This is rules-based grading, not PnL. It tells you if the post-signal structure behaved as expected.
3) ✖ Cross (red) — “Condition failed”
Appears after the Evaluation Window completes if the condition above is not met.
Label turns red with “✖ … Condition failed”.
Again: rules-based verdict, not a guarantee of profit or loss.
4) ▲ “PB Long” triangle (below bar)
Marks the exact bar where the 4-step Long sequence completed within the allowed window.
That bar is your signal bar for Long setups.
5) ▼ “PB Short” triangle (above bar, red)
Same as above, for Short setups.
6) Lime/Red “+” crosses (tiny cross markers)
Lime cross (below bar): HLC3 crosses above EMA144 (crossover).
Red cross (above bar): HLC3 crosses below EMA144 (crossunder).
These crosses are context markers; they’re not entry signals by themselves.
The Two Clocks (Don’t mix them up)
There are two different time windows at play:
1. Signal Window — “Max bars for full sequence”
A pullback signal (Long or Short) only fires if the 4-step sequence completes within this many bars.
If it takes too long: reset (no signal, no triangle, no label).
Purpose: avoid stale setups.
2. Evaluation Window — “Evaluation window after signal (bars)”
Starts after the signal bar. The label shows an ⏳ countdown.
When it reaches the set number of bars, the indicator checks whether HLC3 is on the correct side of EMA144 for the signal direction.
Then it stamps the signal with ✔ (OK) or ✖ (Fail).
Timeline sketch (Long example):
```
→ ▲ PB Long at bar t0
Label shows: ⏳ 0/EvalBars
t0+1, t0+2, ... t0+EvalBars-1 → still ⏳
At t0+EvalBars → Check HLC3 vs EMA144
Result → ✔ (green) or ✖ (red)
(Label remains anchored at t0 / signal price)
```
What Triggers the PB Signal (so you know why triangles appear)
LONG sequence (4 steps in order):
1. T3 falling (the pullback begins)
2. HLC3 crosses under EMA144
3. T3 rising (pullback ends)
4. HLC3 crosses over EMA144 → PB Long triangle
SHORT sequence (mirror):
1. T3 rising
2. HLC3 crosses over EMA144
3. T3 falling
4. HLC3 crosses under EMA144 → PB Short triangle
If steps 1→4 don’t complete in time (within Max bars for full sequence), the sequence is abandoned (no signal).
Lines & Colors (quick interpretation)
EMA144 (orange): your baseline trend filter.
T3 (green/red):
Green when T3 < HLC3 (price above the smoothed path; often supportive in up-moves)
Red when T3 > HLC3 (price below the smoothed path; often pressure in down-moves)
HLC3 (gray): the typical price the logic uses ( (H+L+C)/3 ).
Label Behavior (anchoring & cleanup)
Each signal creates one label at the signal bar with ⏳.
The label is position-locked: it stays at the same bar index and y-price it was born at.
After the evaluation check, the label text and color update to ✔/✖, but position stays fixed.
The indicator keeps only the last N labels (your “Show only the last N labels” input). Older ones are deleted to reduce clutter.
What You Can (and Can’t) Infer from ✔ / ✖
✔ OK: Structure behaved as intended during the evaluation window (HLC3 finished on the correct side of EMA144).
Inference: The pullback continued in the expected direction post-signal.
✖ Fail: Structure ended up opposite the expectation.
Inference: The pullback did not continue cleanly (chop, reversal, or insufficient follow-through).
> Important: ✔/✖ is not profit or loss. It’s an objective rule check. Use it to identify market regimes where your entries perform best.
Input Settings — How they change the visuals
T3 length:
Shorter → faster turns, more signals (and more noise).
Longer → smoother turns, fewer but cleaner sequences.
T3 volume factor (0–1, default 0.7):
Higher → more curvature/smoothing.
Typical sweet spot: 0.5–0.9.
EMA length (baseline) default 144:
Smaller → faster baseline, more cross events, more aggressive signals.
Larger → slower, stricter trend confirmation.
Max bars for full sequence (signal window):
Smaller → only fresh, snappy pullbacks can signal.
Larger → allows slower pullbacks to complete.
Evaluation window (after signal):
Smaller → verdict arrives quickly (less tolerance).
Larger → gives the trade more time to prove itself structurally.
Show only the last N labels:
Controls chart clutter. Increase for more history, decrease for focus.
(FYI: The “Debug” toggle exists but doesn’t draw extra overlays in this version.)
Practical Reading Flow (how to use visuals in seconds)
1. Triangles catch your eye: ▲ for Long, ▼ for Short. That’s the setup completion.
2. ⏳ label starts—don’t judge yet; let the evaluation run.
3. Watch EMA slope and T3 color for context (trend + pressure).
4. After the window: ✔/✖ stamps the outcome. Log what the market was like when you got ✔.
Common “Why did…?” Questions
Q: Why did I get no triangle even though T3 turned and EMA crossed?
A: The 4 steps must happen in order and within the Signal Window. If timing breaks, the sequence resets.
Q: Why did my label stay ⏳ for so long?
A: That’s by design until the Evaluation Window completes. The verdict only happens at the end of that window.
Q: Why is ✔/✖ different from my PnL?
A: It’s a structure check, not a profit check. It doesn’t know your entries/exits/stops.
Q: Do the small lime/red crosses mean buy/sell?
A: No. They’re context markers for HLC3↔EMA crosses, useful inside the sequence but not standalone signals.
Pro Tips (turn visuals into decisions)
Entry: Use the ▲/▼ triangle as your trigger, in trend direction (check EMA slope/market structure).
Stop: Behind the pullback swing around the signal bar.
Exit: Structure levels, R-multiples, or a reverse HLC3↔EMA cross as a trailing logic.
Tuning:
Intraday/volatile: shorter T3/EMA + tighter Signal Window.
Swing/slow: default 144 EMA + moderate windows.
Learn quickly: Filter your chart to show only ✔ or only ✖ windows in your notes; see which sessions, assets, and volatility regimes suit the system.
Disclaimer
No indicator guarantees profits. Sweep2Trade Pro \ is a decision aid; always combine with solid risk management and your own judgment. Backtest, forward test, and size responsibly.
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Enhance your trading precision and confidence 🚀
Happy trading
Chervolino
Gravity Trend Line with ±10% Bands_QianYu🌌 Law of Gravity in Stock Trading — by Hu Liyang (胡立阳)—often called the “Godfather of Asian Stock Markets”
✦ Conceptual Origin
The “Law of Gravity” was developed by Mr. Hu Liyang, drawing an analogy between the gravitational pull in physics and the relationship between stock prices and moving averages. It is a medium-term mean reversion theory that helps traders identify rebound opportunities when prices deviate too far from their trend lines.
📈 Indicator Summary: Gravity Trend Line with ±10% Bands
🔧 How It's Calculated:
Gravity Trend Line = Average of SMA(30) and SMA(70)
Represents the fair value zone or center of gravity for price over a medium-term period.
Upper Band = Gravity Line + 10%
Lower Band = Gravity Line - 10%
A shaded zone shows the space between the upper and lower bands — your "gravity channel."
🧭How to Use It for Swing Trading (1H and 4H Charts)
1. Trend Bias Filter
If price is consistently above the Gravity Line, the trend bias is bullish.
If price is below the Gravity Line, the bias is bearish.
Use this to align your trades with the prevailing direction on 4H (macro view) and fine-tune entries on 1H.
2.Trade Entry Zones
Long Setup (buy):
Look for price near or just below the lower band (oversold zone).
Combine with bullish candles or reversal indicators (e.g., MACD bullish crossover, RSI < 30 turning up).
Confirmation: price reclaims the lower band or moves toward gravity line.
Short Setup (sell):
Look for price near or just above the upper band (overbought zone).
Combine with bearish confirmation (e.g., MACD bearish crossover, RSI > 70 turning down).
Confirmation: price starts rejecting from upper band toward gravity line.
3. Take Profit / Exit Zones
Partial TP: At the Gravity Line (mean reversion level).
Final TP: At opposite band (if price has strong momentum).
Alternatively, exit on crossback below gravity line after a long, or above it after a short.
4. Avoiding Traps
Avoid entering trades in the middle of the band (around the Gravity Line) unless there's strong breakout confirmation.
Use 4H for trend context, and 1H for entry precision.
Avoid trading against the broader gravity slope:
If gravity line is clearly sloping up, favor longs.
If sloping down, favor shorts.
📘 Example Strategy Workflow:
Timeframe:
Use 4H for directional bias
Use 1H for entries and exits
Example Long Setup (1H Chart):
Price dips below lower band while 4H trend is up.
Bullish candle forms or RSI/MACD confirms momentum shift.
Entry: price closes back above the lower band.
TP1: near gravity line.
TP2: near upper band.
Or, exit when gain hits +8% to +15%, depending on risk appetite.
📌 Final Notes:
This is a mean-reversion + trend confirmation tool — best used with additional confluence (candlestick patterns, volume, divergence).
It works well in ranging to gently trending markets — not ideal for sharp breakouts unless combined with breakout filters.
This indicator is for educational and reference purposes only.
It is not intended to be a recommendation or signal to buy or sell any security.
Use at your own discretion. Always perform your own due diligence before trading.
TrendMaster Pro with Dynamic ATROverview
TrendMaster Pro with Dynamic ATR is a comprehensive trend-following indicator designed for traders seeking to identify entry and exit points in trending markets while incorporating volatility-based risk management. Built on a multi-timeframe Exponential Moving Average (EMA) system, it combines short-term momentum signals with long-term trend filters, enhanced by a Volatility-Adjusted Moving Average (VMA) for confirmation and Average True Range (ATR) for adaptive stop-loss and take-profit levels.
This indicator overlays directly on your chart, providing visual cues for buy/sell signals, dynamic stops/targets, and optional EMA lines. It's ideal for swing trading, day trading, or scalping across various assets like stocks, forex, cryptocurrencies, and commodities. The system emphasizes trend alignment to reduce false signals, with customizable options for trailing mechanisms and filters to suit different market conditions.
Key benefits:
Multi-Timeframe Analysis: Incorporates higher timeframe EMAs for robust trend detection without needing to switch charts.
Volatility Adaptation: Uses ATR for dynamic positioning of stops and targets, helping manage risk in volatile environments.
Flexible Customization: Toggles for displaying EMAs, using trailing stops/targets, and applying VMA filters for entries/exits.
Alert Integration: Built-in alerts for entries, exits, stop breaches, and target hits to automate notifications.
Core Components
The indicator revolves around four EMAs, a VMA, and ATR calculations:
Exponential Moving Averages (EMAs):
Fast EMA (Default: 12 periods): Captures short-term momentum and quick price changes.
Slow EMA (Default: 27 periods): Identifies medium-term trends, providing a smoother view than the Fast EMA.
Stop EMA (Default: 48 periods on 15-minute timeframe): Acts as dynamic support/resistance for risk management and exit signals.
Trend EMA (Default: 288 periods on 5-minute timeframe): Serves as a long-term trend filter to ensure trades align with the overall market direction.
Volatility-Adjusted Moving Average (VMA):
A dynamic moving average that adjusts its sensitivity based on market volatility (using a Directional Movement Index-inspired calculation).
Length: Default 6 periods.
Colored green (uptrend), red (downtrend), or blue (neutral/sideways).
Optionally filters entries and exits to confirm trend direction.
Average True Range (ATR):
Measures volatility over a specified period (Default: 14).
Used to set adaptive stop-loss and take-profit levels.
Multipliers allow customization: Stop (Default: 1.5x ATR), Fixed Target (Default: 3.0x ATR), Trailing Target (Default: 2.0x ATR).
Supports trailing options for stops (based on highest/lowest since entry) and targets (ratcheting with price movement).
Signal Generation
Entry Signals
Buy (Long) Signal: Triggered when the price is above the Trend EMA (bullish alignment) and one of the following occurs:
Price crosses above the Trend EMA.
Price crosses above the Fast EMA, with Fast EMA > Slow EMA > Trend EMA.
Price crosses above the Slow EMA, with Fast EMA > Slow EMA > Trend EMA.
Filtered optionally by VMA being green (uptrend confirmation).
Visual: Green "BUY" label below the bar.
Sell (Short) Signal: Triggered when the price is below the Trend EMA (bearish alignment) and one of the following occurs:
Price crosses below the Trend EMA.
Price crosses below the Fast EMA, with Fast EMA < Slow EMA < Trend EMA.
Price crosses below the Slow EMA, with Fast EMA < Slow EMA < Trend EMA.
Filtered optionally by VMA being red (downtrend confirmation).
Visual: Red "SELL" label above the bar.
Exit Signals
Exit Long: Occurs when the position is active and:
Price crosses below the Stop EMA, or
Price hits the ATR stop-loss (fixed or trailing), or
Price reaches the ATR take-profit (fixed or trailing).
Filtered optionally by VMA > Stop EMA and VMA red (downtrend shift).
Visual: Green "E" label (exit) or "TP" label (if target hit).
Exit Short: Occurs when the position is active and:
Price crosses above the Stop EMA, or
Price hits the ATR stop-loss (fixed or trailing), or
Price reaches the ATR take-profit (fixed or trailing).
Filtered optionally by VMA < Stop EMA and VMA green (uptrend shift).
Visual: Red "E" label (exit) or "TP" label (if target hit).
The indicator tracks only one active position at a time (long or short), resetting on exit. Trailing stops update based on the highest high (long) or lowest low (short) since entry.
Visual Elements
How to Use ?
Setup: Add to your chart and adjust inputs based on your timeframe (e.g., shorter lengths for intraday, longer for swings).
Trading Strategy:
Enter on "BUY" or "SELL" labels when aligned with your broader analysis.
Monitor ATR lines for risk/reward: Aim for targets at least 2x stop distance.
Use trailing options in trending markets to lock in profits; fixed in ranging ones.
Combine with volume or other indicators for confirmation.
Risk Management: Always respect ATR stops to limit losses. Position size based on stop distance (e.g., 1-2% account risk).
Backtesting: Test on historical data to optimize parameters for your asset.
Alerts: Set up notifications for signals via TradingView's alert system. Examples:
"BUY signal triggered"
"EXIT long trade"
"Long ATR target reached on close"
Notes and Limitations
This is not financial advice; use at your own risk and combine with personal analysis.
Performance varies by market conditions—best in trending environments; may whipsaw in sideways markets.
Multi-timeframe requests may cause slight repainting on live charts due to higher TF data.
No repainting on closed bars, but ensure your chart timeframe is compatible with input TFs.
Licensed under Mozilla Public License 2.0. For questions or feedback, contact @MudraMiner.
This indicator empowers traders with a balanced, adaptive system—happy trading! 🚀
Elliott Wave - Impulse + Corrective Detector (Demo) เทคนิคการใช้
สำหรับมือใหม่
ดูเฉพาะ Impulse Wave ก่อน
เทรดตาม direction ของ impulse
ใช้ Fibonacci เป็น support/resistance
สำหรับ Advanced
ใช้ Corrective Wave หาจุด reversal
รวม Triangle กับ breakout strategy
ใช้ Complex correction วางแผนระยะยาว
⚙️ การปรับแต่ง
ถ้าเจอ Pattern น้อยเกินไป
ลด Swing Length เป็น 3-4
เพิ่ม Max History เป็น 500
ถ้าเจอ Pattern เยอะเกินไป
เพิ่ม Swing Length เป็น 8-12
ปิด patterns ที่ไม่ต้องการ
สำหรับ Timeframe ต่างๆ
H1-H4: Swing Length = 5-8
Daily: Swing Length = 3-5
Weekly: Swing Length = 2-3
⚠️ ข้อควรระวัง
Elliott Wave เป็น subjective analysis
ใช้ร่วมกับ indicators อื่นๆ
Backtest ก่อนใช้เงินจริง
Pattern อาจเปลี่ยนได้ตลอดเวลา
🎓 สรุป
โค้ดนี้เป็นเครื่องมือช่วยวิเคราะห์ Elliott Wave ที่:
✅ ใช้งานง่าย
✅ ตรวจจับอัตโนมัติ
✅ มี confidence scoring
✅ แสดงผล Fibonacci levels
✅ ส่ง alerts เรียลไทม์
เหมาะสำหรับ: Trader ที่ต้องการใช้ Elliott Wave ในการวิเคราะห์เทคนิค แต่ไม่มีเวลานั่งหา pattern เอง
💡 Usage Tips
For Beginners
Focus on Impulse Waves first
Trade in the direction of impulse
Use Fibonacci as support/resistance levels
For Advanced Users
Use Corrective Waves to find reversal points
Combine Triangles with breakout strategies
Use Complex corrections for long-term planning
⚙️ Customization
If You See Too Few Patterns
Decrease Swing Length to 3-4
Increase Max History to 500
If You See Too Many Patterns
Increase Swing Length to 8-12
Turn off unwanted pattern types
For Different Timeframes
H1-H4: Swing Length = 5-8
Daily: Swing Length = 3-5
Weekly: Swing Length = 2-3
⚠️ Important Warnings
Elliott Wave is subjective analysis
Use with other technical indicators
Backtest before using real money
Patterns can change at any time
🔧 Troubleshooting
No Patterns Showing
Check if you have enough price history
Adjust Swing Length settings
Make sure pattern detection is enabled
Too Many False Signals
Increase confidence threshold requirements
Use higher timeframes
Combine with trend analysis
Performance Issues
Reduce Max History setting
Turn off unnecessary visual elements
Use on liquid markets only
📈 Trading Applications
Entry Strategies
Wave 3 Entry: After Wave 2 completion (61.8%-78.6% retracement)
Wave 5 Target: Equal to Wave 1 or Fibonacci extensions
Corrective Bounce: Trade reversals at C wave completion
Risk Management
Stop Loss: Beyond pattern invalidation levels
Take Profit: Fibonacci extension targets
Position Sizing: Based on pattern confidence
🎓 Summary
This code is an Elliott Wave analysis tool that offers:
✅ Easy to use interface
✅ Automatic pattern detection
✅ Confidence scoring system
✅ Fibonacci level display
✅ Real-time alerts
Perfect for: Traders who want to use Elliott Wave analysis but don't have time to manually identify patterns.
📚 Quick Reference
Pattern Hierarchy (Most to Least Reliable)
Impulse Waves (90% confidence)
Expanded Flats (85% confidence)
Zigzags (80% confidence)
Triangles (75% confidence)
Complex Corrections (70% confidence)
Best Practices
Start with higher timeframes for main trend
Use lower timeframes for precise entries
Always confirm with volume and momentum
Don't trade against strong fundamental news
Keep a trading journal to track performance
Remember: Elliott Wave is an art as much as a science. This tool helps identify potential patterns, but always use your judgment and additional analysis before making trading decisions.
Market Sessions By Zcointv/ScottfdxThis code has been writted By Zcointv/Scottfdx traders
This is a Market Volatility Box Breakout Strategy designed for intraday trading on 5-minute charts.
How it Works:
Volatility Box: The strategy defines a "volatility box" by capturing the price range (High and Low) around the New York market open.
The box begins one hour before the market open and ends 30 minutes after the market open.
The High and Low of this box are locked for the rest of the day.
Breakout Entry: A trade is opened only after this session period has ended.
Long: A 5-minute candle must close above the High of the box.
Short: A 5-minute candle must close below the Low of the box.
Risk Management:
1% Risk: Each trade risks a maximum of 1% of the total account equity. The position size is calculated dynamically based on this risk.
Stop Loss: The initial stop-loss is placed just outside the opposite side of the box.
1:1 Take Profit: The target is set at a 1:1 risk-to-reward ratio.
Partial Exit & Breakeven: When the take-profit target is hit, 50% of the position is closed. The stop-loss for the remaining 50% is then immediately moved to the entry price (breakeven).
Key Features:
The strategy is limited to one trade per day.
The indicator also has options to display configurable boxes for the Tokyo and London sessions.
The High and Low levels of the volatility box are plotted on the chart for visual reference.
Strong Indicator for ISM PMI EURUSD (mtbr)Overview:
This indicator is designed for EURUSD traders who want to analyse the market's reaction to the ISM Services PMI economic event. It automatically detects the event candle, calculates the “surprise” between Actual and Forecast, and generates a full trading plan with entry, take profit, and stop loss levels.
How it works:
Set the event time (or a custom date/time) and input Forecast, Previous, and Actual values.
The indicator calculates the surprise: Actual − Forecast.
Based on the surprise magnitude, it classifies the strength as Weak, Moderate, or Strong, and as Bullish or Bearish.
Direction is set automatically but can be inverted via the “Invert Signal Logic” option.
Entry, TP1, TP2, TP3, and SL are calculated based on your percentage settings.
Levels are plotted on the chart, with labels and a vertical dashed line marking the event candle.
A table displays key event data: name, forecast, actual, surprise, and strength classification.
How to use:
Select your trading asset (EURUSD by default).
Choose between automatic event time logic or a custom date/time.
Input the Forecast, Previous, and Actual values from the economic calendar.
Adjust percentage settings for entry, take profits, and stop loss.
Use the plotted lines as a reference for trade planning.
Optionally enable pullback confirmation before entry.
Disclaimer:
This tool is for educational and analytical purposes only. It is not financial advice. Always use proper risk management and perform independent analysis before trading.
13/48 EMA Trading Scalper (ATR TP/SL)13/48 EMA Trading Scalper (ATR TP/SL)
What it does:
This tool looks for price “touches” of the 13-EMA, only takes CALL entries when the 13 is above the 48 (uptrend) and PUT entries when the 13 is below the 48 (downtrend), and confirms with a simple candle pattern (green > red with expansion for calls, inverse for puts). Touch sensitivity is ATR-scaled, so signals adapt to volatility. Each trade gets auto-drawn entry, TP, and SL lines, colored labels with $ / % distance from entry, plus optional TP/SL hit alerts. A rotating color palette and per-bar label staggering help keep the chart readable. Old objects are auto-pruned via maxTracked.
How it works
Trend filter: 13-EMA vs 48-EMA.
Entry: ATR-scaled touch of the 13-EMA + candle confirmation.
Risk: TP/SL = ATR multiples you control.
Visuals: Entry/TP/SL lines (extend right), vertical entry marker (optional), multi-line labels.
Hygiene: maxTracked keeps only the last N trades’ objects; labels are staggered to reduce overlap.
Alerts: Buy Call, Buy Put, Take Profit Reached, Stop Loss Hit.
Key Inputs
Fast EMA (13), Trend EMA (48), ATR Length (14)
Touch Threshold (x ATR) – how close price must come to the EMA
Take Profit (x ATR), Stop Loss (x ATR)
maxTracked – number of recent trades to keep on chart
Tips
Start with Touch = 0.10–0.20 × ATR; TP=2×ATR, SL=1×ATR, then tune per symbol/timeframe.
Works on intraday and higher TFs; fewer, cleaner signals on higher TFs.
This is an indicator, not a broker—always backtest and manage risk.
CTA-min D1 — Donchian 55/20 Trend Breakout (ATR Risk)What it is
A clean, daily trend-following breakout inspired by classic CTA/Turtle logic. It buys strength and sells weakness, then lets winners run with a channel-based trailing stop. No curve-fitting, no clutter—just rules.
How it trades
Timeframe: Daily (D1)
Entry: Close breaks the previous 55-bar Donchian channel (above for longs, below for shorts).
Exit/Trail: Trailing stop at the 20-bar Donchian channel on the opposite side (no fixed TP).
Risk: Initial stop = ATR(N) × stopMult (ATR is smoothed). Position size risks riskPct% of equity based on stop distance.
Labels: “BUY/SELL” only on the entry bar; “STOP BUY/STOP SELL” only on the exit bar.
Pyramiding: Off (one position at a time).
Regime Alignment with EMAs (recommended filter, not enforced by code)
Add EMA 50 and EMA 200 to the D1 chart.
Long bias: take BUY signals only when EMA50 > EMA200 (bullish regime).
Short bias: take SELL signals only when EMA50 < EMA200 (bearish regime).
Optional: for extra selectivity, require the H4 EMAs (50/200) to align with D1 before acting on a signal.
Inputs
entryN (55), exitN (20), atrLen (20), atrSmooth (10), stopMult (2.0), riskPct (0.5%–1.0% recommended).
Works well on (tested by user)
BTCUSD (Bitcoin), EURUSD, GBPJPY, NAS100/US100, USDJPY, AUDUSD, XAGUSD (Silver), US30 (Dow), JP225 (Nikkei), EURGBP, NZDUSD, EURCHF, USDCHF.
How to use
Apply to D1 charts. Review once per day after the daily close and execute next session open to mirror backtest assumptions. Best used as a portfolio strategy across multiple uncorrelated markets. Use the EMA alignment above as a discretionary regime filter to reduce false breakouts.
Notes
For educational use. Markets involve risk; past performance does not guarantee future results. Use responsible position sizing.
Alt Coin Season Indicator v2Trend Core Strategy with Alt Season Filter
This script is a comprehensive trend-following strategy designed to identify high-probability long entries for altcoins. It combines a core mean-reversion setup with a powerful, two-layer "Alt Season" filter to ensure trades are only considered when macro conditions are most favorable.
The primary goal is to enter a trade during a short-term dip (oversold RSI) but only when the broader market structure (Halving Cycle and BTC Dominance) confirms that capital is flowing into altcoins.
How It Works: The Logic
The strategy is built on two distinct layers that must align for a signal to be valid.
1. The Core Trading Setup
A potential LONG ENTRY signal is identified when a specific set of trend and momentum conditions are met:
Long-Term Trend: The price must be trading above the 200-period Slow Moving Average.
Mean Reversion Entry: The RSI must be in an oversold state (below 35).
Favorable Dominance: BTC.D must be trending down, and ETH.D must be trending up, indicating a "risk-on" environment.
2. The "Alt Season" Master Filter
This is the master switch that confirms the macro environment. A trade setup is only considered valid if the "Alt Season" filter is active. This filter has two sub-layers:
Bitcoin Halving Cycle: The script tracks the 4-year cycle and only allows signals during the two most bullish phases:
Post-Halving Accumulation (Yellow Background): The period immediately following a halving.
Parabolic Uptrend (Green Background): The primary bull market phase.
Signals are automatically disabled during the "Distribution" (Red) and "Bear Market" (Dark Red) phases.
BTC Dominance State: This defines the precise start and end of an alt season based on capital flows.
START (🚀): Alt Season becomes active when BTC.D crosses below 60%.
RESET (⚠️): The state is temporarily disabled if BTC.D reclaims 60%, acting as a warning signal.
END (🛑): The season is officially over when BTC.D crosses back above 40% from below.
On-Chart Visuals
The script provides a rich visual interface for at-a-glance analysis:
Background Colors: The chart background changes color to reflect the current Halving Cycle phase. A bright cyan overlay indicates when the "Alt Season" filter is fully active.
Dynamic Shapes:
🚀 (Rocket): Signals the start of a confirmed Alt Season. The size is dynamic—a larger rocket appears if the RSI is more deeply oversold, indicating a higher-conviction setup.
⚠️ (Warning Sign): Appears if BTC.D reclaims the 60% start level, indicating a temporary pause or "reset" of the alt season.
🛑 (Stop Sign): Marks the official end of the Alt Season.
On-Screen Table: A real-time dashboard in the top-right corner shows the status of every single condition, providing full transparency into the script's logic.
How to Use
Wait for the "Alt Season Active" (cyan) background to appear. This is your primary confirmation that macro conditions are favorable.
Look for LONG ENTRY labels. These appear when the core trading setup aligns with an active Alt Season.
Use the on-screen table to understand why a signal is or is not firing.
Set Alerts: The script includes three distinct alerts for "Alt Season Activated," "Alt Season Warning," and "Alt Season Officially Over" to keep you updated on the macro environment.
Disclaimer: This tool is for educational purposes only and should not be considered financial advice. All trading involves risk. Always conduct your own research and backtesting before making any trading decisions.
Dynamic S/R Zones Pro [By TraderMan]Dynamic S/R Zones Pro
Short pitch:
Dynamic S/R Zones Pro automatically maps support and resistance levels using pivot highs/lows and draws surrounding zones. It displays lines, labels and a table — making it fast to spot relevant price areas on your chart. 📊✨
🔎 What does this indicator do?
Detects pivot highs/lows and converts them into dynamic S/R levels.
Draws a zone around each level (upper & lower bands) so you can see the interaction area. 🟢🔴
Counts how often each level was tested and writes that “strength” in the table — so you can prioritize levels.
Fully configurable colors, line styles, zone width and table display. 🎛️
Note: Pivot-based S/R is a widely used, objective way to map price levels — see pivot basics.
Investopedia
⚙️ How it works (technical)
Uses pivotRange = 10 to search for highs/lows inside that window.
Looks back analysisPeriod (284 in your script) and selects meaningful pivots; filters by strengthSR threshold.
channelPercent and zonePercent define band thickness (zone), with zoneWidthPercent applied over the last 300 bars.
Strength = number of times price tested that band; used for filtering and the table.
High/Low Zones option draws wide reference bands around the period’s highest/lowest pivots.
(Pivot logic here is pivot-based SR mapping — not classical static pivot formulas, but the same principle of marking widely watched price levels.)
Investopedia
🛠️ How to use (step-by-step)
Enable SR: toggle S/R drawing on/off.
Strength (strengthSR): increase to show only well-tested levels, decrease to show more levels.
Line Style / Width: readability and aesthetics.
Show Zones / Zone Width %: enable zones and set width (e.g. 2% of recent range).
Show High/Low Zones: draw wide reference zones for the highest/lowest pivots.
Extend SR: extend lines across the chart (past/future) for clarity.
Show Table: display levels, zone boundaries and strength in the top-right table. 📋
🎯 Trade entry ideas (examples)
Not financial advice — examples of how traders commonly use S/R zones.
1) Bounce Long (support zone buy)
Condition: Price arrives at a support zone and shows a bullish confirmation candle (e.g., hammer, bullish engulfing).
Extra confirmation: oversold RSI or supportive volume.
Entry: on confirmed candle close (market or limit).
SL: slightly below the zone’s lower band.
TP: next resistance or target R:R ≥ 1:2. (Retest confirmations reduce false-breakout risk.)
fxopen.com
Investopedia
2) Breakout Long
Condition: Price breaks resistance with increased volume.
Tactic: wait for a retest of the broken resistance (now support). Enter on confirmation.
SL: below the retest low or zone lower band.
TP: next zone / predetermined R:R target. Breakouts need volume/retest confirmation to avoid fakeouts.
Investopedia
fxopen.com
3) Scalp
Use narrower zones, smaller TF, very tight SL and smaller R:R (e.g., 1:1), account for spreads/fees.
🛡️ Risk management
Don’t risk too much per trade — follow a fixed % (e.g., 1–2% max).
cmegroup.com
Plan SL & TP before entry; avoid emotional adjustments.
Investopedia
Calculate risk/reward; aim for a favorable R:R and backtest your rules.
CenterPoint Securities
✔️ Practical tips
Filter by strength to remove noisy levels.
Timeframe matters: higher TF = stronger levels.
Combine with other indicators (volume, RSI, MAs) for better confirmation.
Backtest the script and your entry rules before deploying live.
Quick summary: Dynamic S/R Zones Pro is a pivot-based S/R & zone mapper that highlights strong levels and helps you trade bounces, breakouts and retests — but always use SL/TP and solid risk management.
Investopedia
+2
Investopedia
+2
fxopen.com
Disclaimer: Not financial advice. Trading involves risk. 🔒
💎💎💎 We are the Masters- by edegrano-Donna-Leah 2How to Use the "💎💎💎 We are the Masters" Script
1. Set Your Timeframes
EMA Timeframes (emaTF1, emaTF2, emaTF3):
Choose 3 different chart timeframes on which you want to analyze the EMA bias. These timeframes will determine how the script evaluates the market trend via EMAs.
Trendline Timeframes (tf1, tf2, tf3):
Choose 3 timeframes for the linear regression trendlines. These smooth out price action and indicate the trend slope.
2. Set Linear Regression Length (regLen)
This controls the length (number of bars) the linear regression trendline uses to calculate the trend.
Smaller values make the trendline more sensitive; higher values smooth out noise but react slower.
3. Interpret the Output
EMA Bias per Timeframe:
Bullish if EMA 50 > EMA 200 on that timeframe.
Bearish if EMA 50 < EMA 200.
Trendline Slope per Timeframe:
Bullish if current regression value > previous regression value (price is trending up).
Bearish if current regression value ≤ previous regression value.
Special Buy Signal:
When all 3 EMA biases are bullish AND all 3 trendline slopes are bullish → Strong Buy Signal (blue dot below bar).
Special Sell Signal:
When all 3 EMA biases are bearish AND all 3 trendline slopes are bearish → Strong Sell Signal (red dot above bar).
EMA Crosses:
The script plots vertical lines and labels on the current timeframe when EMA 50 crosses above (bullish) or below (bearish) EMA 200.
Information Table:
Shows EMA bias and trendline slope status for all timeframes, last EMA cross info, and final overall suggestion.
4. How to Use in Trading
Confirm Trend: Use the EMA bias and trendline slope confluences to confirm the overall trend across multiple timeframes.
Trade Entry: Consider entering long when the special buy signal appears; enter short when the special sell signal appears.
EMA Crosses: Use crosses as secondary confirmation or to detect early momentum shifts.
Trendline Slope: Helps confirm if the price is gaining or losing strength on different timeframes.
Monitor Table: Quickly glance to understand current market bias and confluence.
Suggested Parameters for Different Trading Styles
Style EMA Timeframes Trendline Timeframes Linear Regression Length (regLen)
Scalping 1 min, 3 min, 5 min 1 min, 3 min, 5 min 15 - 20 (responsive, fast)
Day Trading 5 min, 15 min, 30 min 5 min, 15 min, 30 min 20 - 30 (balanced responsiveness)
Swing Trading 1 hr, 4 hr, Daily 1 hr, 4 hr, Daily 30 - 50 (smoother, slower trend)
Position Trading 4 hr, Daily, Weekly 4 hr, Daily, Weekly 50 - 100 (very smooth)
Tips
When using short timeframes, keep the regression length smaller for quicker reaction to price changes.
For longer timeframes, increase regression length to reduce noise and false signals.
Use this script alongside volume or other indicators to improve entry quality.
Avoid trading against the overall confluence bias (e.g., don’t enter longs if final suggestion is “Strong Bearish”).
SM Trap Detector – Liquidity Sweeps & Institutional ReversalsOverview:
This script is designed to help traders detect Smart Money traps, liquidity grabs, and false breakouts with high precision.
Inspired by institutional trading logic (SMC, ICT, Wyckoff), this tool combines:
🟦 Liquidity Zone Mapping – Detects stop hunt targets near highs/lows
🚨 Trap Candle Detection – Identifies fakeouts using wick + volume logic
✅ Reversal Confirmation – Entry signals based on real market structure
🧭 Dashboard Panel – Always see the last trap type, price, and confirmation
🔔 Real-Time Alerts – Stay notified of traps and entry points
🧠 Logic Breakdown:
Trap Candle = Large wick, small body, volume spike, and sweep of a liquidity zone
Confirmed Entry = Reversal price action following the trap (engulfing-style)
📈 Best Used On:
Markets: Crypto, Forex, Stocks
Timeframes: No limitation but works best on 1H, 4H, Daily
🛠 Suggested Use:
Trade only confirmed entries for best results
Place stops beyond wick highs/lows
Target previous structure or use RR-based exits
📊 Backtest Tip:
Use alerts + replay mode to manually validate past traps.
Note: Please backtest before using it for entry.
Market Structure Origin MoveMarket Structure Origin Move Tool
The Market Structure Origin Move Tool is a sophisticated trading tool designed to identify key market structures, including internal and external swings, Break of Structure (BOS), and Change of Character (CHOCH). This tool allows traders to gain insights into market movements and potential entry points based on institutional trading activities.
Key Features:
1. Identification of Swings:
The tool identifies internal swings (short-term price movements) and external swings (longer-term price movements) in the market. This helps traders understand the overall market structure and significant turning points.
2. Break of Structure (BOS):
BOS represents a breakout from the latest swing high or low on the chart. This occurrence indicates a significant change in market momentum and potential new trends.
The tool will mark these breakouts visually, helping traders recognize key points where price action changes direction.
3. Change of Character (CHOCH):
CHOCH occurs when a new bullish breakout follows a previous bearish breakout, indicating a shift in market dynamics. Conversely, a bearish CHOCH appears when a bearish breakout follows a prior bullish breakout.
This identification highlights a potential reversal in market trends, allowing traders to adjust their strategies accordingly.
4. Institutional Position Entry:
A significant aspect of this tool is its ability to identify where institutional traders may have entered their long or short positions before BOS or CHOCH events.
Green Boxes are used to indicate bullish BOS origin points, representing where institutional interest in buying may have started.
Red Boxes denote bearish BOS origin points, highlighting where institutional selling interests began.
This feature provides traders with valuable insights into potential support and resistance areas based on institutional trading behavior.
Conclusion:
The Market Structure Origin Move Tool equips traders with a deeper understanding of market movements by identifying critical swings, breakouts, and origins of institutional positions. By highlighting these key points, traders can make informed decisions about their entries and exits, ultimately enhancing their trading strategies.
KSL-Fullsystem📊 KSL-Fullsystem
ระบบช่วยวิเคราะห์การเทรดอัจฉริยะ ที่ออกแบบมาสำหรับเทรดเดอร์จริงจังที่ต้องการ "ความแม่นยำ + ความมั่นใจ" ในทุกการเข้าออเดอร์
🎯 จุดเด่นของระบบนี้:
✅ ตรวจจับสัญญาณกลับตัว (Shift) จากพฤติกรรมแท่งเทียน
✅ ยืนยันสัญญาณด้วยอินดิเคเตอร์หลากหลาย เช่น EMA, SMA, LWMA, MACD, AO, AC
✅ รองรับทุกสไตล์การเทรด: Scalping, Day Trade, Swing Trade, Trend Following
✅ คำนวณจุดเข้า (Entry), TP1-TP3 และ SL ให้อัตโนมัติ
✅ แสดงโซนแนวรับ/แนวต้านด้วยกล่องสีสบายตา
✅ ปรับเปิด-ปิดฟิลเตอร์แต่ละตัวได้ตามกลยุทธ์ส่วนตัว
🧠 ระบบจะช่วยให้คุณ:
มองเห็น “จังหวะที่ตลาดเปลี่ยนทิศ” อย่างแม่นยำ
วางแผนความเสี่ยงอย่างเป็นระบบ ด้วย Risk:Reward ชัดเจน
ลดความลังเล เพิ่มความมั่นใจในการเข้าออเดอร์
💬 หากคุณอยากใช้งานระบบนี้
หรืออยากให้ทีมเราช่วยแนะนำการตั้งค่าที่เหมาะกับสไตล์ของคุณ
📩 ทักไลน์มาได้เลยที่ 👉 @kasalong
ทดลองแล้วคุณจะรู้ว่า “เทรดอย่างมีระบบ” ดีกว่าการเทรดแบบเดาสุ่มแค่ไหน! 🚀📈
หากต้องการเวอร์ชันแบบโพสต์ Facebook / LINE OA หรือแบบ Banner ก็แจ้งได้นะครับ ผมจัดให้ได้เลย 😎
📊 KSL-Fullsystem
A smart trading analysis system designed for serious traders who value precision and confidence in every entry.
🎯 Key Features:
✅ Detects reversal signals using advanced candlestick shift logic
✅ Confirms signals with a powerful set of indicators: EMA, SMA, LWMA, MACD, AO, and AC
✅ Supports all trading styles: Scalping, Day Trade, Swing, and Trend Following
✅ Automatically calculates Entry, TP1-TP3, and SL based on risk/reward logic
✅ Visualizes support/resistance zones with dynamic colored boxes
✅ Fully customizable filters to match your unique strategy
🧠 This system helps you:
Spot key turning points in the market
Plan risk/reward clearly with calculated levels
Trade with structure and confidence – not guesswork
💬 Interested in using this tool?
Need help setting it up to match your trading style?
📩 Contact us via LINE 👉 @kasalong
Once you try it, you'll never want to trade blindly again. 🚀📈
Trend Strength Index [Alpha Extract]The Trend Strength Index leverages Volume Weighted Moving Average (VWMA) and Average True Range (ATR) to quantify trend intensity in cryptocurrency markets, particularly Bitcoin. The combination of VWMA and ATR is particularly powerful because VWMA provides a more accurate representation of the market's true average price by weighting periods of higher trading volume more heavily—capturing genuine momentum driven by increased participation rather than treating all price action equally, which is crucial in volatile assets like Bitcoin where volume spikes often signal institutional interest or market shifts.
Meanwhile, ATR normalizes this measurement for volatility, ensuring that trend strength readings remain comparable across different market conditions; without ATR's adjustment, raw price deviations from the mean could appear artificially inflated during high-volatility periods (like during news events or liquidations) or understated in low-volatility sideways markets, leading to misleading signals. Together, they create a volatility-adjusted, volume-sensitive metric that reliably distinguishes between meaningful trend developments and noise.
This indicator measures the normalized distance between price and its volume-weighted mean, providing a clear visualization of trend strength while accounting for market volatility. It helps traders identify periods of strong directional movement versus consolidation, with color-coded gradients for intuitive interpretation.
🔶 CALCULATION
The indicator processes price data through these analytical stages:
Volume Weighted Moving Average: Computes a smoothed average weighted by trading volume
Volatility Normalization: Uses ATR to account for market volatility
Distance Measurement: Calculates absolute deviation between current price and VWMA
Strength Normalization: Divides price deviation by ATR for a volatility-adjusted metric
Formula:
VWMA = Volume-Weighted Moving Average of Close over specified length
ATR = Average True Range over specified length
Price Distance = |Close - VWMA|
Trend Strength = Price Distance / ATR
🔶 DETAILS Visual Features:
VWMA Line: Blue line overlay on the price chart representing the volume-weighted mean
Trend Strength Area: Histogram-style area plot with dynamic color gradient (red for weak trends, transitioning through orange and yellow to green for strong trends)
Threshold Line: Horizontal red line at the customizable Trend Enter level
Background Highlight: Subtle green background when trend strength exceeds the enter threshold for strong trend visualization
Alert System: Triggers notifications for strong trend detection
Interpretation:
0-Weak (Red): Minimal trend strength, potential consolidation or ranging market
Mid-Range (Orange/Yellow): Building momentum, watch for breakout potential
At/Above Enter Threshold (Green): Strong trend conditions, potential for continued directional moves
Threshold Crossing: Trend strength crossing above the enter level signals increasing conviction in the current direction
Color Transitions: Gradual shifts from warm (red/orange) to cool (green) tones indicate strengthening trends
🔶 EXAMPLES
Strong Trend Entry: When trend strength crosses above the enter threshold (e.g., 1.2), it identifies the onset of a powerful move where price deviates significantly from the mean.
Example: During a rally, trend strength rising from yellow (around 1.0) to green (1.2+) often precedes sustained upward momentum, providing entry opportunities for trend followers.
Consolidation Detection: Low trend strength values in red shades (below 0.5) highlight periods of low volatility and mean reversion potential.
Example: After a sharp sell-off, persistent red values signal a likely sideways phase, allowing traders to avoid whipsaws and wait for orange/yellow transitions as a precursor to recovery.
Volatility-Adjusted Pullbacks: In volatile markets, the ATR component ensures trend strength remains accurate; a dip back to yellow from green during minor corrections can indicate healthy pullbacks within a strong trend.
Example: Trend strength briefly falling to yellow levels (e.g., 0.8-1.1) after hitting green provides profit-taking signals without invalidating the overall bullish bias if the VWMA holds as support.
Threshold Alert Integration: The alert condition combines strength value with the enter threshold for timely notifications.
Example: Receiving a "Strong Trend Detected" alert when the area plot turns green helps confirm Bitcoin's breakout from consolidation, aligning with increased volume for higher-probability trades.
🔶 SETTINGS
Customization Options:
Lengths: VWMA length (default 14), ATR length (default 14)
Thresholds: Trend enter (default 1.2, step 0.1), trend exit (default 1.15, for potential future signal enhancements)
Visuals: Automatic color scaling with red at 0, transitioning to green at/above enter threshold
Alert Conditions: Strong trend detection (when strength > enter)
The Trend Strength Index equips traders with a robust, easy-to-interpret tool for gauging trend intensity in volatile markets like Bitcoin. By normalizing price deviations against volatility, it delivers reliable signals for identifying high-momentum opportunities while the gradient coloring and alerts facilitate quick assessments in both trending and choppy conditions.
Range Breakout with Persistent Zone Bar Colors
// DESCRIPTION:
// The "Range Breakout with Persistent Zone Bar Colors" indicator identifies and visualizes
// periods of consolidation (boxes or channels) based on an ATR‑driven range and highlights
// directional breakouts, zone entries, and persistent zone trends.
//
// KEY FEATURES:
// 1. ATR‑Based Channel Construction:
// • Computes a rolling channel around the midpoint (HL2) using a historical ATR length,
// scaled by the "Channel Width" multiplier. This channel represents the box or range.
// • Automatically resets when price closes beyond the upper or lower boundary, or after
// a user‑defined maximum number of bars (Length) inside the range.
//
// 2. Persistent Zone Bar Coloring:
// • Colors bars within the current box uniformly—green for bullish zones after an
// upward breakout, red for bearish zones after a downward breakout—based on the last
// breakout direction (trend). Bars outside the box use a neutral color.
// • Provides an at‑a‑glance view of whether price remains in a bullish or bearish box.
//
// 3. Zone Entry & Breakout Signals:
// • "New Bull Box" / "New Bear Box" labels mark each new zone formation at the reset bar.
// • "Enter Bull Zone" and "Enter Bear Zone" tiny labels flag when price first crosses into
// the lower or upper half of the box, spotlighting momentum within the range.
// • Classic breakout symbols (▲ for buys, ▼ for sells) appear when price decisively crosses
// the box mid‑lines, with optional filtering by trend.
// • Optional X markers identify potential fakeout attempts beyond the box boundaries.
//
// 4. Customizable Inputs:
// • LENGTH: Maximum bars before auto‑reset if no breakout occurs.
// • CHANNEL WIDTH: ATR multiplier controlling box height.
// • Color settings for channel lines, fills, labels, and both inside/outside bar coloring.
// • Options to show fakeouts (X signals) and filter ▲/▼ by breakout trend.
//
// USE CASES:
// • Consolidation & Breakout Strategy: Clearly visualize ranges where price consolidates
// and prepare for directional entries on breakout or zone entry.
// • Trend Detection: Persistent bar colors provide quick confirmation of current zone bias.
// • Momentum Assessment: Mid‑zone entry labels highlight shifts in momentum within boxes.
// • Risk Management: Time‑based resets ensure the channel does not become stale if no
// breakout occurs.
//
// HOW TO READ:
// 1. Watch for the channel box formation (colored fills between upper and lower lines).
// 2. A label "New Bull Box" or "New Bear Box" indicates the start of a fresh zone.
// 3. Bars inside that zone remain uniformly colored until a new breakout resets the box.
// 4. "Enter Bull Zone" / "Enter Bear Zone" marks when price first enters each half.
// 5. ▲ / ▼ symbols on mid‑line crossovers signal potential entries.
// 6. Outside the box, bars turn neutral, highlighting no‑trade or transition periods.
// 7. Adjust inputs to fit the time frame and volatility of your market.
//
// By leveraging both visual zone coloring and precise labels, this indicator streamlines
// range analysis, breakout timing, and bias confirmation into a single, intuitive tool.
Reversal Point Dynamics⇋ Reversal Point Dynamics (RPD)
This is not an indicator; it is a complete system for deconstructing the mechanics of a market reversal. Reversal Point Dynamics (RPD) moves far beyond simplistic pattern recognition, venturing into a deep analysis of the underlying forces that cause trends to exhaust, pause, and turn. It is engineered from the ground up to identify high-probability reversal points by quantifying the confluence of market dynamics in real-time.
Where other tools provide a static signal, RPD delivers a dynamic probability. It understands that a true market turning point is not a single event, but a cascade of failing momentum, structural breakdown, and a shift in market order. RPD's core engine meticulously analyzes each of these dynamic components—the market's underlying state, its velocity and acceleration, its degree of chaos (entropy), and its structural framework. These forces are synthesized into a single, unified Probability Score, offering you an unprecedented, transparent view into the conviction behind every potential reversal.
This is not a "black box" system. It is an open-architecture engine designed to empower the discerning trader. Featuring real-time signal projection, an integrated Fibonacci R2R Target Engine, and a comprehensive dashboard that acts as your Dynamics Control Center , RPD gives you a complete, holistic view of the market's state.
The Theoretical Core: Deconstructing Market Dynamics
RPD's analytical power is born from the intelligent synthesis of multiple, distinct theoretical models. Each pillar of the engine analyzes a different facet of market behavior. The convergence of these analyses—the "Singularity" event referenced in the dashboard—is what generates the final, high-conviction probability score.
1. Pillar One: Quantum State Analysis (QSA)
This is the foundational analysis of the market's current state within its recent context. Instead of treating price as a random walk, QSA quantizes it into a finite number of discrete "states."
Formulaic Concept: The engine establishes a price range using the highest high and lowest low over the Adaptive Analysis Period. This range is then divided into a user-defined number of Analysis Levels. The current price is mapped to one of these states (e.g., in a 9-level system, State 0 is the absolute low, and State 8 is the absolute high).
Analytical Edge: This acts as a powerful foundational filter. The engine will only begin searching for reversal signals when the market has reached a statistically stretched, extreme state (e.g., State 0 or 8). The Edge Sensitivity input allows you to control exactly how close to this extreme edge the price must be, ensuring you are trading from points of maximum potential exhaustion.
2. Pillar Two: Price State Roc (PSR) - The Dynamics of Momentum
This pillar analyzes the kinetic forces of the market: its velocity and acceleration. It understands that it’s not just where the price is, but how it got there that matters.
Formulaic Concept: The psr function calculates two derivatives of price.
Velocity: (price - price ). This measures the speed and direction of the current move.
Acceleration: (velocity - velocity ). This measures the rate of change in that speed. A negative acceleration (deceleration) during a strong rally is a critical pre-reversal warning, indicating momentum is fading even as price may be pushing higher.
Analytical Edge: The engine specifically hunts for exhaustion patterns where momentum is clearly decelerating as price reaches an extreme state. This is the mechanical signature of a weakening trend.
3. Pillar Three: Market Entropy Analysis - The Dynamics of Order & Chaos
This is RPD's chaos filter, a concept borrowed from information theory. Entropy measures the degree of randomness or disorder in the market's price action.
Formulaic Concept: The calculateEntropy function analyzes recent price changes. A market moving directionally and smoothly has low entropy (high order). A market chopping back and forth without direction has high entropy (high chaos). The value is normalized between 0 and 1.
Analytical Edge: The most reliable trades occur in low-entropy, ordered environments. RPD uses the Entropy Threshold to disqualify signals that attempt to form in chaotic, unpredictable conditions, providing a powerful shield against whipsaw markets.
4. Pillar Four: The Synthesis Engine & Probability Calculation
This is where all the dynamic forces converge. The final probability score is a weighted calculation that heavily rewards confluence.
Formulaic Concept: The calculateProbability function intelligently assembles the final score:
A Base Score is established from trend strength and entropy.
An Entropy Score adds points for low entropy (order) and subtracts for high entropy (chaos).
A significant Divergence Bonus is awarded for a classic momentum divergence.
RSI & Volume Bonuses are added if momentum oscillators are in extreme territory or a volume spike confirms institutional interest.
MTF & Adaptive Bonuses add further weight for alignment with higher timeframe structure.
Analytical Edge: A signal backed by multiple dynamic forces (e.g., extreme state + decelerating momentum + low entropy + volume spike) will receive an exponentially higher probability score. This is the very essence of analyzing reversal point dynamics.
The Command Center: Mastering the Inputs
Every input is a precise lever of control, allowing you to fine-tune the RPD engine to your exact trading style, market, and timeframe.
🧠 Core Algorithm
Predictive Mode (Early Detection):
What It Is: Enables the engine to search for potential reversals on the current, unclosed bar.
How It Works: Analyzes intra-bar acceleration and state to identify developing exhaustion. These signals are marked with a ' ? ' and are tentative.
How To Use It: Enable for scalping or very aggressive day trading to get the earliest possible indication. Disable for swing trading or a more conservative approach that waits for full bar confirmation.
Live Signal Mode (Current Bar):
What It Is: A highly aggressive mode that plots tentative signals with a ' ! ' on the live bar based on projected price and momentum. These signals repaint intra-bar.
How It Works: Uses a linear regression projection of the close to anticipate a reversal.
How To Use It: For advanced users who use intra-bar dynamics for execution and understand the nature of repainting signals.
Adaptive Analysis Period:
What It Is: The main lookback period for the QSA, PSR, and Entropy calculations. This is the engine's "memory."
How It Works: A shorter period makes the engine highly sensitive to local price swings. A longer period makes it focus only on major, significant market structure.
How To Use It: Scalping (1-5m): 15-25. Day Trading (15m-1H): 25-40. Swing Trading (4H+): 40-60.
Fractal Strength (Bars):
What It Is: Defines the strength of the pivot detection used for confirming reversal events.
How It Works: A value of '2' requires a candle's high/low to be more extreme than the two bars to its left and right.
How To Use It: '2' is a robust standard. Increase to '3' for an even stricter definition of a structural pivot, which will result in fewer signals.
MTF Multiplier:
What It Is: Integrates pivot data from a higher timeframe for confluence.
How It Works: A multiplier of '4' on a 15-minute chart will pull pivot data from the 1-hour chart (15 * 4 = 60m).
How To Use It: Set to a multiple that corresponds to your preferred higher timeframe for contextual analysis.
🎯 Signal Settings
Min Probability %:
What It Is: Your master quality filter. A signal is only plotted if its score exceeds this threshold.
How It Works: Directly filters the output of the final probability calculation.
How To Use It: High-Quality (80-95): For A+ setups only. Balanced (65-75): For day trading. Aggressive (50-60): For scalping.
Min Signal Distance (Bars):
What It Is: A noise filter that prevents signals from clustering in choppy conditions.
How It Works: Enforces a "cooldown" period of N bars after a signal.
How To Use It: Increase in ranging markets to focus on major swings. Decrease on lower timeframes.
Entropy Threshold:
What It Is: Your "chaos shield." Sets the maximum allowable market randomness for a signal.
How It Works: If calculated entropy is above this value, the signal is invalidated.
How To Use It: Lower values (0.1-0.5): Extremely strict. Higher values (0.7-1.0): More lenient. 0.85 is a good balance.
Adaptive Entropy & Aggressive Mode:
What It Is: Toggles for dynamically adjusting the engine's core parameters.
How It Works: Adaptive Entropy can slightly lower the required probability in strong trends. Aggressive Mode uses more lenient settings across the board.
How To Use It: Keep Adaptive on. Use Aggressive Mode sparingly, primarily for scalping highly volatile assets.
📊 State Analysis
Analysis Levels:
What It Is: The number of discrete "states" for the QSA.
How It Works: More levels create a finer-grained analysis of price location.
How To Use It: 6-7 levels are ideal. Increasing to 9 can provide more precision on very volatile assets.
Edge Sensitivity:
What It Is: Defines how close to the absolute top/bottom of the range price must be.
How It Works: '0' means price must be in the absolute highest/lowest state. '3' allows a signal within the top/bottom 3 states.
How To Use It: '3' provides a good balance. Lower it to '1' or '0' if you only want to trade extreme exhaustion.
The Dashboard: Your Dynamics Control Center
The dashboard provides a transparent, real-time view into the engine's brain. Use it to understand the context behind every signal and to gauge the current market environment at a glance.
🎯 UNIFIED PROB SCORE
TOTAL SCORE: The highest probability score (either Peak or Valley) the engine is currently calculating. This is your main at-a-glance conviction metric. The "Singularity" header refers to the event where market dynamics align—the event RPD is built to detect.
Quality: A human-readable interpretation of the Total Score. "EXCEPTIONAL" (🌟) is a rare, A+ confluence event. "STRONG" (💪) is a high-quality, tradable setup.
📊 ORDER FLOW & COMPONENT ANALYSIS
Volume Spike: Shows if the current volume is significantly higher than average (YES/NO). A 'YES' adds major confirmation.
Peak/Valley Conf: This breaks down the probability score into its directional components, showing you the separate confidence levels for a potential top (Peak) versus a bottom (Valley).
🌌 MARKET STRUCTURE
HTF Trend: Shows the direction of the underlying trend based on a Supertrend calculation.
Entropy: The current market chaos reading. "🔥 LOW" is an ideal, ordered state for trading. "😴 HIGH" is a warning of choppy, unpredictable conditions.
🔮 FIB & R2R ZONE (Large Dashboard)
This section gives you the status of the Fibonacci Target Engine. It shows if an Active Channel (entry zone) or Stop Zone (invalidation zone) is active and displays the precise price levels for the static entry, target, and stop calculated at the time of the signal.
🛡️ FILTERS & PREDICTIVES (Large Dashboard)
This panel provides a status check on all the bonus filters. It shows the current RSI Status, whether a Divergence is present, and if a Live Pending signal is forming.
The Visual Interface: A Symphony of Data
Every visual element is designed for instant, intuitive interpretation of market dynamics.
Signal Markers: These are the primary outputs of the engine.
▼/▲ b: A fully confirmed signal that has passed all filters.
? b: A tentative signal generated in Predictive Mode, indicating developing dynamics.
◈ b: This diamond icon replaces the standard triangle when the signal is confirmed by a strong momentum divergence, highlighting it as a superior setup where dynamics are misaligned with price.
Harmonic Wave: The flowing, colored wave around the price.
What It Represents: The market's "flow dynamic" and volatility.
How to Interpret It: Expanding waves show increasing volatility. The color is tied to the "Quantum Color" in your theme, representing the underlying energy field of the market.
Entropy Particles: The small dots appearing above/below price.
What They Represent: A direct visualization of the "order dynamic."
How to Interpret Them: Their presence signifies a low-entropy, ordered state ideal for trading. Their color indicates the direction of momentum (PSR velocity). Their absence means the market is too chaotic (high entropy).
The Fibonacci Target Engine: The dynamic R2R system appearing post-signal.
Static Fib Levels: Colored horizontal lines representing the market's "structural dynamic."
The Green "Active Channel" Box: Your zone of consideration. An area to manage a potential entry.
Development Philosophy
Reversal Point Dynamics was engineered to answer a fundamental question: can we objectively measure the forces behind a market turn? It is a synthesis of concepts from market microstructure, statistics, and information theory. The objective was never to create a "perfect" system, but to build a robust decision-support tool that provides a measurable, statistical edge by focusing on the principle of confluence.
By demanding that multiple, independent market dynamics align simultaneously, RPD filters out the vast majority of market noise. It is designed for the trader who thinks in terms of probability and risk management, not in terms of certainties. It is a tool to help you discount the obvious and bet on the unexpected alignment of market forces.
"Markets are constantly in a state of uncertainty and flux and money is made by discounting the obvious and betting on the unexpected."
— George Soros
Trade with insight. Trade with anticipation.
— Dskyz, for DAFE Trading Systems
% / ATR Buy, Target, Stop + Overlay & P/L% / ATR Buy, Target, Stop + Overlay & P/L
This tool combines volatility‑based and fixed‑percentage trade planning into a single, on‑chart overlay—with built‑in profit‑and‑loss estimates. Toggle between ATR or percentage modes, plot your Buy, Target and Stop levels, and see the dollar gain or loss for a specified position size—all in one interactive table and chart display.
NOTE: To activate plotted lines, price labels, P/L rows and table values, enter a Buy Price greater than zero.
What It Does
Mode Toggle: Choose between “ATR” (volatility‑based) or “%” (fixed‑percentage) calculations.
Buy Price Input: Manually enter your entry price.
ATR Mode:
Target = Buy + (ATR × Target Multiplier)
Stop = Buy − (ATR × Stop Multiplier)
Percentage Mode:
Target = Buy × (1 + Target % / 100)
Stop = Buy × (1 – Stop % / 100)
P/L Estimates: Specify a dollar amount to “invest” at your Buy price, and the script calculates:
Gain ($): Profit if Target is hit
Loss ($): Cost if Stop is hit
Visual Overlay: Draws horizontal lines for Buy, Target and Stop, with optional price labels on the chart scale.
Interactive Table: Displays Buy, Target, Stop, ATR/timeframe info (in ATR mode), percentages (in % mode), and P/L rows.
Customization Options
Line Settings:
Choose color, style (solid/dashed/dotted), and width for Buy, Target, Stop lines.
Extend lines rightward only or in both directions.
Table Settings:
Position the table (top/bottom × left/right).
Toggle individual rows: Buy Price; Target (multiplier or %); Stop (multiplier or %); Target ATR %; Stop ATR %; ATR Time Frame; ATR Value; Gain ($); Loss ($).
Customize text colors for each row and background transparency.
General Inputs:
ATR length and optional ATR timeframe override (e.g. use daily ATR on an intraday chart).
Target/Stop multipliers or percentages.
Dollar Amount for P/L calculations.
How to Use It for Trading
Plan Your Entry: Enter your intended Buy Price and position size (dollar amount).
Select Mode: Toggle between ATR or % mode depending on whether you prefer volatility‑based or fixed offsets.
Assess R:R and P/L: Instantly see your Target, Stop levels, and potential profit or loss in dollars.
Visual Reference: Lines and price labels update in real time as you tweak inputs—ideal for live trading, backtesting or trade journaling.
Ideal For
Traders who want both volatility‑based and percentage‑based exit options in one tool
Those who need on‑chart P/L estimates based on position size
Swing and intraday traders focused on objective, rule‑based trade management
Anyone who uses ATR for adaptive stops/targets or fixed percentages for simpler exits
Universal Renko Bars by SiddWolfUniversal Renko Bars or UniRenko Bars is an overlay indicator that applies the logic of Renko charting directly onto a standard candlestick chart. It generates a sequence of price-driven bricks, where each new brick is formed only when the price moves a specific amount, regardless of time. This provides a clean, price-action-focused visualization of the market's trend.
WHAT IS UNIVERSAL RENKO BARS?
For years, traders have faced a stark choice: the clean, noise-free world of Renko charts, or the rich, time-based context of Candlesticks. Choosing Renko meant giving up your favorite moving averages, volume profiles, and the fundamental sense of time. Choosing Candlesticks meant enduring the market noise that often clouds true price action.
But what if you didn't have to choose?
Universal Renko Bars is a revolutionary indicator that ends this dilemma. It's not just another charting tool; it's a powerful synthesis that overlays the pure, price-driven logic of Renko bricks directly onto your standard candlestick chart. This hybrid approach gives you the best of both worlds:
❖ The Clarity of Renko: By filtering out the insignificant noise of time, Universal Renko reveals the underlying trend with unparalleled clarity. Up trends are clean successions of green bricks; down trends are clear red bricks. No more guesswork.
❖ The Context of Candlesticks: Because the Renko logic is an overlay, you retain your time axis, your volume data, and full compatibility with every other time-based indicator in your arsenal (RSI, MACD, Moving Averages, etc.).
The true magic, however, lies in its live, Unconfirmed Renko brick. This semi-transparent box is your window into the current bar's real-time struggle. It grows, shrinks, and changes color with every tick, showing you exactly how close the price is to confirming the trend or forcing a reversal. It’s no longer a lagging indicator; it’s a live look at the current battle between buyers and sellers.
Universal Renko Bars unifies these two powerful charting methods, transforming your chart into a more intelligent, noise-free, and predictive analytical canvas.
HOW TO USE
To get the most out of Universal Renko Bars, here are a few tips and a full breakdown of the settings.
Initial Setup for the Best Experience
For the cleanest possible view, it's highly recommended that you hide the body of your standard candlesticks, that shows only the skelton of the candle. This allows the Renko bricks to become the primary focus of your chart.
→ Double click on the candles and uncheck the body checkbox.
Settings Breakdown
The indicator is designed to be powerful yet intuitive. The settings are grouped to make customization easy.
First, What is a "Tick"?
Before we dive in, it's important to understand the concept of a "Tick." In Universal Renko, a Tick is not the same as a market tick. It's a fundamental unit of price movement that you define. For example, if you set the Tick Size to $0.50, then a price move of $1.00 is equal to 2 Ticks. This is the core building block for all Renko bricks. Tick size here is dynamically determined by the settings provided in the indicator.
❖ Calculation Method (The "Tick Size" Engine)
This section determines the monetary value of a single "Tick."
`Calculation Method` : Choose your preferred engine for defining the Tick Size.
`ATR Based` (Default): The Tick Size becomes dynamic, based on market volatility (Average True Range). Bricks will get larger in volatile markets and smaller in quiet ones. Use the `ATR 14 Multiplier` to control the sensitivity.
`Percentage` : The Tick Size is a simple percentage of the current asset price, controlled by the `Percent Size (%)` input.
`Auto` : The "set it and forget it" mode. The script intelligently calculates a Tick Size based on the asset's price. Use the `Auto Sensitivity` slider to make these automatically calculated bricks thicker (value > 1.0) or thinner (value < 1.0).
❖ Parameters (The Core Renko Engine)
This group controls how the bricks are constructed based on the Tick Size.
`Tick Trend` : The number of "Ticks" the price must move in the same direction to print a new continuation brick. A smaller value means bricks form more easily.
`Tick Reversal` : The number of "Ticks" the price must move in the opposite direction to print a new reversal brick. This is typically set higher than `Tick Trend` (e.g., double) to filter out minor pullbacks and market noise.
`Open Offset` : Controls the visual overlap of the bricks. A value of `0` creates gapless bricks that start where the last one ended. A value of `2` (with a `Tick Reversal` of 4) creates the classic 50% overlap look.
❖ Visuals (Controlling What You See)
This is where you tailor the chart to your visual preference.
`Show Confirmed Renko` : Toggles the solid-colored, historical bricks. These are finalized and will never change. They represent the confirmed past trend.
`Show Unconfirmed Renko` : This is the most powerful visual feature. It toggles the live, semi-transparent box that represents the developing brick. It shows you exactly where the price is right now in relation to the levels needed to form the next brick.
`Show Max/Min Levels` : Toggles the horizontal "finish lines" on your chart. The green line is the price target for a bullish brick, and the red line is the target for a bearish brick. These are excellent for spotting breakouts.
`Show Info Label` : Toggles the on-chart label that provides key real-time stats:
🧱 Bricks: The total count of confirmed bricks.
⏳ Live: How many chart bars the current live brick has been forming. These bars forms the Renko bricks that aren't confirmed yet. Live = 0 means the latest renko brick is confirmed.
🌲 Tick Size: The current calculated value of a single Tick.
Hover over the label for a tooltip with live RSI(14), MFI(14), and CCI(20) data for additional confirmation.
TRADING STRATEGIES & IDEAS
Universal Renko Bars isn't just a visual tool; it's a foundation for building robust trading strategies.
Trend Confirmation: The primary use is to instantly identify the trend. A series of green bricks indicates a strong uptrend; a series of red bricks indicates a strong downtrend. Use this to filter out trades that go against the primary momentum.
Reversal Spotting: Pay close attention to the Unconfirmed Brick . When a strong trend is in place and the live brick starts to fight against it—changing color and growing larger—it can be an early warning that a reversal is imminent. Wait for the brick to be confirmed for a higher probability entry.
Breakout Trading: The `Max/Min Levels` are your dynamic breakout zones. A long entry can be considered when the price breaks and closes above the green Max Level, confirming a new bullish brick. A short entry can be taken when price breaks below the red Min Level.
Confluence & Indicator Synergy: This is where Universal Renko truly shines. Overlay a moving average (e.g., 20 EMA). Only take long trades when the green bricks are forming above the EMA. Combine it with RSI or MACD; a bearish reversal brick forming while the RSI shows bearish divergence is a very powerful signal.
A FINAL WORD
Universal Renko Bars was designed to solve a fundamental problem in technical analysis. It brings together the best elements of two powerful methodologies to give you a clearer, more actionable view of the market. By filtering noise while retaining context, it empowers you to make decisions with greater confidence.
Add Universal Renko Bars to your chart today and elevate your analysis. We welcome your feedback and suggestions for future updates!
Follow me to get notified when I publish New Indicator.
~ SiddWolf
Dynamic SL/TP Levels (ATR or Fixed %)This indicator, "Dynamic SL/TP Levels (ATR or Fixed %)", is designed to help traders visualize potential stop loss (SL) and take profit (TP) levels for both long and short positions, refreshing dynamically on each new bar. It assumes entry at the current bar's close price and uses a fixed 1:2 risk-reward ratio (TP is twice the distance of SL in the profit direction). Levels are displayed in a compact table in the chart pane for easy reference, without cluttering the main chart with lines.
Key Features:
Calculation Modes:
ATR-Based (Dynamic): SL distance is derived from the Average True Range (ATR) multiplied by a user-defined factor (default 1.5x). This adapts to the asset's volatility, providing breathing room based on recent price movements.
Fixed Percentage: SL is set as a direct percentage of the current close price (default 0.5%), offering consistent gaps regardless of volatility.
Long and Short Support: Calculates and shows SL/TP for longs (SL below close, TP above) and shorts (SL above close, TP below), with toggles to hide/show each.
Real-Time Updates: Levels recalculate every bar, making them readily available for entry decisions in your trading system.
Display: Outputs to a table in the top-right pane, showing precise values formatted to the asset's tick size (e.g., full decimal places for crypto).
How to Use:
Add the indicator to your chart via TradingView's Pine Editor or library.
Adjust settings:
Toggle "Use ATR?" on/off to switch modes.
Set "ATR Length" (default 14) and "ATR Multiplier for SL" for dynamic mode.
Set "Fixed SL %" for percentage mode.
Enable/disable "Show Long Levels" or "Show Short Levels" as needed.
Interpret the table: Use the displayed SL/TP values when your strategy signals an entry. For risk management, combine with position sizing (e.g., risk 1% of account per trade based on SL distance).
Example: On a volatile asset like BTC, ATR mode might set a wider SL for realism; on stable pairs, fixed % ensures predictability.
This tool promotes disciplined trading by tying levels to price action or fixed rules, but it's not financial advice—always backtest and use with your full strategy. Feedback welcome!
Gann Octave 8 - Professional V 1.0Gann Octave 8 Indicator:
Core Concept: This indicator divides the price range between highest high and lowest low into 8 equal parts (octaves), creating support/resistance levels based on W.D. Gann's trading principles.
Key Components:
1. Price Range Calculation:
o Finds highest high and lowest low over a lookback period (default 50 bars)
o Divides this range into 8 equal segments (12.5% each)
2. 8 Octave Levels:
o 0% (Low Support) - Strongest support
o 12.5%, 25%, 37.5% - Minor levels
o 50% (CRITICAL) - Most important level
o 62.5%, 75%, 87.5% - Minor levels
o 100% (High Resistance) - Strongest resistance
3. Gann Angles: Projects trend lines from high/low points at various angles (1x1, 2x1, 1x2, etc.)
4. Visual Features:
o Color-coded levels
o Information table showing current position
o Background highlighting when near critical levels
o Trend analysis (bullish/bearish zones)
Trading Strategy
Entry Signals:
BULLISH TRADES:
• Price crosses above 50% level → Strong buy signal
• Price bounces from 25% or 37.5% levels → Support bounce
• Price in upper zone (above 50%) → Bullish bias
BEARISH TRADES:
• Price crosses below 50% level → Strong sell signal
• Price rejects at 75% or 87.5% levels → Resistance rejection
• Price in lower zone (below 50%) → Bearish bias
Key Trading Rules:
1. 50% Level is Critical: Most important for trend direction
2. Zone Trading:
o Above 50% = Bullish zone (look for longs)
o Below 50% = Bearish zone (look for shorts)
3. Strength Levels:
o Above 75% or below 25% = Strong moves
o Near 100% (high) or 0% (low) = Extreme levels
Risk Management:
• Stop Loss: Place below previous octave level
• Take Profit: Target next octave level
• Position Size: Reduce size near extreme levels (0%, 100%)
Example Trade:
If price breaks above 50% level:
• Entry: Long position
• Stop: Below 37.5% level
• Target: 75% level
• Risk: Monitor for rejection at resistance levels
The indicator works best in trending markets and helps identify high-probability reversal zones.
Works for both Stocks & Derivatives. Experiment with code and share your feedback in comments..