SRI- CCI and Daily Candle MiniChartIndicator Description
Name: SRI – CCI and Daily Candle MiniChart
Shorttitle: Sri-Minicharts
Type: Overlay Indicator
Purpose:
This indicator is designed to provide a compact visual snapshot of momentum and trend using CCI (Commodity Channel Index) with EMA smoothing and a mini daily (or monthly) candle display. It allows traders to monitor momentum shifts, overbought/oversold conditions, and higher timeframe candle trends without cluttering the main chart.
Key Features:
CCI Mini-Chart
Plots CCI values scaled to the chart price for easy visualization.
Adds a long EMA of CCI for smoothing and trend recognition.
Includes reference lines at ±100, ±80, and 0 for overbought/oversold/neutral levels.
Adjustable sensitivity, length, and scaling for custom responsiveness.
Shows only the most recent bars for clarity.
Daily/Monthly Candle Mini-View
Plots 4 recent candles (Normal or Heikin Ashi) on the chart with configurable offset and thickness.
Allows traders to see higher timeframe trend without switching charts.
Customizable candle colors for bullish and bearish bars.
Custom Timeframe Support
Mini CCI chart can use any custom timeframe, independent of chart timeframe.
Visual Enhancements
Color-coded CCI: green when positive, red when negative.
EMA overlay in blue for trend direction of CCI.
Daily candle mini-chart positioned horizontally for easy reference.
Pros
Compact & Informative:
Combines momentum (CCI) and trend (daily candles) in a single overlay, helping traders make faster decisions.
Multi-Timeframe Awareness:
Mini daily/monthly candles provide context of higher timeframe trends alongside short-term CCI analysis.
Customizable:
Users can adjust CCI length, EMA, sensitivity, scaling, offset, and colors to suit any trading style.
Trend Clarity:
EMA overlay smooths CCI, reducing noise from volatile price movements.
Reference Levels:
Overbought/oversold lines help traders spot potential reversals or continuation zones.
Non-Intrusive:
Mini chart and candles do not clutter main chart; only draw latest bars for visual clarity.
Suggestions to Enhance Potential Winning
Add Trend Strength Indicator:
Integrate ADX + DI mini-bars or lines to confirm if the CCI trend is supported by strong trend conditions.
Include Volume or OBV:
Adding volume mini-bars or OBV trend helps validate moves supported by trading activity.
Add Confirmation Oscillator:
Include RSI or Stochastic mini-chart for additional momentum confirmation before taking trades.
Signal Markers & Alerts:
Add arrows or dots when CCI crosses EMA or key levels.
Enable alerts for public users on CCI signals or daily candle breakouts.
Multi-Timeframe Integration:
Show weekly or monthly candle trends alongside daily candles for stronger context.
Dynamic Scaling & Auto-Offset:
Improve auto-scaling logic for highly volatile instruments to prevent mini-chart distortion.
Backtesting Overlay (Optional):
Highlight historical trade signals on mini-charts to visualize potential past performance.
Summary
This script is a highly visual and multi-timeframe mini-chart indicator that is perfect for public use on TradingView. It gives quick insight into momentum and trend using CCI + EMA and shows recent higher timeframe candle trends, making it ideal for traders who want fast decision support without switching timeframes.
By adding ADX, RSI/Stochastic, volume confirmation, and alerts, it can become a full-fledged trade confirmation tool, increasing its practical value for both intraday and swing traders.
Indicators and strategies
Sri_Heikinashi T3 Candle line for long entry📌 Script Name:
Sri_Heikinashi T3 line for long entry (SRi-T3)
🔎 What this script does:
This indicator is a custom Heikin Ashi + T3 smoothed candle plotting tool.
Instead of showing raw candles or raw Heikin Ashi, it applies a double stage of T3 smoothing to Heikin Ashi values, giving a cleaner trend-following visual without market noise.
It doesn’t replace the original chart candles — it overlays smoothed, wick-less “trend candles” on top of your chart to highlight trend direction clearly.
🧩 Key Components:
1. Custom Timeframe Input
customTF = input.timeframe("120", "Custom Timeframe")
👉 You can choose any timeframe (5m, 15m, 1h, Daily, etc.), regardless of your chart timeframe.
This allows multi-timeframe analysis (e.g., plotting 2-hour smoothed candles on a 5-minute chart).
2. T3 Smoother Function
A custom function t3(src, length, v) is used.
T3 is a triple exponential moving average (EMA) smoother with a “volume factor” v.
Advantage: less lag than normal EMA/SMA, but smoother and cleaner trend lines.
3. Heikin Ashi Logic (inside calcHaT3)
Stage 1: Apply T3 smoothing to Heikin Ashi open, high, low, close.
Stage 2: Recalculate Heikin Ashi formula (open/close averaging, high/low logic).
Stage 3: Apply another round of T3 smoothing.
Final Output: Super-smooth OHLC values.
4. Plotting
Candles are plotted with:
No wicks (only body high/low).
Colors:
Green (lime) if close > open.
Red/Orange if close < open.
Slight transparency (95) so they don’t overpower chart candles.
👉 This way you get a visual overlay of the smoothed Heikin Ashi trend.
5. Alerts
Alerts are triggered when trend color changes:
From red → green (potential long entry).
From green → red (potential exit/short).
✅ Pros (Advantages)
Noise Reduction
Double T3 + Heikin Ashi makes signals smoother than raw price or single MA.
Clear Trend Identification
Candles change color only when trend is strong enough, filtering false moves.
Multi-Timeframe Support
You can plot higher timeframe trends (e.g., daily smoothed trend) on lower charts.
No Wick Confusion
Removes wicks to simplify visuals, focusing purely on direction.
Alerts for Trend Shifts
Automatic alert conditions for quick reaction.
Perfect for Long Entries
Since it’s designed for “long entry” confirmation, it’s especially helpful to avoid early entries.
⚡ How to Use This Script
Add to Chart
Copy → Paste into TradingView Pine Editor → Save & Add to Chart.
Select Custom Timeframe
Default is 120m (2 hours) but you can change to 15m, 60m, Daily, etc.
Example: On a 5m chart, load a 1h or 4h SRi-T3 to align with bigger trend.
Look for Color Changes
Green = bullish trend (favorable for long entries).
Orange/Red = bearish trend (avoid longs or look for short setup).
Use Alerts
Set alerts for "Heikin-Ashi Smoothed from red to green" = Long Signal.
"Heikin-Ashi Smoothed from green to red" = Exit/Short Signal.
Combine with Other Tools
Works best if combined with pivots, support/resistance, or momentum oscillators (RSI, CCI, etc.).
Use SRi-T3 as trend filter, enter trades only in its direction.
📊 Example Trading Setup
On a 15m chart:
Plot SRi-T3 with 60m timeframe → this gives you higher timeframe trend.
Enter long trades only if SRi-T3 is green.
Add RSI/MACD for entry confirmation.
Laguerre Filter Trend Navigator [QuantAlgo]🟢 Overview
The Laguerre Filter Trend Navigator employs advanced polynomial filtering mathematics to smooth price data while minimizing lag, creating a responsive yet stable trend-following system. Unlike simple moving averages that apply equal weight to historical data, the Laguerre filter uses recursive calculations with exponentially weighted polynomials to extract meaningful directional signals from noisy market conditions. Combined with dynamic volatility-adjusted boundaries, this creates an adaptive framework for identifying high-probability trend reversals and continuations across all tradable instruments and timeframes.
🟢 How It Works
The indicator leverages Laguerre polynomial filtering, a mathematical technique originally developed for digital signal processing applications. The core mechanism processes price data through four cascaded filter stages (L0, L1, L2, L3), each applying the gamma coefficient to recursively smooth incoming information while preserving phase relationships. This multi-stage architecture eliminates random fluctuations more effectively than traditional moving averages while responding quickly to genuine directional shifts.
The gamma coefficient serves as the primary smoothing control, determining how aggressively the filter dampens noise versus tracking price movements. Lower gamma values reduce smoothing and increase filter responsiveness, while higher values prioritize stability over reaction speed. Each filter stage compounds this effect, creating progressively smoother output that converges toward true underlying trend direction.
Surrounding the filtered price line, the algorithm constructs adaptive boundaries using dynamic volatility regime measurements. These calculations quantify current market turbulence independently of direction, expanding during active trading periods and contracting during quiet phases. By multiplying this volatility assessment by a user-defined scaling factor, the system creates self-adjusting bands that automatically conform to changing market conditions without manual intervention.
The trend-following engine monitors price position relative to these volatility-adjusted boundaries. When the upper band falls below the current trend line, the system shifts downward to track bearish momentum. Conversely, when the lower band rises above the trend line, it elevates to follow bullish movement. These crossover events trigger color transitions between bullish (green) and bearish (red) states, providing clear visual confirmation of directional changes validated by volatility-normalized thresholds.
🟢 How to Use
Green/Bullish Trend Line: Laguerre filter positioned in upward trajectory, indicating momentum-confirmed conditions favorable for establishing or maintaining long positions (buy)
Red/Bearish Trend Line: Laguerre filter trending downward, signaling regime-validated environment suitable for initiating or holding short positions (sell)
Rising Green Line: Accelerating bullish filter with expanding separation from price lows, demonstrating strengthening upward momentum and increasing confidence in trend persistence with optimal long entry timing
Declining Red Line: Steepening bearish filter creating growing distance from price highs, revealing intensifying downside pressure and enhanced probability of continued decline with favorable short positioning opportunities
Flattening Trends: Horizontal or oscillating filter movement regardless of color suggests directional uncertainty where price action contradicts filter positioning, potentially indicating consolidation phases or impending volatility expansion requiring cautious trade management
🟢 Pro Tips for Trading and Investing
→ Preset Selection Framework: Match presets to your trading style - Scalping preset employs aggressive gamma (0.4) with tight volatility bands (1.0x) for rapid signal generation on sub-15-minute charts, Day Trading preset balances responsiveness and stability for hourly timeframes, while Swing Trading preset maximizes smoothing (0.8 gamma) with wide bands (2.5x) to filter intraday noise on daily and weekly charts.
→ Gamma Coefficient Calibration: Adjust gamma based on market personality - reduce values (0.3-0.5) for highly liquid, fast-moving assets like major currency pairs and tech stocks where quick filter adaptation prevents lag-induced losses, increase values (0.7-0.9) for slower instruments or trending markets where excessive sensitivity generates false reversals and whipsaw trades.
→ Volatility Period Optimization: Tailor the volatility measurement window to information cycles. Deploy shorter lookback periods (7-10) for instruments with rapid regime changes like individual equities during earnings seasons, standard periods (14-20) for balanced assessment across general market conditions, and extended periods (21-30) for commodities and indices exhibiting persistent volatility characteristics.
→ Band Width Multiplier Adaptation: Scale boundary distance to current market phase. Contract multipliers (1.0-1.5) during range-bound consolidations to capture early breakout signals as soon as genuine momentum emerges, expand multipliers (2.0-3.0) during trending markets or high-volatility events to avoid premature exits caused by normal retracement activity rather than authentic reversals.
→ Multi-Timeframe Filter Alignment: Implement the indicator across multiple timeframes, using higher intervals (4H/Daily) to identify primary trend direction via filter slope and lower intervals (15min/1H) for precision entry timing when filter colors align, ensuring trades flow with dominant momentum while optimizing execution at favorable price levels.
→ Alert-Driven Systematic Execution: Configure trend change alerts to capture every filter-validated directional shift from bullish to bearish conditions or vice versa, enabling consistent signal response without continuous chart monitoring and eliminating emotional decision-making during critical transition moments.
Candle Density Indicator_SH_v1This indicator visually highlights the price zones where candlesticks have most frequently passed, using box shapes.
Unlike a standard volume profile, it focuses soley on the areas most visited by candlestick bodies, displayed as gray boxes, and marks the highest and lowest prices within each zone. Additionally, it features a highlight function:
The number displayed inside the gray box represents the average trading volume of the most recent supply zone.
candlestick bodies that exceed the zone's average trading volume are emphasized in yellow.
ZTCRYPTOLAB - HAMMER TIME (FREE)ZTCRYPTOLAB — HAMMER TIME
3× EMA Alignment • MTF Trend Table • HTF FVGs • Session Windows
What this tool does
HAMMER TIME blends classic trend structure (EMAs) with a fast multi-timeframe read and high-probability HTF fair-value gaps. Optional session windows (NYSE, London, Asia) highlight “caution” periods around cash opens and plot clean dashed open/start/end markers.
1) 3×EMA Alignment (20/50/200)
What it shows: Three EMAs (default 20, 50, 200) plus optional dynamic coloring when price is above/below each EMA.
How to use it
Bullish structure: EMA20 > EMA50 > EMA200.
Bearish structure: EMA20 < EMA50 < EMA200.
Turn on “Line Color by Price vs EMA” to see each EMA flip red/green as price crosses.
Optional candle coloring highlights when price is above/below all three while the EMAs are aligned—useful for quick “go/no-go” context.
Inputs
EMA lengths and colors
Toggle dynamic EMA colors and candle coloring
snapshot
2) Background Heat (EMA Alignment)
What it shows: A subtle background when the three EMAs are cleanly aligned.
How to use it
Green tint when stacked bullish, maroon when stacked bearish.
Great for scanning or keeping bias in peripheral vision.
Inputs
Enable/disable background
Custom bull/bear background colors (with transparency)
snapshot
3) Multi-Timeframe Trend Table (MTF)
What it shows: A compact table with the EMA-based bias on four timeframes (defaults: 5m, 15m, 1h, 4h). Each row says BULLISH / BEARISH / NEUTRAL based on source > EMA(length) at that TF.
How to use it
Look for stacked agreement across intraday + swing TFs.
Turn on the optional Confluence Score (0–4) to quantify alignment at a glance.
Place the table anywhere (Top-Right by default) and adjust text size.
Inputs
4 timeframes, EMA length used for MTF test (default 200)
Table position, size, colors, and optional score
4) Sessions: NYSE, London, Asia
What it shows: For each session you enable:
A shaded warning window centered on the cash open (configured in inputs).
Three dashed vertical markers: Start (orange), Open (solid session color), End (lime).
How the NYSE Open line is detected
Dual method for robustness:
First bar inside 09:30–16:00 New York (chart TF).
A 1-minute ping window (default 09:30–09:31 NY) to catch precise opens on higher TFs.
If either hits, the red dashed Open line prints once.
How to use it
Expect volatility spikes near the dashed Open line; the warning shade helps you manage pre/post-open noise.
Use with your EMA/MTF bias: e.g., trade in direction of higher-TF alignment but wait for post-open structure.
Inputs
Per-session toggle
Session warning window times (per time zone):
NYSE – America/New_York
London – Europe/London
Asia – Asia/Tokyo
Dashed Start/Open/End color toggles
NYSE: editable 1-minute open ping window
Note: Time zones include DST behavior. Crypto trades 24/7, so sessions are for context rather than market hours.
snapshot
5) HTF FVG (Fair-Value Gaps)
What it shows: HTF ICT 3-bar FVGs brought down to your chart TF as shaded boxes with optional “FVG” label.
Detection
Bullish gap: low > high (gap below current bar).
Bearish gap: high < low (gap above current bar).
You choose the detection timeframe (default 1H) via input.
Mitigation Modes (how gaps invalidate)
Touch: any touch mitigates.
Close: a close back into the gap mitigates.
Full Bar (Wick spans gap): a single candle wicks across top/bottom.
Full Bar Close (Close beyond): body closes beyond the far edge.
Box Management
Extend options: Extend right, Cap N Bars, or None.
Keep Most-Recent: caps total boxes for a clean chart.
Optional border; separate bull/bear box colors & transparency; optional center label.
How to use it
Combine HTF FVG zones with your EMA/MTF bias for pullback entries.
Prefer confluence with session timing (e.g., NYSE open sweeps into HTF FVG + trend alignment).
6) Alerts (built-in)
EMA Alignment: Bullish/Bearish – fires when the 20/50/200 stack flips.
Price Above/Below All (Aligned) – fires when price crosses all three while aligned.
SMART Trigger – a single alert that covers any of the above flips.
How to use it
Set SMART on your watchlist symbols; open the chart when it pings.
Use session windows and HTF FVGs to refine timing.
snapshot
Tips & Best Practices
Timeframes: scalp on 1–15m with 1H FVGs, or swing on 1H–4H with 4H/D FVGs.
Performance: If charts feel heavy, disable borders/labels or lower Keep Most-Recent.
Colors: Adjust EMA/box background transparency to match your theme.
Reading the table: Aim for 3–4/4 confluence; fade signals when it’s 1/4 or mixed.
Disclaimers
This is educational tooling, not financial advice. Past performance ≠ future results. Always validate on a demo account and manage risk.
Trade PullBack - EMA Pullback System with Auto Risk-Reward# Trade Pull Back - Professional Pullback Trading System
## 📊 Overview
**Trade Pull Back** is a comprehensive pullback trading system that combines trend-following principles with precise entry timing using candlestick pattern confirmation. This indicator is designed for traders who want to enter trending markets at optimal retracement levels with pre-calculated risk-reward ratios.
---
## 🎯 Core Methodology
### Why This System Works
Most traders struggle with two key challenges:
1. **Entering too early** - jumping into trades before the pullback completes
2. **Entering too late** - missing the momentum after the pullback reverses
This system solves both problems by using a **3-Phase Confirmation Process**:
**Phase 1: Trend Identification** → **Phase 2: Pullback Detection** → **Phase 3: Reversal Confirmation**
---
## 🔧 How It Works
### 1. Triple EMA Framework (The Foundation)
Unlike traditional single EMA systems, this indicator uses **3 separate EMAs** with different purposes:
- **EMA Trend (default: 50)** - Determines the overall market direction
- Source: HL/2 for balanced trend reading
- Acts as the primary filter - we only trade in its direction
- **EMA High (default: 20)** - Dynamic resistance in uptrends
- Source: High prices for accurate resistance mapping
- Entry trigger for bullish setups when price closes above it
- **EMA Low (default: 20)** - Dynamic support in downtrends
- Source: Low prices for accurate support mapping
- Entry trigger for bearish setups when price closes below it
**Why 3 EMAs?**
- Single EMA can't distinguish between trend and pullback zones
- Two EMAs (like MACD) don't provide clear entry/exit levels
- Three EMAs create a **channel system** that identifies both trend direction AND optimal entry zones
### 2. Pattern Recognition Engine
The system detects two high-probability reversal patterns:
#### Engulfing Patterns
- **Bullish Engulfing**: Previous bearish candle completely engulfed by bullish candle
- **Bearish Engulfing**: Previous bullish candle completely engulfed by bearish candle
- Validates: Strong momentum reversal with volume confirmation
#### Pin Bar Patterns
- **Bullish Pin Bar (Hammer)**: Long lower wick (60%+ of total range) rejecting lower prices
- **Bearish Pin Bar (Inverted Hammer)**: Long upper wick (60%+ of total range) rejecting higher prices
- Validates: Institutional rejection at support/resistance levels
**Pattern Quality Filter:**
- Body-to-wick ratio must meet minimum standards
- Checks previous candle momentum
- Requires trend alignment before signaling
### 3. Pullback Confirmation System
The system includes **5 mandatory conditions** before generating a signal:
#### For Bullish Signals (BUY):
1. ✅ Close > EMA Trend (uptrend confirmed)
2. ✅ EMA High > EMA Trend AND EMA Low > EMA Trend (healthy trend structure)
3. ✅ Bullish Engulfing OR Bullish Pin Bar (pattern detected)
4. ✅ Close > EMA High (breakout confirmation)
5. ✅ Optional: Low < EMA High (pullback occurred)
#### For Bearish Signals (SELL):
1. ✅ Close < EMA Trend (downtrend confirmed)
2. ✅ EMA High < EMA Trend AND EMA Low < EMA Trend (healthy trend structure)
3. ✅ Bearish Engulfing OR Bearish Pin Bar (pattern detected)
4. ✅ Close < EMA Low (breakdown confirmation)
5. ✅ Optional: High > EMA Low (pullback occurred)
**Additional Filters:**
- **Consecutive Bars Check**: Ensures pullback had momentum (1-5 bearish/bullish bars)
- **Signal Spacing**: Minimum 4 bars between signals to avoid noise
- **Confirmation Delay**: Signal appears only AFTER bar closes (no repainting)
---
## 💰 Automatic Risk-Reward Calculator
### Smart Position Sizing
When a signal triggers, the system automatically calculates:
**For Long Positions:**
- **Entry**: High of signal candle
- **Stop Loss**: Lower of last 2 candle lows (protects against false breakouts)
- **Target 1 (1R)**: Entry + 1x Risk
- **Target 2 (2R)**: Entry + 2x Risk
- **Target 3 (3R)**: Entry + 3x Risk
**For Short Positions:**
- **Entry**: Low of signal candle
- **Stop Loss**: Higher of last 2 candle highs
- **Targets**: Calculated based on risk multiple
### Auto-Remove Feature
Lines and labels automatically disappear when:
- Price hits Stop Loss (trade invalidated)
- Price reaches 3R target (trade complete)
This keeps your chart clean and focuses only on active trades.
---
## 📈 Multi-Timeframe Trend Analysis
### Confluence Trading
The built-in MTF trend box shows trend status across 7 timeframes simultaneously:
- M1, M5, M15, M30, H1, H4, D1
**Color Coding:**
- 🟢 **Green**: Uptrend (Price > EMA Trend AND EMAs aligned bullish)
- 🔴 **Red**: Downtrend (Price < EMA Trend AND EMAs aligned bearish)
- ⚪ **Gray**: No clear trend
**Why This Matters:**
- Trade with higher timeframe trends for better win rate
- Avoid counter-trend trades when all timeframes show same direction
- Identify divergences between timeframes for reversal opportunities
---
## 🎨 Customization Options
### EMA Settings
- Adjust periods for different trading styles (scalping vs swing trading)
- Choose price sources (HL/2, Close, HLC/3) for sensitivity tuning
### Pattern Selection
- Enable/disable Engulfing patterns
- Enable/disable Pin Bar patterns
- Trade only your preferred pattern type
### Signal Filters
- **Require Pullback**: Force pullback condition (stricter entries)
- **Consecutive Bars**: Set momentum requirement (1-5 bars)
### Display Options
- Show/hide EMA lines
- Show/hide signals
- Enable/disable alerts
- Customize Risk-Reward line styles and extensions
---
## 📋 How to Use This Indicator
### Step 1: Identify the Trend
- Wait for price to establish clear direction relative to EMA Trend (50)
- Check MTF box to confirm higher timeframe alignment
### Step 2: Wait for Pullback
- In uptrend: Watch for price to pull back toward EMA High
- In downtrend: Watch for price to pull back toward EMA Low
### Step 3: Pattern Confirmation
- Look for Engulfing or Pin Bar pattern (triangle/diamond markers)
- Ensure pattern forms at or near the EMA High/Low zone
### Step 4: Entry & Risk Management
- Enter when signal appears (after bar closes)
- Use displayed Stop Loss and Take Profit levels
- Consider partial profits at 1R and 2R, let remainder run to 3R
### Step 5: Trade Management
- If price hits SL, lines disappear automatically (trade invalidated)
- If price reaches 3R, lines disappear (trade complete)
- Consider trailing stop after 1R is reached
---
## ⚙️ Recommended Settings
### For Scalping (M1-M5)
- EMA Trend: 20-30
- EMA High/Low: 10-15
- Require Pullback: OFF
- Consecutive Bars: 1
### For Day Trading (M15-H1)
- EMA Trend: 50 (default)
- EMA High/Low: 20 (default)
- Require Pullback: ON
- Consecutive Bars: 2-3
### For Swing Trading (H4-D1)
- EMA Trend: 100-200
- EMA High/Low: 50
- Require Pullback: ON
- Consecutive Bars: 3-5
---
## ✅ What Makes This Script Original
### 1. Systematic Approach
This isn't just a collection of indicators. It's a **complete trading system** with:
- Defined entry rules (5-point confirmation checklist)
- Automatic risk management (SL/TP calculation)
- Trade validation (consecutive bars, signal spacing)
### 2. Smart EMA Framework
The 3-EMA system creates a **dynamic channel** that adapts to market conditions:
- Trend EMA = Direction filter
- High/Low EMAs = Entry/Exit zones
- Together they form a "trade zone" that standard EMAs can't provide
### 3. Pattern Quality Control
Not all Engulfing or Pin Bar patterns are equal. This system:
- Validates body-to-wick ratios
- Checks previous candle momentum
- Requires trend alignment before signaling
### 4. Auto Risk-Reward Management
Most indicators just show signals. This one:
- Calculates exact entry prices
- Places stop loss at optimal location (lower of 2 lows)
- Projects 3 profit targets based on risk
- Auto-removes when trade is complete/invalidated
### 5. No Repainting
- All signals appear AFTER bar closes
- No future data leaking
- What you see in backtest = what you get in real-time
---
## 🚨 Alerts
Built-in alerts notify you when:
- Bullish signal confirmed
- Bearish signal confirmed
Alerts fire once per bar (no spam) and only after bar closes (no false alerts).
---
## 📊 Best Practices
### ✅ DO:
- Trade in direction of higher timeframe trends
- Wait for full confirmation (all 5 conditions met)
- Use proper position sizing (1-2% risk per trade)
- Let winners run to at least 2R
### ❌ DON'T:
- Trade against major trend on MTF box
- Enter before signal bar closes
- Ignore the Stop Loss level
- Overtrade - respect the 4-bar minimum spacing
---
## 🔍 Limitations
This indicator is a **tool**, not a crystal ball:
- No indicator wins 100% of the time
- False signals occur in choppy/ranging markets
- Best results in trending conditions
- Requires proper risk management
- Should be combined with fundamental analysis and market context
---
## 📚 Educational Value
This script teaches:
- How to combine trend following with mean reversion
- Pattern recognition and validation
- Risk-reward ratio calculation
- Multi-timeframe analysis
- Proper trade entry timing
---
## 🎓 Credits & Disclaimer
**Original Work**: All code written from scratch
**Methodology**: Based on classical technical analysis principles (EMA crossovers, candlestick patterns, support/resistance)
**Disclaimer**: This indicator is for educational purposes. Past performance does not guarantee future results. Always practice proper risk management.
---
## 📞 Support
If you find this indicator helpful:
- Leave a review
- Share with fellow traders
- Provide feedback for improvements
**Note**: This is a closed-source script to protect the proprietary signal logic and filtering algorithms. The description above provides comprehensive understanding of the methodology without revealing exact implementation details.
---
**Version**: 1.0
**Pine Script Version**: 5
**Type**: Indicator (Overlay)
**Category**: Trend Following + Pattern Recognition
---
*Happy Trading! 🚀*
# 🇹🇭 คู่มือภาษาไทย / Thai Guide
# Trade Pull Back - คู่มือภาษาไทย
## 📊 ภาพรวม
**Trade Pull Back** เป็นระบบเทรด Pullback ที่ผสมผสานการเทรดตามเทรนด์กับการจับจังหวะเข้าออเดอร์ด้วย Candlestick Pattern พร้อมคำนวณ Risk-Reward อัตโนมัติ
---
## 🎯 หลักการทำงาน
### ทำไมระบบนี้ได้ผล?
แก้ปัญหา 2 ข้อหลักของเทรดเดอร์:
1. **เข้าเร็วเกินไป** - เข้าก่อน Pullback เสร็จ
2. **เข้าช้าเกินไป** - พลาดโมเมนตัมหลังกลับตัว
**วิธีแก้**: ใช้กระบวนการยืนยัน 3 ขั้นตอน
- **ขั้น 1**: ระบุเทรนด์ → **ขั้น 2**: ตรวจจับ Pullback → **ขั้น 3**: ยืนยันการกลับตัว
---
## 🔧 ส่วนประกอบหลัก
### 1. ระบบ EMA 3 เส้น
ต่างจาก EMA ทั่วไป ระบบนี้ใช้ 3 เส้นที่มีหน้าที่แยกกัน:
- **EMA Trend (50)** - กำหนดทิศทางเทรนด์หลัก
- **EMA High (20)** - แนวต้านไดนามิก (สำหรับ Buy)
- **EMA Low (20)** - แนวรับไดนามิก (สำหรับ Sell)
**ทำไมต้อง 3 เส้น?**
- 1 เส้น = แยกเทรนด์กับ Pullback ไม่ได้
- 2 เส้น = ไม่มีจุด Entry/Exit ชัดเจน
- 3 เส้น = สร้าง Channel ที่บอกทั้งเทรนด์และโซนเข้าออเดอร์
### 2. ตรวจจับ Pattern
ระบบตรวจจับ 2 Pattern หลัก:
**Engulfing (แท่งกลืน)**
- Bullish: แท่งเขียวกลืนแท่งแดงทั้งหมด
- Bearish: แท่งแดงกลืนแท่งเขียวทั้งหมด
**Pin Bar (แท่งหาง)**
- Bullish: หางล่างยาว 60%+ ของช่วงทั้งหมด
- Bearish: หางบนยาว 60%+ ของช่วงทั้งหมด
### 3. เงื่อนไขยืนยันสัญญาณ (5 ข้อ)
**สัญญาณ Buy:**
1. ✅ ราคาปิด > EMA Trend (เทรนด์ขาขึ้น)
2. ✅ EMA High และ Low เหนือ EMA Trend (โครงสร้างดี)
3. ✅ เกิด Bullish Engulfing หรือ Pin Bar
4. ✅ ราคาปิด > EMA High (ยืนยัน Breakout)
5. ✅ ตัวเลือก: มี Pullback มาแตะ EMA High
**สัญญาณ Sell:**
1. ✅ ราคาปิด < EMA Trend (เทรนด์ขาลง)
2. ✅ EMA High และ Low ใต้ EMA Trend (โครงสร้างดี)
3. ✅ เกิด Bearish Engulfing หรือ Pin Bar
4. ✅ ราคาปิด < EMA Low (ยืนยัน Breakdown)
5. ✅ ตัวเลือก: มี Pullback มาแตะ EMA Low
**ตัวกรองเพิ่มเติม:**
- ต้องมีแท่งติดกัน 1-5 แท่ง (กำหนดได้)
- ห่างสัญญาณก่อนหน้าอย่างน้อย 4 แท่ง
- สัญญาณปรากฏหลังแท่งปิดเท่านั้น (ไม่ Repaint)
---
## 💰 คำนวณ Risk-Reward อัตโนมัติ
เมื่อสัญญาณเกิด ระบบคำนวณให้อัตโนมัติ:
**Long Position:**
- Entry = High ของแท่งสัญญาณ
- Stop Loss = Low ที่ต่ำกว่าของ 2 แท่งล่าสุด
- Target = 1R, 2R, 3R
**Short Position:**
- Entry = Low ของแท่งสัญญาณ
- Stop Loss = High ที่สูงกว่าของ 2 แท่งล่าสุด
- Target = 1R, 2R, 3R
**ลบอัตโนมัติ:** เส้นหายเมื่อราคาชน SL หรือถึง 3R
---
## 📈 กล่องเทรนด์หลาย Timeframe
แสดงเทรนด์พร้อมกัน 7 Timeframe:
- M1, M5, M15, M30, H1, H4, D1
**สีแสดงผล:**
- 🟢 เขียว = Uptrend
- 🔴 แดง = Downtrend
- ⚪ เทา = ไม่มีเทรนด์
**ประโยชน์:** เทรดตาม Timeframe ใหญ่เพื่อเพิ่ม Win Rate
---
## 📋 วิธีใช้งาน (5 ขั้นตอน)
1. **ระบุเทรนด์** - เช็คราคาเทียบกับ EMA Trend และกล่อง MTF
2. **รอ Pullback** - เฝ้าราคา Pullback มาที่ EMA High/Low
3. **เช็ค Pattern** - มองหาลูกศรสามเหลี่ยม (Engulfing) หรือเพชร (Pin Bar)
4. **เข้าออเดอร์** - เข้าเมื่อสัญญาณปรากฏ ใช้ SL/TP ที่แสดง
5. **จัดการเทรด** - เส้นจะหายเองเมื่อชน SL หรือถึง 3R
---
## ⚙️ การตั้งค่าแนะนำ
**Scalping (M1-M5)**
- EMA Trend: 20-30
- EMA High/Low: 10-15
- Require Pullback: ปิด
**Day Trading (M15-H1)**
- EMA Trend: 50 (ค่าเริ่มต้น)
- EMA High/Low: 20 (ค่าเริ่มต้น)
- Require Pullback: เปิด
**Swing Trading (H4-D1)**
- EMA Trend: 100-200
- EMA High/Low: 50
- Require Pullback: เปิด
---
## ✅ จุดเด่นที่แตกต่าง
1. **เป็นระบบสมบูรณ์** - ไม่ใช่แค่รวม Indicator
2. **EMA 3 เส้นสร้าง Channel** - บอกทั้งเทรนด์และโซนเข้า
3. **ตรวจสอบคุณภาพ Pattern** - ไม่ใช่ทุก Pattern ที่ให้สัญญาณ
4. **คำนวณ RR อัตโนมัติ** - วาง SL/TP ให้เลย
5. **ไม่ Repaint** - สัญญาณปรากฏหลังแท่งปิดเท่านั้น
---
## 📊 ควรทำ / ไม่ควรทำ
### ✅ ควรทำ:
- เทรดตามเทรนด์ Timeframe ใหญ่
- รอยืนยันครบ 5 เงื่อนไข
- เสี่ยง 1-2% ต่อเทรด
- ปล่อยกำไรไปอย่างน้อย 2R
### ❌ ไม่ควรทำ:
- เทรดทวนเทรนด์ในกล่อง MTF
- เข้าก่อนแท่งปิด
- ละเลย Stop Loss
- เทรดบ่อยเกินไป
---
## 🔍 ข้อจำกัด
- ไม่มี Indicator ไหนชนะ 100%
- สัญญาณผิดพลาดเกิดในตลาด Sideways
- ผลดีสุดในตลาดที่มีเทรนด์ชัด
- ต้องใช้ Money Management
- ควรดูปัจจัยพื้นฐานประกอบ
---
## 🎓 คำเตือน
**Disclaimer**: อินดิเคเตอร์นี้สำหรับการศึกษา ผลในอดีตไม่รับประกันอนาคต ใช้ Risk Management ที่เหมาะสมเสมอ
---
**เวอร์ชั่น**: 1.0
**Pine Script**: v5
**ประเภท**: Indicator (Overlay)
*Happy Trading! 🚀*
## Screenshots
**Bearish Signals with Risk-Reward:**
! (drive.google.com)
**Bullish Signal with Risk-Reward:**
! (drive.google.com)
**Multi-Timeframe Trend Box:**
! (drive.google.com)
**Settings Panel:**
! (drive.google.com)
Liquidity Sweep ReversalThe Liquidity Sweep Reversal indicator is a sophisticated price-action-based tool designed for TradingView that identifies high-probability reversal setups by combining institutional liquidity concepts with session-based market structure. It detects potential reversals after price "sweeps" key support/resistance levels—such as prior day/week highs and lows or session extremes (Asian, London, New York)—followed by a rejection pattern.
The core logic revolves around two main signal types:
CISD (Close Inside, Sweep, Divergence) patterns that confirm liquidity grabs on higher timeframes.
Engulfing candlestick reversals occurring shortly after a touch of a key level within a defined lookback window.
To enhance relevance and reduce noise, the indicator optionally restricts signals to high-volatility “Killzone” sessions—including Asian, London, and New York AM/PM overlap periods—where institutional activity is typically concentrated.
Users can fully customize:
Timezone and higher timeframe (HTF) settings
Which key levels to monitor (PDH, PDL, PWH, PWL, session highs/lows)
Visual styling (line types, colors, labels)
Signal sensitivity (max bars after touch, signal size)
Display options (background highlights, level visibility, historical signal filtering)
Additionally, the script draws vertical lines for today’s and tomorrow’s London (08:00 CET) and New York (09:30 EST) market opens to provide contextual reference.
This tool is ideal for traders using auction market theory, order flow, or institutional footprint strategies who seek confluence between liquidity pools, session structure, and price rejection.
RD-DynamicTSMADescription of the RD-DynamicTSMA Pine Script Indicator:
This single indicator dynamically adjusts the three SMAs to key periods used by professional traders across timeframes:
Daily: 10, 21, 50 periods (standard for swing trading trends).
Weekly+: 10, 21, 30 periods (optimized for positional & longer-term views).
Lengths auto-update on timeframe switches.
kiss and flay strategyfor more details contact us on telegram , this is trend following strategy , you can trade in 3&5 min time frame in all segments
Open Range Breakout (ORB) with Alerts and LabelsThis is a classic 5min ORB indicator that highlights the orb range for your chosen session. This makes it easy to reference the range later in the trading day. In addition to the original orb signals for both buy and sell you can play off that zone for powerful entries later in the session. The signals give TP1 1:1 TP2 2:1
Options
You can set the name of the session
The color of the range.
The buffer for the SL
How many entries for the orb
EQ + Bandas Pro 📊 EQ + Bands Pro is an advanced indicator built on OHLC analysis. It calculates a synthetic equilibrium price and plots dynamic, robust bands that adapt to volatility while filtering outliers. The tool highlights zones of overvaluation and undervaluation, helping traders identify key imbalances, potential reversals, and trend confirmations.
Smart CRT Indicator📌 Smart CRT Indicator – Spot Trend Reversals and Continuations with Precision
The Smart CRT Indicator is a versatile price action tool that identifies Candle Range Trap (CRT) patterns—powerful setups that often precede either trend reversals or breakout continuations.
It detects and visualizes market conditions where price gets "trapped" within a prior range or breaks out deceptively, giving traders early insight into potential directional moves.
🔍 Key Features:
✅ Bullish & Bearish CRT Signals
Accurately spots both reversal and continuation setups using CRT logic across three core patterns.
✅ Flexible Range Close Filter
Customize how deeply the second candle closes within the first candle's range to fine-tune signal quality.
✅ Trend Filter (Optional)
Choose whether to only show signals aligned with the dominant trend, using a customizable SMA filter.
✅ Visual Range Mapping
Automatically draws range lines to mark key price zones for CRT patterns. Adjustable style, color, and width.
✅ Real-Time Alerts
Get notified instantly when a new CRT pattern appears on your chart.
🧠 CRT Pattern Types Detected:
Inside Bar CRT: A compression pattern inside a larger range that signals potential breakout or reversal.
Multi-Candle CRT: A group of smaller candles shrinking inside an anchor candle—often a sign of building momentum.
Purge CRT: A deceptive breakout beyond the previous candle’s range, followed by an immediate reversal.
⚙️ Best For:
Traders seeking trend continuation breakout setups
Traders looking to fade false moves or catch reversals
Price action traders who rely on candle structure and traps
Swing, intraday, or even scalping strategies
🧩 Tip:
Combine CRT signals with Key Levels, FVG, support/resistance or order block zones for high-probability confluence entries.
IBOV VTThe IBOV VT is a market “internal strength detector” that reveals:
What it measures:
How many stocks are actually participating in the movement
Whether the rise/fall is “real” or “artificial”
Strength of consensus among leading stocks
Ideal time to enter/exit positions
🔍 Why it’s important:
IBOVESPA may rise, but only 2-3 stocks “carrying” = DANGEROUS
IBOVESPA may fall, but most stocks remain persistent = OPPORTUNITY
📈 HOW TO ANALYZE THE INDICATOR
🟢 HIGH WIDTH (60-100%)
Meaning: 7-12 stocks rising out of the 12 monitored
✅ What it indicates:
Healthy market with broad participation
Sustainable uptrend
Low risk of sudden reversal
Favorable time for long positions
📊 Visual signals:
Blue line above 60%
Light green background without chart
Signal: 🟢 MAY BUY
🔴 LOW WIDTH (0-40%)
Meaning: 0-5 rising stocks out of 12 monitored
⚠️ What it indicates:
Weak market with seller pressure
Downtrend or correction
High risk for long positions
Time for protection or selling
📊 Visual signals:
Red line below 40%
Light red background on the chart
Signal: 🔴 MAY SELL
⚪ NEUTRAL WIDTH (40-60%)
Meaning: 5-7 rising stocks out of 12 monitored
What it indicates:
Undefined market without consensus
Moment of consolidation
Wait for direction to be defined
Avoid risky trades
📊 Visual signals:
Line between buy/sell zones
No colored background
Signal: ⚪ WAIT
SANGAM ENTRYThis setup is highly effective in helping traders catch entries before a major move begins. When all the LINES converge and merge together, it signals an opportunity to take buy or sell entries with low risk and high reward. It serves as one of the best confirmations for both trend continuation and breakout trades. Many traders can benefit from this approach, as it is absolutely simple, practical, and easy to manage when planning their entries.
Basic ICT PD Array MarkerIt focuses on OBs and FVGs on your chosen timeframe (e.g., H1 for /NQ). This is open-source friendly and based on ICT logic from community scripts.
X Trade Planlets you define up to 10 fully manual price levels and ranges—each with its own toggle, two prices (for a band/box), an optional note, and a color. The tool draws lines that start at the first bar of a chosen anchor timeframe (e.g., Daily) and extend to the right, mirroring the “fresh start-of-session” look. If two prices are entered, the area between them is shaded using the same color at 60% transparency, so the line and box fill are visually consistent.
Key Features
10 explicit categories (Cat 1 … Cat 10)
Each category includes:
Enable/disable toggle
Price 1 (line) and Price 2 (optional, defines box top/bottom)
Note (optional): label shows note only; hidden automatically if blank
Color: used for the line, box border, and box fill (with 60% transparency)
Anchor-aware drawing
Lines and boxes begin at the new bar of your selected Anchor Timeframe (e.g., D/W/H4), producing clean, session-style extensions.
Clean visuals
Line width is standardized at 1 for a crisp, unobtrusive look
Labels are aligned to the right of current bars and inherit user label styling options (size, text color, background)
No historical dependence
The indicator does not compute or display historical pivots, opens, or derived levels. Everything is user-defined.
Inputs (Per Category)
Cat N (toggle): Show/hide the category
Price 1: Primary level; a horizontal line is drawn when set
Price 2 (optional): When set with Price 1, a box is drawn between the two values
Note (optional): Free-text label; shown only if non-empty
Color: Applies to line, box border, and box fill (fill uses 60% transparency)
Global Inputs
Anchor Timeframe: Timeframe whose new bar defines the start (anchor) of all lines/boxes
Extend Right (bars): Number of bars to extend into the future
Labels (on/off) and label style options (size, text color, background)
How It Works
On the first bar and on each new bar of the anchor timeframe, the indicator captures the current bar index as the anchor for each category.
For each enabled category:
If Price 1 is set, the script draws a horizontal line from the anchor to extend_len bars into the future.
If Price 2 is also set, a box spanning Price 1 ↔ Price 2 is drawn from the anchor to the same future point.
If a Note is provided, a right-side label is rendered at the level (or box midpoint). If the note is empty, no label is shown.
Visual objects are refreshed every bar to ensure alignment with current settings.
Common Use Cases
Scenario planning & playbooks: Define “watch zones” (e.g., Look Above & Fail) and keep them consistent across sessions.
Manual S/R & liquidity areas: Mark hand-picked levels/ranges you care about, without auto-calculated clutter.
Session-like anchoring: Start-of-day/week anchoring to mimic institutional levels that reset each period.
Trade management: Color-coded bands for entries, invalidation, and targets with clear notes
OHLC Session ProjectorOHLC Session Projector
Clean, session-aware OHLC levels — projected to a right-side rail for instant context.
Define up to four intraday sessions (chart timezone). While a session is live, the indicator draws a right-offset rail with O/H/L/C ticks and tiny labels, keeping price candles uncluttered. When the session closes, values freeze and the entire block (rail + ticks + labels, and optionally the box) is projected to the right by a user-set distance for crystal-clear levels.
Why traders use it
Fast read of intraday structure. See each session’s opening print, the true extremes, and settlement at a glance.
Clarity during the session. Live rail shifts to the right so bars stay clean.
Consistent post-session levels. Projected rails mark where reactions tend to happen next session.
Key features
Sessions: Up to 4 custom time ranges (uses chart timezone).
Right-rail projector:
Vertical rail spanning session H↔L
Ticks: O/C (solid), H/L (dashed)
Labels: O/H/L/C with optional price, offset to the right
Live Clean Mode: Shift the live rail by N bars to the right (configurable).
Session Box (optional): With separate live vs final styling (fade while live, solid when closed).
Projection: After session close, freeze values and project rail + ticks + labels + box to the right by extendBars.
Styling controls: Colors, widths, tick lengths, label offset.
No repainting of closed values: H/L/O/C are finalized at session end. (During the session, H/L/C update in real time—as expected.)
How it works
While in session, the script tracks O/H/L/C, draws a right-offset rail and ticks, and updates labels live.
On session close, values are frozen and the whole rail block is repositioned to the projected location.
Accumulation → Manipulation → Distribution (AMD
The graphic shows a common intraday sequence across sessions:
Accumulation blue : price ranges and builds liquidity.
Manipulation red : a quick sweep/false break as sessions hand off.
Distribution green : the real directional move that follows.
How the OHLC Session Projector helps
Projects each session’s Open/High/Low/Close to a clean right-side rail, so you can see when manipulation sweeps prior O/H/L and where distribution is likely to run.
Freezes levels at session close and carries them forward as targets (retests of Open, runs to High/Low).
“Live Clean” keeps rails offset during the session, letting you track AMD without clutter while price is developing.
Credits & disclaimer
Built for educational purposes. Not financial advice. Trade responsibly.
FibPulse144 [CHE] FibPulse144 — ADX-gated 13/21 crossover with 144-trend regime and closed-bar labels
Summary
FibPulse144 combines a fast moving-average crossover with a 144-period trend regime and an ADX strength gate. Signals are confirmed on closed bars only and drawn as labels on the price chart, while an ADX line in a separate pane provides context. Color gradients are derived from normalized ADX, so visual intensity reflects trend strength without changing the underlying logic. The approach reduces false flips during weak conditions and keeps entries aligned with the dominant trend.
Motivation: Why this design?
Traditional crossover signals can flip repeatedly during sideways phases and often trigger against the higher-time regime. By requiring alignment with a slower trend proxy and by gating entries through a rising ADX condition, FibPulse144 favors structurally cleaner transitions. Gradient coloring communicates strength visually, helping users temper aggressiveness without additional indicators.
What’s different vs. standard approaches?
Baseline: Classic dual-MA crossover with unconditional signals.
Architecture differences:
Two-bar regime confirmation against a 144-period trend average.
Pending-signal logic that waits for regime and optional ADX approval.
ADX strength gate using the prior reading relative to a user threshold and earlier value.
Gradient colors scaled by an ADX window with gamma controls.
Price-chart labels enforced via overlay on an otherwise pane-based indicator.
Practical effect: Fewer signals during weak or choppy conditions, labels that appear only after a bar closes, and color intensity that mirrors trend quality.
How it works (technical)
The script computes fast and slow moving averages using the selected method and lengths. A separate 144-length average defines the regime using a two-bar confirmation above or below it. Crossovers are observed on the previous bar to avoid intrabar ambiguity; once a prior crossover is detected, it is stored as pending. A pending long requires regime alignment and, if enabled, an ADX condition based on the previous reading being above the threshold and greater than an earlier reading. The state machine holds neutral, long, or short until an exit condition or ADX reset is met. ADX is normalized within a user window, scaled with gamma, and mapped to up and down color palettes to render gradients. Labels on the price panel are forced to overlay, while the ADX line and threshold guide remain in a separate pane.
Parameter Guide
Source — Input data for all calculations. Default: close. Tip: keep consistent with your chart.
MA Type — EMA or SMA. Default: EMA. EMA reacts faster; SMA is smoother.
Fast / Slow — Fast and slow lengths for crossover. Defaults: 13 and 21. Shorter reacts earlier; longer reduces noise.
Trend — Regime average length. Default: 144. Larger values stabilize regime; smaller values increase sensitivity.
Use 144 as trend filter — Enables regime gating. Default: true. Disable to allow raw crossovers.
Use ADX filter — Requires ADX strength. Default: true. Disable to allow signals regardless of strength.
ADX Len — DI and ADX smoothing length. Default: 14. Higher values smooth strength; lower values react faster.
ADX Thresh — Minimum strength for signals. Default: 25. Raise to reduce flips; lower to capture earlier moves.
Entry/Exit labels (price) — Price-panel labels on state changes. Default: true.
Signal labels in ADX pane — Small markers at the ADX value on entries. Default: true.
Label size — tiny, small, normal, large. Default: normal.
Enable barcolor — Optional candle tint by regime and gradient. Default: false.
Enable gradient — Turns on ADX-driven color blending. Default: true.
Window — Bars used to normalize ADX for colors. Default: 100; minimum: 5.
Gamma bars / Gamma plots — Nonlinear scaling for bar and line intensities. Default: 0.80; between 0.30 and 2.00.
Gradient transp (0–90) — Transparency for gradient colors. Default: 0.
MA fill transparency (0–100) — Fill opacity between fast and slow lines. Default: 65.
Palette colors (Up/Down) — Dark and neon endpoints for up and down gradients. Defaults as in the code.
Reading & Interpretation
Fast/Slow lines: When the fast line is above the slow line, the line and fill use the long palette; when below, the short palette is used.
Trend MA (144): Neutral gray line indicating the regime boundary.
Labels on price: “LONG” appears when the state turns long; “SHORT” when it turns short. Labels appear only after the bar closes and conditions are satisfied.
ADX pane: The ADX line shows current strength. The dotted threshold line is the user level for gating. Optional small markers indicate entries at the ADX value.
Bar colors (optional): Candle tint intensity reflects normalized ADX. Higher intensity implies stronger conditions.
Practical Workflows & Combinations
Trend following: Use long entries when fast crosses above slow and price has held above the trend average for two bars, with ADX above threshold. Mirror this for shorts below the trend average.
Exits and stops: Consider reducing exposure when price closes on the opposite side of the trend average for two consecutive bars or when ADX fades below the threshold if the ADX filter is enabled.
Structure confirmation: Combine with higher-timeframe structure such as swing highs and lows or a simple market structure overlay for confirmation.
Multi-asset/Multi-TF: Works across liquid assets. For lower timeframes, consider a slightly lower ADX threshold; for higher timeframes, maintain or raise the threshold to avoid unnecessary flips.
Behavior, Constraints & Performance
Repaint/confirmation: Signals are based on previous-bar crossovers and are confirmed on bar close. No higher-timeframe or security calls are used. Intrabar markers are not relied upon.
Resources: The script declares `max_bars_back` of 2000, uses no loops or arrays, and employs persistent variables for pending signals and state.
Known limits: Crossover systems can lag after sudden reversals. During tight ranges, disabling the ADX filter may increase flips; keeping it enabled may skip early transitions.
Sensible Defaults & Quick Tuning
Starting point: EMA, 13/21/144, ADX length 14, ADX threshold 25, gradients on, barcolor off.
Too many flips: Increase ADX threshold or length; increase trend length; consider SMA instead of EMA.
Too sluggish: Lower ADX threshold slightly; shorten fast and slow lengths; reduce the trend length.
Colors overpowering: Increase gradient transparency or reduce gamma values toward one.
What this indicator is—and isn’t
This is a visualization and signal layer that combines crossover, regime, and strength gating. It does not predict future movements, manage risk, or execute trades. Use it alongside clear structure, risk controls, and a defined position management plan.
Disclaimer
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.
Do not use this indicator on Heikin-Ashi, Renko, Kagi, Point-and-Figure, or Range charts, as these chart types can produce unrealistic results for signal markers and alerts.
Best regards and happy trading
Chervolino
Supply Zone & Demand M15Supply Zone & Demand M15
This indicator automatically detects and plots supply and demand zones based on 15-minute pivots and impulse strength.
🔎 Features
Multi-timeframe visibility: Zones are detected on M15 pivots but can be viewed on any lower timeframe (M1, M5, etc.).
Zone validation: Zones appear only after a strong impulsive move, measured against ATR.
Retest counting: Each time price retests a zone, a counter is displayed.
Retests can be merged by time window (No merge, 30 minutes, or 1 hour).
Zone merging: Nearby overlapping zones are automatically combined with a tolerance setting.
Configurable display: Choose between immediate display of zones or only after N retests.
Customizable style: Full control over colors, extension to the left, and max number of zones kept.
⚙️ Settings
Pivot strength: Minimum bars for swing highs/lows.
Impulse filter: Require ATR-based momentum before validating a zone.
Zone width: Defined as a multiple of ATR.
Retest merge: Select None, 30 minutes, or 1 hour.
Invalidation: Option to remove zones once broken.
Display mode: Show zones immediately or only after the required number of retests.
✅ Use Cases
Identify high-probability reversal areas.
Track how many times a zone has been retested.
Spot confluence when historical zones align with current price action.
⚠️ Disclaimer: This indicator is a technical tool, not financial advice. Always combine with proper risk management.
Harry Dunn Volatility BandsEnter strike price and 2 percentage numbers to automatically calculate and draw volatility bands on chart.