Larry Williams PivotPivots based on Larry Williams. (High + Low + Close) / 3
Not to be used as buy and sell signals.
จุดหมุนและระดับ
Previous High/Low Range (D,W,M)Previous High/Low Range (D,W,M)
This indicator displays the previous period’s High, Low, and 50% Midpoint levels for the Day, Week, and Month. It visually extends these levels into the future for easy reference, helping traders identify key support and resistance zones. Users can customize the visibility, colors, and line styles for each timeframe, and optionally show labels and a dashed midpoint line for clearer analysis. Ideal for trend analysis and spotting potential reversal points.
Dual Volume Profiles: Session + Rolling (Range Delineation)Dual Volume Profiles: Session + Rolling (Range Delineation)
INTRO
This is a probability-centric take on volume profile. I treat the volume histogram as an empirical PDF over price, updated in real time, which makes multi-modality (multiple acceptance basins) explicit rather than assumed away. The immediate benefit is operational: if we can read the shape of the distribution, we can infer likely reversion levels (POC), acceptance boundaries (VAH/VAL), and low-friction corridors (LVNs).
My working hypothesis is that what traders often label “fat tails” or “power-law behavior” at short horizons is frequently a tail-conditioned view of a higher-level Gaussian regime. In other words, child distributions (shorter periodicities) sit within parent distributions (longer periodicities); when price operates in the parent’s tail, the child regime looks heavy-tailed without being fundamentally non-Gaussian. This is consistent with a hierarchical/mixture view and with the spirit of the central limit theorem—Gaussian structure emerges at aggregate scales, while local scales can look non-Gaussian due to nesting and conditioning.
This indicator operationalizes that view by plotting two nested empirical PDFs: a rolling (local) profile and a session-anchored profile. Their confluence makes ranges explicit and turns “regime” into something you can see. For additional nesting, run multiple instances with different lookbacks. When using the default settings combined with a separate daily VP, you effectively get three nested distributions (local → session → daily) on the chart.
This indicator plots two nested distributions side-by-side:
Rolling (Local) Profile — short-window, prorated histogram that “breathes” with price and maps the immediate auction.
Session Anchored Profile — cumulative distribution since the current session start (Premkt → RTH → AH anchoring), revealing the parent regime.
Use their confluence to identify range floors/ceilings, mean-reversion magnets, and low-volume “air pockets” for fast traverses.
What it shows
POC (dashed): central tendency / “magnet” (highest-volume bin).
VAH & VAL (solid): acceptance boundaries enclosing an exact Value Area % around each profile’s POC.
Volume histograms:
Rolling can auto-color by buy/sell dominance over the lookback (green = buying ≥ selling, red = selling > buying).
Session uses a fixed style (blue by default).
Session anchoring (exchange timezone):
Premarket → anchors at 00:00 (midnight).
RTH → anchors at 09:30.
After-hours → anchors at 16:00.
Session display span:
Session Max Span (bars) = 0 → draw from session start → now (anchored).
> 0 → draw a rolling window N bars back → now, while still measuring all volume since session start.
Why it’s useful
Think in terms of nested probability distributions: the rolling node is your local Gaussian; the session node is its parent.
VA↔VA overlap ≈ strong range boundary.
POC↔POC alignment ≈ reliable mean-reversion target.
LVNs (gaps) ≈ low-friction corridors—expect quick moves to the next node.
Quick start
Add to chart (great on 5–10s, 15–60s, 1–5m).
Start with: bins = 240, vaPct = 0.68, barsBack = 60.
Watch for:
First test & rejection at overlapping VALs/VAHs → fade back toward POC.
Acceptance beyond VA (several closes + growing outer-bin mass) → traverse to the next node.
Inputs (detailed)
General
Lookback Bars (Rolling)
Count of most-recent bars for the rolling/local histogram. Larger = smoother node that shifts slower; smaller = more reactive, “breathing” profile.
• Typical: 40–80 on 5–10s charts; 60–120 on 1–5m.
• If you increase this but keep Number of Bins fixed, each bin aggregates more volume (coarser bins).
Number of Bins
Vertical resolution (price buckets) for both rolling and session histograms. Higher = finer detail and crisper LVNs, but more line objects (closer to platform limits).
• Typical: 120–240 on 5–10s; 80–160 on 1–5m.
• If you hit performance or object limits, reduce this first.
Value Area %
Exact central coverage for VAH/VAL around POC. Computed empirically from the histogram (no Gaussian assumption): the algorithm expands from POC outward until the chosen % is enclosed.
• Common: 0.68 (≈“1σ-like”), 0.70 for slightly wider core.
• Smaller = tighter VA (more breakout flags). Larger = wider VA (more reversion bias).
Max Local Profile Width (px)
Horizontal length (in pixels) of the rolling bars/lines and its VA/POC overlays. Visual only (does not affect calculations).
Session Settings
RTH Start/End (exchange tz)
Defines the current session anchor (Premkt=00:00, RTH=your start, AH=your end). The session histogram always measures from the most recent session start and resets at each boundary.
Session Max Span (bars, 0 = full session)
Display window for session drawings (POC/VA/Histogram).
• 0 → draw from session start → now (anchored).
• > 0 → draw N bars back → now (rolling look), while still measuring all volume since session start.
This keeps the “parent” distribution measurable while letting the display track current action.
Local (Rolling) — Visibility
Show Local Profile Bars / POC / VAH & VAL
Toggle each overlay independently. If you approach object limits, disable bars first (POC/VA lines are lighter).
Local (Rolling) — Colors & Widths
Color by Buy/Sell Dominance
Fast uptick/downtick proxy over the rolling window (close vs open):
• Buying ≥ Selling → Bullish Color (default lime).
• Selling > Buying → Bearish Color (default red).
This color drives local bars, local POC, and local VA lines.
• Disable to use fixed Bars Color / POC Color / VA Lines Color.
Bars Transparency (0–100) — alpha for the local histogram (higher = lighter).
Bars Line Width (thickness) — draw thin-line profiles or chunky blocks.
POC Line Width / VA Lines Width — overlay thickness. POC is dashed, VAH/VAL solid by design.
Session — Visibility
Show Session Profile Bars / POC / VAH & VAL
Independent toggles for the session layer.
Session — Colors & Widths
Bars/POC/VA Colors & Line Widths
Fixed palette by design (default blue). These do not change with buy/sell dominance.
• Use transparency and width to make the parent profile prominent or subtle.
• Prefer minimal? Hide session bars; keep only session VA/POC.
Reading the signals (detailed playbook)
Core definitions
POC — highest-volume bin (fair price “magnet”).
VAH/VAL — upper/lower bounds enclosing your Value Area % around POC.
Node — contiguous block of high-volume bins (acceptance).
LVN — low-volume gap between nodes (low friction path).
Rejection vs Acceptance (practical rule)
Rejection at VA edge: 0–1 closes beyond VA and no persistent growth in outer bins.
Acceptance beyond VA: ≥3 closes beyond VA and outer-bin mass grows (e.g., added volume beyond the VA edge ≥ 5–10% of node volume over the last N bars). Treat acceptance as regime change.
Confluence scores (make boundary/target quality objective)
VA overlap strength (range boundary):
C_VA = 1 − |VA_edge_local − VA_edge_session| / ATR(n)
Values near 1.0 = tight overlap (stronger boundary).
Use: if C_VA ≥ 0.6–0.8, treat as high-quality fade zone.
POC alignment (magnet quality):
C_POC = 1 − |POC_local − POC_session| / ATR(n)
Higher C_POC = greater chance a rotation completes to that fair price.
(You can estimate these by eye.)
Setups
1) Range Fade at VA Confluence (mean reversion)
Context: Local VAL/VAH near Session VAL/VAH (tight overlap), clear node, local color not screaming trend (or flips to your side).
Entry: First test & rejection at the overlapped band (wick through ok; prefer close back inside).
Stop: A tick/pip beyond the wider of the two VA edges or beyond the nearest LVN, a small buffer zone can be used to judge whether price is truly rejecting a VAL/VAH or simply probing.
Targets: T1 node mid; T2 POC (size up when C_POC is high).
Flip: If acceptance (rule above) prints, flip bias or stand down.
2) LVN Traverse (continuation)
Context: Price exits VA and enters an LVN with acceptance and growing outer-bin volume.
Entry: Aggressive—first close into LVN; Conservative—retest of the VA edge from the far side (“kiss goodbye”).
Stop: Back inside the prior VA.
Targets: Next node’s VA edge or POC (edge = faster exits; POC = fuller rotations).
Note: Flatter VA edge (shallower curvature) tends to breach more easily.
3) POC→POC Magnet Trade (rotation completion)
Context: Local POC ≈ Session POC (high C_POC).
Entry: Fade a VA touch or pullback inside node, aiming toward the shared POC.
Stop: Past the opposite VA edge or LVN beyond.
Target: The shared POC; optional runner to opposite VA if the node is broad and time-of-day is supportive.
4) Failed Break (Reversion Snap-back)
Context: Push beyond VA fails acceptance (re-enters VA, outer-bin growth stalls/shrinks).
Entry: On the re-entry close, back toward POC.
Stop/Target: Stop just beyond the failed VA; target POC, then opposite VA if momentum persists.
How to read color & shape
Local color = most recent sentiment:
Green = buying ≥ selling; Red = selling > buying (over the rolling window). Treat as context, not a standalone signal. A green local node under a blue session VAH can still be a fade if the parent says “over-valued.”
Shape tells friction:
Fat nodes → rotation-friendly (fade edges).
Sharp LVN gaps → traversal-friendly (momentum continuation).
Time-of-day intuition
Right after session anchor (e.g., RTH 09:30): Session profile is young and moves quickly—treat confluence cautiously.
Mid-session: Cleanest behavior for rotations.
Close / news: Expect more traverses and POC migrations; tighten risk or switch playbooks.
Risk & execution guidance
Use tight, mechanical stops at/just beyond VA or LVN. If you need wide stops to survive noise, your entry is late or the node is unstable.
On micro-timeframes, account for fees & slippage—aim for targets paying ≥2–3× average cost.
If acceptance prints, don’t fight it—flip, reduce size, or stand aside.
Suggested presets
Scalp (5–10s): bins 120–240, barsBack 40–80, vaPct 0.68–0.70, local bars thin (small bar width).
Intraday (1–5m): bins 80–160, barsBack 60–120, vaPct 0.68–0.75, session bars more visible for parent context.
Performance & limits
Reuses line objects to stay under TradingView’s max_lines_count.
Very large bins × multiple overlays can still hit limits—use visibility toggles (hide bars first).
Session drawings use time-based coordinates to avoid “bar index too far” errors.
Known nuances
Rolling buy/sell dominance uses a simple uptick/downtick proxy (close vs open). It’s fast and practical, but it’s not a full tape classifier.
VA boundaries are computed from the empirical histogram—no Gaussian assumption.
This script does not calculate the full daily volume profile. Several other tools already provide that, including TradingView’s built-in Volume Profile indicators. Instead, this indicator focuses on pairing a rolling, short-term volume distribution with a session-wide distribution to make ranges more explicit. It is designed to supplement your use of standard or periodic volume profiles, not replace them. Think of it as a magnifying lens that helps you see where local structure aligns with the broader session.
How to trade it (TL;DR)
Fade overlapping VA bands on first rejection → target POC.
Continue through LVN on acceptance beyond VA → target next node’s VA/POC.
Respect acceptance: ≥3 closes beyond VA + growing outer-bin volume = regime change.
FAQ
Q: Why 68% Value Area?
A: It mirrors the “~1σ” idea, but we compute it exactly from empirical volume, not by assuming a normal distribution.
Q: Why are my profiles thin lines?
A: Increase Bars Line Width for chunkier blocks; reduce for fine, thin-line profiles.
Q: Session bars don’t reach session start—why?
A: Set Session Max Span (bars) = 0 for full anchoring; any positive value draws a rolling window while still measuring from session start.
Changelog (v1.0)
Dual profiles: Rolling + Session with independent POC/VA lines.
Session anchoring (Premkt/RTH/AH) with optional rolling display span.
Dynamic coloring for the rolling profile (buying vs selling).
Fully modular toggles + per-feature colors/widths.
Thin-line rendering via bar line width.
BOOM Deal by PK - Complete Trading SystemTesting this also. will rectify and modify further. just test and give me feedback.
Bottom IndicatorIndicator" identifies when the price is hitting local lows and large players might be stepping in (signaled by a yellow histogram). It overlays a KDJ oscillator and considers it a strong long signal if the purple (J) line is below 4, the white (K) line is below 22, and the yellow histogram is present. In other words, it spots a deeply oversold condition with big player activity as a prime buying opportunity.
Gestor DeFi Pools con CFBManual DeFi Strategy Manager
What does this indicator do?
It combines cryptocurrency trading with DeFi strategies:
Trading signals: When to buy/sell based on EMAs and momentum
AAVE management: When to switch collateral between ETH and USDC
Uniswap V3: Optimal ranges for liquidity pools
🚨 Indicator Signals (Quick Reference)
Symbol Meaning Action
▲E Lime Early ETH Start switching to ETH (aggressive)
▲C Green Confirm ETH Confirm switch to ETH (safe)
▲D Teal DCA ETH Scale ETH position (+10%)
▼E Orange Early USDC Start switching to USDC (aggressive)
▼C Red Confirm USDC Confirm switch to USDC (safe)
▼D Dark Red DCA USDC Scale USDC position (-10%)
❌ Dark Red EMERGENCY Repay loan NOW
LP+ Lime Create NEW LP Open liquidity pool
LP? Green LP Opportunity Similar pool available
LP- Orange Close LP Close liquidity pool
REB Yellow Rebalance Adjust pool ranges
WAIT Gray Pause Wait before acting
Graphic Elements
Element Color Description
Blue Line Blue Fast EMA (10)
Red Line Red Slow EMA (55)
Purple Lines Purple CFB Adaptive Bands
Colored Band Green/Yellow/Red LP range (color = risk)
Orange Background Orange Active squeeze
Blue Background Blue Trending market
Red Background Red Strong breakout
🚀 Installation and Basic Setup
Step 1: Installation (MANDATORY)
Open TradingView → Pine Editor
Create new indicator
Copy and paste the full code
Save as "DeFi Strategy Manager"
Add to ETHUSDC 1H chart
Step 2: Basic Configuration (MANDATORY)
Only two parameters need to be configured:
🎯 Strategy Mode:
🟢 Conservative (±20%): 0.05% daily, very low risk
🟡 Balanced (±10%): 0.2% daily, medium risk
🔴 Aggressive Day Trading (±5%): 0.5% daily, high risk
⚡ Ultra Scalper (±2%): 0.8% daily, extreme risk
⏰ Timeframe:
Scalping (minutes): 0.5x narrower ranges
Day Trading (hours): 0.8x narrower ranges
Swing (days): 1.2x wider ranges
Position (weeks): 1.8x wider ranges
✅ Ready to Use!
Once configured:
✅ Indicator calculates everything automatically
✅ CFB Adaptive is enabled by default (recommended)
✅ Machine Learning learns from your signals automatically
✅ Dashboard shows expected profits in real time
## 📊 Dashboard Explicado (TV makes me write this in English, but the dashboard is in Spanish, so...)
El tablero superior derecha muestra información esencial en tiempo real con 15 indicadores clave:
### Configuración y Setup:
- **Estrategia**: Tu modo seleccionado (Conservador/Balanceado/Agresivo/Scalper) + temporalidad
- **Rango Final**: El rango actual de Uniswap V3 después de todos los ajustes automáticos
- **ML Confidence**: Porcentaje de éxito de señales pasadas (70%+ = alta confianza)
- **Config Status**: Comparación con tu perfil base + recomendaciones de ajuste
### Estado del Mercado:
- **Market State**: Tipo de mercado (Tendencial/Lateral) + condiciones de squeeze + dirección
- **CFB Status**: Estado del sistema adaptativo CFB + posición del precio + rango dinámico
### Performance y Retornos:
- **Performance**: Tu retorno actual + ganancias proyectadas diarias/mensuales
- **Expected APY**: Retorno anual esperado con clasificación de riesgo
### Gestión de Pools:
- **Pool Status**: Estado actual de tu pool de liquidez + drift de precio + tiempo activo
- **Pool Ranges**: Rangos de precio específicos superior e inferior + distancias actuales
### Señales y Acciones:
- **Trend Progress**: En qué dirección optimiza la estrategia (ETH/USDC/ninguna)
- **Señal Activa**: Qué señal está ejecutándose ahora (Early/Confirm/DCA)
- **Acción Prioritaria**: Próxima acción recomendada con emoji de estado
### Monitoreo de Riesgo:
- **Risk Level**: Nivel de riesgo de Impermanent Loss + rango de volatilidad del mercado
- **Overall Status**: Estado general del sistema + puntuación para day trading
#### **🔧 Ejemplo de Dashboard Simplificado:**
```
📊 DEFI CFB SMART │ VALOR │ STATUS
─────────────────────┼───────────────────┼──────────────────
Estrategia │ Agresivo DT │ Day Trading
Rango Final │ ±5.8% │ 🟡 MEDIO
Confianza ML │ 67% │ MEDIA (12)
Estado Config │ +15% │ CONFIGURACIÓN OK
Estado Mercado │ Lateral-Release │ ↑BULL DÉBIL
Rendimiento │ 5.2% │ $50/día $1.5K/mes
APY Esperado │ 182% │ 🟡 ALTO
Estado CFB │ ACTIVO ↑$2,247 │ ±6.2%
Estado Pool │ ACTIVO │ 2.3% drift 4h
Rangos Pool │ $2,180-2,314 │ +3.1% / -4.2%
Progreso Trend │ ETH Trend │ DCA Ready
Señal Activa │ ETH DCA │ Scale Up
Acción Prioritaria │ Swap → ETH │ 🔄
Nivel Riesgo │ IL: 🟡 MEDIO │ Vol: 45%ile NORMAL
Estado General │ ✅ NORMAL │ ÓPTIMO DT (1.2x)
🎯 DeFi Context: AAVE Collateral Management
Triangle signals can be used for both traditional trading and AAVE collateral management:
🏦 What is AAVE?
AAVE is a lending protocol where you can:
Deposit collateral (ETH or USDC)
Borrow against that collateral
Switch collateral type to optimize your position
🔄 Two ways to use the signals:
💹 Traditional Trading:
▲ ETH Signal: Buy ETH with fiat
▼ USDC Signal: Sell ETH for fiat
Goal: Profit by buying low and selling high
🏦 AAVE Management (Recommended for DeFi):
▲ Swap → ETH: Switch your collateral from USDC to ETH (expecting ETH to rise)
▼ Swap → USDC: Switch your collateral from ETH to USDC (expecting ETH to fall)
Goal: Optimize collateral value without changing total amount
💡 Practical AAVE Example:
You have $10,000 in USDC as collateral in AAVE
↓
▲E Early ETH appears
↓
You switch your collateral: $10,000 USDC → $10,000 ETH
↓
If ETH rises 20%, your collateral is worth $12,000
↓
▼E Early USDC appears
↓
You switch back: $12,000 ETH → $12,000 USDC
↓
You gained $2,000 by optimizing your collateral
⚠️ Advantages of the AAVE approach:
No extra money needed – use existing collateral
Loan remains active – continue using borrowed USDC for LP
Lower taxes – collateral swaps vs buy/sell
Higher efficiency – optimize without changing main strategy
🎯 Strategies by Profile
🟢 Conservative – "Confirmations Only":
Follow only: ▲C/▼C (Confirmation signals)
Ignore: Early signals (too risky)
Strategy: Switch only when trend is confirmed
Result: Fewer changes, more safety
🟡 Balanced – "Gradual":
Early: ▲E/▼E (25% of position)
Confirm: ▲C/▼C (50% additional)
DCA: ▲D/▼D (remaining 25%)
Result: Balanced risk/optimization
🔴 Aggressive – "Full Cycle":
Early: ▲E/▼E (50% immediately)
Confirm: ▲C/▼C (30% additional)
Each DCA: ▲D/▼D (maintain full optimization)
Result: Maximum optimization, maximum risk
📈 Advanced Configuration (Optional)
🔬 CFB Adaptive MOGALEF (Enabled by Default)
CFB Adaptive Ranges: Smart system that adjusts ranges based on market volatility and momentum.
Enabled (default): Ranges adapt automatically
Disabled: Uses fixed ranges based on your setup
Manual Override: Full manual control if desired
🤖 Machine Learning: Learns from past signals (last 20) and improves accuracy automatically. If ML Signal Quality > 70%, signals are highly reliable.
💰 Yield Optimization: Suggests when to switch between conservative and aggressive for better returns:
"OPTIMAL": Your current setup is fine
"GO CONSERVATIVE": You could earn more with wider, safer ranges
"GO AGGRESSIVE": You could earn more with tighter ranges (more risk!)
📊 Portfolio Tracker: Tracks estimated P&L starting from $10,000. Includes LP and IL fees, excludes gas fees. Use as a trend indicator.
Manual Override (Experts Only)
To customize:
Enable "Override Manual" in Advanced Settings
Manually adjust your preferred range
To return to automatic: disable override
📝 Detailed Input Configuration (Advanced)
👤 Basic User Configuration
Strategy Mode: Select your base risk profile
Conservative (±20%): Prioritize safety over returns. Ideal for beginners or large capital (> $50K)
Balanced (±10%): Balance between safety and returns. Recommended for most users
Aggressive Day Trading (±5%): For active users who monitor frequently. Higher returns, more risk
Scalper Ultra (±2%): For professionals only. Requires constant monitoring
Timeframe: Adjust strategy frequency
Scalping (minutes): 50% narrower ranges. For very active trading
Day Trading (hours): 20% narrower ranges. For review every few hours
Swing (days): 20% wider ranges. For daily review
Position (weeks): 80% wider ranges. For weekly review
🔬 CFB Adaptive MOGALEF
CFB Length (8): Period for CFB filter. Lower = more sensitive
CFB Adaptive Length (20): Period for adaptive volatility. Affects band adjustment speed
CFB Band Multiplier (2.0): Band width. Higher = wider bands
CFB Smoothing (3): Volatility smoothing. Reduces noise
CFB Adaptive Ranges (true): Enable/disable adaptive system
CFB Sensitivity (1.0): Filter sensitivity. 0.3 = conservative, 3.0 = very aggressive
🎛️ Advanced Settings
Dynamic Ranges (true): Adjust ranges based on market conditions
Breakout Protection (true): Automatically widens ranges during breakouts
IL Alerts (true): Shows Impermanent Loss warnings
Manual Override (false): Disables automation, uses manual range
Manual Range % (5.0): Fixed range if override is enabled
📈 TradingLatino Core
Fast EMA (10): Fast moving average period. Lower = more sensitive
Slow EMA (55): Slow moving average period. Determines main trend
ADX Length (14): ADX calculation period. Industry standard
ADX Threshold (23): Minimum ADX to consider strong trend
🏊♂️ Pool Management
Pool Range Tolerance % (20.0): % of price movement considered valid for pool
Missed Opportunity Window (24): Bars to keep missed opportunity visible
Recommendation: Use default settings until familiar with the system. Values are optimized for balance between precision and usability.
EMA/MA Unified with Pivot S/RIndicator Name:
EMA/MA Unified with Pivot S/R (Moving Average + Pivot Support/Resistance System)
————————————
Indicator Purpose:
This indicator combines multi-period EMA/MA moving averages with the Pivot Support/Resistance (Pivot S/R) system to identify market trends, pullback zones, and key support and resistance levels, helping traders more clearly judge market structure and entry and exit points.
————————————
Functional Description:
A. EMA/MA Trend System:
1. Secondary Retracement Lines (EMA60/MA60): Display short-term price fluctuations and pullback levels, helping to determine entry or expansion opportunities.
2. Primary Trend Moving Averages (EMA240/EMA720/EMA1440): Represent short-term, medium-term, and long-term trends, respectively, and are used to determine overall market direction. EMA240 serves as a short-term primary trend reference line, useful for trend confirmation and pullback trading.
B. EMA720 and EMA1440 Crossover Signals:
1. Golden Cross (EMA720 crosses above EMA1440): Confirms a bullish trend.
2. Death Cross (EMA720 crosses below EMA1440): Confirms a bearish trend.
C. Trend Band Fill:
Green bands indicate bullish trend bands, and red bands indicate bearish trend bands, visually displaying the direction and strength of the primary trend.
D. Pivot Point Support and Resistance System:
1. Pivot points are categorized as short-term swing support and resistance, medium-term pullback support and resistance, and long-term trend support and resistance, helping traders identify key support and resistance areas.
2. The system automatically generates corresponding multi-period pivot lines based on the current period and user settings, allowing trading in conjunction with moving average trends.
3. Pivot point display allows for flexible selection, displaying only short-term, medium-term, or long-term key points.
————————————
Using Trend Lines:
A. Trend Trading:
1. Bullish Primary Trend: If the price breaks through the trend line and rises above the EMA240 or EMA/MA60, consider going long. The EMA240 can be used as a short-term trend filter to confirm that the bullish primary trend persists after a pullback.
2. Bearish Primary Trend: If the price breaks through the trend line and falls below the EMA240 or EMA/MA60, consider going short. The EMA240 can also filter out false breakouts and confirm the trend direction.
B. Pullback Trading:
1. Combining short-term pivot points (fluctuations) with trend lines can identify entry points after short-term price pullbacks.
2. Combining medium-term pivot points (retracements) with trend lines and the EMA240 can identify safe positions to add to positions after the trend continues.
C. Key Support and Resistance:
1. The intersection of pivot lines and trend lines represents potential support/resistance reversal points, suitable for use as take-profit or stop-loss references.
2. When a trend line breaks through a pivot line, it can be used as a trend confirmation or breakout trading signal.
3. The EMA 240 can be used as an additional filter to enhance the effectiveness of support and resistance levels.
————————————
Suggestions for Use:
1. Suitable for use in conjunction with trend line and price pattern analysis. Prioritize trend following when the trend is clear, combining pivot points and the EMA 240 for trading.
2. Switch between different moving averages and pivot point systems to capture trends and pullbacks at different levels.
3. The EMA 240, as a short-term trend reference line, can filter out false breakouts and optimize entry and exit points.
——————————————————————————————————————————————————————————
指标名称:
EMA/MA 融合枢轴支撑/阻力系统(移动平均线 + 枢轴支撑/阻力系统)
————————————
指标用途:
该指标将多周期 EMA/MA 移动平均线与枢轴支撑/阻力系统(枢轴支撑/阻力系统)相结合,以识别市场趋势、回调区域以及关键支撑位和阻力位,帮助交易者更清晰地判断市场结构以及入场和出场点。
————————————
功能描述:
A. EMA/MA 趋势系统:
1. 次要回撤线 (EMA60/MA60):显示短期价格波动和回调水平,帮助确定入场或扩展机会。
2. 主要趋势移动平均线 (EMA240/EMA720/EMA1440):分别代表短期、中期和长期趋势,用于判断整体市场方向。 EMA240 作为短期主要趋势参考线,可用于趋势确认和回调交易。
B. EMA720 和 EMA1440 交叉信号:
1. 黄金交叉(EMA720 上穿 EMA1440):确认看涨趋势。
2. 死亡交叉(EMA720 下穿 EMA1440):确认看跌趋势。
C. 趋势带填充:
绿色带表示看涨趋势带,红色带表示看跌趋势带,直观地显示主要趋势的方向和强度。
D. 枢轴点支撑位和阻力位系统:
1. 枢轴点分为短期波动支撑位和阻力位、中期回调支撑位和阻力位以及长期趋势支撑位和阻力位,帮助交易者识别关键支撑位和阻力位。
2. 系统会根据当前周期和用户设置自动生成相应的多周期枢轴线,以便结合移动平均线趋势进行交易。
3. 枢轴点显示允许灵活选择,仅显示短期、中期或长期关键点。
————————————
使用趋势线:
A. 趋势交易:
1. 看涨主要趋势:如果价格突破趋势线并升至 EMA240 或 EMA/MA60 上方,则考虑做多。EMA240 可用作短期趋势过滤器,以确认看涨主要趋势在回调后是否持续。
2. 看跌主要趋势:如果价格突破趋势线并跌破 EMA240 或 EMA/MA60,则考虑做空。EMA240 还可以过滤掉假突破并确认趋势方向。
B. 回调交易:
1. 将短期枢轴点(波动)与趋势线相结合,可以识别短期价格回调后的入场点。
2. 将中期枢轴点(回撤点)与趋势线和 EMA240 指标相结合,可以识别趋势持续后可安全加仓的仓位。
C. 关键支撑位和阻力位:
1. 枢轴点和趋势线的交点代表潜在的支撑/阻力反转点,适合用作止盈或止损的参考。
2. 当趋势线突破枢轴点时,可以作为趋势确认或突破的交易信号。
3. EMA 240 指标可作为额外的过滤器,增强支撑位和阻力位的有效性。
————————————
使用建议:
1. 适合与趋势线和价格形态分析结合使用。在趋势清晰时优先进行趋势跟踪,结合枢轴点和 EMA 240 指标进行交易。
2. 在不同的移动平均线和枢轴点系统之间切换,以捕捉不同水平的趋势和回调。
3、EMA 240作为短期趋势参考线,可以滤除假突破,优化进出点。
Gamma's LevelsThese are magic levels that have worked for me for almost 7 years.
They are amazing simply put.
You are the context. These levels help you pick points to take your trades.
Aladin 2.0 — Invite‑Only (Custom Smoother + Supertrend Filter)Aladin 2.0 invite‑only by @AryaTrades69
Overview
Aladin 2.0 blends a proprietary multi‑stage smoother baseline, volatility envelopes, and a Supertrend‑based ATR trailing filter to structure clean, bar‑close signals. Optional “golden‑zone style” retracement gating and mapped SL/TP zones are included. This is a tool for analysis, accuracy is best when you add manual confluence (trendlines, support/resistance) to filter out low‑quality signals.
What’s inside
Proprietary multi‑stage smoother (baseline)
Custom smoothed baseline with adjustable length and a smoothing coefficient. Drives core breakout logic without revealing internal formulas.
Volatility envelopes
Breakout candidates when price closes beyond adaptive volatility bands.
Supertrend‑based trend filter (optional, MTF)
ATR‑trailing regime filter to keep signals aligned with trend; can run on higher timeframes.
Golden‑zone style retracement gate (optional)
Only allow signals within a defined pullback zone of the recent range.
Spacing & structure controls
Minimum bars between signals plus a simple HH/LL gate to avoid clustered whipsaws.
SL/TP mapping (optional)
SL from most recent confirmed swing; ATR fallback if no swing is found.
TP1/TP2/TP3 by user‑defined R:R; move SL to breakeven at TP1.
Shaded zones for SL and target area (time‑limited for clarity).
How to use
Choose your timeframe (intraday to swing). Signals compute on bar close.
Enable the trend filter for strictly trend‑aligned entries (Supertrend‑based ATR trail). MTF is supported.
Use the golden‑zone gate to prioritize higher‑quality pullbacks.
Validate with manual confluence:
Trendlines, structure breaks
Support/resistance or supply/demand
Session/volatility context
Optionally enable SL/TP areas, set R:R, and configure alerts.
Inputs (key controls)
Smoother length & smoothing coefficient (baseline sensitivity/lag)
Range period & multiplier (volatility envelopes)
Min bars between signals (signal frequency)
Trend filter (ATR trail): factor, ATR period, line smoothing, optional higher timeframe
Golden‑zone retracement: lookback, min/max bounds
SL/TP: swing lookback, ATR fallback, TP1/2/3 R:R, zone display width
Alerts
Long/Short signal on bar close
TP1/TP2/TP3 hit
SL hit / Breakeven event
(Setup: Add Alert → Condition: Aladin 2.0 → choose event)
MTF & repaint policy
Signals are calculated on bar close; the trend filter uses security with lookahead off.
Swing‑based SL uses confirmed pivots.
With an HTF filter enabled on an LTF chart, the HTF line/state finalizes when the HTF bar closes (standard MTF behavior).
Best practices
Not a set‑and‑forget system. Accuracy improves when you manually filter weaker signals with trendlines and support/resistance, and prioritize clean market structure.
Consider conservative settings or the trend filter during choppy, low‑volatility periods.
Access
Invite‑Only. Request access via TradingView PM to @AryaTrades69.
Redistribution or code extraction is not permitted.
Disclaimer
For educational purposes only. Not financial advice.
No guarantees of profitability. Trading involves risk. Do your own research.
Changelog (v2.0)
Optional MTF ATR‑trail trend filter (Supertrend concept)
Golden‑zone style retracement gating
Min‑bars spacing and basic HH/LL gating
SL/TP mapping with BE at TP1 and shaded zones
Stability and performance improvements
Gann Box LogicGann Box Logic
Overview
The Gann Box Logic indicator is a precision-based trading tool that combines the principles of Gann analysis with retracement logic to highlight high-probability zones of price action. It plots a structured box on the chart based on the previous day's high and low, overlays Fibonacci-derived retracement levels, and visually marks a critical “neutral zone” between 38.2% and 61.8% retracements.
This zone — shaded for emphasis — is a decision filter for traders:
- It warns against initiating trades in this area (low conviction zone).
- It identifies reversal pull targets when extremes are reached.
Core Principles Behind Gann Box Logic
Logic 1 — The Neutral Zone (38.2% ↔ 61.8%)
- The 38.2% and 61.8% retracement levels are key Fibonacci ratios often associated with consolidation or indecision.
- Price action between these two levels is considered a neutral, low-conviction zone.
- Trading Recommendation:
- Avoid initiating new trades while price remains within this shaded band.
- This zone tends to produce whipsaws and false signals.
- Wait for a decisive break above 61.8% or below 38.2% for clearer momentum.
- Why it matters:
- In Gann’s market structure thinking, the middle range of a swing is often a battleground where neither bulls nor bears are in full control.
- This is the zone where market makers often shake out weak hands before committing to a direction.
Logic 2 — Extremes Seek Balance (0% & 100% Reversal Bias)
- The indicator’s 0% and 100% levels represent the previous day’s low and high respectively.
- First Touch Rule:
- When the price touches 0% (previous low) or 100% (previous high) for the first time in the current session, there is a high probability it will attempt to revert toward the center zone (38.2% ↔ 61.8%).
- Trading Implication:
- If price spikes to an extreme, be alert for reversion trades toward the mid-zone rather than expecting a sustained breakout.
- Momentum traders may still pursue breakout trades, but this bias warns of potential pullbacks.
- Why it works:
- Extreme levels often trigger profit-taking by early entrants and counter-trend entries by mean-reversion traders.
- These forces naturally pull the market back toward equilibrium — often near the 50% level or within the shaded zone.
How the Indicator is Plotted
1. Previous Day High/Low Reference — The script locks onto the prior day’s range to establish the vertical bounds of the box.
2. Retracement Levels — Key Fibonacci levels plotted: 0%, 25%, 38.2%, 50%, 61.8%, 75%, 100%.
3. Box Structure — Outer Border marks the full prior day range, Mid Fill Zone is shaded between 38.2% and 61.8%.
4. VWAP (Optional) — Daily VWAP overlay for intraday bias confirmation.
Practical Usage Guide
- Avoid Trades in Neutral Zone — Stay out of the shaded area unless you’re already in a trade from outside this zone.
- Watch for First Touch Extremes — First touch at 0% or 100% → anticipate a pullback toward the shaded zone.
- Breakout Confirmation — Only commit to breakout trades when price leaves the 38.2–61.8% zone with strong volume and momentum.
- VWAP Confluence — VWAP crossing through the shaded zone often signals a balance day — breakout expectations should be tempered.
Strengths of Gann Box Logic
- Removes noise trades during low-conviction periods.
- Encourages patience and discipline.
- Highlights key market turning points.
- Provides clear visual structure for both new and advanced traders.
Limitations & Warnings
- Not a standalone entry system — best used in conjunction with price action and volume analysis.
- Extreme moves can sometimes trend without reversion, especially during news-driven sessions.
- Works best on intraday timeframes when referencing the previous day’s range.
In Summary
The Gann Box Logic indicator’s philosophy can be boiled down to two golden rules:
1. Do nothing in the middle — Avoid trades between 38.2% and 61.8%.
2. Expect balance from extremes — First touches at 0% or 100% often pull back toward the shaded mid-zone.
This dual approach makes the indicator both a trade filter and a targeting guide, allowing traders to navigate markets with a structured, Gann-inspired framework.
DISCLAIMER
The information provided by this indicator is for educational purposes only and should not be considered financial advice. Trading carries risk, including possible loss of capital. Past performance does not guarantee future results. Always conduct your own research and consult with a qualified financial professional before making trading decisions.
Kaos CHoCH M15 – Confirm + BOS H4 Bias (no repinta)Marca choch en dirección del Bias de H4 para seguir con la tendencia.
Kay Capitals Secret KeyFollow Kay Capitals @kaycapitals on instagram to learn how to use these levels every day to print!
Secret Key Updated Daily
Cvd Divergence Signals with filter.
CVD Divergence + Candles - False Signal Filter
Hey traders,
I want to share my custom indicator with you. Through testing, I've found that CVD (Composite Volume Delta) captures divergences much more accurately than traditional tools like RSI. But this isn't just another divergence indicator - I've added strict candlestick pattern confirmation to filter out false signals. I'll keep improving this tool over time, and I welcome all your suggestions in the comments.
How it works step-by-step:
1. First, it detects CVD divergences (the delta between buy/sell volumes)
2. Then confirms each signal with reversal candlestick patterns:
- Hammer/Hanging Man
- Engulfing
- Pin Bar
- Inside Bar
Why mine beats standard CVD indicators:
• No raw divergences - only shows signals confirmed by BOTH volume AND price action
• Eliminates 80% of junk signals from basic versions
• Adaptable to any asset and timeframe
Simple usage guide:
Green arrows = Buy when:
- CVD shows bullish divergence
- AND a hammer/pin bar appears
Red arrows = Sell when:
- CVD shows bearish divergence
- Confirmed by hanging man/engulfing pattern
Pro tip:
For best results, combine with:
• Volume profile analysis
• Smart Money concepts (order blocks, FVGs )
Important notes:
This isn't a holy grail - I personally use it with support/resistance levels. Works best on 5M charts for scalping.
**PS** Got questions? Drop them in comments!
Yanirax Model (YNRX)The Yanirax Model (YNRX) is a quantitative analysis tool designed to detect market lows and highs for a multitude of financial assets. This script calculates and accumulates (cumulative computation) a series of metrics in both absolute values and logarithmic percentages, allowing patterns to be identified that detect market highs and lows.
Calculations and models included
- Gap (G) – Difference between the previous opening and closing prices.
- Market (M) – Intraday movement from opening to closing.
- Total Market (TM) – Difference between the current closing price and the previous closing price.
- G-M (YNRX) – Ratio between Gap and Market.
- TM+M (YNRX) – Sum of Total Market and Market.
- TM+G (YNRX) – Sum of Total Market and Gap.
- MBI – Relative average based on candlestick highs and lows.
- RSG – Difference between positive and negative movements measured from highs and lows.
- YNRY 1 – Accumulation of directional range conditioned by the Total Market trend.
- YNRY 2 – Variations of YNRY 1 adjusted with Total Market, Market, or Gap.
- Version in % – All of the above metrics are also calculated on a logarithmic basis, expressed as cumulative percentages.
Display
The script allows you to choose the variables and models you want to use, with blocks such as gap, market, and total market available, or you can use these three together with models such as YNRX, YNRY, RSG, or MBI.
Intended use
This indicator does not generate buy or sell signals on its own. Its purpose is to provide a statistical and structural view of market behavior so that users can integrate it into their own technical analysis and detect turning points.
KPI Last 5 NWOGsIndicator to plot the last 5 New Week Opening Gaps and update them in realtime to easily track them. Each week a new one is created and and old one is removed.
KPI Last 5 NDOGsThis indicator plots the last 5 New Day Opening Gaps with a midpoint line. The indictor updates every bar so it's easy to track these levels. The indicator does not produce a NDOG at the end of the day on a Friday and this is covered by the indictor that produces the New Week Opening Gaps as they are the same that day.
KPI - ROR 09:30-10:00Plots the high, low and mid ranges of the regular opening range from 09:30 - 10:00. After 10am it stops updating and extending the range till the end of the trading day at 16:00.
Range Trend Channels with Flip Signals 0.1.0Range Trend Channels with Flip Signals 0.1.0
Purpose:
- Detects "range trend" patterns on the chart using
4-bar structures.
- Draws main channel lines, parallel lines, and "third lines"
on valid hard closes above/below.
- Generates BUY/SELL signals based on candle interaction
with the third lines.
Features:
• Configurable number of recent patterns to keep.
• Adjustable hard-close buffer in ticks.
• Adjustable line width and style.
• Separate colors for bullish (green) and bearish (black) ranges.
• Extra third line colors for each type.
• Option to enable/disable hard-close detection per side.
• Signal system with:
– Strict next-bar or window-based mode
– Candle color filtering
– Minimum body size requirement
– Optional momentum filter
• Alerts for BUY/SELL signals.
Usage Tips:
- Use on your preferred timeframe for spotting
structure-based continuation/reversal points.
- "Hard-close buffer" helps prevent false triggers
from small overlaps.
- In strict mode, signals fire on the very next bar
after the third line is created.
- In window mode, signals can trigger within a
specified number of bars after third line creation.
FlowScape PredictorFlowScape Predictor is a non-repainting, regime-aware entry qualifier that turns complex market context into two readiness scores (Long & Short, each 0/25/50/75/100) and clean, confirmed-bar signals. It blends three orthogonal pillars so you act only when trend energy, momentum, and location agree:
Regime (energy): ATR-normalized linear-regression slope of a smooth HMA → EMA baseline, gated by ADX to confirm when pressure is meaningful.
Momentum (push): RSI slope alignment so price has directional follow-through, not just drift.
Structure (location): proximity to pivot-confirmed swings, scaled by ATR, so “ready” appears near constructive pullbacks—not mid-trend chases.
A soft ATR cloud wraps the baseline for context. A yellow Predictive Baseline extends beyond the last bar to visualize near-term trajectory. It is visual-only: scores/alerts never use it.
What you see
Baseline line that turns green/red when regime is strong in that direction; gray when weak.
ATR cloud around the baseline (context for stretch and pullbacks).
Scores (Long & Short, 0–100 in steps of 25) and optional “L/S” icons on bar close.
Yellow Predictive Baseline that extends to the right for a few bars (visual trajectory of the smoothed baseline).
The scoring system (simple and transparent)
Each side (Long/Short) sums four binary checks, 25 points each:
Regime aligned: trendStrong is true and LR slope sign favors that side.
Momentum aligned: RSI side (>50 for Long, <50 for Short) and RSI slope confirms direction.
Baseline side: price is above (Long) / below (Short) the baseline.
Location constructive: distance from the last confirmed pivot is healthy (ATR-scaled; not overstretched).
Valid totals are 0, 25, 50, 75, 100.
Best-quality signal: 100/0 (your side/opposite) on bar close.
Good, still valid: 75/0, especially when the missing block is only “location” right as price re-engages the cloud/baseline.
Avoid: 75/25 or any opposition > 0 in a weak (gray) regime.
The Predictive (Kalman) line — what it is and isn’t
The yellow line is a visual forward extension of the smoothed baseline to help you see the current trajectory and time pullback resumptions. It does not predict price and is excluded from scores and alerts.
How it’s built (plain English):
We maintain a one-dimensional Kalman state x as a smoothed estimate of the baseline. Each bar we observe the current baseline z.
The filter adjusts its trust using the Kalman gain K = P / (P + R) and updates:
x := x + K*(z − x), then P := (1 − K)*P + Q.
Q (process noise): Higher Q → expects faster change → tracks turns quicker (less smoothing).
R (measurement noise): Higher R → trusts raw baseline less → smoother, steadier projection.
What you control:
Lead (how many bars forward to draw).
Kalman Q/R (visual smoothness vs. responsiveness).
Toggle the line on/off if you prefer a minimal chart.
Important: The predictive line extends the baseline, not price. It’s a visual timing aid—don’t automate off it.
How to use (step-by-step)
Keep the chart clean and use a standard OHLC/candlestick chart.
Read the regime: Prefer trades with green/red baseline (trendStrong = true).
Check scores on bar close:
Take Long 100 / Short 0 or Long 75 / Short 0 when the chart shows a tidy pullback re-engaging the cloud/baseline.
Mirror the logic for shorts.
Confirm location: If price is > ~1.5 ATR from its reference pivot, let it come back—avoid chasing.
Set alerts: Add an alert on Long Ready or Short Ready; these fire on closed bars only.
Risk management: Use ATR-buffered stops beyond the recent pivot; target fixed-R multiples (e.g., 1.5–3.0R). Manage the trade with the baseline/cloud if you trail.
Best-practice playbook (quick rules)
Green light: 100/0 (best) or 75/0 (good) on bar close in a colored (non-gray) regime.
Location first: Prefer entries near the baseline/cloud right after a pullback, not far above/below it.
Avoid mixed signals: Skip 75/25 and anything with opposition while the baseline is gray.
Use the yellow line with discretion: It helps you see rhythm; it’s not a signal source.
Timeframes & tuning (practical defaults)
Intraday indices/FX (5m–15m): Demand 100/0 in chop; allow 75/0 when ADX is awake and pullback is clean.
Crypto intraday (15m–1h): Prefer 100/0; 75/0 on the first pullback after a regime turn.
Swing (1h–4h/D1): 75/0 is often sufficient; 100/0 is excellent (fewer but cleaner signals).
If choppy: raise ADX threshold, raise the readiness bar (insist on 100/0), or lengthen the RSI slope window.
What makes FlowScape different
Energy-first regime filter: ATR-normalized LR slope + ADX gate yields a consistent read of trend quality across symbols and timeframes.
Location-aware entries: ATR-scaled pivot proximity discourages mid-air chases, encouraging pullback timing.
Separation of concerns: The predictive line is visual-only, while scores/alerts are confirmed on close for non-repainting behavior.
One simple score per side: A single 0–100 readiness figure is easier to tune than juggling multiple indicators.
Transparency & limitations
Scores are coarse by design (25-point blocks). They’re a gatekeeper, not a promise of outcomes.
Pivots confirm after right-side bars, so structure signals appear after swings form (non-repainting by design).
Avoid using non-standard chart types (Heikin Ashi, Renko, Range, etc.) for signals; use a clean, standard chart.
No lookahead, no higher-timeframe requests; alerts fire on closed bars only.
The Barking Rat PercentilesPercentile Reversion with Multi-Layered Smoothing
The Barking Rat Percentiles is a multi-tiered reversion strategy based on fixed percentage movements away from the mean, designed to capture price extremes through a structured, practical approach. It combines statistically derived percentile bands, RSI momentum filtering, and ATR-driven exits to identify potential turning points while managing opportunity with precision. The aim is to isolate high-quality reversal opportunities at progressively deeper extremes while avoiding noise and low-conviction setups.
At its core, the strategy measures the current market position relative to long-term percentile thresholds. When price moves significantly beyond these smoothed levels and momentum shows signs of exhaustion, staged entries are triggered. Exits are managed using independent ATR-based take profit and stop loss logic to adapt to varying volatility conditions.
🧠 Core Logic: Tiered Extremes & Structured Management
This strategy is intentionally methodical, layering multiple thresholds and validation checks before highlighting potential setups. By combining percentile-based extremes with momentum confirmation and adaptive trade management, it offers a disciplined and repeatable framework for mean reversion trading.
1. Percentile Thresholds as the Primary Framework
The script calculates the highest high and lowest low over a long lookback period of more than 1000 candles to define the overall price range. It then derives upper and lower percentile thresholds to determine extreme price levels. These thresholds are smoothed using a simple moving average to filter out short-term noise, ensuring that only statistically significant deviations from the mean are considered for potential trades.
2. Multi-Tier Entry Levels
Based on the percentile distance away from the mean, the script plots and references five discrete trigger levels beyond the primary thresholds for both long and short positions. Each tier represents progressively deeper extremes, typically 1–3% beyond the smoothed threshold, balancing the benefits of early entries with the safety of more confirmed extremes. Custom logic ensures only one signal is generated per threshold level, avoiding duplicate entries in the same zone.
3. RSI Momentum Filter
A 14-period RSI filter is applied to prevent entering trades against strong momentum. Long trades are only triggered when RSI falls below 30 (oversold), and short trades only when RSI rises above 70 (overbought). This helps align entries with potential exhaustion points, reducing the risk of entering prematurely into a strong ongoing trend.
4. ATR-Based Trade Management
For each trade sequence, the strategy will exit on the first exit condition met: either the take profit (TP) or the stop loss (SL). Because the TP uses a smaller ATR multiplier, it’s generally closer to the entry price, so most trades will hit the TP before reaching the SL. The SL is intentionally set with a larger ATR multiplier to give the trade room to develop, acting as a protective fallback rather than a frequent exit.
So in practice, you’ll usually see the TP executed for a trade, and the SL only triggers in cases where price moves further against the position than expected.
5. Position Reset Logic
Once price returns to the smoothed threshold region, all entry tiers in that direction are reset. This allows the system to prepare for new opportunities if the market revisits extreme levels, without triggering duplicate trades at the same threshold.
Why These Parameters Were Chosen
Multi-tier thresholds ensure that only meaningful extremes are acted upon, while the long-range SMA provides historical context and filters out noise. The staged entry logic per level balances the desire for early participation with the discipline of risk management. ATR-based TP and SL levels adapt to changing volatility, while the RSI filter improves timing by aligning trades with potential exhaustion points. Together, these elements create a balanced, structured, and repeatable approach to mean reversion trading.
📈 Chart Visuals: Clear & Intuitive
Green “▲” below a candle: Potential long entry
Red “▼” above a candle: Potential short entry
Blue “✔️”: Exit when ATR take profit is hit
Orange “✘”: Exit when ATR stop loss is hit
Tier threshold lines (smoothed upper/lower bounds)
🔔Alerts: Stay Notified Without Watching
The strategy supports real-time alerts on candle close, ensuring that signals are only triggered once fully confirmed.
You must manually set up alerts within your TradingView account. Once configured, you’ll be able to set up one alert per instrument. This one alert covers all relevant signals and exits — ideal for hands-free monitoring.
⚙️Strategy report properties
Position size: 25% equity per trade
Initial capital: 10,000.00 USDT
Pyramiding: 10 entries per direction
Slippage: 2 ticks
Commission: 0.055% per side
Backtest timeframe: 1-minute
Backtest instrument: SOLUSDT
Backtesting range: Jul 28, 2025 — Aug 14, 2025
Note on Sample Size:
You’ll notice the report displays fewer than the ideal 100 trades in the strategy report above. This is intentional. The goal of the script is to isolate high-quality, short-term reversal opportunities while filtering out low-conviction setups. This means that the Barking Rat Percentiles strategy is ultra-selective, filtering out over 90% of market noise by enforcing multiple validation layers. The brief timeframe shown in the strategy report here illustrates its filtering logic over a short window — not its full capabilities. As a result, even on lower timeframes like the 1-minute chart, signals are deliberately sparse — each one must pass all criteria before triggering.
For a larger dataset:
Once the strategy is applied to your chart, users are encouraged to expand the lookback range or apply the strategy to other volatile pairs to view a full sample.
💡Why 25% Equity Per Trade?
While it's always best to size positions based on personal risk tolerance, we defaulted to 25% equity per trade in the backtesting data — and here’s why:
Backtests using this sizing show manageable drawdowns even under volatile periods
The strategy generates a sizeable number of trades, reducing reliance on a single outcome
Combined with conservative filters, the 25% setting offers a balance between aggression and control
Users are strongly encouraged to customize this to suit their risk profile.
🔍 What Makes This Strategy Unique?
Multi-Tier Percentile Triggers – Instead of relying on a single overbought/oversold zone, this strategy uses five distinct entry tiers per direction, allowing for staged, precision entries at progressively deeper extremes.
Long-Term Percentile Smoothing – By calculating extremes over a 1000+ candle range and smoothing them with a moving average, the strategy focuses only on statistically significant deviations.
Custom One-Signal-Per-Tier Logic – Prevents duplicate trades at the same threshold level, reducing overtrading and noise.
Dual ATR Exit System – Independent TP and SL levels adapt to volatility. TP uses a smaller ATR multiplier for realistic, achievable exits and generally executes first, while the SL has a larger ATR multiplier to provide protective breathing room if the trade moves further against the position.
Momentum-Aware Filtering – A 14-period RSI filter ensures trades are only taken when momentum is likely exhausted, avoiding entries into strong trends.
Automatic Position Reset – Once price normalizes, tiers reset, allowing for fresh entries without interference from previous trades.
Advanced Gann S/R LevelsThis powerful Pine Script indicator brings the legendary forecasting methods of W.D. Gann directly onto your TradingView chart. It's designed to provide traders with a complete, automated framework for identifying high-probability intraday support and resistance levels.
By combining the principles of Gann Pivot Points with the harmonic relationships of the Gann Square of 9, this tool calculates and plots the most critical price levels for the current trading day, helping you anticipate market turning points with greater clarity.
Key Features
Dynamic Gann Pivots: Automatically calculates and displays the central Pivot Point along with three levels of support (S1, S2, S3) and resistance (R1, R2, R3) based on the previous day's data.
Gann Square of 9 Levels: Implements Gann's esoteric mathematical formula to find natural harmonic price levels, plotting the most significant static support and resistance zones for the day.
Fully Customizable Display: You have complete control over the indicator's appearance. From the settings menu, you can:
Toggle each set of levels on or off (e.g., show only the Pivot and S1/R1).
Change the line style (Solid, Dashed, Dotted).
Adjust the position of the price labels (Left or Right).
Set the line extension length.
On-Chart Information Table: A clean, non-intrusive table on the top-right of your chart displays the exact values of all key levels for quick reference.
Built-in Alerts: Set alerts for when the price crosses the main Pivot, R1, or S1 levels, so you never miss a potential trading opportunity.
Core Concepts Explained
Gann Pivot Point: Calculated as (High + Low + Close) / 3 from the previous day, this level represents the intraday "balance point." Trading above the pivot is generally considered bullish for the session, while trading below it is bearish.
Gann Square of 9: This is a more advanced Gann method based on the principle that prices move in a predictable way related to their square roots. This indicator calculates the most powerful "cardinal cross" levels, which often act as major reversal points.
How to Use This Indicator
Identify the Intraday Trend: Use the main Pivot Point as your guide. If the price is consistently holding above the pivot, look for buying opportunities. If it's holding below, look for shorting opportunities.
Look for Confluence: The most powerful signals occur when a Gann Pivot level lines up closely with a Square of 9 level. This "confluence" creates an extremely strong support or resistance zone.
Breakout Trading: When the price breaks decisively through a key level (e.g., R1), the next level above it (R2) becomes the logical price target.
Range Trading: In a sideways market, you can use the support and resistance levels as boundaries to trade between. Consider entering a long trade near a strong support level and taking profit near resistance.
Disclaimer: This indicator is for educational and informational purposes only. It does not constitute financial advice. Trading involves significant risk, and you should always conduct your own research and risk management before entering any trade.