Stoch + RSI DashboardIndicator Description
MTF Stochastic + RSI Dashboard FLEX with STRONG Alerts
A compact, multi-timeframe dashboard that shows Stochastic %K/%D, RSI and signal states across user-defined timeframes. Columns can be toggled on/off to keep the panel as small as you need. Signal texts and colors are fully customizable. The table can be placed in any chart corner, and the background color & opacity are adjustable for perfect readability.
What it shows
• For each selected timeframe: %K, %D, a signal cell (Bullish/Bearish/Strong), RSI value, and RSI state (Overbought/Oversold/Neutral).
• Timeframes are displayed as friendly labels (e.g., 60 → 1h, W → 1w, 3D → 3d).
Signals & logic
• Bullish/Bearish when %K and %D show a sufficient gap (or an optional confirmed cross).
• Strong Bullish when both %K and %D are below the “Strong Bullish max” threshold.
• Strong Bearish when both %K and %D are above the “Strong Bearish min” threshold.
• Optional confirmation: RSI < 30 for Strong Bullish, RSI > 70 for Strong Bearish.
Alerts
• Global alerts for any selected timeframes when a STRONG BULLISH or STRONG BEARISH event occurs.
Key options
• Column visibility toggles (TF, %K, %D, Signal, RSI, RSI Status).
• Custom signal texts & colors.
• Dashboard position: top-left / top-right / bottom-left / bottom-right.
• Table background color + opacity (0 = opaque, 100 = fully transparent).
• Sensitivity (minimum %K–%D gap) and optional “cross-only” mode.
• Customizable timeframes for display and for alerts.
Default settings
• Stochastic: K=5, D=3, SmoothK=3
• RSI length: 14
• Decimals: 1
• Strong Bullish max: 20
• Strong Bearish min: 80
• Default TFs & alerts: 3m, 15m, 1h, 3h, 6h, 12h, 1d, 3d, 1w
Phân tích Xu hướng
Money Flow Index SignalsThis indicator in daily, weekly and monthly charts can be used to find strong Support, Resistance levels and reversal points. It can be used in lower time frame to find reversal points. When MFI reached 100 either in downside or upside in a candle, if the high is broken take it as a bullish breakout. If MFI is 0 or -0 and the low of the candle is broken take it as a downside breakout.
Wave Surge [sma]Overview
Wave Surge is indicator that visualizes market waves through dynamic price oscillations around a moving average baseline. It combines wave analysis with RSI filtering to identify trend strength and potential reversals.
How It Works
Core Calculation
The indicator calculates a wave pattern by:
1. Computing a baseline using the average of highest/lowest prices over the specified period
2. Determining a keltner-style center point between this baseline and price SMA
3. Creating a linear regression of the price deviation from this center
4. Generating an adaptive signal line that responds to crossover events
Visual Components
- **Base MA Line**: A moving average (SMA or EMA) that changes color based on RSI zones
- Cyan overlay: RSI is overbought (default >70)
- Yellow overlay: RSI is oversold (default <30)
- Gray: Neutral RSI zone
- Wave Fill: The dynamic area between the MA and wave level
- Green shades: Bullish momentum (wave > 0)
- Red/Orange shades: Bearish momentum (wave < 0)
- Color intensity indicates wave strength (accelerating vs decelerating)
Key Features
- Wave Intensity Control: Adjustable parameter (0.1-2.0) to control wave amplitude
- MA Type Selection: Choose between SMA or EMA for the baseline
- RSI Integration: Hidden RSI filter adds context to the moving average color
- Adaptive Signal: The signal line dynamically adjusts to crossover events
- Fully Customizable Colors: All visual elements can be customized
Originality Statement
This indicator uses a unique combination of:
- Custom wave calculation based on price deviation from keltner-style center
- Linear regression applied to normalized price distance
- Adaptive signal line that recalculates on wave direction changes
- Multi-layered RSI integration for contextual MA coloring
The wave fill visualization creates a dynamic oscillating band that responds to both momentum strength and direction changes.
For educational purposes only. Not financial advice.
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.
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.
Stage Market AnalyzerStage Market Analyzer – User Guide
Overview:
The “Stage Market Analyzer” indicator is a comprehensive market analysis tool that identifies the current market phase (6 stages) using multiple EMAs (Exponential Moving Averages) and provides key performance metrics including 52-week high, YTD change, and recent price changes. This indicator is displayed on the chart with a visual table and plotted EMA lines for easy trend analysis.
Market Stages
-The indicator classifies the market into six stages based on the position of price relative to the fast and slow EMAs:
Recovery:
-Price above the fast EMA, but below the slow EMA.
-Slow EMA is above the fast EMA.
-ndicates a market recovering from a downtrend.
Accumulation:
-Price above both EMAs, slow EMA above fast EMA.
-Suggests accumulation phase, usually after a downtrend.
Bull Market:
-Price above both EMAs, fast EMA above slow EMA.
-Represents strong uptrend.
Warning:
-Price below both EMAs, fast EMA above slow EMA.
-Signals caution; potential weakening trend.
Distribution:
-Price below fast EMA, slow EMA below fast EMA.
-Market may be topping or preparing to reverse.
Bear Market:
-Price below both EMAs, slow EMA above fast EMA.
-Strong downtrend confirmed.
The indicator counts consecutive bars within the same stage and displays this as “Stage Name (X Bar)” in the table.
EMA Settings
-Fast EMA: Default 50 bars.
-Slow EMA: Default 200 bars.
Additional EMAs: EMA1 (21), EMA2 (100), EMA3 (150) – optional display.
Users can customize all EMA lengths and choose which EMAs to display.
The plotted EMAs help visualize trends, crossovers, and market momentum.
Performance Metrics
30-Bar & 90-Bar Price Change:
Displays the percentage change over the last 30 or 90 bars.
Positive change in green, negative in red.
YTD Change (Year-to-Date):
-Calculated from the first trading bar of the current year to current price.
-Reflects overall market performance for the current year.
52-Week High:
-Shows the percentage difference between current price and the highest price over the last 52 weeks.
-Adjusts automatically for the chart timeframe:
Daily: last 252 bars
Weekly: last 52 bars
Monthly: last 12 bars
Intraday: calculated based on bars per day × 252 trading days
Positive deviation is shown in green, negative in red.
Note: For non-daily charts, the calculation approximates a “year” based on available bars.
Table Display
Located at the bottom-right of the chart.
Columns:
Current Market Stage (with consecutive bar count)
30-Bar Change
90-Bar Change
YTD Change
52-Week High (optional)
Background colors indicate the stage for quick visual reference.
How to Use
Add the indicator to your chart.
Adjust EMAs to match your trading strategy.
Observe the table to understand:
Current market phase
Short-term and long-term performance metrics
Trend direction using plotted EMAs
Use the stage information together with other analysis (support/resistance, volume, etc.) to make informed trading decisions.
Notes & Recommendations
The indicator works best on daily charts for accurate 52-week high and YTD calculations.
For crypto or non-standard trading calendars, be aware that intraday data may approximate the “year” differently.
EMAs are customizable – experiment with different lengths to fit your preferred timeframe or trading style.
WRAMA (with alerts)Updated the original WRAMA indicator to include alerts when the background changes colors.
Candle Opens by HAZED🎯 Candle Opens by HAZED - Multi-Timeframe Open Levels Indicator
📊 Overview
This powerful indicator displays multiple timeframe opening prices on your chart, providing crucial reference levels that institutional traders and algorithms frequently monitor. Track up to 7 different timeframe opens simultaneously, from 1-hour to yearly, with advanced visualization features including dynamic coloring, heatmap analysis, and real-time status tracking.
✨ Key Features
📈 Multi-Timeframe Support:
- 1H, 4H, Daily, Weekly, Monthly, Quarterly, and Yearly opens
- Each timeframe can be individually enabled/disabled
- Automatic visibility adjustment based on chart timeframe
🎨 Dynamic Visual System:
- Smart Color Coding: Lines automatically change color based on price position (green above, red below)
- Customizable Styling: Adjust line thickness, transparency, and colors
- Intelligent Line Positioning: Choose between equal-length or staggered lines for better visibility
- Enhanced Labels: Display timeframe only or include price with colored background
🌈 Advanced Heatmap:
- Background coloring shows overall market sentiment across all timeframes
- Gradient or solid color modes
- Instantly see when multiple timeframes align bullish or bearish
📊 Status Table Dashboard:
- Real-time overview of all active opens
- Shows current price position relative to each open
- Simplified view when all timeframes align
- Customizable position and font style
⚙️ Professional Tools:
- Alert system for new open levels
- Extended hours session support
- Price discovery mode for EOD/intraday discrepancies
- Left/right line extensions for enhanced visibility
💡 Trading Applications
Support & Resistance:
Opening prices act as natural support/resistance levels. Price often reacts at these levels, providing entry/exit opportunities.
Trend Confirmation:
When price is above multiple opens (especially higher timeframes), it confirms bullish momentum. The opposite indicates bearish pressure.
Mean Reversion:
Price tends to revert to significant opens, particularly daily and weekly levels. Use these as targets for counter-trend trades.
Breakout Trading:
Monitor when price breaks above/below clustered opens for potential continuation moves.
Risk Management:
Use opens as logical stop-loss levels or position sizing references based on distance from key opens.
🔧 Indicator Settings
Timeframes Section:
- Toggle each timeframe on/off
- Customize individual colors
Visual Style Section:
- Dynamic Colors: Auto-color based on price position
- Line Thickness: 1-4 pixels
- Transparency: 0-80%
- Extension Length: How far lines extend right
- Label Style: Plain or enhanced with price
Heatmap Section:
- Enable/disable background coloring
- Adjust transparency
- Choose gradient or solid zones
Status Table Section:
- Position on chart
- Font selection
Advanced Section:
- Enable alerts for new opens
- Price discovery mode
- Extended hours inclusion
]📈 Best Practices
1. Timeframe Selection:
- For intraday: Focus on 1H, 4H, and Daily
- For swing trading: Daily, Weekly, Monthly
- For position trading: Monthly, Quarterly, Yearly
2. Color Coding:
- Enable dynamic colors for instant sentiment reading
- Use heatmap for overall market bias
3. Confluence Zones:
- Pay special attention when multiple opens cluster
- These zones often produce stronger reactions
4. Alignment Signals:
- When all timeframes show same color = strong trend
- Mixed colors = potential consolidation or reversal zone
🎯 Pro Tips
- Volume Confirmation: Combine with volume indicators to confirm reactions at open levels
- Multiple Instruments: Compare opens across correlated assets for divergences
- News Events: Opens often act as magnets after major news releases
- Options Trading: Weekly and monthly opens align with options expiry levels
- Algorithmic Levels: Many algorithms use these opens for entries/exits
🔄 Updates in Version 8.3
- Added 1H and 4H timeframe support
- Enhanced dynamic color system
- Implemented heatmap visualization
- Added real-time status table
- Optimized performance for smoother operation
- Improved label styling options
- Better yearly timeframe detection
⚡ Performance Optimizations
This indicator uses advanced Pine Script v6 features for optimal performance:
- Efficient object reuse instead of recreation
- Smart calculation loops
- Minimal repainting
- Optimized for real-time updates
📝 Notes
- Works on all markets (stocks, forex, crypto, futures)
- Best on timeframes lower than the opens you're tracking
- Lines automatically hide when their timeframe is lower than chart timeframe
- Past opens are not displayed (indicator shows current opens only)
🙏 Credits & Support
Created by HAZED | Version 8.3
Optimized for TradingView Pine Script v6
For questions, suggestions, or bug reports, please comment below.
If you find this indicator useful, please consider leaving a like and a follow!
Remember: No indicator is perfect. Always use proper risk management and combine multiple confirmation signals in your trading decisions.
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)
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.
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.
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.
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.
Wyckoff PhaseMap Overlay [FxalgoxPro]📊 Wyckoff PhaseMap Overlay
Professional Wyckoff Market Cycle Indicator for TradingView
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 OVERVIEW
The Wyckoff PhaseMap Overlay is a sophisticated indicator that automatically identifies and visualizes the four phases of the Wyckoff Market Cycle on your price chart, combining price action analysis with volume confirmation to detect:
Phase 1: Accumulation (Cause)
Phase 2: Mark Up (Effect)
Phase 3: Distribution (Cause)
Phase 4: Mark Down (Effect)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔑 KEY FEATURES
📈 Phase Detection
Accumulation : Identifies selling climax (SC), automatic rally (AR), secondary tests (ST), and springs
Mark Up : Detects sustained uptrend with higher highs/higher lows structure
Distribution : Recognizes buying climax (BC), UTAD (upthrust after distribution), and range formation
Mark Down : Confirms breakdown with volume and downtrend structure
🎨 Visual Elements
Phase Background Colors : Optional color-coded backgrounds for each phase
Range Lines : Dynamic support/resistance levels during accumulation and distribution
Event Markers : Clear labels for Spring, UTAD, JTC (Jump the Creek), and breakdowns
Trend MA Overlay : Moving average for trend confirmation
Phase Labels : Large, descriptive labels when phases change
📊 Dashboard
Real-time phase status
Volume climax indicator
Event counters (Spring, UTAD, JTC)
Customizable position and size
🔔 Alerts
Phase change notifications
Spring detection
UTAD detection
Jump the Creek confirmation
Breakdown signals
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ CONFIGURATION
Wyckoff Phases (Main Settings)
Parameter | Default | Description
---------------------------- | ------- | -------------
Trend MA Length | 50 | Moving average for trend detection
Volume Climax Threshold | 1.5 | Multiplier for average volume to detect climax events
Range Detection Length | 14 | Lookback period for range identification
Phase 1: Accumulation
Toggle accumulation phase display
Show/hide Spring events
Show/hide AR (Automatic Rally) and ST (Secondary Test)
Customize phase and spring colors
Phase 2: Mark Up
Toggle mark up phase display
Show/hide Jump The Creek (JTC) events
Customize phase and JTC colors
Phase 3: Distribution
Toggle distribution phase display
Show/hide UTAD events
Show/hide BC (Buying Climax)
Customize phase and UTAD colors
Phase 4: Mark Down
Toggle mark down phase display
Customize phase and breakdown colors
Visual Settings
Show Phase Labels : Display large phase transition labels
Show Event Markers : Display Spring, UTAD, JTC markers
Show Phase Background : Color-code background by current phase
Dashboard
Show Dashboard : Toggle statistics panel
Position : Top Right / Bottom Right / Bottom Left
Size : Tiny / Small / Normal
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧠 HOW IT WORKS
Phase Detection Logic
1️⃣ Accumulation (Cause)
Triggers:
- Selling climax detected (high volume + down move)
- Price enters range-bound consolidation
- Low volume compression
- Spring: False breakdown below support with low volume
2️⃣ Mark Up (Effect)
Triggers:
- Jump The Creek (JTC): Breakout from accumulation range
- Volume confirms breakout (>1.3x average)
- Higher highs and higher lows structure
- Price above trend MA
3️⃣ Distribution (Cause)
Triggers:
- Buying climax detected (high volume + up move)
- Price enters range-bound consolidation after uptrend
- UTAD: False breakout above resistance with volume
- Range compression
4️⃣ Mark Down (Effect)
Triggers:
- Breakdown from distribution range
- Volume confirms breakdown (>1.3x average)
- Lower lows and lower highs structure
- Price below trend MA
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 EVENT DEFINITIONS
Event | Phase | Description | Visual
-------- | ------------- | ------------------------------------------------ | -------------------------
SC | Accumulation | Selling Climax - panic selling with high volume | Volume spike + price drop
AR | Accumulation | Automatic Rally - bounce from oversold | Recovery move
ST | Accumulation | Secondary Test - retest of lows | Low volume test
Spring | Accumulation | False breakdown below support | 🟢 Label below
JTC | Mark Up | Jump The Creek - confirmed breakout | 🔵 Label (transition)
BC | Distribution | Buying Climax - euphoric buying with high volume | Volume spike + price rise
UTAD | Distribution | Upthrust After Distribution - false breakout | 🟠 Label above
SOW | Mark Down | Sign of Weakness - confirmed breakdown | 🔴 Label (transition)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 USE CASES
For Traders
Identify accumulation zones for potential long entries
Recognize distribution zones for potential short entries or exits
Confirm trend changes with phase transitions
Avoid false breakouts (Springs and UTADs)
Time entries using Jump The Creek signals
For Analysts
Market structure analysis across multiple timeframes
Volume-price divergence identification
Institutional behavior tracking (accumulation/distribution)
Cycle completion analysis
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎨 RECOMMENDED SETTINGS
For Swing Trading (Daily/4H)
Trend MA Length: 50
Volume Climax Threshold: 1.5
Range Detection Length: 14
For Intraday Trading (1H/15m)
Trend MA Length: 20
Volume Climax Threshold: 2.0
Range Detection Length: 10
For Long-term Investors (Weekly)
Trend MA Length: 100
Volume Climax Threshold: 1.3
Range Detection Length: 20
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📚 WYCKOFF METHOD RESOURCES
The indicator is based on Richard Wyckoff's market cycle theory:
Accumulation → Smart money accumulates while retail panics
Mark Up → Price rises as smart money distributes to late buyers
Distribution → Smart money exits while retail buys
Mark Down → Price falls as retail holds losing positions
Learn More:
Wyckoff Analytics
Market cycle analysis
Volume Spread Analysis (VSA)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ IMPORTANT NOTES
Volume Required : Indicator requires volume data (won't work on some Forex brokers without volume)
Timeframe : Best results on 1H, 4H, Daily, Weekly
Confirmation : Always combine with other analysis methods
Context : Phase detection improves with clean, trending markets
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🐛 TROUBLESHOOTING
Q: Why aren't any phases showing?
Ensure volume data is available for your symbol
Try adjusting Volume Climax Threshold (lower = more sensitive)
Check if Show Phase Background is enabled
Q: Too many false signals?
Increase Volume Climax Threshold for stricter detection
Increase Range Detection Length for better range identification
Use higher timeframes (4H/Daily)
Q: Dashboard not showing?
Check Show Dashboard is enabled in settings
Ensure panel isn't off-screen (try different position)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👨💻 CREDITS
Developer : Fxalgox
Method : Richard Wyckoff Market Cycle Theory
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 TIPS FOR BEST RESULTS
Combine with Market Context : Use alongside market structure analysis
Multi-timeframe Confirmation : Check higher timeframe phase alignment
Volume is Key : Pay attention to volume climax indicators in dashboard
Be Patient : Wait for phase confirmations before taking action
Use Alerts : Set up alerts for phase changes and key events
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Happy Trading! 📈
Remember: This indicator is a tool for analysis, not financial advice. Always manage risk appropriately.
Universal Breakout Strategy [KedArc Quant]Description:
A flexible breakout framework where you can test different logics (Prev Day, Bollinger, Volume, ATR, EMA Trend, RSI Confirm, Candle Confirm, Time Filter) under one system.
Choose your breakout mode, and the strategy will handle entries, exits, and optional risk management (ATR stops, take-profits, daily loss guard, cooldowns).
An on-chart info table shows live mode values (like Prev High/Low, Bollinger levels, RSI, etc.) plus P&L stats for quick analysis.
Use it to compare which breakout style works best on your instrument and timeframe, whether intraday, swing, or positional trading
🔑 Why it’s useful
* Flexibility: Switch between breakout strategies without loading different indicators.
* Clarity: On-chart info table displays current mode, relevant indicator levels, and live strategy P&L stats.
* Testing efficiency: Quickly A/B test different breakout styles under the same backtest environment.
* Transparency: Every trade is rule-based and displayed with entry/exit markers.
🚀 How it helps traders
* Lets you experiment with breakout strategies quickly without loading multiple scripts.
* Helps identify which breakout method fits your instrument & timeframe.
* Gives clear on-chart visual + statistical feedback for confident decision-making.
⚙️ Input Configuration
* Breakout Mode → choose which strategy to test:
* *Prev Day* → breakouts of yesterday’s High/Low.
* *Bollinger* → Upper/Lower BB pierce.
* *Volume* → Breakout confirmed with volume above average.
* *ATR Stop* → Wide range breakout using ATR filter.
* *Time Filter* → Breakouts inside defined session hours.
* *EMA Trend* → Breakouts only in EMA fast > slow alignment.
* *RSI Confirm* → Breakouts with RSI confirmation (e.g. >55 for longs).
* *Candle Confirm* → Breakouts validated by bullish/bearish candle.
* Lookback / ATR / Bollinger inputs → adjust sensitivity.
* Intrabar mode → option to evaluate breakouts using bar highs/lows instead of closes.
* Table options → show/hide info table, show/hide P&L stats, choose corner placement.
📈 Entry & Exit Logic
* Entry → occurs when breakout condition of chosen mode is met.
* Exit → default exits via opposite signals or optional stop/target if enabled.
* Session filter → optional auto-flat at session end.
* P&L management → optional daily loss guard, cooldown between trades, and ATR-based stop/take profit.
❓ FAQ — Choosing the best setup
Q: Which strategy should I use for which chart?
* *Prev Day Breakouts*: Best on indices, FX, and liquid futures with strong daily levels.
* *Bollinger*: Works well in range-bound environments, or crypto pairs with volatility compression.
* *Volume*: Good on equities where breakout strength is tied to volume spikes.
* *ATR Stop*: Suits volatile instruments (commodities, crypto).
* *EMA Trend*: Useful in trending markets (stocks, indices).
* *RSI Confirm*: Adds momentum filter, better for swing trades.
* *Candle Confirm*: Ideal for scalpers needing visual confirmation.
* *Time Filter*: For intraday traders who want signals only in high-liquidity sessions.
Q: What timeframe should I use?
* Intraday traders → 5m to 15m (Time Filter, Candle Confirm).
* Swing traders → 1H to 4H (EMA Trend, RSI Confirm, ATR Stop).
* Position traders → Daily (Prev Day, Bollinger).
* Breakout
A trade entry condition triggered when price crosses above a resistance level (for longs) or below a support level (for shorts).
* Prev Day High/Low
Formula:
Prev High = High of (Day )
Prev Low = Low of (Day )
* Bollinger Bands
Formula:
Basis = SMA(Close, Length)
Upper Band = Basis + (Multiplier × StdDev(Close, Length))
Lower Band = Basis – (Multiplier × StdDev(Close, Length))
* Volume Confirmation
A breakout is only valid if:
Volume > SMA(Volume, Length)
* ATR (Average True Range)
Measures volatility.
Formula:
ATR = SMA(True Range, Length)
where True Range = max(High–Low, |High–Close |, |Low–Close |)
* EMA (Exponential Moving Average)
Weighted moving average giving more weight to recent prices.
Formula:
EMA = (Price × α) + (EMA × (1–α))
with α = 2 / (Length + 1)
* RSI (Relative Strength Index)
Momentum oscillator scaled 0–100.
Formula:
RSI = 100 – (100 / (1 + RS))
where RS = Avg(Gain, Length) ÷ Avg(Loss, Length)
* Candle Confirmation
Bullish candle: Close > Open AND Close > Close
Bearish candle: Close < Open AND Close < Close
Win Rate (%)
Formula:
Win Rate = (Winning Trades ÷ Total Trades) × 100
* Average Trade P&L
Formula:
Avg Trade = Net Profit ÷ Total Trades
📊 Performance Notes
The Universal Breakout Strategy is designed as a framework rather than a single-asset optimized system. Results will vary depending on the chart, timeframe, and asset chosen.
On the current defaults (15-minute, INR-denominated example), the backtest produced 132 trades over the selected period. This provides a statistically sufficient sample size.
Win rate (~35%) is relatively low, but this is balanced by a positive reward-to-risk ratio (~1.8). In practice, a lower win rate with larger wins versus smaller losses is sustainable.
The average P&L per trade is close to breakeven under default settings. This is expected, as the strategy is not tuned for a single symbol but offered as a universal breakout framework.
Commissions (0.1%) and slippage (1 tick) are included in the simulation, ensuring realistic conditions.
Risk management is conservative, with order sizing set at 1 unit per trade. This avoids over-leveraging and keeps exposure well under the 5-10% equity risk guideline.
👉 Traders are encouraged to:
Experiment with inputs such as ATR period, breakout length, or Bollinger parameters.
Test across different timeframes and instruments (equities, futures, forex, crypto) to find optimal setups.
Combine with filters (trend direction, volatility regimes, or volume conditions) for further refinement.
⚠️ Disclaimer This script is provided for educational purposes only.
Past performance does not guarantee future results.
Trading involves risk, and users should exercise caution and use proper risk management when applying this strategy.
Trap LineTrap Line W — Weekly Trend Barrier (Closed-source)
Overview
Trap Line W is a trend-following overlay that plots a single weekly baseline to define the market’s higher-timeframe regime. Price above the line indicates a bullish regime; price below the line indicates a bearish regime. The goal is to promote regime discipline—staying aligned with the dominant direction and avoiding late, emotionally driven entries. Core parameters are fixed to ensure consistent behavior across symbols.
What it does (principles, not secrets)
• Builds a smoothed weekly baseline designed to approximate the higher-timeframe trend path.
• Uses higher-timeframe aggregation so regime assessments align with closed weekly candles.
• Acts as a simple, binary bias filter: long-only above, short/avoid longs below (framework, not advice).
Inputs
• No user-tweakable inputs. Parameters are fixed to reduce overfitting and improve repeatability.
How to read it
• Above the line ⇒ bullish regime.
• Below the line ⇒ bearish regime.
• A confirmed weekly close through the line suggests a potential regime transition; intrawEEK moves may fade.
Practical use cases
• Bias gating: enable/disable long or short playbooks based on the weekly regime.
• Portfolio overlay: apply to a watchlist; prefer allocations aligned with the weekly regime.
• Risk context: in a bullish regime, tolerate pullbacks selectively; in a bearish regime, be conservative with counter-trend exposure.
• Timeframe bridging: weekly sets bias; lower timeframes handle entries/exits.
Best practices
• Wait for the weekly close before declaring a regime flip.
• Combine with market structure (HH/HL vs. LH/LL), volume behavior, and higher-timeframe S/R.
• Prefer time-based candles and liquid instruments for clearer behavior.
Charting & data notes
• Values derive from the weekly timeframe and finalize on the weekly close; interim values may update during formation.
• Use standard time-based candles. Avoid interpreting signals on Heikin Ashi, Renko, Kagi, Point & Figure, or Range charts.
Common pitfalls
• Front-running the weekly close can cause false regime flips.
• Overtrading counter-trend near the line often has lower expectancy.
• Ignoring liquidity/news risk can lead to whipsaws around the baseline.
Who it’s for
• Swing and position traders needing a clear, rules-based regime filter.
• Systematic traders who prefer a simple, fixed-parameter bias overlay.
Limitations & disclosures
• Closed-source; for educational and analytical use only.
• Not financial advice. Markets involve risk; past performance is not indicative of future results.
Suggested screenshot captions
• “Bullish regime: weekly close above Trap Line W; pullbacks respecting the line.”
• “Bearish regime: weekly close below Trap Line W; rallies capped near the line.”
DX Fibonacci LevelsDX Fibonacci Levels Indicator
This Pine Script code implements a custom Fibonacci levels indicator that displays key Fibonacci retracement and extension levels on a price chart. The indicator helps traders identify potential support, resistance, and breakout areas by plotting significant Fibonacci levels based on the most recent high and low price range.
How to Use the Indicator:
Interpretation of Fibonacci Levels:
The indicator plots the following Fibonacci levels:
23.6% Retracement (Gray Line): This level represents a shallow retracement and is often considered a potential minor support or resistance area. It can signal a short-term price correction.
38.2% Retracement (Blue Line): One of the most widely used retracement levels. A price reversal at this level is seen as a potential indication of a strong move in the original direction.
50.0% Retracement (Gray Line): Although not a Fibonacci ratio itself, this level is a psychological midpoint. A 50% retracement often represents a neutral point where price could either reverse or continue in the original direction.
61.8% Retracement (Yellow Line): A key level for traders, as it is considered the "golden ratio" of Fibonacci. It is a critical area for determining the continuation of the trend or a potential reversal.
78.6% Retracement (Red Line): This level is closer to the 100% retracement and indicates a deeper pullback. It can represent an area of strong support or resistance.
100.0% (Purple Line): This level is equivalent to the recent low. It represents the full retracement or the lowest price point within the selected range.
127.2% Extension (Green Line): A Fibonacci extension level, indicating a potential area where price could extend beyond the previous high. This level often marks the beginning of a new trend or significant price movement.
161.8% Extension (Green Line): Another Fibonacci extension, marking an even further price projection. Traders use this level to forecast a continuation of the price movement in the direction of the prevailing trend.
Using the Indicator in Trading:
Identifying Support and Resistance: When the price approaches one of the key retracement levels (such as 38.2%, 50%, or 61.8%), traders often watch for signs of a reversal, like candlestick patterns or volume spikes, as these could indicate a potential entry or exit point.
Trend Continuation: If the price retraces to one of these levels and then continues in the direction of the trend, it can confirm that the trend is still intact. The extension levels (127.2% and 161.8%) help identify where the price may head next if the trend continues.
Breakout Zones: The extension levels can also act as breakout points. A price that surpasses the 100% level could indicate that the trend is gaining momentum, with potential for further movement beyond the 127.2% and 161.8% levels.
Chart Customization:
Color-Coded Fibonacci Levels: Each Fibonacci level is color-coded for easy identification:
Gray: 23.6% and 50.0% retracement levels
Blue: 38.2% retracement level
Yellow: 61.8% retracement level
Red: 78.6% retracement level
Purple: 100.0% level (the low of the range)
Green: 127.2% and 161.8% extension levels
The use of different colors allows for quick visual analysis, helping traders to distinguish between retracement and extension levels while identifying critical price zones on the chart.
Tips for Effective Use:
Monitor Price Action: Watch for price action signals like candlestick patterns, reversals, or trend-following indicators around these Fibonacci levels.
Combine with Other Indicators: To improve the reliability of the Fibonacci levels, combine them with other technical analysis tools such as moving averages, RSI, or MACD for confirmation of potential reversals or breakouts.
Adjust the Lookback Period: The lookback period can be adjusted to fit the time frame and asset being traded. A shorter lookback period may provide more sensitive levels, while a longer one may offer more reliable, long-term reference points.
This indicator is most useful when combined with your trading strategy to spot potential price points for reversals or continued movements.
ICT Venom Trading Model [TradingFinder] SMC NY Session 2025SetupIntroduction
The ICT Venom Model is one of the most advanced strategies in the ICT framework, designed for intraday trading on major US indices such as US100, US30, and US500. This model is rooted in liquidity theory, time and price dynamics, and institutional order flow.
The Venom Model focuses on detecting Liquidity Sweeps, identifying Fair Value Gaps (FVG), and analyzing Market Structure Shifts (MSS). By combining these ICT core concepts, traders can filter false breakouts, capture sharp reversals, and align their entries with the real institutional liquidity flow during the New York Session.
Key Highlights of ICT Venom Model :
Intraday focus : Optimized for US indices (US100, US30, US500).
Time element : Critical window is 08:00–09:30 AM (Venom Box).
Liquidity sweep logic : Price grabs liquidity at 09:30 AM open.
Confirmation tools : MSS, CISD, FVG, and Order Blocks.
Dual setups : Works in both Bullish Venom and Bearish Venom conditions.
At its core, the ICT Venom Strategy is a framework that explains how institutional players manipulate liquidity pools by engineering false breakouts around the initial range of the market. Between 08:00 and 09:30 AM New York time, a range called the “Venom Box” is formed.
This range acts as a trap for retail traders, and once the 09:30 AM market open occurs, price usually sweeps either the high or the low of this box to collect stop-loss liquidity. After this liquidity grab, the market often reverses sharply, giving birth to a classic Bullish Venom Setup or Bearish Venom Setup
The Venom Model (ICT Venom Trading Strategy) is not just a pattern recognition tool but a precise institutional trading model based on time, liquidity, and market structure. By understanding the Initial Balance Range, watching for Liquidity Sweeps, and entering trades from FVG zones or Order Blocks, traders can anticipate market reversals with high accuracy. This strategy is widely respected among ICT followers because it offers both risk management discipline and clear entry/exit conditions. In short, the Venom Model transforms liquidity manipulation into actionable trading opportunities.
Bullish Setup :
Bearish Setup :
🔵 How to Use
The ICT Venom Model is applied by observing price behavior during the early hours of the New York session. The first step is to define the Initial Range, also called the Venom Box, which is formed between 08:00 and 09:30 AM EST. This range marks the high and low points where institutional traders often create traps for retail participants. Once the official market opens at 09:30 AM, price usually sweeps either the top or bottom of this box to collect liquidity.
After this liquidity grab, the market tends to reverse in alignment with the true directional bias. To confirm the setup, traders look for signals such as a Market Structure Shift (MSS), Change in State of Delivery (CISD), or the appearance of a Fair Value Gap (FVG). These elements validate the reversal and provide precise levels for trade execution.
🟣 Bullish Setup
In a Bullish Venom Setup, the market first sweeps the low of the Venom Box after 09:30 AM, triggering sell-side liquidity collection. This downward move is often sharp and deceptive, designed to stop out retail long positions and attract new sellers. Once liquidity is taken, the market typically shifts direction, forming an MSS or CISD that signals a reversal to the upside.
Traders then wait for price to retrace into a Fair Value Gap or a demand-side Order Block created during the reversal leg. This retracement offers the ideal entry point for long positions. Stop-loss placement should be just below the liquidity sweep low, while profit targets are set at the Venom Box high and, if momentum continues, at higher session or daily highs.
🟣 Bearish Setup
In a Bearish Venom Setup, the process is similar but reversed. After the Initial Range is defined, if price breaks above the Venom Box high following the 09:30 AM open, it signals a false breakout designed to collect buy-side liquidity. This move usually traps eager buyers and clears out stop-losses above the high.
After the liquidity sweep, confirmation comes through an MSS or CISD pointing to a reversal downward. At this stage, traders anticipate a retracement into a Fair Value Gap or a supply-side Order Block formed during the reversal. Short entries are taken within this zone, with stop-loss positioned just above the liquidity sweep high. The logical profit targets include the Venom Box low and, in stronger bearish momentum, deeper session or daily lows.
🔵 Settings
Refine Order Block : Enables finer adjustments to Order Block levels for more accurate price responses.
Mitigation Level OB : Allows users to set specific reaction points within an Order Block, including: Proximal: Closest level to the current price. 50% OB: Midpoint of the Order Block. Distal: Farthest level from the current price.
FVG Filter : The Judas Swing indicator includes a filter for Fair Value Gap (FVG), allowing different filtering based on FVG width: FVG Filter Type: Can be set to "Very Aggressive," "Aggressive," "Defensive," or "Very Defensive." Higher defensiveness narrows the FVG width, focusing on narrower gaps.
Mitigation Level FVG : Like the Order Block, you can set price reaction levels for FVG with options such as Proximal, 50% OB, and Distal.
CISD : The Bar Back Check option enables traders to specify the number of past candles checked for identifying the CISD Level, enhancing CISD Level accuracy on the chart.
🔵 Conclusion
The ICT Venom Model is more than just a reversal setup; it is a complete intraday trading framework that blends liquidity theory, time precision, and market structure analysis. By focusing on the Initial Range between 08:00 and 09:30 AM New York time and observing how price reacts at the 09:30 AM open, traders can identify liquidity sweeps that reveal institutional intentions.
Whether in a Bullish Venom Setup or a Bearish Venom Setup, the model allows for precise entries through Fair Value Gaps (FVGs) and Order Blocks, while maintaining clear risk management with well-defined stop-loss and target levels.
Ultimately, the ICT Venom Model provides traders with a structured way to filter false moves and align their trades with institutional order flow. Its strength lies in transforming liquidity manipulation into actionable opportunities, giving intraday traders an edge in timing, accuracy, and consistency. For those who master its logic, the Venom Model becomes not only a strategy for entry and exit, but also a deeper framework for understanding how liquidity truly drives price in the New York session.
Power Hour Breakout Signals [LuxAlgo]The Power Hour Breakout tool helps traders identify key price levels from the Power Hour and spot breakouts from those levels easily. This tool features Power Hour extensions, Fibonacci levels, and session break marks for the trader's convenience.
🔶 USAGE
The Power Hour is defined as the last hour of the trading session and is set by default from 3:00 p.m. to 4:00 p.m. New York time. During this period, volume and volatility enter the market. Traders using higher timeframes may use this period to enter or exit positions by placing MOC (Market on Close) orders.
This tool highlights the Power Hour and the top and bottom price levels. Each time prices break out from these levels, a signal is displayed on the chart.
We can use the Power Hour to gauge market sentiment:
Bullish sentiment: Price trades above the Power Hour.
Mixed sentiment: Price trades within the Power Hour.
Bearish sentiment: Price trades below the Power Hour.
🔹 Displaying Power Hours and Breakouts
By default, all detected Power Hours are displayed. Traders can manually adjust this number by disabling the "Display All" parameter in the Settings panel.
Breakouts are displayed by default, too, but this feature can be disabled as well.
The chart above shows different configurations of these parameters.
🔹 Power Hour Extensions
Traders can use Power Hour extensions as potential targets for breakout signals.
In the settings panel, traders can select the percentage of the Power Hour price range to use for each extension. For example, 100% uses the full range, 200% uses the range twice, and so on.
As seen on the chart, traders can configure different percentages for the top and bottom extensions.
🔹 Fibonacci Levels
Traders can display default or custom Fibonacci levels on the Power Hour range to identify retracement opportunities and evaluate market movement strength. Each level can be enabled or disabled, as well as customized by level, color, and line style.
For example, as we can see on the chart, prices attempt to break out at the Power Hour top level, then retrace to the 0.618 Fibonacci level, and then rise to the 200% Power Hour top extension.
🔶 SETTINGS
Display Last X Power Hours: Select how many Power Hours to display or enable the Display All feature.
Power Hour (NY Time): Choose a custom Power Hour in New York time.
🔹 Breakouts
Breakouts: Enable or disable breakouts.
Bullish Breakout: Select color for bullish breakouts.
Bearish Breakout: Select color for bearish breakouts.
🔹 Extensions
Top Extension: Enable or disable the top extension and choose the percentage of Power Hour to use.
Bottom extension: Enable or disable the bottom extension and choose the percentage of Power Hour to use.
🔹 Fibonacci Levels
Display Fibonacci: Enable or disable Fibonacci levels.
Reverse: Reverse Fibonacci levels.
Levels, Colors & Style
Display Labels: Enable or disable labels and choose text size.
🔹 Style
Power Hour Colors
Extension Transparency: Choose the extension's transparency. 0 is solid, and 100 is fully transparent.
Session Breaks: Enable or disable session breaks.
Bayesian Trend Navigator [QuantAlgo]🟢 Overview
The Bayesian Trend Navigator uses Bayesian statistics to continuously update trend probabilities by combining long-term expectations (prior beliefs) and short-term observations (likelihood evidence), rather than relying solely on recent price data like many conventional indicators. This mathematical framework produces robust directional signals that naturally balance responsiveness with stability, making it suitable for traders and investors seeking statistically-grounded trend identification across diverse market environments and asset types.
🟢 How It Works
The indicator operates on Bayesian inference principles, a statistical method for updating beliefs when new evidence emerges. The system begins by establishing a prior belief - a long-term trend expectation calculated from historical price behavior. This represents the "baseline hypothesis" about market direction before considering recent developments.
Simultaneously, the algorithm collects recent market evidence through short-term trend analysis, representing the likelihood component. This captures what current price action suggests about directional momentum independent of historical context.
The core Bayesian engine then combines these elements using conjugate normal distributions and precision weighting. It calculates prior precision (inverse variance) and likelihood precision, combining them to determine a posterior precision. The resulting posterior mean represents the mathematically optimal trend estimate given both historical patterns and current reality. This posterior calculation includes intervals derived from the posterior variance, providing probabilistic confidence bounds around the trend estimate.
Finally, volatility-based standard deviation bands create adaptive boundaries around the Bayesian estimate. The trend line adjusts within these constraints, generating color transitions between bullish (green) and bearish (red) states when the posterior calculation crosses these probabilistic thresholds.
🟢 How to Use
Green/Bullish Trend Line: Posterior probability favoring upward momentum, indicating statistically favorable conditions for long positions (buy)
Red/Bearish Trend Line: Posterior probability favoring downward momentum, signaling mathematically supported timing for short positions (sell)
Rising Green Line: Strengthening bullish posterior as new evidence reinforces upward beliefs, showing increasing probabilistic confidence in trend continuation with favorable long entry conditions
Declining Red Line: Intensifying bearish posterior with accumulating downside evidence, indicating growing statistical certainty in downtrend persistence and optimal short positioning opportunities
Flattening Trends: Diminishing posterior confidence regardless of color suggests equilibrium between prior beliefs and contradictory evidence, potentially signaling consolidation or insufficient statistical clarity for high-conviction trades
🟢 Pro Tips for Trading and Investing
→ Preset Configuration Strategy: Deploy presets based on your trading horizon - Scalping preset maximizes evidence weight (0.8) for rapid Bayesian updates on 1-15 minute charts, Default preset balances prior and likelihood for general applications, while Swing Trading preset equalizes weights (0.5/0.5) for stable inference on hourly and daily timeframes.
→ Prior Weight Adjustment: Calibrate prior weight according to market regime - increase values (0.5-0.7) in stable trending markets where historical patterns remain predictive, decrease values (0.2-0.3) during regime changes or news-driven volatility when recent evidence should dominate the posterior calculation.
→ Evidence Period Tuning: Modify the evidence period based on information flow velocity. Use shorter periods (5-8 bars) for assets with continuous price discovery like cryptocurrencies, medium periods (10-15) for liquid stocks, and longer periods (15-20) for slower-moving markets to ensure adequate likelihood sample size.
→ Likelihood Weight Optimization: Adjust likelihood weight inversely to market noise levels. Higher values (0.7-0.8) work well in clean trending conditions where recent data is reliable, while lower values (0.4-0.6) help during choppy periods by maintaining stronger reliance on established prior beliefs.
→ Multi-Timeframe Bayesian Confluence: Apply the indicator across multiple timeframes, using higher timeframes (Daily/Weekly) to establish prior belief direction and lower timeframes (Hourly/15-minute) for likelihood-driven entry timing, ensuring posterior probabilities align across temporal scales for maximum statistical confidence.
→ Standard Deviation Multiplier Management: Adapt the multiplier to match current uncertainty levels. Use tighter multipliers (1.0-1.5) during low-volatility consolidations to capture early trend emergence, and wider multipliers (2.0-2.5) during high-volatility events to avoid premature signals caused by statistical noise rather than genuine posterior shifts.
→ Variance-Based Position Sizing: Monitor the implicit posterior variance through trend line stability - smooth consistent movements indicate low uncertainty warranting larger positions, while erratic fluctuations suggest high statistical uncertainty calling for reduced exposure until clearer probabilistic convergence emerges.
→ Alert-Based Probabilistic Execution: Utilize trend change alerts to capture every statistically significant posterior shift from bullish to bearish states or vice versa without constantly monitoring the charts.
Seasonal Pattern DecoderSeasonal Pattern Decoder
The Seasonal Pattern Decoder is a powerful tool designed for traders and analysts who want to uncover and leverage seasonal tendencies in financial markets. Instead of cluttering your chart with complex visuals, this indicator presents a clean, intuitive table that summarizes historical monthly performance, allowing you to spot recurring patterns at a glance.
How It Works
The indicator fetches historical monthly data for any symbol and calculates the percentage return for each month over a specified number of years. It then organizes this data into a comprehensive table, providing a clear, year-by-year and month-by-month breakdown of performance.
Key Features
Historical Performance Table: Displays monthly returns for up to a user-defined number of years, making it easy to compare performance across different periods.
Color-Coded Heatmap: Each cell is colored based on the performance of the month. Strong positive returns are shaded in green, while strong negative returns are shaded in red, allowing for immediate visual analysis of monthly strength or weakness.
Annual Summary: A "Σ" column shows the total percentage return for each full calendar year.
AVG Row: Calculates and displays the average return for each month across all the years shown in the table.
WR Row: Shows the "Win Rate" for each month, which is the percentage of time that month had a positive return. This is crucial for identifying high-probability seasonal trends.
How to Use
Add the "Seasonal Pattern Decoder" indicator to your chart. Note that it works best on Daily, Weekly, or Monthly timeframes. A warning message will be displayed on intraday charts.
In the indicator settings, adjust the "Lookback Period" to control how many years of historical data you want to analyze.
Use the "Show Years Descending" option to sort the table from the most recent year to the oldest.
The "Heat Range" setting allows you to adjust the sensitivity of the color-coding to fit the volatility of the asset you are analyzing.
This tool is ideal for confirming trading biases, developing seasonal strategies, or simply gaining a deeper understanding of an asset's typical behavior throughout the year.
## Disclaimer
This indicator is designed as a technical analysis tool and should be used in conjunction with other forms of analysis and proper risk management.
Past performance does not guarantee future results, and traders should thoroughly test any strategy before implementing it with real capital.
2MA Cross with Glow Effects 2MA Cross with Glow Effects
Overview
This indicator enhances the classic moving average crossover strategy with a dynamic and visually appealing "glow" effect. It plots two customisable moving averages on the chart and illuminates the area around them when a crossover occurs, providing a clear and intuitive signal for potential trend changes.
Features
Dual Moving Averages: Configure two independent moving averages to suit your trading style.
Multiple MA Types: Choose from a wide range of moving average types for each line, including:
SMA (Simple Moving Average)
EMA (Exponential Moving Average)
WMA (Weighted Moving Average)
VWMA (Volume-Weighted Moving Average)
RMA (Relative Moving Average)
HMA (Hull Moving Average)
ALMA (Arnaud Legoux Moving Average)
LSMA (Least Squares Moving Average)
Customisable Appearance: Adjust the length, line width, and color for each moving average.
Unique Glow Effect: A configurable glow appears around the moving averages during a crossover, providing an unmistakable visual cue. You can control the intensity and width of this effect.
How It Works
The core of the indicator is the calculation of two moving averages based on the user's selected type and length. The script continuously monitors the relationship between these two MAs.
The "glow" is a sophisticated visual effect achieved by using Pine Script's `fill()` function to create a smooth, colored gradient around the MA lines. The glow is conditionally rendered:
When the first moving average (MA1) crosses above the second (MA2), MA1 will glow above its line.
When MA1 crosses below MA2, it will glow below its line.
The same logic is applied to MA2, creating a dual-glow effect that clearly shows which MA is dominant.
To ensure a consistent visual appearance across different chart timeframes, the indicator incorporates a `tfMultiplier` that automatically adjusts the glow's width.
How to Use
This indicator can be used in the same way as a standard moving average crossover strategy
Bullish Signal: Look for the shorter-period moving average to cross above the longer-period moving average. The glow effect will make this event highly visible.
Bearish Signal: Look for the shorter-period moving average to cross below the longer-period moving average.
Traders can use this for trend identification, entry/exit signals, and as a component of a more comprehensive trading system. For example, a common setup is using a 20-period EMA and a 50-period EMA to capture medium-term trends.
Disclaimer
This indicator is designed as a technical analysis tool and should be used in conjunction with other forms of analysis and proper risk management.
Past performance does not guarantee future results, and traders should thoroughly test any strategy before implementing it with real capital.