Buy Sell Signal (Improved Simple)Buy Sell Signal (Improved Simple) es un indicador mejorado del original
지표 및 전략
Approved Engulfing - Confirmed Close Triggerit a single engulfing that i personally chase to find a good setup
SCOTTGO - Buy Sell Volume📊 SCOTTGO - Buy Sell Volume Bars - Delta - Up Down Volume Bars
This indicator disaggregates the total volume traded on each bar into estimated Buying Volume and Selling Volume to visualize market pressure and dominance directly in a dedicated sub-pane.
Key Features:
Volume Disaggregation: Uses a standard formula to estimate how much of a bar's total volume was associated with upward (buying) pressure and how much was associated with downward (selling) pressure.
Visual Clarity: Plots the Buy Volume (teal, upward) and Sell Volume (red, downward) as separate columns against a transparent total volume background, allowing for quick assessment of pressure balance.
Real-Time Badge: A dynamic badge is fixed to the corner of the chart (default: Top Right) providing a numeric summary of the latest bar:
Buy %: Percentage of the bar's total volume estimated as Buying Volume.
Sell %: Percentage of the bar's total volume estimated as Selling Volume.
Delta %: The magnitude of the volume difference (Delta) as a percentage of total volume, indicating the strength of the dominant side.
Dominance Indicator: The background color of the badge changes dynamically to immediately signal whether Buying (customizable color, default: Teal) or Selling (customizable color, default: Red) pressure was dominant on the current bar.
Usage:
Traders can use this tool to identify periods of heavy accumulation (high Buy Volume) or distribution (high Sell Volume), providing insight into the conviction behind price movements.
CPR + Elliott Wave 3 Combo (Ultra Safe)This will help you to identify the stage of a script. In Elliot wave patter, 3rd wave is the longest length. This will identify the 3rd wave
Smart Money Swing Strategy [All-in-One]# Pro Swing Trader 📈
A comprehensive swing trading indicator for TradingView that combines multiple confluence factors to identify high-probability trade setups with built-in risk management.
## 🎯 Overview
This indicator is designed for swing traders who want to catch momentum pullbacks with precision entries. It filters trades using multiple timeframe analysis, RSI zones, volume confirmation, and EMA trends to deliver only the highest-confidence setups.
### Key Features
✅ **Multi-Timeframe Confluence** - Confirms trades with higher timeframe analysis (Daily, 4H, etc.)
✅ **Smart Entry Signals** - Detects pullback-to-EMA reclaim patterns
✅ **Automatic Risk Management** - Calculates stops, targets, and R-multiples
✅ **Dynamic Stop Loss** - ATR trailing stop + break-even automation
✅ **Real-Time HUD Dashboard** - Live confluence scoring and trade metrics
✅ **Comprehensive Alerts** - Entry, TP1, TP2, and stop-loss notifications
✅ **Visual Trade Levels** - Clear on-chart stop-loss and take-profit lines
---
## 📊 How It Works
### Signal Logic
The indicator identifies two types of signals:
**Base Signals** (Small triangles):
- Price pulls back between Fast EMA and Slow EMA
- RSI is in the swing zone (40-60 by default)
- Price reclaims the Fast EMA with momentum
- Optional: Volume spike confirmation
**High-Confidence Signals** (Large triangles):
- All base signal criteria met
- Higher timeframe confirms the trend direction
- HTF RSI and slope alignment
- These are your primary trade signals
### Entry Conditions
#### Long Entry (🟢 HC L)
1. Fast EMA > Slow EMA (uptrend)
2. Previous candle closed between the EMAs (pullback)
3. Current candle crosses above and closes above Fast EMA (reclaim)
4. RSI between 40-60 (swing zone)
5. **HTF Confirmation**: Daily/4H price above EMA50, RSI > 50, positive slope
6. Optional: Volume > 1.5x 20-bar average
#### Short Entry (🔻 HC S)
1. Fast EMA < Slow EMA (downtrend)
2. Previous candle closed between the EMAs (pullback)
3. Current candle crosses below and closes below Fast EMA (reclaim)
4. RSI between 40-60 (swing zone)
5. **HTF Confirmation**: Daily/4H price below EMA50, RSI < 50, negative slope
6. Optional: Volume > 1.5x 20-bar average
---
## 🎛️ Settings & Parameters
### Trend Parameters
- **Fast EMA**: Default 20 - Quick trend detection
- **Slow EMA**: Default 50 - Major trend filter
- **Swing Lookback**: Default 10 - Bars to find swing high/low for stops
### RSI Settings
- **RSI Length**: Default 14
- **RSI Min**: Default 40 - Lower bound of swing zone
- **RSI Max**: Default 60 - Upper bound of swing zone
### Risk Management
- **Final TP Risk-Reward (R)**: Default 2.0 - Main profit target multiplier
- **TP1 R Multiple**: Default 1.0 - Partial profit target
- **Use Break-even Stop**: Move stop to entry after 1R profit
- **ATR Trailing Stop**: Dynamic stop based on ATR(14) x 2.0
### Filters
- **Require Volume Spike**: Optional volume confirmation filter
- **Use Higher TF Confirmation**: Enable multi-timeframe analysis
- **Higher TF**: Default "D" (Daily) - Can use 240 (4H), W (Weekly), etc.
---
## 📈 Dashboard (HUD)
The top-center dashboard shows real-time confluence status:
| Column | Meaning |
|--------|---------|
| **Trend** | Current trend direction (UP/DOWN/Flat) |
| **HTF** | Higher timeframe alignment (Bull/Bear/Flat) |
| **RSI Zone** | Is RSI in swing zone? (YES/NO) |
| **Volume** | Volume spike detected? (YES/NO) |
| **Signal** | Active signal type (HC LONG/HC SHORT/None) |
| **R Risk** | Current profit in R-multiples |
| **Stop** | Current stop-loss level |
| **TP1** | Partial take-profit status |
| **TP2** | Final take-profit status |
| **Conf %** | Overall confluence score (0-100%) |
### Confidence Score Breakdown
- **20%** - Trend present (up or down)
- **30%** - HTF confirmation aligned (or 15% if HTF off)
- **20%** - RSI in swing zone
- **10%** - Volume spike
- **20%** - High-confidence signal triggered
**Scoring**:
- 🟢 70%+ = High probability setup
- 🟡 40-69% = Moderate setup
- 🔴 <40% = Low probability
---
## 🔔 Alert Setup
The indicator includes 8 alert conditions:
### Entry Alerts
- **HC LONG ENTRY** - High-confidence long signal triggered
- **HC SHORT ENTRY** - High-confidence short signal triggered
### Profit Target Alerts
- **LONG TP1 Reached** - Hit partial profit (1R by default)
- **LONG Final TP Reached** - Hit final target (2R by default)
- **SHORT TP1 Reached** - Hit partial profit
- **SHORT Final TP Reached** - Hit final target
### Stop Loss Alerts
- **LONG Stop/BE/Trail Level Hit** - Long position stopped out
- **SHORT Stop/BE/Trail Level Hit** - Short position stopped out
### How to Set Up Alerts
1. Click "Add Alert" on TradingView
2. Choose this indicator from the dropdown
3. Select desired alert condition
4. Set alert to trigger "Once Per Bar Close"
5. Customize notification method (popup/email/webhook)
---
## 📋 Trading Workflow
### 1. Wait for High-Confidence Signal
Look for the large **HC L** or **HC S** triangle on chart close.
### 2. Verify Confluence
Check the HUD dashboard:
- Confidence score should be 70%+
- HTF status should show alignment
- RSI Zone should be "YES"
### 3. Entry
Enter the trade at market or on next candle open.
### 4. Set Stop Loss
Use the **initial stop** shown in the HUD (red line on chart):
- **Longs**: Below the swing low (10-bar lookback)
- **Shorts**: Above the swing high (10-bar lookback)
### 5. Set Take Profits
- **TP1**: 1R (50% position close) - Yellow line
- **TP2**: 2R (remaining 50% close) - Green line
### 6. Manage the Trade
- Monitor the **R Risk** column to track profit
- Stop moves to break-even automatically after 1R (if enabled)
- ATR trailing stop engages dynamically (red line adjusts)
- Exit if price hits dynamic stop level
---
## 🎨 Visual Guide
### On-Chart Elements
**Triangles**:
- Small lime/red triangles = Base signals (lower confidence)
- Large lime/red triangles = High-confidence signals (trade these!)
**Lines**:
- 🟢 Green line = Fast EMA (20)
- 🟠 Orange line = Slow EMA (50)
- 🔴 Red line = Dynamic stop-loss level
- 🟡 Yellow line = TP1 level
- 🟢 Green line = TP2 (final target)
**HUD Colors**:
- 🟢 Green = Bullish/Active/Good
- 🔴 Red = Bearish/Inactive/Warning
- 🟡 Yellow = Neutral/Caution
- 🔵 Blue = Informational
- ⚫ Gray = Disabled/Off
---
## 💡 Strategy Tips
### Best Practices
1. **Only trade High-Confidence signals** - Ignore base signals unless very experienced
2. **Respect the HTF** - Don't fight the higher timeframe trend
3. **Use proper position sizing** - Risk 1-2% of account per trade
4. **Partial profits work** - Take 50% off at TP1, let rest run to TP2
5. **Let winners run** - Trailing stop helps capture extended moves
6. **Be patient** - Quality over quantity; wait for 70%+ confluence
### Optimal Timeframes
- **Primary Chart**: 1H, 4H, Daily (swing trading)
- **HTF Setting**: One level higher than your chart
- If trading 1H → Set HTF to 4H or D
- If trading 4H → Set HTF to D or W
- If trading Daily → Set HTF to W
### Market Conditions
**Best Performance**:
- Trending markets with healthy pullbacks
- Clear support/resistance zones
- Moderate volatility
**Avoid Trading**:
- Extremely choppy/sideways markets
- Major news events (unless experienced)
- Low confidence scores (<40%)
---
## ⚙️ Advanced Customization
### Aggressive Setup (More Signals)
```
Fast EMA: 12
Slow EMA: 26
RSI Min: 35
RSI Max: 65
Use HTF Confirmation: OFF
Require Volume Spike: OFF
```
### Conservative Setup (Fewer, Higher Quality)
```
Fast EMA: 20
Slow EMA: 50
RSI Min: 45
RSI Max: 55
Use HTF Confirmation: ON
Require Volume Spike: ON
Final TP R: 3.0
```
### Scalping Adaptation (Not Recommended)
```
Fast EMA: 9
Slow EMA: 21
Swing Lookback: 5
TP1 R: 0.5
Final TP R: 1.0
```
---
## ⚠️ Risk Disclaimer
**IMPORTANT**: This indicator is for educational and informational purposes only.
- Past performance does not guarantee future results
- No indicator is 100% accurate
- Always use proper risk management
- Never risk more than you can afford to lose
- Consider using a demo account first
- Seek professional financial advice if needed
Trading involves substantial risk of loss and is not suitable for all investors.
---
## 🔧 Troubleshooting
### "No signals appearing"
- Check if HTF confirmation is enabled but market isn't aligned
- Verify RSI zone isn't too restrictive
- Ensure volume spike isn't filtering out all setups
- Try adjusting EMA lengths for your asset
### "Too many false signals"
- Enable HTF confirmation
- Tighten RSI zone (e.g., 45-55)
- Enable volume spike requirement
- Only trade 70%+ confidence setups
### "Stops too tight/wide"
- Adjust Swing Lookback length
- Modify ATR multiplier for trailing stop
- Consider the asset's volatility
### "Alerts not working"
- Ensure alert is set to "Once Per Bar Close"
- Check indicator is added to the chart
- Verify TradingView notification settings
---
## 📚 Version History
**v1.0 (Current)**
- Initial release
- Multi-timeframe confluence system
- Dynamic risk management
- Real-time HUD dashboard
- Comprehensive alert system
- ATR trailing stops
- Break-even automation
---
## 🤝 Support & Feedback
If you find this indicator helpful:
- ⭐ Star the script on TradingView
- 💬 Share your results and feedback
- 🐛 Report bugs or suggest improvements
- 📖 Share with other traders
---
## 📖 Additional Resources
### Recommended Reading
- "The New Trading for a Living" by Dr. Alexander Elder
- "Swing Trading Using Multiple Timeframes" - Educational articles
- Risk management and position sizing guides
### Learn More About
- Multiple timeframe analysis
- EMA crossover strategies
- RSI divergence and zones
- ATR-based stops
- R-multiple profit management
---
## 📝 License
This indicator is provided as-is for personal trading use.
**Usage Rights**:
- ✅ Use for personal trading
- ✅ Modify for personal use
- ❌ Resell or redistribute
- ❌ Claim as original work
---
## 🎓 Quick Start Checklist
- Add indicator to TradingView chart
- Set your preferred timeframe (1H/4H/Daily)
- Configure HTF setting (one level higher)
- Review default parameters
- Set up entry alerts (HC LONG/SHORT)
- Set up TP and SL alerts
- Test on historical data
- Paper trade first
- Start with small position sizes
- Track your results
---
**Happy Trading! 📊💰**
*Remember: Discipline, patience, and risk management are the keys to long-term success.*
Approved Engulfing - Confirmed Close Triggerengulfing tak respek atau king CMS, guna cs sebelum engulfing ni sebagai area entry, bila prce kembali ke area ini, tunggu rejection baru boleh entry, andai tak ada rejection tak boleh entry
the Engulfing is not respected or fails to hold (King CMS), use the candle prior to this engulfing as your entry area. When price returns to this zone, wait for a clear rejection before entering. If there is no rejection, do not enter the trade."
Manipulation Candle SystemThis indicator is based on One Candle Scalping Strategy by ProRealAlgos
## **Manipulation Candle System – Simple Explanation**
This indicator helps traders identify **potential market manipulation** during the **US stock market session (New York)** and highlights **key reversal signals**.
---
### **1. Daily ATR (Average True Range)**
* Measures the **average price movement** of the day.
* Helps determine if a move is **normal** or **abnormally large**.
* The indicator calculates **daily ATR** automatically.
* If 15 minute opening candle is more than 25% of Daily ATR, we can call it manipulation is happen .
---
### **2. 15-Minute Opening Candle Box**
* Highlights the **first 15-minute candle** of the US session.
* The box **extends for 2 hours** after the market opens.
* **Color indicates market condition**:
* **Red box** → the opening candle range is bigger than 25% of the daily ATR → potential **manipulation**.
* **Blue box** → the opening candle range is normal → **neutral session**.
* Helps traders visually spot when the market might be trying to **trap traders**.
---
### **3. 5-Minute Reversal Detection**
* Looks for **reversal candle patterns** on the 5-minute chart:
* Bullish engulfing or strong bullish pin → **buy reversal**.
* Bearish engulfing or strong bearish pin → **sell reversal**.
* Only checks during the **US session**, after 15 minute opening candle.
* Helps traders **time entries** in the direction of potential market reversals.
---
### **4. Buy / Sell Signals**
* Shows **triangle markers** on the chart:
* **Green triangle below candle** → buy signal.
* **Red triangle above candle** → sell signal.
* The signal text also indicates:
* `"BUY (Trap Reversal)"` → if the reversal occurs during manipulation.
* `"BUY (Normal Reversal)"` → if the reversal occurs during a neutral session.
* `"SELL (Trap Reversal)"` → if a sell reversal occurs during manipulation.
* `"SELL (Normal Reversal)"` → otherwise.
---
### **5. Info Table**
* Appears at the **top-right** of the chart.
* Shows:
1. Daily ATR value.
2. 15-minute opening candle range.
3. Session condition → `"MANIPULATION"` or `"NEUTRAL"`.
4. Current reversal signal text.
---
### **How a New Trader Can Use It**
1. Look at the **color of the opening box**:
* Red → be cautious, price may trap traders.
* Blue → normal market behavior.
2. Watch for **reversal signals** on the 5-minute chart.
3. Use the **info table** to confirm ATR, session bias, and signals.
4. Combine this with **risk management** before entering trades.
Vector Trinity indicator II: [Bottom: TTM Squeeze]**1. Introduction: The Engine of the System**
This indicator is **Part 2** of the "Vector Trinity" trading system. While Part I (Structure) defines *where* the price is, **Part II (Impulse)** defines *when* the move will happen and *how strong* it is.
It represents the **Time Dimension** of the system, focusing on momentum ignition and energy release.
* **I: Structure:** Spatial boundaries.
* **II: Impulse:** **Momentum velocity & Squeeze timing (Current Indicator).**
* **III: Flow:** Capital validation.
**2. Core Logic: Linear Regression Momentum**
Unlike standard momentum indicators (like MACD) which are based on Moving Averages and often lag significantly, **Vector Trinity II** utilizes **Linear Regression** on price deviations.
* **Math:** It calculates the distance between the price and the mean, then runs a linear regression to determine the angle of attack.
* **Benefit:** This provides a near-instantaneous reading of market "Velocity" and "Acceleration," reducing lag and allowing traders to see the turn before price fully commits.
**3. The "Squeeze" Mechanics (The Dots)**
The central line features dots that indicate the volatility state of the market:
* **🔴 Red Dot (Squeeze ON):** The Bollinger Bands have moved inside the Keltner Channels. Volatility is critically low. The market is storing energy like a compressed spring. **Action:** Wait. Do not trade yet.
* **🟢 Green Dot (Squeeze Fired):** The Bands have popped out of the Channels. The energy is releasing. **Action:** This is the "Ignition" signal. Look at the histogram color for direction.
**4. The 4-Color Momentum System**
The histogram bars are color-coded to tell the full story of the trend's lifecycle, not just direction:
* **Bullish Territory (Above 0):**
* **🟦 Cyan (Light Blue):** **Bullish Acceleration.** Buyers are aggressive. Momentum is increasing. (Best for entry).
* **🔷 Blue (Dark Blue):** **Bullish Deceleration.** Buyers are tired. Momentum is fading. (Prepare to take profit).
* **Bearish Territory (Below 0):**
* **🟥 Red:** **Bearish Acceleration.** Sellers are aggressive. Momentum is increasing. (Best for shorting).
* **🟨 Yellow:** **Bearish Deceleration.** Sellers are exhausted. Momentum is recovering towards zero. (Warning: Trend potential reversal).
**5. How to Use**
* **Step 1:** Look for **Red Dots** on the zero line. This identifies a high-potential setup building up.
* **Step 2:** Wait for the **First Green Dot**. This is the "Squeeze Fired" signal.
* **Step 3:** Confirm with the **Histogram Color**.
* If Green Dot + **Cyan Bar** = Long Signal.
* If Green Dot + **Red Bar** = Short Signal.
* **Advanced:** Use the **Yellow Bars** as an early warning to exit short positions before price actually reverses.
**Settings:**
* **Length:** 20 (Standard calculation period).
* **BB/KC Mult:** 2.0 / 1.5 (Standard ratios to define the Squeeze).
* **Smoothing:** Enabled (Default 3) to reduce noise and provide clearer color transitions.
---
### **中文说明**
**1. 简介:系统的核心引擎**
本指标是“矢量三位一体”交易系统的 **第二部分**。如果说第一部分 (Structure) 定义了价格*在哪里*,那么 **第二部分 (Impulse)** 则定义了行情*何时*启动以及力度*有多强*。
它代表了系统的 **时间维度**,专注于动能的点火与能量释放。
* **I: Structure 结构:** 空间边界。
* **II: Impulse 脉冲:** **动能速度与挤压时机(本指标)。**
* **III: Flow 流向:** 资金验证。
**2. 核心逻辑:线性回归动能**
传统的动能指标(如 MACD)通常基于移动平均线,存在显著的滞后性。**Vector Trinity II** 采用了基于价格偏离度的 **Linear Regression (线性回归)** 算法。
* **数学原理:** 它计算价格与均值的距离,并通过回归分析确定攻击的角度。
* **优势:** 这提供了几乎零滞后的市场“速度”与“加速度”读数,允许交易者在价格完全反转之前看到动能的拐点。
**3. “挤压”机制 (圆点信号)**
0轴上的圆点指示了市场的波动率状态:
* **🔴 红点 (Squeeze ON):** 布林带完全进入了肯特纳通道内部。波动率极低。市场像被压缩的弹簧一样在积蓄能量。**操作:** 等待,不要急于进场。
* **🟢 绿点 (Squeeze Fired):** 布林带扩张冲出通道。能量开始释放。**操作:** 这是“点火”信号。观察柱状图颜色以确定方向。
**4. 四色动能战术系统**
柱状图通过四种颜色讲述了趋势完整的生命周期,而不仅仅是涨跌:
* **多头区域 (0轴上方):**
* **🟦 青色 (Cyan):** **多头加速。** 买盘积极,动能增强。(最佳进场期)
* **🔷 蓝色 (Blue):** **多头减速。** 买盘疲惫,动能衰减。(准备止盈)
* **空头区域 (0轴下方):**
* **🟥 红色 (Red):** **空头加速。** 卖盘积极,动能增强。(最佳做空期)
* **🟨 黄色 (Yellow):** **空头减速。** 卖盘力竭,动能向0轴修复。(警告:趋势可能反转/抄底信号)
**5. 使用方法**
* **第一步:** 寻找0轴上的 **红点**。这标志着一个高爆发潜力的机会正在酝酿。
* **第二步:** 等待 **第一个绿点** 出现。这是“挤压释放/点火”的信号。
* **第三步:** 结合 **柱状图颜色** 确认。
* 绿点 + **青色柱** = 做多信号。
* 绿点 + **红色柱** = 做空信号。
* **进阶用法:** 利用 **黄色柱** 作为空单止盈的先行指标,往往在价格反弹之前,动能就已经变黄了。
**参数设置:**
* **Length (周期):** 20 (标准计算周期)。
* **BB/KC Mult (倍数):** 2.0 / 1.5 (定义挤压状态的标准比率)。
* **Smoothing (平滑):** 开启 (默认3) 以减少噪音,提供更平滑的颜色转换体验。
EMA Slope Angle V2 Auto Threshold# EMA Slope Angle Indicator
## Overview
The EMA Slope Angle Indicator visualizes the Exponential Moving Average (EMA) slope as an angle in degrees, providing traders with a clear, quantitative measure of trend strength and direction. The indicator features **automatic threshold calculation based on Gaussian distribution**, making it adaptive to any market and timeframe.
## Key Features
### 🎯 **Automatic Threshold Calculation (NEW!)**
- **Gaussian Distribution-Based**: Automatically calculates optimal thresholds from the 50% interquartile range (IQR) of historical angle data
- **Asset-Adaptive**: Thresholds adjust to each instrument's unique volatility and price characteristics
- **No Manual Tuning Required**: Simply enable "Use Auto Thresholds" and let the indicator optimize itself
### 📊 **Dynamic EMA Coloring**
- **Color Intensity**: EMA line color intensity reflects slope strength
- **Visual Feedback**:
- Green shades for uptrends (darker = stronger)
- Red shades for downtrends (darker = stronger)
- Gray for flat/neutral conditions
### 📈 **Regime Detection**
- **Three Regimes**: RISING, FALLING, and FLAT
- **Smart Classification**: Based on statistical distribution of angles
- **Non-Repainting**: All calculations use confirmed bars only
### 🔔 **Trend-Shift Signals**
- **Visual Arrows**: Automatic signals when transitioning from FLAT to RISING/FALLING
- **Configurable**: Enable/disable signals as needed
- **Reliable**: Only triggers on significant regime changes
### 📋 **KPI Dashboard**
- **Real-Time Metrics**: Current angle, regime, and last signal
- **Auto-Threshold Display**: Shows calculated thresholds when auto-mode is active
- **Statistics**: Optional angle distribution statistics
- **Clean Layout**: Top-right corner, non-intrusive
### 📊 **Angle Statistics (Optional)**
- **Distribution Analysis**: Histogram of angle ranges
- **Dynamic Buckets**: Automatically adjusts to data distribution when auto-mode is enabled
- **Percentage Breakdown**: See how often each angle range occurs
## Settings
### Main Settings
- **EMA Length**: Period for the Exponential Moving Average (default: 50)
- **Slope Lookback Bars**: Number of bars to calculate slope over (default: 5)
### Angle Settings
- **Use Auto Thresholds**: Enable automatic threshold calculation (recommended!)
- **Analysis Period**: Number of bars to analyze for distribution (default: 500)
- **Manual Thresholds**: Flat, Rising, and Falling triggers (used when auto-mode is off)
- **Max Angle for Color Saturation**: Maximum angle for color intensity scaling
### Display Options
- **Colors**: Customize uptrend, downtrend, and flat colors
- **Show Signals**: Enable/disable trend-shift arrows
- **Show Statistics**: Display angle distribution table
- **Show Dashboard**: Toggle KPI dashboard visibility
## How It Works
### Angle Calculation
The indicator calculates the angle between the current EMA value and the EMA value N bars ago:
```
Angle = arctan((EMA_now - EMA_then) / lookback) × 180° / π
```
### Auto-Threshold Calculation
When enabled, the indicator:
1. Analyzes historical angle data over the specified period
2. Calculates mean and standard deviation
3. Determines thresholds based on the 50% interquartile range (IQR):
- **Flat Threshold**: ±0.674σ (middle 50% of data)
- **Rising Trigger**: 75th percentile (mean + 0.674σ)
- **Falling Trigger**: 25th percentile (mean - 0.674σ)
### Regime Classification
- **FLAT**: Angle within ±Flat Threshold
- **RISING**: Angle ≥ Rising Trigger
- **FALLING**: Angle ≤ Falling Trigger
## Use Cases
### Trend Following
- Identify strong trends (high angle values)
- Spot trend reversals (regime changes)
- Filter trades based on trend strength
### Range Trading
- Detect flat/consolidation periods
- Avoid trading during choppy markets
- Enter when regime shifts from FLAT to RISING/FALLING
### Multi-Timeframe Analysis
- Apply to different timeframes for confirmation
- Use higher timeframe for trend direction
- Use lower timeframe for entry timing
## Tips for Best Results
1. **Enable Auto-Thresholds**: Let the indicator adapt to your instrument
2. **Adjust Analysis Period**: Use more bars for stable markets, fewer for volatile ones
3. **Combine with Price Action**: Use regime changes as confirmation, not standalone signals
4. **Multi-Timeframe**: Check higher timeframes for trend context
5. **Backtest First**: Test settings on historical data before live trading
## Technical Details
- **Non-Repainting**: All calculations use `barstate.isconfirmed`
- **Pine Script v6**: Latest version for optimal performance
- **Efficient**: Minimal computational overhead
- **Customizable**: Extensive settings for fine-tuning
## Version History
**v2.0** (Current)
- Added automatic threshold calculation based on Gaussian distribution
- Dynamic bucket adjustment for statistics
- Enhanced dashboard with auto-threshold display
- Improved regime detection using IQR method
**v1.0**
- Initial release with manual thresholds
- Basic EMA coloring
- Trend-shift signals
- KPI dashboard
## Support
For questions, suggestions, or bug reports, please leave a comment or contact the author.
---
**Disclaimer**: This indicator is for educational purposes only. Past performance does not guarantee future results. Always use proper risk management and never risk more than you can afford to lose.
**Keywords**: EMA, slope, angle, trend, automatic thresholds, Gaussian distribution, regime detection, non-repainting, adaptive
SIDD EMA RSI Supertrend Signal Table🔥 SIDD EMA RSI SuperTrend Multi-Timeframe Signal Table
**SIDD EMA RSI SuperTrend Signal Table** is a **clean, powerful multi-timeframe trend confirmation dashboard** designed for traders who want **clarity, confluence, and speed** — all in one glance.
This indicator **does NOT repaint** and uses **industry-standard trend logic** combining **EMA structure, RSI momentum, and SuperTrend direction** across **6 different timeframes**.
---
## 🧠 Core Logic Behind the Indicator
This script works on **three independent trend engines**, displayed together in a compact table:
### ✅ 1️⃣ EMA Trend (Structure Based)
* Uses **EMA 50 vs EMA 200**
* **Bullish** → EMA 50 above EMA 200
* **Bearish** → EMA 50 below EMA 200
* Captures **primary market structure**
### ✅ 2️⃣ RSI Trend (Momentum Based)
* RSI Length: **14**
* **Bullish** → RSI > **55**
* **Bearish** → RSI ≤ **55**
* Helps confirm **trend strength & momentum**
### ✅ 3️⃣ SuperTrend (Price Action Based)
* ATR Length: **10**
* Factor: **3.0**
* Clearly defines **trend direction & trailing bias**
* Excellent for **entry & exit alignment**
---
## ⏱️ Multi-Timeframe Coverage
The table analyzes trends across **6 configurable timeframes**:
* Intraday → **5m, 15m, 1H**
* Swing → **4H, Daily**
* Positional → **Weekly**
Each timeframe shows:
* 📈 EMA Trend
* 📊 RSI Trend
* 🔁 SuperTrend Direction
Color-coded for instant readability:
* 🟢 Bullish
* 🔴 Bearish
* ⚪ Neutral
---
## 🎯 How to Use This Indicator
✔ **Trend Trading**
Trade only when **EMA + RSI + SuperTrend align** across higher & lower timeframes.
✔ **Intraday Confirmation**
Use higher TF (1H / 4H) bias and take entries on lower TF.
✔ **Avoid Chop & False Signals**
If signals are mixed → market is likely **sideways or risky**.
✔ **Swing & Positional Trades**
Daily + Weekly alignment gives **high-probability setups**.
---
## ⚙️ Customization Options
* Adjustable **timeframes**
* Table **position** (Top/Bottom – Left/Right)
* Table **size** (Extra Small / Small / Normal)
* Custom **colors, borders & text**
* Optimized for **minimal chart clutter**
---
## ⚠️ Disclaimer
This indicator is a **trend confirmation & decision-support tool**.
Always combine with **price action, support/resistance, and proper risk management**.
SCOTTGO - RSI Divergence IndicatorRSI Divergence Indicator
This indicator combines the Relative Strength Index (RSI) with an automatic divergence detection system.
It is designed to help traders spot potential trend changes by:
Color-Coded RSI: The main RSI line dynamically changes color (e.g., green/red) above and below a user-defined threshold (default 50) to highlight strong or weak momentum instantly.
Divergence Signals: It automatically identifies and plots four types of RSI divergences (Regular Bullish, Hidden Bullish, Regular Bearish, and Hidden Bearish) between the price and the oscillator.
Custom Alerts: Includes alerts for all divergence types so you can be notified when a new signal is found.
This tool helps visualize momentum shifts and potential reversals in the market.
Probability-Based Adaptive Detection🙏🏻 PBAD (Probability-Based Adaptive Detection) : adaptive control tool for outliers || novelty detection, made for worst case data & processes, for the highest time complexity O(n^2) compared with the alternatives (would be explained in a sec). Thresholds are completely data driven and axiomatic, no need in provided hyperparameters, are not learned or optimized. The method accepts multiple weights, e.g. both temporal and volatility weights.
Method briefly explained (I can go deeper if any1 asks explicitly):
Performs weighted KDE on initial input data, finds KDE global maximum (mode), creates new “residuals” dataset by centering initial data around this value;
Performs weighted KDE on residuals, uses sigmoid based probability mass targets with increasing probability coverage to construct a set of non-disjoint High Density Intervals (also called HDR, HPD in Bayesian terms);
Uses these intervals to calculate analogs of centralized & standardized moments;
Uses these ^^ moments to construct a set of control thresholds. The scheme used in PBAD is not only based on a central threshold, or on neighboring ones, it utilizes all previous thresholds, gaining more information.
...
The most important part is to understand whether you really need PBAD. Because even tho it seems to be the best one given highest algocomplexity, irl it would work worse in cases when it’s not required by your data.
Here’s the menu (aka taxonomy omg) of methods you can use that would let you make the right choice:
Moment-Based Adaptive Detection (MBAD) :
Norm: L2
Time complexity: original O(n), successfully reduced to O(1) in online version
Use case: default, general purpose
Based on: method of moments (powers of residuals from mean)
Thresholds architecture: centralized
Quantile-Based Adaptive Detection (QBAD):
Norm: L1
Time complexity: O(nlogn)
Use case: either bad data Or process instability
Based on: quantile moments (dyadic percentiles of residuals from median)
Thresholds architecture: chained/recursive/sequential
Probability-Based Adaptive Detection (PBAD):
Norm: L0
Time complexity: O(n^2)
Use case: both bad data And process instability
Based on: probability moments (target probability masses of residuals from KDE mode)
Thresholds architecture: decentralized (for lack of a better name xd, the idea is that these thresholds gain information from the all other threshold and are Not exclusively based on the central or neighboring thresholds)
...
Examples of true use cases:
^^ an appropriate financial instrument to use PBAD
^^ and another one
...
Additional details about how to use it:
Keep the student5 kernel, it’s the best you can do. I added others mostly for comparisons and if you want to use the tool Not for its primary purpose (on a fine data)
“Calculate for N bars” and “Starting at bar N” options allow to reduce calculation period only on the N number of last bars or next bars from a chosen one. It's vital, because calculations here are heavy
Keep plotting offset at 1 (allows to visually compare current bar with the previous threshold values). This is the way it should be done on price data.
HLC3 is the optimal source input, unless you want to use your own better one point estimate of each datapoint (in the best case done by using PBAD itself on OHLC+ values).
In essence it should be used just like MBAD or QBAD, fade/push extensions and limit, fade/push/skip deviations & basis, or other strategies of your. Again, the only reason for 3 methods to exist is to be chosen for according data characteristics.
Btw:
This is the initial version, I don’t consider it perfected tbh, even tho it works as expected, however this method is very situational anyways.
In this script KDE function is modified to ensure the outcoming probabilities Do sum up to 1. I didn’t do this normalization in Weighted KDE Mode script , but there it’s not required since we just need a KDE global max.
see ya
∞
ORB Pressure (Futures) Your TradingView script is an ORB “pressure + confirmation” indicator built for futures that anchors the Opening Range to the NY cash open and then manages the day in three phases. First, it constructs the Opening Range high/low starting at 09:30 NY for a user-selectable duration (3/5/15/30/60 minutes) and draws those levels forward on the chart. Second, once the range is set, it computes a real-time break likelihood score (0–100) plus a directional lean (UP/DOWN/NEUTRAL) using a blend of factors traders care about: proximity to the OR edges, ATR-based compression, repeated “touches” near ORH/ORL, EMA stacking and VWAP positioning/slope, and relative volume vs a baseline. Third, it enforces a clean signal structure: it triggers a one-shot event only when a candle closes outside ORH/ORL, logs the break details (direction, price, ticks beyond the range, and time), and prevents repeat firing; however, if price closes back inside the range within a configurable number of candles, the script treats it as a failed break and resets so it can re-arm. A compact dashboard displays the live state (building/set/armed), score, lean, and it preserves the break statistics after a trigger so you can review the day’s breakout behavior at a glance.
Session ATR Progression Tracker📊 Session ATR Progression Tracker - SIYL Regression Trading Tool
Track how much of your instrument's 7-day Average True Range (ATR) has been covered during the current trading session. This indicator is specifically designed for regression traders who follow the "Stay In Your Lane" (SIYL) methodology, helping you identify when the probability of mean reversion significantly increases. If you are interested in more on that check out Rod Casselli and tradersdevgroup.com.
🎯 Key Features:
• Real-time ATR Coverage Percentage - See at a glance what percentage of the 7-day ATR has been covered in the current session
• SIYL-Optimized Thresholds - See at a glance when the instrument has achieved 80% and 100% ATR coverage, the proven thresholds where mean reversion probability increases (customizable)
• Flexible Session Modes:
- Daily: Resets at calendar day change
- Session: Uses exchange-defined trading sessions
- Custom Session: Set your exact session start/end times (perfect for futures traders and international markets)
• Visual Alerts - Color-coded display (gray → orange → red) and optional background highlighting
• Repositionable Display - Choose from 9 screen positions to avoid chart clutter
• Session Markers - Green triangles mark the start of each new session
• Detailed Stats - View current range, ATR value, session high/low, and session status
💡 Why Use This Indicator?
This tool is built around a proven concept: regression trading becomes significantly more effective once a session has achieved at least 80% of its 7-day ATR. At this threshold, the probability of price reverting to mean increases substantially, creating higher-probability trade setups for SIYL practitioners.
Benefits for regression traders:
- Identify optimal entry points when mean reversion probability is highest (≥80% ATR coverage)
- Avoid premature regression entries before adequate range has been established
- Recognize when daily moves have "earned their range" and are ripe for reversal
- Time fade-the-move and counter-trend strategies with statistical backing
- Improve win rates by trading only after proven probability thresholds are met
⚙️ Setup Instructions:
1. Add the indicator to your chart
2. Select your preferred "Reset Mode" (recommend "Custom Session" for futures/international markets)
3. If using Custom Session, enter your session times in 24-hour format (e.g., 0930-1600 for US stocks, 1700-1600 for CME futures)
4. Adjust alert thresholds if desired (default: 80% and 100% - proven SIYL thresholds)
5. Position the display where it's most visible on your chart
📈 Works Across All Markets:
Stocks • Futures • Forex • Indices • Crypto • Commodities
Perfect for regression traders, mean reversion specialists, and SIYL practitioners who want to trade with probability on their side by entering only after the session has "earned its range."
---
Tip: For futures contracts with overnight sessions that span calendar days (like MES, MNQ, MYM), use "Custom Session" mode with your exchange's official session times for accurate tracking.
Heikin Ashi + Real Price OverlayHeikin-Ashi + Real Price Overlay
This indicator combines the smooth trend visualization of Heikin-Ashi candles with the true market price for precise execution.
Features:
Heikin-Ashi Candles: Provides a clear, smoothed view of market trends and momentum.
Real Close Price Overlay: Plots the actual closing price as a line on top of HA candles, ensuring accurate entry, exit, and stop placement.
Trend-Based Coloring: The real price line is colored according to HA trend (green for bullish, red for bearish), making trend bias instantly visible.
Lightweight and ideal for scalping, day trading, or any strategy where trend bias + exact price matters.
Use Case:
Use HA candles to identify market bias and momentum.
Use the real price line for precise entries, exits, and stop levels.
Perfect for traders who want the clarity of HA without sacrificing real price accuracy.
JK Scalp - Nishith RajwarJK Scalp Nishith Rajwar
Multi-Stochastic Rotation & Momentum Scalping Framework
JK Scalp is a rule-based momentum and rotation oscillator designed for short-term scalping and intraday execution.
It focuses on how momentum rotates across multiple stochastic speeds, instead of relying on a single oscillator or lagging averages.
This is an execution aid, not a predictive indicator.
🧠 Concept & Originality
Unlike standard stochastic tools, JK Scalp uses four synchronized stochastic layers:
• Fast (9,3) → execution timing
• Medium (14,3) → structure confirmation
• Slow (44,3) → swing context
• Trend (60,10,10) → dominant momentum regime
The core idea is quad-rotation:
High-probability trades occur when all momentum layers rotate together after reaching an extreme.
This script combines:
• Momentum rotation
• Divergence logic
• Flag continuation logic
• Trend-state filtering
into a single cohesive framework, not a simple indicator mashup.
📊 How to Use (Step-by-Step)
1️⃣ Best Timeframes
• Scalping: 1m – 3m
• Intraday: 5m – 15m
• Avoid higher timeframes (not designed for swing holding)
Works best on:
• Index options
• Index futures
• Highly liquid stocks
• Crypto majors
2️⃣ Understanding the Signals
🔁 Quad Rotation (Core Signal)
A valid rotation requires:
• Fast, Medium, Slow, and Trend stochastic moving in the same direction
• Momentum exiting Overbought / Oversold zones
• Trend stochastic supporting the move
This filters out random oscillator noise.
3️⃣ Entry Conditions
🟢 LONG Setup
• Bullish quad rotation
• Either:
– Bullish divergence OR
– Bullish flag pullback
• Fast stochastic turning up
🔴 SHORT Setup
• Bearish quad rotation
• Either:
– Bearish divergence OR
– Bearish flag pullback
• Fast stochastic turning down
⚠️ Signals are confirmation-based, not anticipatory.
4️⃣ SUPER LONG / SUPER SHORT
These appear only when:
• Quad rotation
• Divergence confirmation
They represent high-confidence momentum inflection zones, not guaranteed reversals.
5️⃣ Stop-Loss Visualization
Optional SL zones are plotted using:
• Recent swing high / low
• ATR-based buffer (configurable)
This helps traders visualize risk, not automate exits.
🎨 Visual System (Why It Looks Different)
• Multi-layer glow effects → momentum strength
• Dynamic cloud → fast vs trend dominance
• Color-shifting fast line → acceleration vs decay
• Chart overlays → execution clarity without clutter
Everything is designed for speed and readability during live trading.
⭐ Unique Selling Points (USP)
✅ Multi-speed stochastic rotation (not single-line signals)
✅ Context-first, not signal spam
✅ Built-in divergence + continuation logic
✅ Non-repainting logic
✅ Designed for scalpers, not hindsight analysis
✅ Works across indices, options, crypto, and futures
⚠️ Important Notes
• Not a standalone trading system
• Best combined with:
– Market structure
– Key levels
– Session timing
• Avoid low-liquidity or news-spike candles
This indicator guides execution, it does not replace discretion.
👤 Who This Is For
• Scalpers & intraday traders
• Options traders needing precise timing
• Traders who understand momentum & structure
• Users who want fewer but higher-quality signals
🏁 Summary
JK Scalp helps you trade momentum rotation, not overbought/oversold myths.
Wait for alignment. Execute with discipline.
Rolling VWAP Structure [MTF]Core Logic: Rolling VWAP & MTF**
* **Rolling VWAP (Volume-Weighted Average Price):** Unlike a simple Moving Average, this centerline weighs price by volume. It represents the true "Institutional Cost Basis" over the rolling period (default 20).
* **MTF (Multi-Timeframe) Capability:** The indicator is locked to the **Daily (1D)** timeframe by default. This acts as a stable "Lighthouse," ensuring that intraday noise does not distort the major structural levels.
* *Stepped Lines:* On lower timeframes, the lines appear stepped. This is intentional. It shows that the structural value remains constant throughout the day until the daily close shifts the calculation.
**3. Market Profile Logic: Balance vs. Imbalance**
This indicator visually decodes the market cycle using Auction Market Theory:
* **Orange Zone (Squeeze) = Balance:** When the bands contract (and turn Orange), the market is in equilibrium. This is a high-volume node where price is accepted. **Note:** Historical Orange Zones often act as strong Support/Resistance upon retest.
* **Grey Cloud (Expansion) = Imbalance:** When price breaks into the Grey "Highway" (1.0 - 2.0 StdDev), the market enters Price Discovery mode (Trending).
**4. Key Features & Settings**
* **Fixed Timeframe:** Select the timeframe you want to monitor (e.g., "1D" for Daily structure, "1W" for Weekly).
* **Clean Visuals:** The bottom signal dots have been removed for a cleaner chart.
* **Squeeze Toggle:** You can now **hide the Orange Squeeze color** in the settings if you prefer a unified Grey look for strictly structural analysis.
---
### **中文说明**
核心逻辑:Rolling VWAP 与 跨周期 (MTF)**
* **Rolling VWAP (滚动成交量加权均价):** 与简单移动平均线不同,中轨根据成交量对价格进行加权。它代表了滚动周期内(默认20)真实的“机构持仓成本”。
* **MTF (跨周期) 能力:** 指标默认锁定在 **日线 (1D)** 周期。这就像一座稳定的“灯塔”,确保日内的短期噪音不会扭曲主要的结构性点位。
* *阶梯状线条:* 在小周期图表上,轨道呈现阶梯状。这是有意设计的,代表当天的结构价值是固定的,不会随秒级波动而改变。
**3. 市场轮廓逻辑:平衡与失衡**
本指标利用拍卖市场理论可视化解码市场周期:
* **橙色区域 (挤压) = 平衡 (Balance):** 当布林带收缩(并变橙色)时,市场处于均衡状态。这是筹码密集的高成交量区。**注意:** 历史上的橙色区域在未来回踩时往往起到强力的 支撑/阻力 作用。
* **灰色云带 (扩张) = 失衡 (Imbalance):** 当价格突破进入灰色“高速公路”(1.0 - 2.0 标准差)时,市场进入价格发现模式(趋势)。
**4. 主要功能与设置**
* **Fixed Timeframe (锁定时间框架):** 选择你想要监控的周期(例如 "1D" 看日线结构,"1W" 看周线结构)。
* **视觉净化:** 移除了底部的信号圆点,让主图背景更加纯粹干净。
* **Squeeze Toggle (挤压色开关):** 你现在可以在设置中**隐藏橙色挤压显示**。如果你更偏向纯粹的结构分析,可以选择让通道始终保持灰色。
Trend Prediction Meter [PointAlgo]The Trend Prediction Meter & Levels is a composite market-bias and volatility visualization tool designed to summarize trend strength, momentum, price positioning, and volatility into a single normalized score.
It provides a structured framework to interpret directional bias and probable price expansion zones during active market conditions.
Concept Overview
Markets often reflect multiple conditions simultaneously—trend direction, momentum strength, price location within a range, and volatility.
This indicator combines these elements into a unified Bullish Score (0–100), displayed as a meter and supported by projected ATR-based levels.
Rather than focusing on a single signal, the script aims to present context about current market conditions.
Bullish Score Composition (0–100)
The meter represents a weighted blend of multiple market factors:
1. Trend Strength (EMA Structure)
Uses a fast and slow EMA to assess directional bias.
The distance between EMAs is normalized into a trend strength score.
Strong separation indicates directional conviction; compression suggests balance.
2. Momentum Strength (RSI Blend)
Combines a short-term and mid-term RSI.
Helps capture both immediate momentum and broader directional stability.
Higher readings indicate sustained bullish pressure, lower readings indicate bearish pressure.
3. Position Within Recent Range
Measures where price is trading relative to its recent high–low range.
Values near the top of the range reflect strength; values near the bottom reflect weakness.
Mid-range positioning indicates equilibrium.
4. Volume Participation
Compares current volume against its recent average.
Acts as a minor confidence modifier rather than a primary driver.
Each component is normalized and combined using fixed weights to produce a final Bullish Score between 0 and 100.
Bias Classification
The Bullish Score is translated into descriptive market states:
Extreme Bullish
Very Bullish
Bullish
Neutral
Bearish
Very Bearish
These labels describe current bias, not future certainty.
Meter Visualization
The meter plot dynamically changes color based on the score range.
A dashed midline at 50 represents balance.
Background shading highlights strong bullish or bearish dominance zones.
Crossovers of the 50-level indicate shifts in directional control.
ATR-Based Projection Levels:
To provide volatility context, the indicator calculates ATR-based upside and downside reference levels:
Two potential expansion levels (TP1 and TP2) are projected above and below price.
The distance of these levels adapts based on current bias strength.
These levels are contextual reference zones, not fixed targets.
Prediction Dashboard
An optional side table summarizes key readings at the most recent bar:
Symbol
Current bias label
Bullish Score
Current price
ATR value
Upside and downside projection levels
Directional comment (Upside favoured / Downside favoured / Balanced)
This dashboard is designed to provide a quick structural overview without requiring manual calculation.
Signals & Alerts
Built-in alerts are available for:
Bullish bias conditions
Bearish bias conditions
Bullish Score crossing above 50
Bullish Score crossing below 50
Alerts are informational and reflect internal state changes only.
Customization:
Users can adjust:
RSI lengths
EMA lengths
Range lookback period
ATR parameters
Display options for the meter and dashboard
This allows adaptation across different instruments and timeframes.
Usage Notes
Best suited for analytical interpretation rather than standalone decision-making.
Designed to complement price action, structure, or other indicators.
Works across multiple markets where volume and volatility data are available.
Disclaimer :
This indicator is intended for educational and analytical purposes only.
It does not provide investment, trading, or financial advice.
All signals and levels should be validated with independent analysis and appropriate risk management.
USD Liquidity Regime IndexTrack global risk regimes with this USD Liquidity Composite —
It aims to be a daily macro indicator blending normalised DXY (50%), UUP (20%), 10Y Treasury yields (20%), and VIX (10%).
How to read:
When the blue index is above its red SMA: Strong USD, tightening liquidity → Risk-Off mode (often bearish for Nasdaq, BTC, and risk assets).
When the line is below: Weak USD, abundant liquidity → Risk-On (bullish environment).
Example: In 2022's bear market, the index stayed high above SMA most of the year, signalling persistent Risk-Off as USD surged.
Features on-chart table, regime background colors, and crossover alerts.
Great contextual tool for macro traders IMO.
Educational only — not financial advice.
Use at your own risk.
By @frank_vergaram
Box Theory StrategyHere is an explanation of the Box Theory trading strategy.
The Core Philosophy
This strategy is based on the idea that the market is a battle between buyers and sellers, and that these groups often defend the same price levels they used previously. Instead of trying to predict every move, this method focuses on trading only at the "extremes" where the probabilities are highest, while avoiding the middle of the chart where price action is random.
1. The Setup: Drawing the Box
To use this strategy, you must define the "playing field" for the day before you take any trades.
Top of the Box: Draw a line at the Previous Day’s High.
Bottom of the Box: Draw a line at the Previous Day’s Low.
Center Line: Draw a line roughly in the middle of these two points.
This box represents the established range where the market recently found value.
2. The Three Zones & Rules
Once the box is drawn, the chart is divided into three zones. Each zone dictates a specific action.
Zone 1: The Top (Resistance / Sell Zone)
What it represents: This is where sellers previously stepped in and pushed the price down. It is a known area of supply.
The Rule: NO BUYING.
If the price rallies to this level, you should look for Short/Sell opportunities.
Why? Buying here means purchasing at a price that was previously rejected. The probability of a reversal (price going down) is high.
Zone 2: The Bottom (Support / Buy Zone)
What it represents: This is where buyers previously stepped in and pushed the price up. It is a known area of demand.
The Rule: NO SELLING.
If the price drops to this level, you should look for Long/Buy opportunities.
Why? Selling here means shorting into support. The probability of a bounce (price going up) is high.
Zone 3: The Middle (Indecision Zone)
What it represents: This is the area of noise and confusion. Neither buyers nor sellers have clear control here.
The Rule: DO NOT TRADE.
Why? In the middle of the range, the odds of the price going up or down are roughly 50/50. Trading here is considered gambling because you do not have a statistical edge.
3. Execution: How to Trade
The Entry
Short Setup: Wait for the price to touch or slightly pierce the Top of the Box. Enter a short position when you see the price failing to break out (e.g., leaving a wick and closing back inside the box).
Long Setup: Wait for the price to touch or slightly pierce the Bottom of the Box. Enter a long position when you see the price failing to break down (e.g., bouncing off the level).
Stop Loss (Risk Management)
This strategy offers a very clear invalidation point.
For Shorts: Place your Stop Loss just above the box.
For Longs: Place your Stop Loss just below the box.
Logic: If the price clearly breaks out of the box, the range is broken, and you want to exit the trade immediately with a small loss.
Take Profit (Targets)
First Target: The Center Line. This is a safe place to take some profit or move your stop loss to breakeven.
Main Target: The opposite side of the box (e.g., if you sold at the top, target the bottom).
4. Handling Gaps (The "Cheater Box")
If the market opens significantly higher or lower than the previous day's range (a large gap), the original box may be too far away to be useful.
Adjustment: In this scenario, you can draw a new box using the highest and lowest price points of the current trading session so far.
Once this new range is established, apply the same rules: Sell the high, Buy the low, and avoid the middle.
Wavelet Candle Constructor (Inc. Morlet) 2Here is the detailed description of the **Wavelet Candle** construction principles based on the code provided.
This indicator is not a simple smoothing mechanism (like a Moving Average). It utilizes the **Discrete Wavelet Transform (DWT)**, specifically the Stationary variant (SWT / à Trous Algorithm), to separate "noise" (high frequencies) from the "trend" (low frequencies).
Here is how it works step-by-step:
###1. The Wavelet Kernel (Coefficients)The heart of the algorithm lies in the coefficients (the `h` array in the `get_coeffs` function). Each wavelet type represents a different set of mathematical weights that define how price data is analyzed:
* **Haar:** The simplest wavelet. It acts like a simple average of neighboring candles. It reacts quickly but produces a "boxy" or "jagged" output.
* **Daubechies 4:** An asymmetric wavelet. It is better at detecting sudden trend changes and the fractal structure of the market, though it introduces a slight phase shift.
* **Symlet / Coiflet:** More symmetric than Daubechies. They attempt to minimize lag (phase shift) while maintaining smoothness.
* **Morlet (Gaussian):** Implemented in this code as a Gaussian approximation (bell curve). It provides the smoothest, most "organic" effect, ideal for filtering noise without jagged edges.
###2. The Convolution EngineInstead of a simple average, the code performs a mathematical operation called **convolution**:
For every candle on the chart, the algorithm takes past prices, multiplies them by the Wavelet Kernel weights, and sums them up. This acts as a **digital low-pass filter**—it allows the main price movements to pass through while cutting out the noise.
###3. The "à Trous" Algorithm (Stationary Wavelet Transform)This is the key difference between this indicator and standard data compression.
In a classic wavelet transform, every second data point is usually discarded (downsampling). Here, the **Stationary** approach is used:
* **Level 1:** Convolution every **1** candle.
* **Level 2:** Convolution every **2** candles (skipping one in between).
* **Level 3:** Convolution every **4** candles.
* **Level 4:** Convolution every **8** candles.
Because of this, **we do not lose time resolution**. The Wavelet Candle is drawn exactly where the original candle is, but it represents the trend structure from a broader perspective. The higher the `Decomposition Level`, the deeper the denoising (looking at a wider context).
###4. Independent OHLC ProcessingThe algorithm processes each component of the candle separately:
1. Filters the **Open** series.
2. Filters the **High** series.
3. Filters the **Low** series.
4. Filters the **Close** series.
This results in four smoothed curves: `w_open`, `w_high`, `w_low`, `w_close`.
###5. Geometric Reconstruction (Logic Repair)Since each price series is filtered independently, the mathematics can sometimes lead to physically impossible situations (e.g., the smoothed `Low` being higher than the smoothed `High`).
The code includes a repair section:
```pinescript
real_high = math.max(w_high, w_low)
real_high := math.max(real_high, math.max(w_open, w_close))
// Same logic for Low (math.min)
```
This guarantees that the final Wavelet Candle always has a valid construction: wicks encapsulate the body, and the `High` is strictly the highest point.
---
###Summary of ApplicationThis construction makes the Wavelet Candle an **excellent trend-following tool**.
* If the candle is **green**, it means that after filtering the noise (according to the selected wavelet), the market energy is bullish.
* If it is **red**, the energy is bearish.
* The wicks show volatility that exists within the bounds of the selected decomposition level.
Here is a descriptive comparison of **Wavelet Candles** against other popular chart types. As requested, this is a narrative explanation focusing on the differences in mechanics, interpretation philosophy, and the specific pros and cons of each approach.
---
###1. Wavelet Candles vs. Standard (Japanese) CandlesThis is a clash between "the raw truth" and "mathematical interpretation." Standard Japanese candles display raw market data—exactly what happened on the exchange. Wavelet Candles are a synthetic image created by a signal processor.
**Differences and Philosophy:**
A standard candle is full of emotion and noise. Every single price tick impacts its shape. The Wavelet Candle treats this noise as interference that must be removed to reveal the true energy of the trend. Wavelets decompose the price, reject high frequencies (noise), and reconstruct the candle using only low frequencies (the trend).
* **Wavelet Advantages:** The main advantage is clarity. Where a standard chart shows a series of confusing candles (e.g., a long green one, followed by a short red one, then a doji), the Wavelet Candle often draws a smooth, uniform wave in a single color. This makes it psychologically easier to hold a position and ignore temporary pullbacks.
* **Wavelet Disadvantages:** The biggest drawback is the loss of price precision. The Open, Close, High, and Low values on a Wavelet candle are calculated, not real. You **cannot** place Stop Loss orders or enter trades based on these levels, as the actual market price might be in a completely different place than the smoothed candle suggests. They also introduce lag, which depends on the chosen wavelet—whereas a standard candle reacts instantly.
###2. Wavelet Candles vs. Heikin AshiThese are close cousins, but they share very different "DNA." Both methods aim to smooth the trend, but they achieve it differently.
**Differences and Philosophy:**
Heikin Ashi (HA) is based on a simple recursive arithmetic average. The current HA candle depends on the previous one, making it react linearly.
The Wavelet Candle uses **convolution**. This means the shape of the current candle depends on a "window" (group) of past candles multiplied by weights (Gaussian curve, Daubechies, etc.). This results in a more "organic" and elastic reaction.
* **Wavelet Advantages:** Wavelets are highly customizable. With Heikin Ashi, you are stuck with one algorithm. With Wavelet Candles, you can change the kernel to "Haar" for a fast (boxy) reaction or "Morlet" for an ultra-smooth, wave-like effect. Wavelets handle the separation of market cycles better than simple HA averaging, which can generate many false color flips during consolidation.
* **Wavelet Disadvantages:** They are computationally much more complex and harder to understand intuitively ("Why is this candle red if the price is going up?"). In strong, vertical breakouts (pumps), Heikin Ashi often "chases" the price faster, whereas deep wavelet decomposition (High Level) may show more inertia and change color more slowly.
###3. Wavelet Candles vs. RenkoThis compares two different dimensions: Time vs. Price.
**Differences and Philosophy:**
Renko completely ignores time. A new brick is formed only when the price moves by a specific amount. If the market stands still for 5 hours, nothing happens on a Renko chart.
The Wavelet Candle is **time-synchronous**. If the market stands still for 5 hours, the Wavelet algorithm will draw a series of flat, small candles (the "wavelet decays").
* **Wavelet Advantages:** They preserve the context of time, which is crucial for traders who consider trading sessions (London/New York) or macroeconomic data releases. On a wavelet chart, you can see when volatility drops (candles become small), whereas Renko hides periods of stagnation, which can be misleading for options traders or intraday strategies.
* **Wavelet Disadvantages:** In sideways trends (chop), Wavelet Candles—despite the smoothing—will still draw a "snake" that flips colors (unless you set a very high decomposition level). Renko can remain perfectly clean and static during the same period, not drawing any new bricks, which for many traders is the ultimate filter against overtrading in a flat market.
###Summary**Wavelet Candles** are a tool for the analyst who wants to visualize the **structure of the wave and market cycle**, accepting some lag in exchange for noise reduction, but without giving up the time axis (like in Renko) or relying on simple averaging (like in Heikin Ashi). It serves best as a "roadmap" for the trend rather than a "sniper scope" for precise entries.
Andres System - SuperTrend DMI EMAAdvanced Multi-Filter Trading System combining SuperTrend, DMI (Directional Movement Index), and EMA crossovers for high-probability trade entries.
**Key Features:**
- Real-time DMI table showing trend strength (Sideways/Mild/Normal/Strong/Very Strong)
- Filter status dashboard - see exactly which conditions are met
- Smart entry logic: signals trigger during entire EMA alignment period, not just at exact crossover
- Clear BUY/SELL signals with exit markers
- One signal per trade - prevents duplicate entries
**Entry Requirements:**
LONG: EMA 7 > 21 + SuperTrend bullish + DI+ > 20
SHORT: EMA 7 < 21 + SuperTrend bearish + DI- > 20
**Exit Conditions:**
Position closes when EMA crosses back or SuperTrend changes direction
**Additional Tools:**
- Previous Day High/Low levels
- Daily VWAP
- Color-coded EMAs (7, 21, 50)
- Customizable thresholds for all filters
**Best Timeframes:** 4H for swing trading, 1D for position trading
All visual elements can be toggled on/off. Alerts available for all signals.
Hicham XAUUSD Key Levels PRO (1H / 4H + Psychological)🔑 XAUUSD Key Levels PRO | 1H / 4H Structure + Psychological Levels
This indicator is designed specifically for Gold (XAUUSD) traders who want clean, institutional-grade key levels without chart clutter.
It combines market structure levels with true psychological price levels used by institutions, making it ideal for scalping, intraday, and swing trading.
📌 Features
🔹 Market Structure Key Levels
Automatic 1H & 4H High / Low detection
Based on swing pivots (configurable strength)
Solid lines for clear structure visibility
🔹 Gold Psychological Levels (XAUUSD)
Major levels: every 500$ (strong institutional zones)
Medium levels: every 250$
Minor levels: every 10$
Dynamic levels around current price
No line spam, optimized performance
🔹 Visual Clarity
Solid / dashed / dotted line styles
Custom colors & line thickness
Optional price labels
Works perfectly on M1 → H4
🎯 Best Use Cases
Liquidity sweeps & reactions
Premium / discount zones
Stop-loss & take-profit placement
Confluence with BOS / CHoCH
London & New York sessions
⚙️ Fully Customizable
Toggle 1H / 4H levels
Adjust psychological level spacing
Enable / disable labels
Clean & lightweight (no lag)
⚠️ Notes
Optimized for XAUUSD (Gold)
Best results when combined with price action & structure
Not a trading signal indicator
If you want:
Session-based levels
Alerts on key levels
Smart Money Concepts integration
Feel free to comment or DM 👊
Happy trading 💛📈






















