MACD Trading System - Professional V2# MACD Trading System - Professional V2
## Executive Summary
**MACD Pro V2** is an institutional-grade trading indicator combining classical MACD analysis with advanced risk management, multi-timeframe confirmation, and comprehensive performance metrics. Designed for both manual traders and algorithmic systems, this indicator provides actionable signals with built-in stop loss calculation, take profit targets, position sizing, and trailing stop logic.
This indicator is NOT just a signal generator—it's a complete trading system with risk/reward management, performance tracking, and market regime detection.
---
## Core Features
### 1. Advanced MACD Calculation
- **Customizable EMAs**: Fast (default 8), Slow (default 21), Signal (default 5)
- **Confirmed Signals**: Uses barstate.isconfirmed to prevent repainting
- **Zero-Line Position**: Shows MACD above/below zero for momentum context
### 2. Multi-Timeframe Analysis
- **4 Simultaneous Timeframes**: 4H, 1H, 15M, 5M analyzed in parallel
- **MTF Alignment Score**: 0-100% showing consensus across timeframes
- **Smart Requests**: Uses lookahead=barmerge.lookahead_off for accuracy
### 3. Market Regime Detection
Automatically identifies current market conditions:
- **TRENDING** - ADX > 25, strong directional movement
- **RANGING** - ADX < 20, choppy sideways movement
- **VOLATILE** - ATR > 1.5x average, high uncertainty
- **NORMAL** - Default market state
### 4. Integrated Risk Management
Complete position management system:
- **Stop Loss Calculation**: Automatic SL placement based on ATR × multiplier
- **Take Profit Targets**: Calculated using Risk:Reward ratio (default 2:1)
- **Position Sizing**: Scales position size based on account risk percentage
- **Trailing Stop**: Dynamically adjusts SL as price moves in your favor
- **Drawdown Monitoring**: Tracks maximum drawdown vs account
### 5. Advanced Signal Scoring
0-100 point system weighing:
- **MTF Alignment (35%)**: Multi-timeframe confirmation strength
- **Momentum (25%)**: RSI conditions + Divergence detection
- **Volume (20%)**: Volume profile and confirmation
- **Volatility (20%)**: Market regime adjustment
**Signal Classifications:**
- **STRONG (70+)**: High confidence, tight stops, optimal entry
- **MEDIUM (50-69)**: Valid signals, confirm with price action
- **WEAK (<50)**: Low conviction, skip or use tight risk management
### 6. Professional Performance Metrics
Real-time trading statistics:
- **Win Rate**: Percentage of winning trades
- **Max Drawdown**: Largest peak-to-trough decline
- **Sharpe Ratio**: Risk-adjusted returns (anualized)
- **Profit Factor**: Gross profit / Gross loss ratio
- **Consecutive Losses**: Psychological stress indicator
### 7. Advanced Filtering System
- **Divergence Detection**: Automatic bullish/bearish divergence identification
- **Support/Resistance**: Pivot-based dynamic S/R levels
- **Volume Confirmation**: Only takes signals with volume > 1.0x average
- **Session Filter**: Optional trading hours restriction
- **Volatility Adjustment**: Reduces entries in extremely high volatility
---
## How It Works
### Signal Generation Process
**Step 1: MACD Crossover**
- Crossover of MACD above/below signal line triggers base signal
- Uses confirmed values to prevent false signals
**Step 2: Multi-Timeframe Confirmation**
- Checks trend alignment on 4H, 1H, 15M, 5M
- Calculates MTF alignment percentage
- Higher alignment = higher confidence
**Step 3: Advanced Scoring**
Signal is scored on 100-point scale:
- MTF alignment contribution (35 pts max)
- RSI + Divergence (25 pts max)
- Volume profile (20 pts max)
- Volatility regime adjustment (20 pts max)
**Step 4: Filter Application**
- Session filter (if enabled)
- Support/Resistance proximity bonus
- Volume confirmation requirement
- Drawdown check (if risk mgmt enabled)
**Step 5: Risk Calculation**
- Stop Loss placed 2 ATR below entry (customizable)
- Take Profit calculated using 2:1 risk/reward ratio
- Position size scaled to risk 1% per trade
- Trailing stop activated after 1R profit
**Step 6: Signal Output**
- Buy Signal: Green triangle (Strong) or circle (Medium)
- Sell Signal: Red triangle (Strong) or circle (Medium)
- Dashboard shows complete trade details
---
## Trading Scenarios
### Scenario 1: Strong Buy Setup
```
Requirements met:
✓ MACD crosses above signal line
✓ 3/4 timeframes bullish (4H, 1H, 15M)
✓ RSI oversold (< 30)
✓ Volume spike confirmed
✓ Score: 78/100 → STRONG BUY
System provides:
- Entry: Current price
- Stop Loss: 2 ATR below entry
- Take Profit: 2× risk distance above
- Position Size: Adjusted to 1% account risk
- Trailing Stop: Activates at 1R profit
```
### Scenario 2: Medium Buy with Divergence
```
Requirements met:
✓ MACD crosses above signal line
✓ 2/4 timeframes bullish (4H, 1H)
✓ Bullish divergence detected
✓ Price near support level
✓ Score: 62/100 → MEDIUM BUY
Considerations:
- Lower confidence → tighter risk management
- Use smaller position size
- Require additional confirmation
- Better as counter-trend entry
```
### Scenario 3: Ranging Market Filter
```
Market condition detected: RANGING
ADX < 20, sideways movement
System response:
- Reduces signal score by volatility adjustment
- May skip signals entirely
- Prioritizes higher confluence
- Warns of low trend probability
Best action: Wait for trending market
```
---
## Risk Management Deep Dive
### Stop Loss Calculation
```
Stop Loss Distance = ATR × ATR Multiplier (default 2.0)
Example:
- Current price: 1.0850
- ATR(14): 0.0045
- SL Distance: 0.0045 × 2.0 = 0.009
- BUY SL: 1.0850 - 0.009 = 1.0760
```
### Position Sizing
```
Position Size = (Account Risk % / Price Risk %)
Example:
- Risk per trade: 1% of account
- Stop distance: 0.009 on price of 1.0850
- Price risk: 0.009 / 1.0850 = 0.83%
- Position size: 1.0% / 0.83% = 1.2x (capped at 1.0x max)
```
### Trailing Stop Logic
```
Normal SL: 2 ATR below entry
Trigger Level: Entry + (Entry - SL) × Trail Activation (1.0R)
Trailing Mechanism:
- If price hits trigger, trailing SL activates
- SL moves up to: Close - 2 ATR
- SL never moves down, only up (for longs)
- Protects profits while allowing upside
```
### Drawdown Protection
```
Tracks:
- Peak equity reached
- Current drawdown from peak
- Maximum drawdown recorded
- Stops trading if max DD exceeded
Example:
- Peak: $10,000
- Current: $9,200
- Drawdown: 8%
- Max allowed: 10%
- Status: CONTINUE TRADING
```
---
## Dashboard Metrics Explained
### Market Section
- **Market Regime**: Current state (Trending/Ranging/Volatile/Normal)
- **ADX Value**: Trend strength indicator (0-100)
### Position Section
- **Current Position**: LONG, SHORT, or NONE
- **P&L**: Unrealized profit/loss percentage if in position
### Timeframe Section
- Individual 4H/1H/15M trend status
- **Alignment**: Percentage of bullish timeframes
### Risk Management Section
- **Stop Loss %**: Distance from current price
- **Take Profit %**: Target profit distance
- **Position Size**: Capital allocation multiplier
- **Risk %**: Per-trade risk percentage
### Performance Section
- **Win Rate**: % of winning trades (>60% is excellent)
- **Max DD**: Maximum drawdown experienced
- **Sharpe Ratio**: Risk-adjusted return metric
- **Profit Factor**: Ratio of profits to losses
### Indicators Section
- **RSI**: Momentum and overbought/oversold levels
- **Volume**: Current vs. average volume ratio
- **Divergence**: Active divergence detection
---
## Advanced Features
### Divergence Detection
```
Bullish Divergence:
- Price makes lower low
- MACD makes higher high
- Signals potential reversal UP
Bearish Divergence:
- Price makes higher high
- MACD makes lower low
- Signals potential reversal DOWN
Lookback: 20 bars (customizable)
```
### Support & Resistance
```
Method: Pivot High/Low detection
- Pivot Left/Right: 10 bars
- Dynamic S/R levels update as new pivots form
- Bonus score if entry near identified levels
```
### Performance Tracking
Real-time statistics calculated from:
- Win/loss signals
- Profit/loss per trade
- Consecutive losing trades
- Cumulative returns
- Standard deviation (Sharpe calculation)
Stores last 100 trades in memory for statistics.
---
## Input Parameters Explained
### MACD Settings
- **Fast EMA** (5-13): Lower = more responsive, more false signals
- **Slow EMA** (20-26): Higher = smoother, misses faster moves
- **Signal EMA** (5-9): Crossover sensitivity
### Risk Management
- **ATR Period** (default 14): Volatility measurement period
- **SL ATR Multiplier** (1.5-3.0): Stop loss tightness
- **Risk:Reward Ratio** (1-5): Profit target calculation
- **Trail Activation** (0.5-2.0): When to start trailing stop
- **Risk Per Trade** (0.1-5.0): Account risk percentage
- **Max Drawdown** (5-30%): Trading pause threshold
### Scoring Weights
Customize signal emphasis:
- **MTF Alignment** (35%): How important is multi-timeframe
- **Momentum** (25%): RSI and divergence weight
- **Volume** (20%): Volume confirmation priority
- **Volatility** (20%): Regime adjustment strength
### Advanced Filters
- **Check Divergence**: Enable/disable divergence scoring
- **Session Filter**: Restrict to specific hours
- **Min Volume Ratio**: Minimum volume for signal
### Display
- **Show Dashboard**: Main metrics table
- **Show Performance**: Trading statistics
- **Show S/R Levels**: Support/resistance visualization
---
## Best Practices
1. **Backtest Before Trading**: Test parameters on your preferred pairs
2. **Start with Strong Signals**: Use only 70+ scored signals initially
3. **Position Size**: Never risk more than 1-2% per trade
4. **Market Regime Awareness**: Skip ranging market entries
5. **Volume Confirmation**: Always check volume spikes
6. **Profit Taking**: Lock in profits at TP, don't let winners die
7. **Loss Management**: Honor stop losses, don't move them
8. **Performance Review**: Check metrics weekly, adjust if needed
---
## Trading Strategy Examples
### Conservative Strategy (Win-Rate Focus)
```
Settings:
- Signal Score Minimum: 70+ (Strong only)
- Risk Per Trade: 0.5%
- Risk:Reward: 3:1
- Position Size: 0.5x (smaller)
Targets:
- Win Rate > 65%
- Max DD < 5%
- Profit Factor > 2.0
```
### Aggressive Strategy (Profit Focus)
```
Settings:
- Signal Score Minimum: 50+ (Medium+)
- Risk Per Trade: 2%
- Risk:Reward: 1.5:1
- Position Size: 1.0x (maximum)
Targets:
- Win Rate > 55%
- Max DD < 10%
- Profit Factor > 1.5
```
### Trend Trading Strategy
```
Settings:
- Only trade when ADX > 25 (Trending)
- MTF Alignment: 3+ timeframes
- Use Trailing Stop: Yes
- Risk:Reward: 2.5:1
Focus on: Riding large moves
Best on: 4H timeframe
Pairs: Trending majors (EURUSD, GBPUSD)
```
### Divergence Trading Strategy
```
Settings:
- Signal Score Minimum: 60+
- Enable Divergence: Yes
- Volume Confirmation: Required
- Position Size: 0.75x
Focus on: Reversal entries
Best setup: Divergence at resistance/support
Risk management: Tight stops (1.5 ATR)
```
---
## Advantages
✓ Complete trading system, not just signals
✓ Built-in risk management and position sizing
✓ Real-time performance tracking
✓ Multi-timeframe confirmation reduces false signals
✓ Advanced filtering and divergence detection
✓ Market regime awareness
✓ Customizable scoring weights
✓ Professional dashboard display
✓ Support/resistance integration
✓ Trailing stop logic for profit protection
---
## Limitations
- Lagging indicator (uses confirmed bars)
- Works best on trending markets
- Not optimized for news/event trading
- Requires parameter optimization per pair
- Performance varies by timeframe
- Past performance doesn't guarantee future results
- Can produce whipsaw signals in ranging markets
---
## System Requirements
- TradingView Premium or higher (for advanced charting)
- Recommended: 4H or 1H timeframe
- Historical data: Minimum 100 bars
- Currency pairs: Works on all FX pairs, stocks, commodities
---
## Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice and does not guarantee profits. Past performance does not predict future results.
**Important Notices:**
- Always use proper risk management
- Trade only with capital you can afford to lose
- Backtest thoroughly before live trading
- Combine with your own analysis
- Consider external market factors and news
- Monitor positions actively
- Keep emotional discipline
---
## Support & Optimization
For best results:
1. Test on your preferred instrument (6-12 months history)
2. Adjust MACD parameters to your timeframe
3. Optimize scoring weights to your style
4. Set risk management per your account size
5. Document your trade results and review weekly
6. Adapt parameters if performance degrades
This is a powerful system when used correctly. Respect the rules and let statistics work in your favor.
Multitimeframe
[SwingMann©] EWTrend+ EWTrend+
Trend and Elliott Wave Cycle Indicator
Description:
EWTrend+ is a versatile indicator specifically designed to visualize market trends and Elliott Wave cycles. By combining multiple EMA lengths with flexible smoothing options, it enables precise trend analysis and signal generation.
Key Features:
Dynamic Trend Colors: Green for uptrends, red for downtrends, gray for neutral phases.
Multiple EMAs: Configurable lengths for different time horizons.
Flexible Smoothing: Choose SMA, EMA, WMA, RMA, DMA, or no smoothing at all.
Signal Lines: WMA-based signal lines for each EMA, optionally visible or hidden.
Offset Function:
Displays indicator lines slightly shifted for clearer visualization of market movements.
Elliott Wave Cycle Orientation:
Assists in identifying impulsive and corrective market phases.
When combined, absolutely lethal ;-)
Benefits:
Provides a clear visual overview of short- and long-term trends.
Supports the analysis of Elliott Wave patterns for strategic entries and exits.
Ideal for swing traders, day traders, and technical analysts.
Conclusion:
Multiple EMAs for various time horizons
Dynamic trend colors for quick orientation
Signal lines for trend confirmation
Offset function for improved visualization
Supports Elliott Wave cycle analysis
Note:
EWTrend+ is a tool for analysis and does not replace independent trading decisions. Please test the indicator on a demo account before live use.
Power Zone Trader (PZT)The PZT Indicator (Power Zone Trader ) is a multi-timeframe confluence system designed to identify and visualize natural support and resistance levels with exceptional clarity. By automatically mapping key structural highs and lows from higher timeframes, PZT allows traders to see where price is most likely to react, reverse, or accelerate, forming the foundation for high-probability trade setups. PZT highlights key reaction zones that influence order flow and trader behavior across all markets — including Forex, Crypto, Indices, and Commodities.
📍 Indicator Key
Each color represents a significant price level derived from its respective timeframe, helping traders instantly gauge market context and potential liquidity pools:
Color Level Represented Significance
🔴 Red Yearly High Strong resistance — potential selling pressure and major liquidity sweep zones.
🟢 Green Yearly Low Strong support — potential buying interest and accumulation points.
🟠 Orange Monthly High Intermediate resistance — swing rejection or continuation decision zone.
🔵 Blue Monthly Low Intermediate support — potential retracement or base-building area.
🟣 Purple Weekly High Short-term resistance — common rejection level or stop hunt zone.
🟤 Teal Weekly Low Short-term support — potential rebound or liquidity grab.
⚫ Gray Daily High Intraday resistance — active scalper and day trader interest.
⚪ White Daily Low Intraday support — short-term bounce or continuation pivot.
SFC Bollinger Band and Bandit概述 (Overview)
SFC 布林通道與海盜策略 (SFC Bollinger Band and Bandit Strategy) 是一個基於 Pine Script™ v6 的技術分析指標,結合布林通道 (Bollinger Bands)、移動平均線 (Moving Averages) 以及布林海盜 (Bollinger Bandit) 交易策略,旨在為交易者提供多時間框架的趨勢分析與進出場訊號。該腳本支援風險管理功能,並提供視覺化圖表與交易訊號提示,適用於多種金融市場。
This script, written in Pine Script™ v6, combines Bollinger Bands, Moving Averages, and the Bollinger Bandit strategy to provide traders with multi-timeframe trend analysis and entry/exit signals. It includes risk management features and visualizes data through charts and trading signals, suitable for various financial markets.
功能特點 (Key Features)
布林通道 (Bollinger Bands)
提供可調整的標準差參數 (σ1, σ2),支援多層布林通道顯示。
進場訊號基於價格穿越布林通道上下軌,並結合連續K線確認機制。
Provides adjustable standard deviation parameters (σ1, σ2) for multi-layer Bollinger Bands display.
Entry signals are based on price crossing the upper/lower bands, combined with a consecutive bar confirmation mechanism.
移動平均線 (Moving Averages)
支援簡單移動平均線 (SMA) 或指數移動平均線 (EMA),可自訂快、中、慢線週期。
Supports Simple Moving Average (SMA) or Exponential Moving Average (EMA) with customizable fast, medium, and slow line periods.
布林海盜策略 (Bollinger Bandit Strategy)
基於變動率 (ROC) 與布林通道動態止損,提供做多與做空訊號。
包含動態止損均線與平倉天數設定,增強交易靈活性。
Utilizes Rate of Change (ROC) and Bollinger Bands with dynamic stop-loss for long and short signals.
Includes dynamic stop-loss moving average and liquidation days for enhanced trading flexibility.
多時間框架分析 (Multi-Timeframe Analysis)
支援六個時間框架 (5分、15分、1小時、4小時、日線、週線) 的趨勢分析。
通過表格顯示各時間框架的連續上漲/下跌趨勢,輔助交易決策。
Supports trend analysis across six timeframes (5m, 15m, 1h, 4h, daily, weekly).
Displays consecutive up/down trends in a table to aid decision-making.
風險管理 (Risk Management)
提供基於 ATR 或布林通道的停利/停損設定。
自動計算交易手數,根據報價貨幣匯率調整風險敞口。
Offers take-profit/stop-loss settings based on ATR or Bollinger Bands.
Automatically calculates trading lots, adjusting risk exposure based on quote currency exchange rates.
視覺化與提示 (Visualization and Alerts)
繪製布林通道、移動平均線、海盜策略動態止損線及交易訊號。
提供多時間框架趨勢表格、交易手數標籤及浮水印。
支援交易訊號快訊,方便即時監控。
Plots Bollinger Bands, Moving Averages, Bandit strategy stop-loss lines, and trading signals.
Includes multi-timeframe trend tables, trading lot labels, and watermark.
Supports alert conditions for real-time trade monitoring.
使用說明 (Usage Instructions)
設置參數 (Parameter Setup)
布林通道 (Bollinger Bands): 可調整週期 (預設21)、標準差 (σ1=1, σ2=2) 及停利/停損依據 (ATR 或 BAND)。
移動平均線 (Moving Averages): 可選擇顯示快線 (10)、中線 (20)、慢線 (60),並切換 SMA/EMA。
布林海盜 (Bollinger Bandit): 調整通道週期 (50)、平倉均線週期 (50) 及 ROC 週期 (30)。
時間框架 (Timeframes): 自訂六個時間框架,預設為 5分、15分、1小時、4小時、日線、週線。
Adjust Bollinger Band period (default 21), standard deviations (σ1=1, σ2=2), and take-profit/stop-loss basis (ATR or BAND).
Configure Moving Averages (fast=10, medium=20, slow=60) and toggle SMA/EMA.
Set Bollinger Bandit parameters: channel period (50), liquidation MA period (50), ROC period (30).
Customize six timeframes (default: 5m, 15m, 1h, 4h, daily, weekly).
交易訊號 (Trading Signals)
買入訊號 (Buy): 價格穿越下軌且滿足連續K線條件。
賣出訊號 (Sell): 價格穿越上軌且滿足連續K線條件。
海盜策略訊號: 基於 ROC 與布林通道穿越,結合動態止損。
Buy signal: Price crosses below lower band with consecutive bar confirmation.
Sell signal: Price crosses above upper band with consecutive bar confirmation.
Bandit strategy signals: Based on ROC and band crossings with dynamic stop-loss.
視覺化 (Visualization)
布林通道以不同顏色顯示上下軌與中軌。
移動平均線以快、中、慢線區分顏色。
趨勢表格顯示各時間框架的趨勢狀態 (🔴上漲, 🟢下跌, ⚪中性)。
海盜策略顯示動態止損線與交易狀態。
Bollinger Bands display upper, lower, and middle bands in distinct colors.
Moving Averages use different colors for fast, medium, and slow lines.
Trend table shows timeframe trends (🔴 up, 🟢 down, ⚪ neutral).
Bandit strategy displays dynamic stop-loss and trading status.
MACD Filter Test - MTF Alignment with Scoring System# MACD Multi-Timeframe Scoring System
## Overview
**MACD MTF Scoring** is an advanced, multi-timeframe trading indicator that combines classical MACD analysis with a sophisticated scoring algorithm to generate high-quality trading signals. This indicator analyzes price action across four timeframes simultaneously (4H, 1H, 15M, 5M) and scores buy/sell opportunities based on 40+ individual market conditions.
### Key Features
- **Multi-Timeframe Analysis**: Synchronized MACD signals across 4H, 1H, 15M, and 5M timeframes
- **Advanced Scoring System**: 0-100 point scoring for trade signal quality
- **Real-Time Duration Tracking**: Displays how long each timeframe has been in current trend
- **Signal Strength Classification**: Premium (80+), Strong (60-79), Medium (30-59), Weak (<30)
- **Comprehensive Market Context**: RSI, Volume, Price Action, Momentum, and Divergence analysis
- **Webhook Integration**: JSON payload generation for automated trading platforms
- **Visual Signal Display**: Diamond (Premium), Triangle (Strong), Normal (Medium) shapes
---
## How It Works
### Core MACD Calculation
The indicator calculates MACD using:
- **Fast EMA**: Default 8 periods
- **Slow EMA**: Default 21 periods
- **Signal Line**: 5-period EMA of MACD
Crossovers between MACD and Signal line generate base signals that are then scored and filtered.
### Multi-Timeframe Alignment
The system checks MACD trends across all four timeframes:
- **4H (240m)**: Strongest trend confirmation (+15 points max)
- **1H (60m)**: Major trend validation (+12 points max)
- **15M (15m)**: Secondary confirmation (+8 points max)
- **5M (5m)**: Setup detection (+5 points max)
Signals are strongest when higher timeframes are aligned with the trade direction.
---
## Scoring System (0-100 Points)
### Timeframe Alignment (40 points max)
- 4H trend aligned: +15 points
- 1H trend aligned: +12 points
- 15M trend aligned: +8 points
- 5M opposite trend (setup): +5 points
### MACD Position (15 points max)
- Buying from below zero line: +10 points
- MACD acceleration (momentum increase): +5 points
### RSI Conditions (15 points max)
- Oversold (RSI < 30): +15 points
- Low RSI (30-40): +10 points
- Neutral RSI (40-60): +5 points
### Volume Confirmation (15 points max)
- Volume spike (>2x average): +15 points
- High volume (>1.5x average): +10 points
- Normal volume (0.8-1.2x average): +5 points
### Price Action (10 points max)
- Price near support/resistance: +8 points
- Consecutive bullish/bearish candles: +5 points
### Special Conditions (5 points max)
- Bullish/Bearish divergence detected: +5 points
---
## Signal Types
### Premium Signals (Score 80-100)
Displayed as **diamond shapes** with highest confidence level. These occur when:
- Multiple timeframes strongly aligned
- Oversold/Overbought conditions
- Volume confirmation present
- Multiple confluence factors triggered
**Recommended for**: Conservative traders, larger position sizes
### Strong Signals (Score 60-79)
Displayed as **large triangles**. Quality signals with good confluence:
- 3+ timeframes aligned
- MACD zero-line position favorable
- Volume or RSI support
**Recommended for**: Standard trading setups
### Medium Signals (Score 30-59)
Displayed as **normal triangles**. Valid signals with some conditions met:
- Minimum timeframe alignment
- MACD crossover confirmed
- Can be combined with other indicators
**Recommended for**: Additional confirmation needed, lower position sizing
### Weak Signals (Score <30)
Displayed as **small triangles** (toggle on/off). Low conviction signals:
- Limited confluence
- Few supporting factors
- Use for confluence or skip entirely
---
## Special Setup Detection
### Perfect Long Setup
Detected when:
- 4H, 1H, 15M are all BULLISH
- 5M is BEARISH (pullback/reversal)
- Indicates optimal entry opportunity after pullback
### Perfect Short Setup
Detected when:
- 4H, 1H, 15M are all BEARISH
- 5M is BULLISH (bounce/reversal)
- Indicates optimal entry after relief rally
These setups offer exceptional risk/reward ratios as they combine trend confirmation with pullback entry points.
---
## Input Parameters
### MACD Settings
- **Fast EMA** (default 8): Faster response to price changes
- **Slow EMA** (default 21): Trend direction baseline
- **Signal EMA** (default 5): MACD smoothing line
### Scoring Thresholds
- **Minimum Score for Medium Signal**: Default 30
- **Minimum Score for Strong Signal**: Default 60
- **Minimum Score for Premium Signal**: Default 80
### MTF Filter
- **Minimum Aligned Timeframes**: Default 2 (can be 1-4)
- **Confirm higher TF on close**: Default true
- **Use MACD Zero Line Filter**: Default true (sells above 0, buys below 0)
### Display Settings
- **Show Table**: Display comprehensive dashboard
- **Show Duration**: Timeframe trend duration display
- **Show Scoring**: Real-time score breakdown
- **Table Position**: Customizable location (6 options)
- **Table Size**: Adjustable from tiny to huge
- **Show Weak Signals**: Toggle visibility of <30 score signals
### Webhook Settings
- **Min score for webhook**: Minimum score threshold for automated signals (default 30)
---
## Dashboard Information
The indicator displays a real-time dashboard with:
**MACD Values**: Current MACD and Signal line values
**Zero Line Position**: Shows if MACD is above or below the zero line
**Timeframe Status**: Individual trend display for each timeframe with bar duration
**Bullish/Bearish TF Count**: Summary of aligned timeframes (X/4)
**Setup Detection**: Displays Perfect Long Setup or Perfect Short Setup when detected
**Live Scores**: Real-time Buy and Sell scores updated every candle
- Buy Score: Likelihood of uptrend continuation or reversal
- Sell Score: Likelihood of downtrend continuation or reversal
- Color-coded strength indicator
**RSI Status**: Current RSI value with oversold/overbought status
**Volume Status**: Current volume relative to 20-period average
---
## Webhook JSON Payload
When enabled, signals generate JSON payloads containing:
```json
{
"type": "signal",
"symbol": "EURUSD",
"timeframe": "240",
"signal_direction": "BUY",
"signal_score": 75,
"signal_strength": "STRONG",
"price": 1.0850,
"macd": 0.00125,
"signal_line": 0.00089,
"rsi": 28.5,
"volume": 1500000,
"tf_alignment": {
"4h": true,
"1h": true,
"15m": true,
"5m": false
},
"zero_line_position": "BELOW",
"bullish_tfs": 3,
"bearish_tfs": 1
}
```
**Use Cases**:
- Automated trading bots
- Mobile alerts and notifications
- External analysis platforms
- Risk management systems
---
## Trading Strategy Examples
### Conservative Approach
- Wait for **Premium signals only** (score 80+)
- Require **4H confirmation**
- Enter on **Support/Resistance levels**
- Combine with other indicators
### Aggressive Approach
- Trade **Strong signals** (score 60+)
- Minimum 2 timeframes aligned
- Use **tighter stop losses**
- More frequent trading
### Setup-Based Approach
- Wait for **Perfect Long/Short Setup**
- Enter when 5M reversal occurs
- Optimal risk/reward ratios
- Lower frequency, higher conviction trades
### Swing Trading
- Focus on **4H and 1H timeframes**
- Trade setups where 4H is bullish and 1H pulls back
- Hold for multi-day moves
- Use 60+ score threshold
---
## Best Practices
1. **Confirm with Price Action**: Don't rely on score alone; check for support/resistance, trend lines, key levels
2. **Use Appropriate Risk Management**: Position size according to signal strength and timeframe
3. **Monitor Volume**: Strong signals should have volume confirmation
4. **Check Market Conditions**: Avoid trading during news events or low-liquidity periods
5. **Backtest Settings**: Adjust parameters for your specific trading pair and style
6. **Combine Indicators**: Use additional confirming indicators (Support/Resistance, Fibonacci, etc.)
7. **Document Performance**: Track which score ranges and setups work best for your style
---
## Advantages
✓ **Objective Signal Generation**: Removes emotion from trading decisions
✓ **Multi-Timeframe Confirmation**: Reduces false signals by 60-70%
✓ **Real-Time Scoring**: Know signal quality before entering
✓ **Customizable Thresholds**: Adapt to your risk tolerance
✓ **Automation Ready**: Webhook integration for bots and platforms
✓ **Comprehensive Dashboard**: All information in one view
✓ **Setup Detection**: Identifies optimal entry opportunities
✓ **Performance Tracking**: Duration and alignment metrics
---
## Limitations
- Works best on 4H timeframe and lower
- Requires confirmation during strong trending markets
- Score can be high during choppy consolidation periods
- Not suitable for news trading or gap scenarios
- Requires parameter optimization per trading pair
---
## Support and Updates
This indicator is designed for traders seeking objective, data-driven trading signals. Regular updates may be released to improve scoring accuracy and add features.
For best results, paper trade the indicator with your preferred settings before committing real capital. Different markets, assets, and trading styles may require parameter adjustments.
---
## Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Past performance does not guarantee future results. Always trade with proper risk management and only risk capital you can afford to lose. Test thoroughly before live trading.
CVD with Divergences and Alerts (Subwindow)This indicator calculates the Cumulative Volume Delta (CVD) to visualize buying and selling pressure, and automatically detects regular and hidden divergences between price and volume flow. It also includes optional alerts for real-time trade signal generation.
Core Logic:
• Cumulative Volume Delta (CVD):
Tracks the cumulative difference between buy and sell volume. Buy volume is defined as volume on bars where the close ≥ open; sell volume when close < open.
This reveals whether real participation supports price direction or not.
• Regular Divergences:
• Bullish Divergence: Price makes a lower low while CVD forms a higher low → potential upward reversal.
• Bearish Divergence: Price makes a higher high while CVD forms a lower high → potential downward reversal.
• Hidden Divergences:
• Hidden Bullish Divergence: Price pulls back to a lower low, but CVD shows strength with a higher high → possible continuation of an uptrend.
• Hidden Bearish Divergence: Price makes a higher high, but CVD weakens → possible continuation of a downtrend.
Features:
• Adjustable lookback period (default: 500 bars).
• Graphical visualization:
• Plots the CVD as a blue line in a separate panel.
• Marks divergences with green (bullish) and red (bearish) triangle shapes on the chart.
• Draws divergence lines between price and CVD for easy visual identification.
• Alerts:
• Configurable alert types (“Buy Only”, “Sell Only”, “Buy and Sell”).
• Sends alerts for all four divergence types (regular + hidden).
Usage:
Ideal for traders who want to detect shifts in volume momentum that precede price reversals or continuations. Works on all timeframes and instruments that provide volume data.
CVD with SignalsCVD with Divergences and Alerts (Extended)
This indicator calculates the Cumulative Volume Delta (CVD) to visualize buying and selling pressure, and automatically detects regular and hidden divergences between price and volume flow. It also includes optional alerts for real-time trade signal generation.
Core Logic:
• Cumulative Volume Delta (CVD):
Tracks the cumulative difference between buy and sell volume. Buy volume is defined as volume on bars where the close ≥ open; sell volume when close < open.
This reveals whether real participation supports price direction or not.
• Regular Divergences:
• Bullish Divergence: Price makes a lower low while CVD forms a higher low → potential upward reversal.
• Bearish Divergence: Price makes a higher high while CVD forms a lower high → potential downward reversal.
• Hidden Divergences:
• Hidden Bullish Divergence: Price pulls back to a lower low, but CVD shows strength with a higher high → possible continuation of an uptrend.
• Hidden Bearish Divergence: Price makes a higher high, but CVD weakens → possible continuation of a downtrend.
Features:
• Adjustable lookback period (default: 500 bars).
• Graphical visualization:
• Plots the CVD as a blue line in a separate panel.
• Marks divergences with green (bullish) and red (bearish) triangle shapes on the chart.
• Draws divergence lines between price and CVD for easy visual identification.
• Alerts:
• Configurable alert types (“Buy Only”, “Sell Only”, “Buy and Sell”).
• Sends alerts for all four divergence types (regular + hidden).
Usage:
Ideal for traders who want to detect shifts in volume momentum that precede price reversals or continuations. Works on all timeframes and instruments that provide volume data.
PPI Inflation Monitor (Change YoY & MoM)📊 PPI Inflation Monitor - Leading Inflation Indicator
The Producer Price Index (PPI) measures wholesale/producer-level prices and serves as a critical leading indicator for consumer inflation trends. This tool helps you anticipate CPI movements and identify corporate margin pressures before they show up in earnings.
🎯 KEY FEATURES:
- Dual Perspective Analysis:
- Year-over-Year (YoY): Histogram bars showing annual producer price inflation
- Month-over-Month (MoM): Line overlay showing monthly wholesale price changes
- Visual Reference System:
- Dashed line at 2% (typical target for producer price inflation)
- Dotted line at 0.17% (equivalent monthly target)
- Color-coded bars: Red above target, Green below target
- Real-Time Data Table:
- Current PPI Index value
- YoY inflation rate with color coding
- MoM inflation rate with color coding
- Deviation from target level
- Automated Alerts:
- YoY crosses above/below target
- MoM crosses above/below target
- Early warning system for inflation trends
📈 WHY PPI IS YOUR EARLY WARNING SYSTEM:
PPI typically leads CPI by 1-3 months because:
- Producers face cost increases first
- These costs are eventually passed to consumers
- Shows whether companies can maintain pricing power
Rising PPI with stable CPI = Margin compression → Bearish for stocks
Rising PPI followed by rising CPI = Broad inflation → Fed hawkishness incoming
Falling PPI = Disinflationary trend starting → Positive for risk assets
🔍 TRADING APPLICATIONS:
1. Lead Time Advantage: Position before CPI confirms PPI trends
2. Sector Rotation: High PPI = favor companies with pricing power
3. Margin Analysis: PPI-CPI divergence = margin pressure/expansion signals
4. Fed Anticipation: PPI acceleration = Fed likely to turn hawkish soon
💡 STRATEGIC USE CASES:
- Value vs. Growth: Rising PPI favors value stocks with pricing power
- Commodities: PPI often correlates with commodity price trends
- Small Caps: More vulnerable to input cost increases (high PPI = cautious)
- Corporate Earnings: Anticipate margin pressure before quarterly reports
🔄 COMBINE WITH:
- CPI: Confirm if producer costs reach consumers
- PCE: Validate Fed's preferred inflation metric response
- Fed Funds Rate: Assess if Fed is behind/ahead of curve
📊 DATA SOURCE:
Official PPI data from FRED (Federal Reserve Economic Data), updated monthly when new data releases occur.
🎨 CUSTOMIZATION:
Fully customizable:
- Toggle YoY/MoM displays
- Adjust reference target levels
- Customize colors
- Show/hide absolute PPI values
Perfect for: Macro traders, fundamental analysts, earnings traders, and investors seeking early inflation signals before they appear in consumer prices.
⚡ Remember: PPI leads CPI. Use this advantage to position ahead of the crowd.
PCE Inflation Monitor (Change YoY & MoM)📊 PCE Inflation Monitor - The Fed's Most Important Metric
Personal Consumption Expenditures (PCE) is the Federal Reserve's preferred inflation measure and THE metric they target for their 2% inflation goal. If you want to predict Fed policy, you need to watch PCE.
🎯 KEY FEATURES:
- Dual Perspective Analysis:
- Year-over-Year (YoY): Histogram bars showing annual PCE inflation
- Month-over-Month (MoM): Line overlay showing monthly consumption price changes
- Visual Reference System:
- Dashed line at 2% (Fed's official PCE inflation target)
- Dotted line at 0.17% (equivalent monthly target)
- Color-coded bars: Red above Fed target, Green below target
- Real-Time Data Table:
- Current PCE Index value
- YoY inflation rate vs. Fed's 2% target
- MoM inflation rate with color coding
- Exact deviation from Fed target (critical for policy predictions)
- Automated Alerts:
- PCE crosses Fed's 2% target (major policy signal!)
- MoM crosses monthly target
- Stay informed of Fed-relevant inflation changes
📈 WHY PCE IS DIFFERENT (AND MORE IMPORTANT):
PCE vs. CPI differences:
- Flexible basket: PCE adjusts for substitution (beef → chicken if prices rise)
- Broader coverage: Includes healthcare paid by insurance/government
- Lower readings: Typically 0.2-0.4% below CPI
- Fed's choice: Explicitly stated as their target metric
Most importantly: When Powell speaks about "our 2% target," he means PCE, not CPI!
🔍 TRADING IMPLICATIONS:
PCE Above 2% (Red Zone):
→ Fed under pressure to maintain/raise rates
→ Hawkish policy stance likely
→ Negative for growth stocks, crypto
→ Positive for USD, bearish for gold
PCE Below 2% (Green Zone):
→ Fed has flexibility to cut rates
→ Dovish policy stance possible
→ Positive for risk assets, growth stocks
→ Negative for USD, bullish for commodities
PCE Approaching 2% from Above:
→ Fed "mission accomplished" narrative
→ Rate cut cycle becomes possible
→ Major bullish signal for equities/crypto
💡 ADVANCED STRATEGIES:
1. Fed Meeting Preparation: Check PCE before FOMC meetings for policy clues
2. Dot Plot Predictions: PCE trend determines Fed's rate forecast updates
3. Pivot Timing: When PCE MoM turns negative, Fed pivot becomes realistic
4. Press Conference Analysis: Compare Powell's comments to PCE deviation
🎯 KEY LEVELS TO WATCH:
- 2.0% YoY: Fed's official target - crossing this level is major news
- 2.5% YoY: "Uncomfortably high" - Fed forced to stay restrictive
- 3.0% YoY: "Crisis mode" - Fed turns very hawkish
- 1.5% YoY: "Below target" - Rate cuts become likely
🔄 COMBINE WITH:
- CPI: Public perception vs. Fed's metric (often diverge)
- Core PCE: Even more important (excludes food/energy volatility)
- Fed Funds Rate: Is Fed responding appropriately to PCE?
📊 DATA SOURCE:
Official PCE data from FRED (Federal Reserve Economic Data), updated monthly typically in the last week of each month (after CPI/PPI releases).
🎨 CUSTOMIZATION:
Fully customizable:
- Toggle YoY/MoM displays
- Adjust Fed target if needed
- Customize colors
- Show/hide absolute PCE values
Perfect for: Fed watchers, macro traders, policy analysts, and serious investors who want to predict monetary policy changes before they happen.
⚠️ CRITICAL INSIGHT: While media focuses on CPI, the Fed focuses on PCE. Trade what the Fed trades, not what the headlines say.
🎓 Pro Tip: Fed members often mention "Core PCE" (excluding food/energy). Consider adding that indicator alongside this one for complete Fed policy analysis.
CPI Inflation Monitor (Change YoY & MoM)📊 CPI Inflation Monitor - Complete Macro Analysis Tool
This indicator provides a comprehensive view of Consumer Price Index (CPI) inflation trends, essential for understanding monetary policy, market conditions, and making informed trading decisions.
🎯 KEY FEATURES:
- Dual Perspective Analysis:
- Year-over-Year (YoY): Histogram bars showing annual inflation rate
- Month-over-Month (MoM): Line overlay showing monthly price changes
- Visual Reference System:
- Dashed line at 2% (Fed's official inflation target for YoY)
- Dotted line at 0.17% (equivalent monthly target for MoM)
- Color-coded bars: Red above target, Green below target
- Real-Time Data Table:
- Current CPI Index value
- YoY inflation rate with color coding
- MoM inflation rate with color coding
- Deviation from Fed target
- Automated Alerts:
- YoY crosses above/below 2% target
- MoM crosses above/below 0.17% target
- Perfect for staying informed without constant monitoring
📈 WHY THIS MATTERS FOR TRADERS:
CPI is the most widely reported inflation metric and directly influences:
- Federal Reserve interest rate decisions
- Bond yields and currency valuations
- Stock market sentiment (especially growth vs. value rotation)
- Cryptocurrency and risk asset performance
Rising inflation (red bars) typically leads to:
→ Higher interest rates → Negative for growth stocks, crypto
→ Stronger USD → Pressure on commodities
Falling inflation (green bars) typically leads to:
→ Rate cut expectations → Positive for growth stocks, crypto
→ Weaker USD → Support for commodities
🔍 HOW TO USE:
1. Strategic Positioning: Use YoY trend (thick bars) for long-term asset allocation
2. Tactical Timing: Use MoM trend (thin line) to identify turning points early
3. Divergence Trading: When MoM falls but YoY remains high, anticipate trend reversal
4. Fed Policy Prediction: Distance from 2% target indicates Fed's likely hawkishness
💡 PRO TIPS:
- Multiple months of MoM above 0.3% = Accelerating inflation → Fed turns hawkish
- MoM turning negative while YoY still elevated = Peak inflation → Position for pivot
- Compare with PPI and PCE indicators for complete inflation picture
- Use alerts to catch important threshold crossings automatically
📊 DATA SOURCE:
Official CPI data from FRED (Federal Reserve Economic Data), updated monthly mid-month when new data releases occur.
🎨 CUSTOMIZATION:
Fully customizable through settings:
- Toggle YoY/MoM displays
- Adjust target levels
- Customize colors for visual preference
- Show/hide absolute CPI values
Perfect for: Macro traders, swing traders, long-term investors, and anyone wanting to understand the inflation environment affecting their portfolio.
Note: This indicator works on any chart timeframe as it loads external monthly economic data.
Multi Timeframe Market Structure ContinuationOverview
This indicator identifies Break of Structure (BOS) and Change of Character (ChoCh) patterns using multi-timeframe (MTF) analysis to filter high-probability trade setups. By aligning lower timeframe signals with higher timeframe bias, it helps traders enter positions in the direction of the dominant trend while avoiding counter-trend traps.
Multi-Timeframe Analysis
The indicator analyzes market structure on two timeframes simultaneously:
Current Timeframe (CTF): Detects immediate BOS and ChoCh signals for entry timing
Higher Timeframe (HTF): Establishes the overall trend direction (default: 1H, customizable)
Signals only appear when the current timeframe structure aligns with the higher timeframe bias, ensuring you're trading with the momentum, not against it.
Break of Structure (BOS)
BOS signals indicate trend continuation - when price breaks a previous high in an uptrend or a previous low in a downtrend. These are reliable entries that confirm the trend is still active and strong.
Change of Character (ChoCh)
ChoCh signals mark early trend reversals - when market structure shifts from bearish to bullish (or vice versa). When captured in alignment with the higher timeframe trend, ChoCh entries can achieve exceptional risk-to-reward ratios as they allow entry near the beginning of a new impulse move.
Exit Signals
Exit signals are plotted when a ChoCh occurs in the opposite direction of the HTF trend. For example, if the HTF is bullish and a bearish ChoCh forms on the current timeframe, an orange "EXIT" signal appears - warning long traders that the lower timeframe structure is shifting against them. This provides an early warning system to protect profits or minimize losses before the HTF trend itself reverses.
Trading Strategy Recommendations
Trending Markets (Recommended)
In strong trending conditions, both BOS and ChoCh signals can be taken when aligned with the HTF bias. ChoCh entries are particularly powerful as they catch early reversals within the larger trend, offering entries with tight stop losses and extended profit targets.
Ranging Markets
During consolidation or choppy conditions, it's best to be selective and take only BOS entries. BOS signals confirm that the trend is continuing beyond the range, reducing false breakouts and whipsaw trades that are common with counter-trend ChoCh signals in sideways markets.
Customization
Pivot Length: Adjust the sensitivity of structure detection (default: 5). Lower values detect structure more frequently with earlier but potentially noisier signals. Higher values provide cleaner, more significant structural breaks but with some delay.
Higher Timeframe: Customize the HTF to suit your trading style. Day traders might use 1H HTF on 5m charts, while swing traders could use 4H or Daily HTF.
Alert System
Six alert conditions available:
Long BOS Entry / Long ChoCh Entry
Short BOS Entry / Short ChoCh Entry
Long Exit / Short Exit
All alerts fire only on confirmed candle closes to eliminate repainting and false signals.
Visual Features
Color-coded background showing HTF bias
Clear BOS/ChoCh labels with horizontal lines at structure levels
Orange "EXIT" signals when structure breaks against your position
Gray lines tracking current swing highs/lows
HTF trend indicator in the top-right corner
Buy Sell Signals MKSConditions for Buying is Current candle a0 LOW = OPEN, b) Has a smaller wick than the previous cabndle size. Size here means high minus low of previous candle. More importantly Buy signal is genarated if the prious candle or series of candles were red. Condition for Sell signal is completely opposite of Buy signal. Buy signal will appear only after a Sell signal was generated earlier and vice versa for Sell signal. Signals are generated on a 5 minute timeframe. Idea is solely concieived by me.
Disclaimer: Just donot blindly take trades based on signals. Analyse the chart pattern, price action on different time frames of your own...
Custom Weekly WED→TUEPurpose:
This indicator creates custom weekly candles with a week boundary running from Wednesday to Tuesday (WED→TUE) for any symbol. It is designed for systems that prefer to close the trading week on Tuesday’s session instead of the standard weekend.
Custom Candle Logic (WED→TUE):
• Open = Opening price on Wednesday (start of the custom week).
• Close = Closing price on Tuesday (end of the custom week).
• High/Low = Maximum/minimum during the entire range from Wednesday → Tuesday.
Display Behavior:
• Only renders when the chart timeframe = 1W (Weekly).
• Completed weeks (with full Wed→Tue data) are shown as candlesticks (colored up/down based on O/C).
• The current incomplete week is shown as a preview box shifted to the next weekly slot (the column to the right), allowing you to see the progress of the ongoing week while keeping the last completed week intact.
Inputs:
• Start day (1=Mon…7=Sun) — default is 3 = Wednesday. You can change this to redefine the week boundary.
• Show current (incomplete) custom week — toggles the preview box for the current running week.
• Up/Down/Doji color — defines the colors of completed weekly candles.
• Preview box transparency — controls the opacity of the preview box for the ongoing week.
SicariSicari
What is it?
Sicari is a trend-following trading system that identifies potential bullish or bearish trends. It blends EMA trend, OBV participation, and an Adaptive SuperTrend gate (machine-learning k-means over ATR bands) into a strict 2-of-3 confirmation model.
By default, it uses a clean two-colour scheme: 🟢 green = long bias and 🔴 red = short bias.
Optionally, a four-colour mode exposes hedge and early-risk conditions.
Sicari works across all asset classes and timeframes (recommended: 15-minute to monthly).
How it works
* Auto mode adapts by timeframe: ≤60m uses a Hard-Gate where SuperTrend must confirm to flip; >60m uses Majority mode where OBV carries more weight for faster reversals
* Voters are EMA, OBV, and Adaptive SuperTrend; a flip requires 2 of 3 agreement (Hard-Gate also needs ST)
* Optional four-colour candles highlight hedge state when voters disagree. The hedge direction is OBV-led (↑ / ↓ tint), helping you trim risk or wait for full confirmation.
* Multi-Timeframe Trend Bias panel (1H, 4H, 1D, 1W): left dot = live bias for that TF; Four dots on the right show = last four closed bars (newest on right). In 4-colour mode, the left/current dot follows 4-colour logic, history dots remain 2-colour for stability. Compact mode optionally shows only current dots per TF.
What you can plot
* Candles: two-colour by default (🟢 long / 🔴 short); optional 4-colour hedge mode (OBV-led ↑/↓ tint).
* Triangles: mark long/short flips.
* Multi-Timeframe Trend Bias panel: 1H / 4H / 1D / 1W
* VWAPs: Session + Weekly VWAP for fair-value anchoring.
* Moving Averages: Daily 20/50 (non-repainting) and Weekly 20/50/100 stair-step MAs for structure.
* Dynamic ATR Stops: step-line long/short stop bands for risk control and stopped-out detection.
* RSI Take-Profit markers: X-shaped markers on the chart TF (touch / re-entry logic)
* 4H RSI Diamonds: non-repainting diamonds confirming on 4H close
Combined Asset Volume (crypto-aware)
* One toggle aggregates spot volume across major venues
* Majors (BTC/ETH): Binance + Coinbase + Bitfinex + Kraken (USD/USDT/USDC)
* Alts: Binance + Bybit + KuCoin + Coinbase (lean, USDT/USD)
* CRYPTOCAP indexes, non-crypto or FX pairs automatically fall back to the chart’s own volume
* OBV has a unit-volume fallback when volume data is missing
Alerts (programmatic or traditional)
* Programmatic (recommended): Create one alert → “Any alert() function call”. This single alert respects your chosen settings (asset, timeframe, 2/four-colour mode, RSI levels, chop/flip cooldown, stops on/off, etc.) and fires for all enabled conditions once-per-bar-close. Long/short signals trigger only at flips, not every bar.
* Traditional: add specific alerts only for what you want (entries, exits, etc.)
Alert list (fires on bar close)
* 🚀🟢 LONG entry
* 🔻🔴 SHORT entry
* 🟡 HEDGE LONG (four-colour mode)
* 🟠 HEDGE SHORT (four-colour mode)
* 🎯 Take Profit Long (RSI-based)
* 🎯 Take Profit Short (RSI-based)
* 💥🔴 HTF Super SHORT (4H RSI diamond)
* 🚀🟢 HTF Super LONG (4H RSI diamond)
* 💀 Stopped Out of Short (dynamic ATR stop)
* 💀 Stopped Out of Long (dynamic ATR stop)
Programmatic alerts include tick-aware thousands separators and VWAP references on intraday charts for mobile readability
Setup & tips
* After adding Sicari: Click the three dots next to the script name → Visual order → Bring to front. This hides the original candles so Sicari’s candles are fully visible
* Keep Auto mode ON; enable 4-colour only if you want hedge awareness; toggle VWAPs and MAs as structure guides
* Works on crypto, indices, FX and equities - any symbol, ny timeframe
* Use standard candles (not Heikin Ashi)
* Colours optimised for dark backgrounds
Sicari distills trend, participation, and structure into one adaptive stream - delivering institutional-grade precision, clarity, and timing within the Sicari ecosystem.
Smart Weekly Lines — Clean & Scroll-Proof (Pine v6)Because your chart deserves structure. Elegant weekly dividers that stay aligned, scroll smoothly, and project future weeks using your wished UTC offset.
Smart Weekly Lines draws precise, full-height vertical lines marking each new week — perfectly aligned to your local UTC offset. It stays clean, smooth, and consistent no matter how far you scroll.
Features
• Accurate weekly boundaries based on your local UTC offset (supports half-hour zones like India +5.5)
• Clean, full-height lines that never cut off with zoom or scroll
• Adjustable color, opacity, width, and style (solid, dashed, dotted)
• Future week projection for planning and alignment
• Optional visibility: show only on Daily and Intraday charts
Works with any market — stocks, crypto, forex, or futures.
Built for traders who value clarity, structure, and precision.
Developed collaboratively with the assistance of ChatGPT under my direction and testing.
ICT Multi-Timeframe FVG & Order Flow SuiteICT Multi-Timeframe FVG & Order Flow Suite
A comprehensive Inner Circle Trader (ICT) analysis tool that combines multiple timeframes, Fair Value Gap detection, order flow tracking, and smart money concepts into one powerful indicator.
🎯 Key Features
Higher Timeframe FVG Detection
Simultaneously tracks FVGs across 4H, Daily, Weekly, and Monthly timeframes
Visual differentiation between active and mitigated HTF FVGs
BAG (Breaker And Gap) identification
Intelligent filtering system to align with HTF bias
Real-time status table showing current HTF FVG states
Current Timeframe Analysis
Automatic bullish/bearish FVG detection
2CR (2 Candle Reversal) tracking with visual markers
Mitigation monitoring with color-coded states
Customizable display limits and filtering options
Order Flow Legs
Dynamic order flow box highlighting price expansion
50% equilibrium level marking
Smart locking mechanism based on FVG mitigation
Real-time updates as price extends
ITH/ITL Pivot System
Intermediate Term High/Low detection
Run vs Sweep identification with directional labels
Mitigated and unmitigated level tracking
Visual distinction between respected and disrespected levels
Advanced Filtering
Hide opposing timeframe FVGs based on HTF bias
Filter current TF FVGs by type (bullish/bearish)
"Last Mitigated Only" mode to reduce chart clutter
Customizable maximum display limits per timeframe
📈 What Makes This Different?
Multi-Timeframe Integration: See how HTF FVGs align with your trading timeframe in real-time
Smart Bias Detection: Automatically determines market bias from highest to lowest enabled timeframe
Comprehensive Alerts: 12 distinct alert conditions covering FVG creation, mitigation, 2CR events, and pivot breaches
Professional Visualization: Clean, customizable colors and styles with minimal chart clutter
Status Dashboard: Quick-reference table showing the state of all tracked HTF FVGs
⚙️ Customization Options
Individual toggle controls for each HTF
Adjustable colors for bullish, bearish, active, and mitigated states
Boundary lines, origin markers, and mitigation lines
Configurable label sizes and positions
Line extension controls
Optional EMA overlay
🔔 Alert System
Set alerts for:
New FVG creation (bullish/bearish)
FVG mitigation events
2CR respect/disrespect
ITH/ITL runs and sweeps
💡 Best Practices
Start with Daily/Weekly HTF FVGs to identify overall bias
Use filtering to focus on trade direction aligned with HTF
Monitor 2CR events for confirmation of price acceptance/rejection
Combine with order flow legs to identify high-probability setups
Use the status table for quick multi-timeframe analysis
📚 Suitable For
ICT methodology traders
Smart Money Concept (SMC) practitioners
Multi-timeframe analysts
Swing and intraday traders
Anyone seeking institutional order flow insights
Note: This indicator is designed for educational purposes and works best when combined with proper risk management and additional confirmation methods. Understanding ICT concepts is recommended for optimal use.
ZynAlgo TrendlineZynAlgo Trendline is a comprehensive visual framework for identifying, confirming, and managing trends across multiple timeframes.
It is designed to help traders objectively understand market structure, directional bias, and momentum strength — without relying on guesswork or manual chart marking.
The system uses adaptive moving-average logic and multi-timeframe validation to highlight when trend conditions align, when momentum is fading, and when price action enters consolidation.
All calculations are performed internally to maintain a clean, responsive display suitable for both discretionary and rule-based traders.
⚙️ CORE CONCEPT
Markets tend to alternate between trending and ranging phases.
ZynAlgo Trendline provides clarity by analyzing three independent components:
Baseline Trend Filter — establishes the primary market direction.
Confirmation Layers — evaluate shorter-term movements and verify whether momentum agrees with the baseline.
Slope & Separation Logic — filters out weak or conflicting conditions to help reduce false signals in sideways markets.
When all selected layers align, the dashboard and candles adapt visually to reflect a consistent directional bias, helping traders act with greater confidence and discipline.
🧩 FEATURES OVERVIEW
Multi-Timeframe Confluence Scanner: checks up to eight higher-timeframe signals to confirm trend alignment.
Adaptive Slope Filters: dynamically adjust sensitivity based on price movement percentage or ATR percentage.
Customizable Baseline: choose from EMA, SMA, RMA, WMA, or ALMA for your preferred trend foundation.
Dynamic Candle Coloring: automatically reflects bullish, bearish, or neutral market states.
Structured TP/SL Zones: optional visualization of stop-loss and take-profit targets based on predefined ratios.
Trend Strength Dashboard: compact panel showing confluence count, slope value, and bias confirmation.
Session & Day Filters: limit activity display to specific trading sessions or weekdays.
Signal Cooldown Mode: controls signal frequency and reduces chart clutter.
Smart Alert Integration: alert conditions for trend shifts, baseline crosses, and confirmation changes.
Each feature can be toggled or customized directly from the indicator’s settings panel, allowing for both simple and advanced use.
🧠 HOW TO USE
Add the indicator to any chart and ensure the chosen timeframe matches your trading approach.
Select your baseline length (e.g., 200-period EMA for long-term structure, 50-period for short-term).
Enable multi-timeframe confluence to confirm whether higher-timeframe trends agree with your chart.
Adjust slope sensitivity to avoid signals in flat or ranging markets.
Monitor the dashboard:
Green values = bullish alignment
Red values = bearish alignment
Gray = neutral or conflicting trend data
Optionally enable TP/SL visualization to understand current R:R zones relative to your entry concept.
Use alerts or visual color shifts as confirmation — not as standalone entry signals.
The system is designed to complement any technical analysis style, supporting both trend-following and mean-reversion frameworks.
📊 INTERPRETATION GUIDE
Visual Element Meaning
🟢 Green Candles Confirmed uptrend based on baseline + confirmation layers
🔴 Red Candles Confirmed downtrend alignment
⚫ Gray Candles Neutral / range conditions
🟩 Green Dashboard High confluence across multiple timeframes
🟥 Red Dashboard Downtrend alignment across multiple timeframes
⬛ Gray Dashboard Mixed or conflicting trend data
⚠️ Label or Alert Trend change, new confirmation, or structure reset
This unified view helps traders quickly identify trend direction, evaluate trade continuation potential, and anticipate when structure may shift.
⚙️ CUSTOMIZATION OPTIONS
Baseline Length & Type: define your long-term trend filter.
Slope Mode: choose between Price%, ATR%, or Angle for precision control.
Confluence Count: set how many timeframes must agree before a trend is confirmed.
Entry Confirmation Source: select between Type 1 / Type 2 short-term confirmation logic.
Cool-Down Period: prevent overlapping or clustered signals.
Label Control: toggle BUY/SELL text visibility, offsets, and color contrast.
Dashboard Layout: reposition or resize the display for different chart setups.
Each trader can adapt these inputs according to volatility, market type (forex, crypto, indices), and personal risk tolerance.
💡 BEST PRACTICES
Use ZynAlgo Trendline™ as a trend confirmation and management tool — not as a stand-alone entry generator.
Combine it with your preferred support/resistance zones, order-flow indicators, or volume tools for deeper context.
Avoid taking trades against the long-term baseline direction unless a clear structure shift is confirmed.
Regularly review performance across multiple pairs or instruments to determine optimal parameter combinations.
Keep chart visuals minimal by disabling layers you are not actively using.
🔶 CONCLUSION
We believe that success lies in the association of the user with the indicator, opposed to many traders who have the perspective that the indicator itself can make them become profitable. The reality is much more complicated than that. The aim is to provide an indicator comprehensive, customizable, and intuitive enough that any trader can be led to understand this truth and develop an actionable perspective of technical indicators as support tools for decision making. You can see the Author's instructions below to get instant access to this indicator
🔶 RISK DISCLAIMER
Trading is risky & most day traders lose money. All content, tools, scripts, articles, & education provided by ZynAlgo are purely for informational & educational purposes only. Past performance does not guarantee future results.
Custom MTF EMA CloudsVisualize market structure and trend alignment across multiple timeframes with six layered EMA clouds — from short-term momentum to macro trend anchors.
Each pair of EMAs forms a dynamic cloud that adapts to your selected timeframe.
Colors, lengths, and visibility are fully customizable, allowing you to tailor the setup for any trading style.
⚙️ Default Configuration
EMA Short Long Purpose
1 8 13 🔸 Intraday momentum cloud (scalping layer)
2 21 24 🟩 Short-term trend confirmation
3 50 55 🔵 Medium-term swing structure
4 120 144 🔴 Long-term support/resistance band
5 200 238 🟠 Institutional trend foundation
6 400 460 🟣 Macro directional anchor
🧩 Features
✅ Up to 6 independent EMA clouds
✅ Fully customizable short & long lengths
✅ Individual line and cloud colors
✅ Toggle each layer on/off
✅ Works with any timeframe via the Resolution input
✅ Automatic cloud transparency for better chart clarity
📈 How to Use
Use EMA 1–2 (8/13, 21/24) for momentum shifts and intraday entries.
Use EMA 3–4 (50/55, 120/144) for swing confirmation and trend continuation.
Use EMA 5–6 (200/238, 400/460) as long-term anchors to stay aligned with institutional flow.
Watch for crossovers or price breaking in/out of clouds — they often precede strong directional moves.
Logit RSI [AdaptiveRSI]The traditional 0–100 RSI scale makes statistical overlays, such as Bollinger Bands or even moving averages, technically invalid. This script solves this issue by placing RSI on an unbounded, continuous scale, enabling these tools to work as intended.
The Logit function takes bounded data, such as RSI values ranging from 0 to 100, and maps them onto an unbounded scale ranging from negative infinity (−∞) to positive infinity (+∞).
An RSI reading of 50 becomes 0 on the Logit scale, indicating a balanced market. Readings above 50 map to positive Logit values (price above Wilder’s EMA / RSI above 50), while readings below 50 map to negative values (price below Wilder’s EMA / RSI below 50).
For the detailed formula, which calculates RSI as a scaled distance from Wilder’s EMA, check the RSI
: alternative derivation script.
The main issue with the 0–100 RSI scale is that different lookback periods produce very different distributions of RSI values. The histograms below illustrate how often RSIs of various lengths spend time within each 5-point range.
On RSI(2), the tallest bars appear at the edges (0–5 and 95–100), meaning short-term RSI spends most of its time at the extremes. For longer lookbacks, the bars cluster around the center and rarely reach 70 or 30.
This behavior makes it difficult to generalize the two most common RSI techniques:
Fixed 70/30 thresholds: These overbought and oversold levels only make sense for short- or mid-range lookbacks (around the low teens). For very short periods, RSI spends most of its time above or below these levels, while for long-term lookbacks, RSI rarely reaches them.
Bollinger Bands (±2 standard deviations): When applied directly to RSI, the bands often extend beyond the 0–100 limits (especially for short-term lookbacks) making them mathematically invalid. While the issue is less visible on longer settings, it remains conceptually incorrect.
To address this, we apply the Logit Transform :
Logit RSI = LN(RSI / (100 − RSI))
The transformed data fits a smooth bell-shaped curve, allowing statistical tools like Bollinger Bands to function properly for the first time.
Why Logit RSI Matters:
Makes RSI statistically consistent across all lookback periods.
Greatly improves the visual clarity of short-term RSIs
Allows proper use of volatility tools (like Bollinger Bands) on RSI.
Replaces arbitrary 70/30 levels with data-driven thresholds.
Simplifies RSI interpretation for both short- and long-term analysis.
INPUTS:
RSI Length — set the RSI lookback period used in calculations.
RSI Type — choose between Regular RSI or Logit RSI .
Plot Bollinger Bands — ON/OFF toggle to overlay statistical envelopes around RSI or Logit RSI.
SMA and Standard Deviation Length — defines the lookback period for both the SMA (Bollinger Bands midline) and Standard Deviation calculations.
Standard Deviation Multiplier — controls the width of the Bollinger Bands (e.g., 2.0 for ±2σ).
While simple, the Logit transformation represents an unexplored yet powerful mathematically grounded improvement to the classic RSI.
It offers traders a structured, intuitive, and statistically consistent way to use RSI across all timeframes.
I welcome your feedback, suggestions, and code improvements—especially regarding performance and efficiency. Your insights are greatly appreciated.
Algo BOT 4.0 updated Strategy Description:
Algo BOT 4.0 updated is a sophisticated multi-timeframe trading strategy that identifies high-probability reversal points using technical confluence. The strategy combines:
Core Components:
Multi-timeframe Pivot Analysis: Daily, Weekly, and Monthly pivot points with CPR (Central Pivot Range)
RSI Momentum Filter: Higher timeframe RSI (user-configurable) for trend bias
VWAP Dynamics: Volume-weighted average price with moving averages
Fibonacci Strength Analysis: Candle close positions relative to 38.2% Fib levels
Advanced Cooldown System: Prevents overtrading with dynamic gap requirements
Entry Logic:
Long Entries: RSI < 57 with bullish candle structure at key support levels
Short Entries: RSI > 43 with bearish candle structure at key resistance levels
Zone-based Filtering: Identifies trades near significant pivot points (D PP, D R1, D S1, W PP, M PP, VWAP)
Risk Management:
Dynamic cooldown periods between trades
Gap-based entry optimization to ensure sufficient price movement
Extreme price tracking for better entry timing
Multi-condition validation to reduce false signals
Alert System:
Real-time alerts for both long and short entries
Includes price, RSI value, and zone information
Visual signals with triangle markers on chart
Comprehensive status monitoring with cooldown timer
ETH OHLC by tncylyvETH OHLC Projection Levels
📜 Indicator Description
This indicator projects key potential price levels for Ethereum (ETH) based on its historical price behavior. Using the opening price of a user-selected timeframe (4H, 1D, or 1W) as a baseline, it calculates and displays statistically-derived levels for potential "Manipulation" and "Distribution" phases of price action.
These projections are designed to provide traders with potential zones of interest for support, resistance, stop-loss placement, and take-profit targets for the current trading period.
________________________________________
🧠 Core Concepts Explained
The indicator is built on two key concepts derived from candlestick analysis:
• Manipulation: This represents the initial price movement that occurs against the candle's eventual primary direction.
o For a bullish candle, it's the extent of the lower wick (the move from Open down to Low).
o For a bearish candle, it's the extent of the upper wick (the move from Open up to High).
o The "M" levels on the chart project the average (mean and median) historical size of this manipulation wick, suggesting potential areas for liquidity grabs or stop hunts.
• Distribution: This represents the primary price movement in the direction of the candle's trend.
o For a bullish candle, it's the total move from Open to High.
o For a bearish candle, it's the total move from Open to Low.
o The "D" levels project the average (mean and median) historical range of this price expansion, suggesting potential targets for the period.
________________________________________
📊 Data & Methodology
It is important to note that the statistical ratios used for the projections are not calculated in real-time by the indicator itself.
These values have been pre-calculated through an extensive historical analysis performed in Python. The analysis used the complete historical ETH/USD price data from the Coinbase exchange to determine the mean and median ratios for both manipulation and distribution across the different timeframes. The resulting fixed values are then hard-coded into the script to ensure performance and consistency.
________________________________________
⚙️ How to Use It
At the beginning of each new period (e.g., at the start of a new day on the 1D timeframe), the indicator will draw a new set of horizontal lines and zones based on that period's opening price.
• The central dotted line represents the Opening Price for the selected timeframe.
• Manipulation Levels (+M / -M): These inner levels can be interpreted as potential reversal zones. Price may test these areas to trigger stops before moving in the primary direction for the session.
• Distribution Levels (+D / -D): These outer levels can be used as potential take-profit targets, representing the average historical price extension for a period.
• Mean vs. Median Zones: The script plots levels based on both the historical mean (average) and median (middle value). The shaded area between them creates a zone rather than a single price line, offering a more practical range for analysis.
________________________________________
🛠️ Settings and Features
• Projection Timeframe: Select the primary timeframe for the analysis (4H, 1D, or 1W). The historical data used for projections is specific to the chosen timeframe.
• Historical Periods to Show: Adjust how many past periods of data you want to see on your chart. A value of 1 will only show the projections for the current, active period.
• Timezone (UTC-4): The 4H calculations are based on a fixed UTC-4 timezone to align with specific, high-volume market sessions (e.g., New York open). This is not changeable to ensure data consistency.
• Visual Customization: You have full control over the appearance of the indicator.
o Toggle the visibility, colors, and line styles for the Open price line and each of the Manipulation/Distribution levels using their respective checkboxes and inputs.
o Enable or disable the shaded fills between the mean and median levels.
o Tip: To quickly hide all price labels at once, edit the "Label Color" setting and set its opacity to 100% (fully transparent).
MA Angle Monitor — Multi-Timeframe (Non-Repainting Option)📘 MA Angle Monitor — Multi-Timeframe (Non-Repainting Option)
The MA Angle Monitor — Multi-Timeframe indicator calculates and compares the slope of a selected moving average (SMA or EMA) across multiple timeframes.
It highlights when all monitored timeframes show similar slope direction and provides visual and alert-based feedback about those conditions.
🔧 Main Functions
Evaluates the change in moving-average value (angle) between two points defined by the user.
Supports up to four custom timeframes that can be individually selected.
Allows the use of either Simple or Exponential moving averages.
Displays background color and optional labels when all chosen timeframes show matching slope direction (up or down).
Generates optional alerts when alignment conditions appear or when they no longer match.
⚙️ Inputs
MA Type: Select between SMA or EMA.
MA Period: Period length of the moving average.
Slope Lookback Bars: Number of bars used for slope comparison.
Angle Threshold: Minimum required difference between current and prior MA value.
Timeframe 1–4: User-defined timeframes for multi-timeframe analysis.
Confirmed-Close Mode: When enabled, uses only closed higher-timeframe data for non-repainting results.
Show Labels / Enable Alerts: Toggles for visual and alert features.
🖥️ Visuals and Alerts
Background shading and optional labels indicate when all selected timeframes are sloping in the same direction.
Built-in alerts can be configured for:
All timeframes sloping upward
All timeframes sloping downward
End of previous alignment
📊 Technical Notes
The indicator can operate in two modes:
Real-Time Mode: Updates during formation of higher-timeframe bars (may vary intrabar).
Confirmed-Close Mode: Uses only completed higher-timeframe bars for stable, non-repainting calculations.
Designed for visual confirmation of slope alignment; it does not generate trading or investment signals.
This version:
✅ Removes all promotional or performance claims.
✅ Avoids terms like “high-probability,” “helps traders,” or “powerful.”
✅ Focuses on describing what the tool does and how it functions.
✅ Fully aligns with TradingView’s published House Rules.
Would you like me to also re-write your Release Notes section in the same compliant tone (so both sections meet their moderation standards)?
Timeframe Anchor Moving Average**This indicator maintains the same real time period regardless of which timeframe you're viewing. If you set a 20-period moving average on 1h as reference, when you switch to 4h it will automatically show a 5-period moving average (because 4h is 4 times larger than 1h), and on 15m it will show 80 periods. This way you always see exactly the same time window, preventing moving averages from becoming distorted when changing timeframes.**






















