Liquidity Index with Advanced Statistical NormalizationLiquidity Index with Advanced Statistical Normalization
An open-source TradingView indicator for analyzing global liquidity cycles using robust statistical methods
Overview
This Pine Script indicator combines multiple macroeconomic data sources to construct a composite liquidity index that tracks global financial conditions. It employs advanced statistical techniques typically found in quantitative finance research, adapted for real-time charting.
Key Features
📊 Multi-Source Data Integration
- Federal Reserve Components: Fed Funds Rate, Reverse Repo (RRP), Treasury General Account (TGA)
- PBOC Components: China M2 Money Stock adjusted by CNY/USD exchange rate
- Volatility Index: MOVE Index (bond market volatility)
🔬 Advanced Statistical Methods
1. Theil-Sen Estimator: Robust trend detection resistant to outliers
2. Triple Normalization:
- Z-score normalization
- MAD (Median Absolute Deviation) normalization
- Quantile normalization via inverse normal CDF
3. Multi-Timeframe Analysis: Short (8-bar) and long (34-bar) windows with blended composite
📈 Signal Processing
- Log-transformation for non-linear relationships
- Smoothing via customizable SMA
- Composite signal averaging across normalization methods
Why This Approach?
Traditional liquidity indicators often suffer from:
- Sensitivity to outliers in economic data
- Assumption of normal distributions
- Single-timeframe bias
This script addresses these issues by:
- Using median-based robust statistics (Theil-Sen, MAD)
- Applying multiple normalization techniques
- Blending short and long-term perspectives
Customization Options
short_length // Short window (default: 8)
long_length // Long window (default: 34)
show_short // Display short composite
show_long // Display long composite
show_blended // Display blended signal
smoothing_length // SMA smoothing period (default: 10)
How to Use
1. Liquidity Expansion (positive values): Risk-on environment, favorable for asset prices
2. Liquidity Contraction (negative values): Risk-off environment, potential market stress
3. Divergences: Compare indicator direction vs. price action for early warnings
Potential Improvements
Community members are encouraged to enhance:
- Additional data sources (ECB balance sheet, BOJ operations, etc.)
- Alternative normalization methods (robust scaling, rank transformation)
- Machine learning integration (LSTM forecasting, regime detection)
- Alert conditions for liquidity inflection points
- Volatility-adjusted weighting schemes
Technical Notes
- Uses request.security() for multi-symbol data fetching
- All calculations handle missing data via nz() functions
- Median-based statistics computed via array operations
- Custom inverse CDF approximation (no external libraries required)
Contributing
This is a foundation for liquidity analysis. Potential extensions:
- LLM Integration: Use language models to parse Fed/PBOC meeting minutes and adjust weights dynamically
- Sentiment Layer: Incorporate crypto funding rates or options skew
- Adaptive Parameters: Auto-tune window lengths based on market regime
- Cross-Asset Validation: Backtest signals against BTC, equities, bonds
---
License: Open source - modify and redistribute freelyDisclaimer: For educational purposes only. Not financial advice.
Трендовый анализ
IBD Market School [Professional]IBD Market School
- Institutional-grade implementation of William O’Neil’s Market School timing system tuned for global and Indian benchmarks. Tracks corrections, rally attempts, follow-through days, power trends,
distribution/stalling clusters, dynamic exposure, buy switch state, and a fully themed dashboard—everything you need to keep portfolio risk aligned with Big Picture guidance.
Buy Rules
- B1 Follow-Through Day: day 4–10 of rally, gain ≥ configured %, volume > prior day.
- B2 Reinforcing FTD: second qualifying surge within 25 sessions of B1.
- B3 First Low ≥ 21 EMA after FTD.
- B4 Power Trend Start: 10 lows above 21 EMA, 21 EMA > 50 DMA (5+ days), rising 21 EMA, index within top 25% of 52-week range.
- B5 Living Above 21 EMA: every 5 additional days that the low holds the 21 EMA.
- B6 First close back above 50 DMA after confirmation.
- B7 New 52-week high in confirmed uptrend.
- B8 2× volume accumulation day with ≥1% gain.
- B9 Gap-up on above-average volume with positive close.
- B10 Accumulation day: ≥0.5% gain, 1.5× volume, close in top 20% of range.
- Additional context: ED (Expired Distribution) and 6% Rise markers track distribution clearing events.
Sell Rules
- S1 Heavy Distribution: distribution+stalling count ≥ threshold (default 5).
- S2 FTD Failure: index undercuts the Day 1 rally low post-FTD.
- S3 First break below 50 DMA after FTD.
- S4 Power trend loss: prior bar was in power trend and new close < 21 EMA.
- S5 Circuit breaker: single-day decline ≥ configured %.
- S6 Two-day cumulative decline ≥5%.
- S7 Three or more stalling days.
- S8 Volume Dry-Up: five consecutive below-average sessions with <0.5% range while confirmed.
- S9 Climax top reversal (≥3% surge with volume, then ≥1.5% drop next day).
- S10 Rally attempt exceeds FTD window (day > ftdMaxDay) without confirmation.
- S11 Distribution on an up day: small gain (<0.3%) on heavy volume closing in bottom 40% of range.
- S12 Undercut of rally Day 1 low while uptrend is confirmed.
- S13 Five straight down days.
- S14 First break below 200 DMA after confirmation.
Perfect for traders who want the full Market School cadence—rally confirmation, power-trend monitoring, distribution risk, and exposure guidance—all in one polished, fund-ready package.
SMC pro trend
The PSK FX Structure Indicator (also known as SMC pro trend) is a complete Smart Money Concepts (SMC) toolkit designed for professional structure traders.
It detects and visualizes key price structure elements such as BoS (Break of Structure), CHoCH (Change of Character), HH/HL/LH/LL, IDM zones, SCOB, sweeps, inside bars, and EMA confluence — all with precise non-repainting logic.
This indicator helps traders read price action like an institution — identifying liquidity shifts, order flow direction, and possible reversal or continuation zones.
⸻
⚙️ Core Features
🧭 Structure Detection
• Automatic detection of major structure points:
• HH – Higher High
• HL – Higher Low
• LH – Lower High
• LL – Lower Low
• Confirms BoS (Break of Structure) and CHoCH (Change of Character) events in both bullish and bearish markets.
• Marks each structure change with labels and connecting lines for clarity.
🔁 BoS / CHoCH Logic
• Solid line = BoS
• Dashed line = CHoCH
• Colored by direction:
• 🟩 Bullish = Green
• 🟥 Bearish = Red
• Option to show live BoS/CHoCH lines extending forward for real-time updates.
🧱 IDM (Internal Displacement Model) Zones
• Detects previous and live IDM zones (premium/discount zones).
• Highlights IDM candles that cause structural displacement.
• Labels each detected IDM level automatically.
⚡ Sweeps (Liquidity Grab Detection)
• Detects when price sweeps previous highs/lows.
• Marks these zones with dotted lines and optional “X” markers.
🧩 SCOB Pattern (Smart Candle Order Block)
• Detects and colors special SMC candle structures:
• Bullish SCOB → Aqua
• Bearish SCOB → Fuchsia
• Option to color all bars by trend direction or only highlight SCOB bars.
🧭 Internal Structure & Pivots
• Marks minor highs/lows (internal structure) for better IDM leg visualization.
• Helps identify early momentum shifts before major structure breaks.
🎯 1.618 Target Projection
• Projects 1.618 Fibonacci targets dynamically after BoS or CHoCH confirmation.
• Displays target price level with text label:
• Bullish → Green Target Line
• Bearish → Red Target Line
🧱 Inside Bar Zones
• Highlights inside bar formations (compression zones).
• Draws colored boxes between high/low of inside bar clusters.
• Marks the first and consecutive inside bars with custom bar colors.
📊 EMA Filter
• Includes a toggleable Exponential Moving Average (EMA) for confluence with trend direction.
• Customizable EMA length (default: 50).
🎨 Monochrome Mode
• Toggle between normal color mode and a clean monochrome theme for minimalistic charting setups.
⸻
🧠 How to Use
1. Identify Market Context:
Wait for a confirmed CHoCH to spot potential reversals or structure shifts.
2. Follow Order Flow:
Confirm trend direction via BoS lines and IDM zones.
3. Entry Planning:
Combine sweep detection, inside bar zones, and IDM levels for sniper entries.
4. Take Profit Zones:
Use the 1.618 target projection line to set high-probability TP levels.
5. Trend Filtering:
Use EMA direction to confirm whether to follow continuation or counter-trend setups.
⸻
🧩 Inputs & Settings
Category
Key Settings
Structure
Equal H/L toggle, HH/LL labeling, internal structure
BoS/CHoCH
Enable/disable labels, custom label size, bull/bear colors
IDM
Show previous/live IDM, label size, color options
Sweeps
Show sweep lines, X-markers, sweep line color
Bar Coloring / SCOB
Toggle bar coloring and SCOB pattern
Inside Bars
Highlight and box compression zones
1.618 Targets
Enable Fibonacci target projection
EMA
Toggle EMA and adjust length
Monochrome Mode
Apply single-color chart theme
⚠️ Notes
• This indicator is built for non-repainting structure confirmation.
• Use it on higher timeframes for swing structure or lower timeframes for IDM entry precision.
• Works best with clean price action charts (no cluttered oscillators or extra visuals).
⸻
💡 Recommended Use Cases
✅ SMC traders
✅ ICT/Order Block strategy users
✅ Liquidity and market structure traders
✅ Scalpers and swing traders using BoS/CHoCH logic
⸻
✍️ Author
Developed by PURNA SAMPATH KALUARACHCHI (PSK FX)
Smart Money Concepts researcher and price structure developer.
⸻
Flag Breakout Bullish Daily TF by SidHemFlag Breakout Bullish Daily TF by SidHem
Overview:
This indicator helps analyze Bullish Flag Breakouts (Rectangle) on the Daily Time Frame, providing a clear visual and tabular summary of key levels, stop-loss zones, expected pattern target and metrics. Traders can quickly assess breakout validity, risk/reward, and target achievement without manual calculations.
Please Note:
Flags are not auto-detected. Traders input four key dates: Pole start, Pole high, Cloth bottom, and Breakout candle. The indicator then calculates and plots all essential levels—including Pole, Cloth, Breakout Open/Close/Mean, Stop Loss, and Expected Pattern Target prices. This allows users who understand flag patterns but are unsure how to calculate targets or SL to efficiently work with the pattern.
Features:
Visualization: Highlights Pole, Cloth, and Breakout candles with horizontal rays, optional diagonal Pole lines, V-Arms, and filled boxes for clarity.
Dynamic Table Summary:
Displays symbol, Pole Low/High, Cloth Bottom, Breakout Open/Close/Mean, Expected Pattern Target, Stop Loss (3 methods, preferably on closing basis), Pole Height, Risk/Reward Ratio, Bars to Breakout, Estimated Time Frame, Pattern Summary, Flag Breakout status, and Volume strength.
Target & SL Labels: Plots target and SL lines on the chart with Expected Pattern Target, Target Achieved, and SL labels.
Customizable Appearance: Adjustable table rows, label sizes, colors, styles, widths, and transparency.
Purpose:
Accurately analyzes Bullish Flag Breakouts by entering only the four required dates; all plotting, calculation, and table generation are automated.
Europe Session LinesThis simple script marks the start of the European trading sessions:
08:00 a.m. London trading session
09:00 a.m. Frankfurt trading session
The settings of the lines can be changed. (thickness, colour, type).
It can be used on Futures and CFDs for example for FDAX, FTSE100 but also for GOLD, Silver and EURO- and GBP based FX pairs as supply or demand zone with the change of character trading setup.
EMA Trend RecognitionEMA Trend Recognition — “Double-Vision Trend Glasses” 👓⚡
In short:
Your chart gets two voices — the Major trend (EMA50 vs EMA200) for the big picture, and the Minor trend (EMA9 vs EMA20) for the short-term mood.
When both sing the same tune, you get a STRONG signal.
When they argue, it’s a WEAK one. Simple. Clean. Effective.
🧭 What this indicator does
Major Trend (Long-Term):
EMA50 above EMA200 → Bullish.
EMA50 below EMA200 → Bearish.
This tells you where the market really wants to go.
Minor Trend (Short-Term):
EMA9 above EMA20 → Bullish.
EMA9 below EMA20 → Bearish.
This shows you what the market feels like right now.
Trend Combinations (The Magic):
🟢 STRONG BUY: Major ↑ + Minor ↑ → full alignment, go with the flow.
🔴 STRONG SELL: Major ↓ + Minor ↓ → both down, no mercy.
🟡 WEAK BUY: Major ↑, Minor ↓ → pullback zone? early dip? maybe.
🟠 WEAK SELL: Major ↓, Minor ↑ → short-term bounce inside a downtrend.
🎨 Background Colors & Info Panel
Bright Green: STRONG BUY
Bright Red: STRONG SELL
Faded Green/Red: WEAK signals (trend disagreement)
Bottom Info Table:
Major Trend: “BULLISH ↑” or “BEARISH ↓”
Minor Trend: same logic, faster tempo
Signal: shows STRONG/WEAK/NEUTRAL status
Price: latest close price (because yes, we all check that)
🔔 Alerts (so you don’t stare all day)
MAJOR TREND CHANGE: “Now Bullish!” or “Now Bearish!”
MINOR TREND CHANGE: quicker reversals
STRONG BUY/SELL: when both trends line up perfectly
(Alerts trigger only on bar close — no disco flicker alerts.)
🧠 Visuals — Simple but Smart
EMA 200 & 50: thick lines = your market highway
EMA 20 & 9: thin lines = your turn signals
Muted colors, so your eyes survive long trading sessions
🚀 Why it’s useful
Trend Trading: Filter out noise, ride the momentum.
Pullback Entries: WEAK signals often mark “turning back in” moments.
System Building: Use “STRONG” as a market bias filter, “MINOR” flips as entry triggers.
⚙️ Pro Tips
Timeframes: EMAs are fixed, but meaning scales with TF.
On 1H or 4H, they often reflect daily/weekly momentum.
Context: Combine with structure (HH/HL/LH/LL), zones (OB/FVG), or volume.
Risk Management: Signal ≠ free money. Always define SL/TP and RR.
⚠️ Disclaimer
No financial advice, no crystal ball.
This indicator helps you see — but you still decide when to act.
Backtest and paper-trade before going live.
Short Pitch (for the top “Summary” line on TradingView):
“Two EMA pairs, one clear trend compass — Major shows direction, Minor sets the rhythm. When both agree, it’s STRONG. When they argue, it’s WEAK. Clean, fast, and easy to read.” ✅
Feel free to commend and if u have inspirations to add something, let me know, cheers :D
KAB 1 BETAKAB 1: The Premier AI-Driven Neural Network Trading Indicator
Unlock the future of trading with KAB 1, an elite, subscription-based indicator meticulously engineered by Koby A. Brown (Lastkingkoby) using state-of-the-art artificial intelligence and advanced neural network algorithms. This isn't your average tool – it's a sophisticated powerhouse that integrates deep learning models to analyze market dynamics, delivering unparalleled insights for professional traders.
Key Highlights:
AI-Powered Precision: Built on proprietary neural networks trained on vast datasets, KAB 1 intelligently identifies dynamic support and resistance zones, forecasting potential breakouts and reversals with high-fidelity accuracy.
Intelligent Signal Generation: Receive crystal-clear buy/sell alerts, complete with predictive warnings for momentum shifts, all derived from AI-optimized range filtering and trend detection mechanisms.
Overlay Mastery: Seamlessly overlays on your charts, visualizing critical levels and signals in real-time, adaptable to any timeframe or asset (with exceptional performance on high-volatility markets like gold and forex).
Beta-Exclusive Features: Early subscribers gain access to evolving AI enhancements, ensuring your edge stays sharp in ever-changing markets.
Priced as a premium subscription service to reflect its exclusive, high-value technology (details via private invite), KAB 1 is reserved for serious traders seeking institutional-grade tools without the hassle. No mimics, no knockoffs – this is the real deal, copyrighted and protected. Elevate your strategy today and experience trading redefined.
© 2025 Koby "Lastkingkoby" Brown. All rights reserved. Subscription required for access.
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.
DM Order BlocksBullish setup:
Wait for a bullish OB to form (price broke structure upward).
Wait for price to return into that blue box (mitigation).
Drop to a lower timeframe (e.g., from 5 min → 1 min) and look for:
Bullish engulfing candle
BOS / liquidity sweep inside OB
Enter long near the OB’s low or midpoint.
Stop loss below OB’s low.
Target previous highs or the next bearish OB above.
Bearish setup:
Wait for a bearish OB to form (price broke down).
Wait for price to retrace into the red box.
Look for a rejection candle or structure shift down.
Enter short near the OB’s high or midpoint.
Stop loss above the OB’s high.
Target previous lows or next bullish OB below.
Timeframe Combination Ideas
Style Chart Confirmation
Scalping 1 min or 3 min Entry on 15 sec or 30 sec
Day Trade 5 min or 15 min Entry on 1 min or 3 min
Swing 1 h Entry on 5 min or 15 min
Example Strategy
Example (Scalping):
On the 1-min chart, you see a new blue internal OB.
Price pulls back into it.
You see a small bullish engulfing candle at the OB’s bottom.
You enter long.
Stop loss just below the box.
Target 2×–3× risk reward (often around the previous swing high).
PSP by EleventradesPSP INDICATOR:
this is a free indicator i built that plots psp (precision swing point) on the chart in correlation with the related assets.
i’ve adjusted every setting and fixed every bug myself.
GC1-XAUUSD Premium Monitor <SunanLabs>Sunan Labs – GC1–XAUUSD Premium (Standard Edition)
This indicator compares COMEX Gold Futures (GC1!) with Spot Gold (XAUUSD) to reveal market regime shifts: Contango (Futures > Spot), Backwardation (Futures < Spot), or Parity (neutral).
Metrics shown:
• Status – Current regime (Contango, Backwardation, or Parity)
• Premium (USD) – Price difference in USD per ounce
• Premium (%) – Relative spread between GC1! and XAUUSD
• Sparkline – 24-bar mini chart of premium history
• Range Position – Shows where the current premium sits in its recent range (0–100%). Near highs = stretched, near lows = compressed.
• Futures & Spot – Latest closing prices for GC1! and XAUUSD
• Alerts – Triggered when premium crosses thresholds or regime shifts occur
Interpretation:
• Contango – Market expects higher future prices; spot may cool.
• Backwardation – Strong near-term demand; spot likely to rise.
• Parity – Neutral zone or transition period.
Includes dynamic alerts, customizable display, and detailed status labels.
Developed by Sunan Labs
Contact: wali9@hotmail.com
© 2025 Sunan Labs – Creative Standard License (CSL-2025)
MTF Intraday v2.0📊 Description
MTF Intraday v2.0 is an informative indicator for analyzing trend strength across multiple timeframes simultaneously. Designed specifically for intraday (session) trading during European and US market hours.
The indicator shows the real market picture without lagging signals - you see the trend strength right now for each timeframe.
🎯 Key Features
1. Multi-Timeframe Analysis (D1, H4, H1, M30, M15)
Analyzes 4 indicators on each TF: SuperTrend, RSI, EMA crossover, EMA200
Shows strength for each timeframe: STRONG / MED / WEAK
Color indication: 🟢 green (LONG strong), 🔴 red (SHORT strong), 🟡 yellow (medium), ⚪ gray (weak)
2. Intraday Trading Hierarchy
D1 - global context (affects quality assessment)
H4 - general (sets the main trend)
H1 - reference point for intraday
M30/M15 - finding entry points during sessions
3. Market Pulse
🔥 HOT - when both H4 and H1 are STRONG (best time to enter!)
✓ GOOD - when H4 or H1 is STRONG
L:45 S:20 - balance of power between LONG and SHORT (statistics instead of "wait")
4. Volume Indicator (24 hours)
Shows volume change over the last 24 hours
SPIKE! - when volume increased by the set % (default 50%)
Considers candle color: 🟢 LONG spike (rise + green candle), 🔴 SHORT spike (rise + red candle)
Works on any timeframe (automatically recalculates)
5. Compact Mode
OFF - shows all details: every indicator for each TF
ON - only strength per timeframe (for clean chart)
⚙️ Settings
Main:
SuperTrend Period (21) / Multiplier (6.3)
RSI Length (14)
EMA Short (50) / Long (100) / 200
Compact Mode - hide detailed indicators
Volume:
Show Volume - show/hide volume indicator
Volume Alerts ON/OFF - enable/disable volume alerts
Volume Spike (%) - spike threshold (30% / 50% / 100%)
🔔 Alerts
The indicator has 5 types of alerts:
Market HOT - H4 and H1 simultaneously became STRONG
VOL LONG - volume spike on bullish candle
VOL SHORT - volume spike on bearish candle
EMA200 UP - price crossed EMA200 upward
EMA200 DN - price crossed EMA200 downward
Set up in TradingView: Create Alert → Select desired alert from the list
📈 How to Use
For finding entry points:
Check H4 - should be at least MED (better STRONG)
Verify H1 - main filter for intraday
Wait for pulse "🔥 HOT" or at least "✓ GOOD"
Look at M30/M15 - seek confirmation
Check 24h VOL - if SPIKE, momentum has started
Quality Assessment:
EXCELLENT ⭐ - all stars aligned (D1 with us, high score)
GOOD - good setup
WARNING ⚠️ - D1 against trend (counter-trend, be careful!)
Color Indication:
🟢 Green cells - bullish signal
🔴 Red cells - bearish signal
🟡 Yellow cells - neutral/waiting
🟠 Orange TF labels - for readability
⚠️ Important
This is an informative indicator, not a trading system
Does not give "entry/exit" signals - shows trend strength in the moment
Use together with Price Action and your trading strategy
RSI on M15 is displayed but not counted (too much noise)
💡 Who is it for
✅ Intraday traders (Europe/US sessions)
✅ Scalpers on crypto and forex
✅ Swing traders for trend confirmation
✅ Those who trade on multiple timeframes simultaneously
XonTrades Exit Flow | by Bu-RashidThis indicator detects potential institutional exit points and reversal zones using a powerful confluence model combining:
Volume spike analysis (institutional activity)
CVD trend flips (smart money flow reversal)
Price–CVD divergence (hidden accumulation/distribution)
Liquidity sweep detection (stop-run exhaustion)
When these elements align, the indicator highlights possible Exit Flow zones, signaling where smart capital may be closing or reversing positions.
It’s optimized for XAU/USD (Gold) and NAS100 (Nasdaq) on 5-minute and 15-minute charts, with customizable strictness for traders who prefer early or confirmed signals.
Recommended use:
Apply as a confirmation layer alongside your main strategy to identify exhaustion points and institutional exits before trend reversals.
— Developed and engineered by Bu-Rashid (XonTrades1UAE)
MILLION MEN - Discount Zone BreakoutsWhat it is
MILLION MEN — Discount Zone Breakouts (Lite & Stable) highlights a structure-based trading range from the latest confirmed swing high/low, renders Premium/Equilibrium/Discount zones, and raises one-shot breakout signals when price closes outside the range. It focuses on stable visuals and simple breakout logic suitable for intraday and swing trading.
How it works (high-level)
Confirmed swings: Uses ta.pivothigh/ta.pivotlow with auto or manual pivot length.
Range & zones: From the swing range, the tool derives Premium (top 25%), Equilibrium (50%), and Discount (bottom 25%).
Anchoring: Left edge is locked at the bar where the pivot confirms; the right edge can extend N bars.
One-shot breakouts:
Up breakout: first close > swingHigh (resets on new range).
Down breakout: first close < swingLow (resets on new range).
Optional on-close only mode to avoid intrabar noise.
Clean UI: Optional zone boxes, dashed equilibrium line, mid-labels (“Premium / Equilibrium / Discount”), and minimal candle coloring by regime.
How to use
Treat Discount as value area in bullish contexts and Premium as distribution area in bearish contexts.
Breakout dots (up/down) mark regime shifts beyond the current range; confirm with your higher-TF bias, volume, or momentum.
Tune pivot length and forward extension to your timeframe (e.g., smaller for scalping, larger for swings).
Originality & value
Unlike generic S/R overlays, this lite tool prioritizes confirmed swing structure with a fixed anchor, clear 25/50/75 zone mapping, and one-shot breakout logic to prevent repetitive signals until a new range forms. The emphasis is on stability + readability, making it a dependable building block in multi-indicator workflows.
Limitations & transparency
Breakouts on strong trends can retest or fail; always add confirmation (structure/volume).
Pivots confirm with delay equal to pivot length—this reduces repaint and is intentional.
Non-standard bar types are not supported for signal logic.
This indicator provides analysis, not financial advice.
Arabic
يعرض السكربت آخر مدى مؤكد من قمّة/قاع ويرسم مناطق Premium / Equilibrium / Discount، ويعطي إشارة اختراق لمرة واحدة عند إغلاق السعر فوق القمّة أو تحت القاع. الفكرة بسيطة وثابتة بصريًا، وتصلح للإنترادي والسوينغ. يُفضّل تأكيد الاختراق بهيكل أعلى إطار أو فوليوم/مومنتُم. تذكير: تأكيد القمم/القيعان متأخر بحسب طول البيفوت لتفادي إعادة الرسم.
HaP Hibrid S/DThis code is a technical analysis indicator named "HaP Hybrid S/D," developed using Pine Script v5. It is a comprehensive and customizable tool designed to identify support and resistance (S/R) levels, detect order blocks, and analyze market dynamics in financial markets. The code combines adaptive and machine learning (ML)-based systems to offer a hybrid approach, supporting various chart types and multi-timeframe analysis. Below, I detail the core, standout, and superior features of the code:Core FeaturesMulti-Chart Type Support:The indicator allows users to analyze price charts in TRY, USD, or Composite (stock/index ratio) formats.
Users can select line or candlestick chart types, enabling customized visualization based on their needs.
The composite chart analyzes relative performance by dividing stock prices by the BIST XU100 index, while the USD-based chart accounts for exchange rate effects.
Support and Resistance Detection:Adaptive System: Dynamically calculates pivot points (based on high/low or close prices) and automatically adjusts to market conditions (trend, consolidation, volatility).
ML-Based System: Uses machine learning to cluster pivot points (average linkage clustering) and identify the most significant support/resistance levels.
Users can choose to display only the nearest S/R levels or all levels.
Order Block Detection:Identifies buy and sell order blocks using volume and price movement (ATR-based) analysis.
Blocks are filtered based on user-defined minimum volume thresholds and ATR multipliers.
Buy (green) and sell (red) blocks are drawn and labeled for visualization.
Multi-Timeframe Support:Analyzes and draws pivot levels across 4-hour (H4), daily (D1), and weekly (W1) timeframes.
Users can customize these levels with different line styles (solid, dashed, dotted) and thicknesses.
User-Friendly Interface:The indicator is configurable with multiple setting groups (chart selection, order blocks, S/R, color settings, etc.).
Users can customize line thicknesses, label sizes, transparency levels, and colors.
Standout FeaturesHybrid Approach (Adaptive + ML):The indicator combines adaptive and machine learning-based systems to offer a unique hybrid model. Users can choose to use only adaptive, only ML-based, or both systems.
Adaptive System: Dynamically adjusts pivot calculation parameters based on technical indicators like market volatility, trend strength, and ADX.
ML-Based System: Clusters pivot points (similar to k-means with average linkage) to identify the strongest support/resistance levels and optimizes them using silhouette scores.
Dynamic Pivot Memory:In the ML system, pivot memory is automatically adjusted based on volume, trend, and time factors. For example, shorter memory is used in high-volatility periods, while longer memory is preferred in low-volatility periods.
Users can manually set pivot memory or opt for automatic adjustment.
Fibonacci Integration:Fibonacci retracement levels (0, 0.236, 0.382, 0.5, 0.618, 0.786, 1) can be calculated and integrated with support/resistance levels.
Fibonacci tolerance is dynamically adjusted based on volatility and ATR for more precise levels.
Market Condition Analysis:The indicator automatically detects market conditions (consolidation, trend, volatile market) and optimizes S/R calculation parameters accordingly.
Technical indicators such as ATR, RSI, ADX, MACD, and Bollinger Bands are used to analyze market dynamics.
Management of Broken Levels:Broken support/resistance levels can be automatically hidden (optional).
Order blocks and S/R zones are cleared when the price breaks these levels, ensuring only relevant levels are displayed.
Superior FeaturesAdvanced Visualization:Support and resistance levels are drawn with user-defined colors, transparency, and line styles. Price labels make it easier to track levels.
Order blocks are clearly marked, with the number of historical blocks limitable by the user.
Automatic Optimization:In the ML system, the optimal number of clusters and pivot memory is automatically determined using silhouette scores and level effectiveness scores.
In the adaptive system, pivot calculation parameters (left/right bar count, level length, etc.) are dynamically optimized based on volatility ratio, trend strength, and ADX.
Volume and Trend-Based Analysis:Volume thresholds and ATR multipliers enhance the accuracy of order block detection.
Trend strength (calculated using EMAs and ROC) and volatility ratio improve the precision of S/R levels.
Flexible Timeframe Integration:Multi-timeframe analysis provides a broader market perspective, displaying S/R levels from different timeframes together.
The lookahead feature ensures more accurate pivot detection in multi-timeframe calculations (can be optionally disabled).
Performance and Memory Management:The code is designed for performance with limits such as max_bars_back=3000, max_lines_count=500, and max_labels_count=500.
Unnecessary drawings are cleared, and array sizes are limited to ensure a smooth experience on the TradingView platform.
Use CasesShort-Term Traders: Can use the nearest support/resistance levels and order blocks in the current timeframe to make quick decisions.
Long-Term Investors: Can identify broader market trends and strong S/R levels through multi-timeframe analysis.
Technical Analysts: Can perform in-depth analysis with Fibonacci integration, market condition analysis, and ML-based clustering.
Visual Analysis Enthusiasts: Can achieve a clear and aesthetic chart appearance with customizable colors, labels, and line styles.
Conclusion
HaP Hybrid S/D is a powerful tool for both novice and professional traders in technical analysis. The combination of adaptive and ML-based systems ensures adaptability to dynamic market conditions, offering users a flexible analysis experience. Multi-timeframe support, Fibonacci integration, and comprehensive visualization options make this indicator a standout solution in the market. On the TradingView platform, particularly for stock and index analysis, it is an ideal tool to enhance decision-making processes.
SMA 10/20 Simple SMA 10/20. Here are two simple moving averages that can help you see the underlying trend. These are the moving averages used by the famous trader Qullamagie
Stocktech.in - MidasStocktech.in – Midas: All-in-one charting indicator featuring neutral candles, trend guide bands, StockTech info table, and high-volume markers (HVQ/HVY/HVE) for quick visual volume analysis. Fully customizable and toggleable.
SMA 10/20 Weekly on all timeframeHere are SMA 10/20 Weekly to see the underlying weekly trend across all timeframes
Moyennes Mobiles Pertinentes ema21vert ma50 bleue ma200 rougeUtilisez sur un même script un indicateur avec plusieurs moyennes mobiles servant de supports
Dinamik Fibonacci Bazlı RSIFibonacci-Based RSI Indicator Analysis
This TradingView Pine Script creates a sophisticated technical indicator that combines RSI (Relative Strength Index) with Fibonacci levels and includes a multi-symbol scanning feature.
Core Components
1. RSI/CRSI Calculation with Heikin Ashi Option
The indicator calculates RSI values for OHLC (Open, High, Low, Close) data with two methods:
Standard RSI: Traditional RSI calculation
CRSI (Composite RSI): A more complex calculation combining three elements:
Standard RSI
Directional movement RSI
Rate of Change percentile ranking
Users can enable Heikin Ashi transformation to smooth the RSI candles, making trends easier to identify.
2. Dynamic Fibonacci Levels
The indicator plots Fibonacci retracement levels based on the RSI range over a specified period (default 55 bars). These levels include:
Negative levels (below the lowest RSI):
-38.2%
-23.6%
Positive levels (from low to high RSI):
0.0% (lowest RSI)
14.6%
23.6%
38.2%
50.0%
61.8%
76.4%
78.6%
88.6%
94.2%
100% (highest RSI)
127.2% (extension above highest)
3. Reverse Fibonacci Levels
The indicator also plots reverse Fibonacci levels calculated from the high RSI downward, providing an alternative perspective on support/resistance zones.
4. Multi-Symbol Scanner
The most powerful feature is the scanning functionality that monitors up to 10 different symbols simultaneously. For each symbol, it:
Calculates the RSI/CRSI values
Determines dynamic Fibonacci levels
Detects when RSI crosses above any selected Fibonacci level
Displays results in a customizable table
5. Results Table
A table displays which symbols have crossed above the selected Fibonacci levels, allowing traders to:
Quickly identify multiple opportunities across different assets
Focus on specific Fibonacci levels of interest
Monitor momentum shifts in their watchlist
Practical Use Cases
Oversold/Overbought Detection: The RSI with Fibonacci levels helps identify extreme price zones more precisely than traditional 30/70 levels.
Multi-Timeframe Analysis: By scanning multiple symbols, traders can identify sector-wide or market-wide momentum shifts.
Entry Signal Generation: Crossovers above specific Fibonacci levels (like 38.2% or 50%) can signal potential entry points when RSI is recovering from oversold conditions.
Divergence Trading: The Heikin Ashi smoothing combined with Fibonacci levels makes it easier to spot RSI divergences from price action.
This indicator is particularly useful for swing traders and momentum traders who want to monitor multiple assets simultaneously while using sophisticated RSI-based technical levels.
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






















