Pine Script® Indikator
Indikatoren und Strategien
High-Probability Entry System by Dahhans,DfirstX🎯 WHAT IT DOES
This indicator combines 4 different factors to identify high-probability trade entries. It only shows a signal when ALL conditions align, filtering out weak setups.
🔧 HOW IT WORKS (4 FACTORS)
| Factor | What It Measures | Long Signal | Short Signal |
| --------------- | --------------------- | ---------------------------- | -------------------------------- |
| 1. Trend | Price vs 50 EMA | Price > 50 EMA ✅ | Price < 50 EMA ✅ |
| 2. EMA Cross | 9 EMA crossing 21 EMA | 9 crosses ABOVE 21 ✅ | 9 crosses BELOW 21 ✅ |
| 3. RSI Momentum | RSI direction | RSI turning UP from oversold | RSI turning DOWN from overbought |
| 4. Confirmation | Price vs both EMAs | Price > both EMAs | Price < both EMAs |
📈 VISUALS
| Visual | Meaning |
| ---------------- | --------------------------------------------- |
| Green Background | Uptrend (price above 50 EMA) |
| Red Background | Downtrend (price below 50 EMA) |
| BUY Label | All 4 conditions met - high probability long |
| SELL Label | All 4 conditions met - high probability short |
| Red Line | Stop loss level |
| Blue Line | 9 EMA (fast) |
| Red Line | 21 EMA (slow) |
| Orange Line | 50 EMA (trend) |
🎯 SCORE SYSTEM (0-4)
| Score | Meaning |
| ----- | -------------------------------------- |
| 4/4 | Perfect alignment - HIGH probability |
| 3/4 | Strong setup - good to trade |
| 2/4 | Weak setup - avoid or smaller position |
| 0-1/4 | No trade |
Only trade when score is 3 or 4.
🛑 RISK MANAGEMENT
• Stop Loss: Automatically calculated using ATR (2x ATR below entry for longs)
• Position Sizing: Risk 1-2% per trade
• Never trade against the trend
⚠️ WHEN IT FAILS
| Market Condition | Why It Fails |
| ---------------- | ------------------------------------ |
| Sideways/Choppy | EMA crosses but no trend |
| Low Volume | Signals but no follow-through |
| News Events | Gap moves skip stop loss |
| Over-optimized | Works on historical data, not future |
📋 EXAMPLE TRADE
BTC at $67,000
├── Price > 50 EMA ($65,000) ✅ TREND
├── 9 EMA crosses above 21 EMA ✅ CROSS
├── RSI turning up from 35 ✅ MOMENTUM
└── Price > both EMAs ✅ CONFIRMATION
RESULT: BUY signal at $67,000
STOP: $64,500 (2x ATR)
TARGET: $70,000+
🎯 BEST TIMEFRAMES
| Timeframe | Quality |
| --------- | -------------------------------- |
| Daily | Best signals (less noise) |
| 4H | Good balance |
| 1H | More signals, more false signals |
📚 KEY CONCEPTS USED
| Concept | Explanation |
| ------------- | ------------------------------------------------------ |
| EMA (9/21/50) | Moving averages - 9 is fast, 21 is medium, 50 is trend |
| RSI | Momentum oscillator - measures overbought/oversold |
| ATR | Volatility measure - used for stop loss |
| Confluence | Multiple factors agreeing = higher probability |
This indicator is designed to filter out noise and only show you trades when the odds are in your favor.
Pine Script® Indikator
XRAY BOS/CHoCH v2.0 by Assis GhriebXRAY BOS/CHOCH v2.0
XRAY BOS/CHOCH is a minimal market structure indicator designed to identify Break of Structure (BOS) and Change of Character (CHOCH) using confirmed pivot highs and lows.
The tool focuses strictly on external market structure. It does not include internal structure models, order blocks, liquidity concepts, inducement logic, or automated trade signals.
This indicator is built for traders who prefer clean charts and objective structural analysis rather than signal-based systems.
Version 2.0 includes refined state handling and improved structure validation for consistent behavior across timeframes.
Pine Script® Indikator
Pine Script® Indikator
VAH VAL Cloud MTFchỉ báo mây vùng giá trị tính theo khối lượng Volume Profile để xác định sự mất cân bằng thị trường
Pine Script® Indikator
Precision Pivot Confluence Engine [JOAT]Precision Pivot Confluence Engine
Introduction
The Precision Pivot Confluence Engine is an open-source technical indicator that combines Central Pivot Range (CPR) analysis with Smart Money Concepts (SMC), multi-oscillator divergence detection, and institutional order flow patterns. This mashup integrates multiple proven methodologies into a unified confluence system designed to identify high-probability trading zones where institutional and retail liquidity intersect.
The indicator is built for traders who understand that no single signal provides consistent edge, but multiple confirming factors working together can significantly improve trade selection. By synthesizing CPR levels, Fair Value Gaps, Order Blocks, liquidity sweeps, and divergence patterns, this tool helps identify structural market inflection points.
Chart showing CPR levels, FVG zones, Order Blocks, and divergence signals on 4H timeframe
Why This Mashup Exists
This indicator combines five distinct analytical frameworks that complement each other:
CPR Analysis: Identifies key pivot levels where institutional algorithms and retail traders make decisions
Smart Money Concepts: Tracks Fair Value Gaps, Order Blocks, and Breaker Blocks showing institutional positioning
Divergence Detection: Uses RSI, MACD, and Stochastic RSI to identify momentum exhaustion
Liquidity Analysis: Detects liquidity sweeps where stop hunts occur before reversals
Volume Confirmation: Validates moves with volume analysis and delta calculations
Each component addresses a different aspect of market structure. CPR provides static reference levels, SMC reveals dynamic institutional behavior, divergences show momentum shifts, liquidity sweeps identify stop hunts, and volume confirms genuine moves versus noise. Together, they create a multi-dimensional view of market conditions.
Core Components Explained
1. Enhanced CPR System
The Central Pivot Range system calculates Daily and Weekly pivot levels using the formula:
Pivot = (High + Low + Close) / 3
BC (Bottom Central) = (High + Low) / 2
TC (Top Central) = (Pivot - BC) + Pivot
The indicator analyzes CPR width to determine market regime:
Narrow CPR (width < 0.5%): Indicates compression and potential breakout conditions
Wide CPR (width > 1.5%): Suggests ranging market with less directional conviction
Price position relative to CPR: Above both Daily and Weekly pivots = bullish structure, below = bearish structure
CPR levels act as magnetic zones where price tends to react. The indicator tracks distance from pivots to identify overextension and mean reversion opportunities.
2. Smart Money Concepts Integration
Fair Value Gaps (FVG):
Bullish FVG occurs when current low > high from 2 bars ago, leaving an unfilled gap
Bearish FVG occurs when current high < low from 2 bars ago
The indicator calculates FVG size as percentage of price and filters for significant gaps (> 0.3%) to avoid noise. FVGs represent inefficient price delivery where institutions moved price quickly, often returning to fill these gaps later.
Order Blocks (OB):
Bullish OB: Two consecutive bearish candles followed by strong bullish candle with high volume
Bearish OB: Two consecutive bullish candles followed by strong bearish candle with high volume
Order Blocks mark the last opposite-direction move before a strong impulse, indicating where institutions accumulated or distributed positions.
Breaker Blocks:
Failed Order Blocks that get violated become Breaker Blocks, signaling potential trend reversal. The indicator tracks the last bullish and bearish OB levels and alerts when price breaks through them.
Liquidity Sweeps:
The indicator identifies when price briefly exceeds recent highs/lows (20-bar lookback) but closes back inside the range. These "stop hunts" often precede reversals as institutions trigger retail stops before moving price in the intended direction.
Example showing FVG zones, Order Blocks, and liquidity sweep markers
3. Multi-Oscillator Divergence System
The indicator simultaneously tracks divergences across three oscillators:
RSI Divergence:
Bullish: Price makes lower low, RSI makes higher low (momentum improving despite price weakness)
Bearish: Price makes higher high, RSI makes lower high (momentum deteriorating despite price strength)
MACD Divergence:
Tracks histogram divergences using the same pivot-based logic
Stochastic RSI Divergence:
More sensitive than RSI, catches early momentum shifts
The indicator uses a 5-bar pivot lookback to identify swing highs/lows and compares current pivots with previous pivots to detect divergences. When multiple oscillators show divergence simultaneously, it signals strong momentum exhaustion.
4. Volume Analysis Engine
Volume MA Comparison: Identifies high volume (> 1.5x MA) and climax volume (> 3x MA)
Volume Delta: Cumulative difference between buying volume (green candles) and selling volume (red candles)
Delta Trend: Compares current delta to 20-period MA to identify institutional accumulation or distribution
Volume Confirmation: Validates bullish moves with high volume + rising delta, bearish moves with high volume + falling delta
5. Confluence Scoring System
The indicator calculates a real-time confluence score (0-100) by weighting each component:
Confluence Score Components:
- CPR Position: Up to 15 points (bullish above pivots, bearish below)
- SMC Signals: Up to 10 points (FVG + OB + Breaker + Liquidity Sweeps)
- Divergence: Up to 10 points (single oscillator = 5, multiple = 10)
- Volume: Up to 10 points (confirmed volume = 7, climax = additional 3)
- Trend Alignment: Up to 5 points (price vs key MAs)
Scores above 70 indicate strong confluence for potential trades. The dashboard displays individual component scores for transparency.
Visual Elements
CPR Lines: Daily Pivot (yellow), TC/BC (yellow transparent), Weekly Pivot (yellow circles)
FVG Boxes: Green boxes for bullish FVGs, red boxes for bearish FVGs
Order Block Boxes: Solid green/red boxes marking institutional zones
Breaker Block Labels: "BB" markers when Order Blocks fail
Liquidity Sweep Labels: "LIQ" and "STRONG LIQ" positioned at sweep tips
Divergence Labels: "D" markers at divergence pivot points
Dashboard: Top-right table showing confluence score and component breakdown
How Components Work Together
The mashup creates a layered analysis approach:
Layer 1 - Structure: CPR levels define key zones where reactions are likely
Layer 2 - Institutional Behavior: SMC concepts show where smart money is positioned
Layer 3 - Momentum: Divergences indicate when current trend is losing steam
Layer 4 - Confirmation: Volume validates whether moves are genuine or false
Layer 5 - Synthesis: Confluence score combines all factors into actionable signal
Example scenario: Price approaches Daily Pivot (Layer 1) where a bullish Order Block exists (Layer 2), RSI shows bullish divergence (Layer 3), and volume delta is rising (Layer 4). The confluence score jumps to 85 (Layer 5), signaling high-probability long setup.
Input Parameters
CPR Settings:
Show Daily CPR: Toggle daily pivot levels (default: enabled)
Show Weekly CPR: Toggle weekly pivot levels (default: enabled)
CPR Width Threshold: Defines narrow vs wide CPR (default: 0.5% / 1.5%)
Smart Money Concepts:
Show FVG: Display Fair Value Gap boxes (default: enabled)
Show Order Blocks: Display Order Block boxes (default: enabled)
Show Breaker Blocks: Display Breaker Block labels (default: enabled)
Show Liquidity Sweeps: Display liquidity sweep markers (default: enabled)
FVG Min Size: Minimum gap size to display (default: 0.3%)
Lookback Bars: Bars to scan for liquidity levels (default: 20)
Divergence Detection:
Show Divergences: Toggle divergence labels (default: enabled)
RSI Length: Period for RSI calculation (default: 14)
Pivot Lookback: Bars for pivot detection (default: 5)
Volume Analysis:
Show Volume Analysis: Toggle volume indicators (default: enabled)
Volume MA Length: Period for volume moving average (default: 20)
High Volume Multiplier: Threshold for high volume (default: 1.5x)
Climax Volume Multiplier: Threshold for climax volume (default: 3.0x)
Display Options:
Show Dashboard: Toggle confluence score table (default: enabled)
Max FVG Boxes: Limit displayed FVG boxes (default: 20)
Max OB Boxes: Limit displayed Order Block boxes (default: 15)
Label Spacing: Minimum bars between labels to prevent overlap (default: 10-15)
How to Use This Indicator
Step 1: Identify Market Structure
Check CPR position and width. Narrow CPR suggests breakout potential, wide CPR suggests range-bound conditions.
Step 2: Look for SMC Confluence
Identify FVGs, Order Blocks, and recent liquidity sweeps. These zones often provide high-probability entry areas.
Step 3: Check for Divergences
Look for divergence labels at swing points. Multiple oscillator divergences increase signal strength.
Step 4: Confirm with Volume
Ensure volume supports the move. Rising delta + high volume confirms bullish moves, falling delta + high volume confirms bearish moves.
Step 5: Review Confluence Score
Check the dashboard. Scores above 70 indicate strong confluence. Individual component scores show which factors are contributing.
Step 6: Wait for Price Action Confirmation
The indicator identifies zones and conditions, but wait for price action confirmation (candlestick patterns, breakouts, etc.) before entering trades.
Best Practices
Use on 15-minute to 4-hour timeframes for optimal signal quality
Combine with proper risk management - indicator shows zones, not exact entries
Pay attention to confluence score - higher scores generally indicate better setups
Watch for FVG fills and Order Block retests as entry triggers
Liquidity sweeps followed by reversal often provide excellent risk:reward entries
Divergences work best when combined with SMC zones or CPR levels
Volume confirmation is critical - avoid low-volume signals
Indicator Limitations
Does not provide exact entry/exit signals - requires trader interpretation
Can generate false signals in choppy, low-volume conditions
Multiple visual elements may clutter chart - adjust display settings as needed
Divergences can persist longer than expected - price can continue trending despite divergence
FVGs and Order Blocks don't always get retested - not every zone provides entry opportunity
Confluence score is a guide, not a guarantee - high scores can still result in losing trades
Requires understanding of SMC concepts and CPR analysis for effective use
Performance varies across different markets and timeframes
Technical Implementation
Built with Pine Script v6 using:
Custom CPR calculations with width analysis
Box and label management with anti-overlap logic
Persistent variables for tracking Order Blocks and Breaker Blocks
Pivot-based divergence detection across multiple oscillators
Volume delta calculation with cumulative tracking
Real-time confluence scoring system
Dynamic dashboard with component breakdown
The code is fully open-source and can be modified to suit individual trading styles and preferences.
Originality Statement
This indicator is original in its integration approach. While individual components (CPR, FVG, Order Blocks, RSI divergence, volume analysis) are established concepts, this mashup is justified because:
It synthesizes five distinct methodologies that address different market aspects
The confluence scoring system provides quantitative measurement of setup quality
Anti-overlap logic and timeframe-adaptive filtering reduce visual clutter
Component integration creates layered analysis not available in individual indicators
The combination helps identify zones where multiple institutional and technical factors align
Each component contributes unique information: CPR provides static structure, SMC reveals dynamic institutional behavior, divergences show momentum shifts, liquidity analysis identifies stop hunts, and volume confirms genuine moves. The mashup's value lies in presenting these complementary perspectives simultaneously with a unified scoring system.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss and is not suitable for all investors.
Technical indicators are tools for analysis, not crystal balls. Past performance and backtested results do not guarantee future performance. Market conditions change, and strategies that worked historically may not work in the future.
The confluence score is a mathematical calculation based on current market data, not a prediction of future price movement. High confluence scores do not guarantee profitable trades. Users must conduct their own analysis and risk assessment before making trading decisions.
Always use proper risk management, including stop losses and position sizing appropriate for your account size and risk tolerance. Never risk more than you can afford to lose. Consider consulting with a qualified financial advisor before making investment decisions.
The author is not responsible for any losses incurred from using this indicator. Users assume full responsibility for all trading decisions made using this tool.
-Made with passion by officialjackofalltrades
Pine Script® Indikator
Hidden Markov Model: Regime Probability [AlgoPoint]Hidden Markov Model: Regime Probability
Traditional technical indicators are deterministic and lagging; they tell you what the price has already done. The Hidden Markov Model (HMM) Regime Probability system takes a completely different, quantitative approach. It uses probabilistic mathematics to estimate the unobservable "Hidden State" (Market Regime) the price is currently operating in.
Inspired by the mathematical models used by institutional quantitative hedge funds, this script doesn't just look at price direction—it calculates the probability of the market being in a specific regime based on real-time observations of Momentum and Volatility.
1. The Three Hidden States (Regimes)
The market is modeled as existing in one of three hidden states:
↗ Bullish Regime: High positive momentum with low or stable volatility. (Steady, grinding uptrends).
↘ Bearish Regime: High negative momentum with high volatility. (Aggressive sell-offs and panic).
↕ Chop / Chaos Regime: Zero/low momentum with high volatility. (Whipsaw, ranging, and unpredictable noise).
2. How It Works (The Quant Engine)
Since Pine Script does not natively support complex matrix optimization, this script builds a robust Pseudo-HMM using a predefined Transition Matrix and Bayesian Updates.
Observables (Emissions): The script calculates the Z-Scores of Smoothed Momentum (Rate of Change) and Volatility (ATR).
Emission Probabilities (Gaussian PDF): It feeds these Z-Scores into a Gaussian Probability Density Function to see how well the current market matches the expected profile of a Bull, Bear, or Chop regime.
Bayesian Update: Using a predefined Markov Transition Matrix (the statistical inertia of a trend), it updates the prior probabilities to give you a real-time percentage (0-100%) for each regime.
3. Advanced Visual Features & UI
We built a custom UI/UX engine to make digesting complex probabilities instantaneous:
Exponential Color Smoothing (Bar Colors): As the probability of a regime increases, the bar colors smoothly transition. We implemented an exponential color blending algorithm to prevent abrupt, distracting color changes and eliminate "muddy" colors during transitions.
Pro Quant Dashboard: A built-in HUD (Heads-Up Display) provides a quick summary. It features a dominant state readout, an overall "Confidence Score", and ASCII-style mini progress bars (████░░░) for rapid visual processing of probabilities without needing to read the numbers.
Stacked Area Oscillator: The bottom panel displays a 0-100 stacked area chart, showing the exact distribution of probabilities across Bull (Green), Chop (Purple), and Bear (Red) states.
4. How to Use This Tool
This is not a standalone Buy/Sell signal indicator. It is a Strategy Filter and a Risk Manager.
When Bull/Bear Probability is Dominant (>50%): The market is trending. Turn ON your trend-following indicators (like Moving Averages or Breakout systems) and ignore overbought/oversold signals.
When Chop Probability is Dominant (>50%): The market is noisy. Turn OFF your trend-following systems. Either switch to Mean Reversion strategies (like RSI or Bollinger Bands) or stay in cash until a clear regime emerges.
Watch the Confidence Score: If the Dashboard shows "LOW" confidence, it means the probabilities are split (e.g., 34% Bull, 33% Chop, 33% Bear). Wait for the model to gain confidence before committing capital.
5. Alerts
The script includes non-repainting alerts that trigger only when the dominant regime changes:
HMM Regime: BULLISH 🚀 * HMM Regime: BEARISH 🩸 * HMM Regime: CHOP ⚖️
6. Settings
Lookback Period: The window used to calculate the Z-scores for momentum and volatility.
Transition Matrix: Allows advanced users to tweak the statistical likelihood of the market staying in its current state versus transitioning to a new one.
Color Transition Speed: Adjusts the smoothness of the bar coloring. A lower value creates a buttery-smooth fade between regimes, while a value of 1.0 makes it instant.
Pine Script® Indikator
Lot Calculator (Risk % + Pips)概要 / Overview
日本語: Pips・損失許容率・資産額を入力するだけでロット数を計算し、上下ラインをチャートに表示するインジケータです。
English: A lot-size calculator that takes pips, risk %, and account balance, then plots upper/lower lines on the chart with lot size labels.
特徴 / Features
資産入力を「数値 × 単位(×1 / ×10k / ×1M / ×100M)」で短く入力
資産通貨を JPY / USD / EUR / GBP から選択
価格・pips・ロットをまとめたラベル表示、色や線幅をカスタマイズ可能
オプションで右下テーブル表示をオン/オフ
Short numeric + unit input for balance (×1 / ×10k / ×1M / ×100M)
Select account currency: JPY / USD / EUR / GBP
Labels show price, pips, and lot size; colors and line width are configurable
Optional bottom-right table display
注意 / Notes
request.security による先行データ参照を行うため、リプレイやバックテストではリペイントに見える場合があります。
ラインはドラッグ移動できません。pips や入力値で調整してください。
為替・XAU向けに最適化。その他シンボルでは計算がずれる可能性があります。
Uses request.security lookahead; in replay/backtests it may appear to repaint.
Lines cannot be dragged; adjust via pips/inputs.
Optimized for FX and XAU; other symbols may differ.
Pine Script® Indikator
Trading Levels (POC + Daily H/L + Psychological Levels)📊 TRADING LEVELS - Complete Support & Resistance Toolkit
This indicator combines three essential trading tools into one powerful overlay:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 VOLUME PROFILE POC (Point of Control)
• Shows the price level with the highest traded volume for each day
• Uses 1-minute data for accurate volume distribution calculation
• Configurable number of days (1-20)
• Adjustable row count (like TradingView's Session Volume Profile)
• Optional zone boxes around POC levels
• Customizable colors, line styles, and opacity
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📅 DAILY HIGH/LOW (D1)
• Displays previous day's high and low levels
• Support multiple days (1-10)
• Separate colors for highs and lows
• Perfect for identifying key support/resistance zones
• Works on any timeframe
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 PSYCHOLOGICAL LEVELS
• Horizontal lines at round number intervals
• Great for indices (every 1, 5, or 10 points)
• Works for forex (0.01, 0.001 intervals)
• Customizable zone rectangles with adjustable opacity
• Maximum levels above/below current price
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ FEATURES
✓ All elements fully customizable (colors, widths, styles)
✓ Toggle each component on/off independently
✓ Extend lines across the chart or limit to visible area
✓ Date labels for easy identification
✓ Info table showing current settings
✓ Clean, non-cluttered display
✓ Works on all instruments and timeframes
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 USE CASES
• Day traders: Use POC and Daily H/L for intraday S/R
• Swing traders: Combine multiple days of levels
• Index traders: Psychological levels at round numbers
• Forex traders: Key price levels with small intervals
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 SETTINGS GUIDE
• POC Settings: Control volume profile calculation and display
• Daily High/Low: Configure previous day levels
• Psychological Levels: Set interval and zone parameters
• Display: Global label and table settings
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Note: POC calculation uses request.security_lower_tf() to fetch
1-minute data for accuracy. Best results on timeframes ≥ 1 minute.
Pine Script® Indikator
[blackcat] L2 Trade with Storm█ OVERVIEW
This indicator identifies trend reversals and short-term trading opportunities by combining pattern recognition with Bollinger Band analysis. It visualizes uptrends and downtrends using candlestick coloring while generating filtered buy/sell signals based on volatility expansion and trend strength.
█ CONCEPTS
This indicator utilizes a multi-layered approach to identify high-probability reversal points:
Key principles:
• Pattern Recognition : Detects consecutive price movements to identify sustained uptrends and downtrends, including pullback and bounce patterns within each trend phase
• Moving Average Analysis : Uses a weighted Morning Star Line and Lead Line (26-bar SMA) to determine overall trend direction and momentum
• Volatility Filtering : Incorporates Bollinger Band Width analysis to filter out sideways consolidation periods and focus on trending markets
• Multi-Condition Signal Generation : Combines pattern detection, volatility expansion, and trend slope analysis to generate reliable trade signals
█ HOW TO USE
1 — Add the indicator to your chart from the Indicators menu
2 — Observe the candlestick coloring: green candles indicate uptrend phases, red candles indicate downtrend phases
3 — Look for buy signals (green arrows) and sell signals (red arrows) that appear after trend strength filtering
4 — Use the Bollinger Band limit lines (yellow) as dynamic support/resistance references
Signal Interpretation
• Buy Signal (↑) : Appears when a downtrend reverses to uptrend, volatility is expanding, and the Lead Line is rising
• Sell Signal (↓) : Appears when an uptrend reverses to downtrend, volatility is expanding, and the Lead Line is falling
• B Label : Marks raw uptrend reversal points (before filtering)
• S Label : Marks raw downtrend reversal points (before filtering)
█ FEATURES
Visual Elements
• Trend Candlesticks : Green candles for uptrend phases, red candles for downtrend phases
• Reversal Candlesticks : Lime candles for bullish reversals, fuchsia candles for bearish reversals
• Lead Line : Pink when rising, green when falling - indicates trend direction
• Bollinger Band Limits : Yellow lines showing ±2 standard deviation boundaries
• Signal Labels : Green arrows for buy signals, red arrows for sell signals
Trend Strength Filter Module
The indicator includes an advanced filtering system (V2.0) that:
• Measures Bollinger Band Width to detect volatility expansion
• Analyzes Lead Line slope to confirm trend direction strength
• Filters out signals during sideways consolidation periods
• Requires price to deviate from the middle band for valid signals
█ RECOMMENDED SETTINGS
• Timeframe : Works best on 15-minute to 4-hour timeframes for cryptocurrency trading
• Market Type : Designed for volatile markets like BTC and other cryptocurrencies
• Confirmation : Consider using additional indicators for confirmation before entering trades
█ LIMITATIONS
• Signals may lag due to the pattern recognition requiring multiple bars to confirm trends
• False signals can still occur during choppy market conditions despite the filtering system
• Not suitable for very low timeframes (below 5 minutes) due to noise
• Performance may vary across different asset classes and market conditions
• Does not include built-in risk management or position sizing
█ NOTES
• This indicator is designed for educational purposes and should not be used as the sole basis for trading decisions
• The pattern detection system tracks up to 10 fluctuation patterns within each trend phase
• Original "B" (Buy) and "S" (Sell) labels show raw reversal points, while arrow signals show filtered signals
• The Morning Star Line uses a 20-period weighted moving average with declining weights
• Backtesting and paper trading are strongly recommended before live trading
═════════════════════════════════════════════════════════════════════════
DISCLAIMER
Past performance does not guarantee future results.
For educational purposes only.
Always backtest before live trading.
Never risk more than you can afford to lose.
Pine Script® Indikator
Opening Range High / Low (NY)📌 Opening Range High / Low (New York Session)
This indicator plots the Opening Range High and Low for the New York cash session, calculated from the first N minutes after the 9:30 AM NY open.
The opening range is computed using true 1-minute data, then projected cleanly onto any timeframe (5m, 15m, 1H, etc.) without stepping, repainting, or sloping lines.
🔧 How it works
-The opening range window starts at 09:30 New York time
-The range lasts for a configurable number of minutes (default: 10 minutes)
-High and Low are calculated from 1-minute candles only
-Once the opening range window completes, the levels are locked and remain flat for the rest of the NY trading day
-Levels reset automatically at the start of each new NY day
✅ Key Features
✔ Accurate NY session timing (DST-safe)
✔ Uses 1-minute data for precise range calculation
✔ Works correctly on higher timeframes
✔ No boxes, midlines, or breakout signals — levels only
✔ No repainting after the range is finalized
✔ Clean, lightweight, and automation-friendly
🧠 Common Uses
-Opening Range Breakout (ORB) strategies
-Support / resistance reference levels
-Intraday bias and directional filtering
-Confluence with VWAP, FVGs, or market structure
⚠️ Notes
On higher timeframes (e.g. 15m, 1H), the opening range will appear once the bar starting at or after the range end time is reached. This is a TradingView limitation and does not affect accuracy.
Designed for US stocks and ETFs with a 9:30 AM NY cash open.
📈 Recommended Settings
Timeframe: 5m or lower for best visual alignment
Default OR window: 10 minutes (commonly used in ORB trading)
Pine Script® Indikator
SPX Specter v5.1 - Institutional Confluence EngineBuilt for intraday traders who want clean, actionable signals without the noise. Specter combines VWAP structure, multi-timeframe trend analysis, and quality-gated signals into one overlay — no separate panes, no
clutter.
What it does:
Specter watches for two high-probability setups during the morning session when SPY has the most edge, and marks exact entries with stop-loss and take-profit levels drawn on chart.
Signals:
- Breakout (ORB) — First clean break of the 15-minute opening range. One entry per day, no whipsaws. Requires volume confirmation.
- Pullback (PB) — Trend pullback to EMA 20 or VWAP with breakout confirmation. Uses a Setup → Arm → Confirm chain so you only enter after the bounce is validated.
Every signal must pass binary quality gates before firing:
- ADX trend strength
- EMA 20/50 spacing (no bunched-EMA fakes)
- Relative volume (institutional participation)
- VWAP alignment (longs above, shorts below)
- Multi-timeframe trend (15m + 1H + 4H weighted)
- VIX filter (suppresses signals when VIX > 30)
Key Levels on Chart:
- VWAP with ±1σ and ±2σ bands
- EMA 20 / 50 (200 optional)
- 15-minute Opening Range box
- Overnight (Globex) High / Low
- Previous Day High / Low / Close
- Globex Trap labels (sweep + reverse at overnight levels)
Dashboard:
Compact panel showing session window, market regime (Uptrend / Choppy / Wild), trend strength, volume, higher-timeframe bias, VIX status, nearest key level, and active signal — all in plain English.
Anti-Overtrade:
- Max signals per day cap
- Cooldown between signals
- Pullback setups expire after 20 minutes
- Breakout locks after first entry
Built for: SPY, SPX, ES, MES on 2-minute to 15-minute charts. Parameters are pre-tuned from one year of backtesting on SPY 2m.
Works best: Morning session (9:30 AM – 12:00 PM ET) where intraday edge is strongest.
Pine Script® Indikator
The Strat, Supply & Demand, FVG, TFC✅ Full Strat pattern engine (all major patterns)
✅ 3-bar post-pattern entry window
✅ ≥3 timeframe continuity (1m, 3m, 5m, 15m, 30m)
✅ Auto Supply & Demand (infinite extension until filled)
✅ 5m / 15m / 30m Fair Value Gaps (infinite extension until filled)
✅ Entry ONLY when price enters FVG or S/D
✅ CALL / PUT labels
Primary logic: runs on 15-minute chart (works on others too, but designed for 15m Strat)
• Strat patterns: All common Strat sequences
• Entry window: within 3 bars after a Strat trigger
• Entry only if price enters: a matching FVG (5m/15m/30m) OR a matching Supply/Demand zone
• Continuity: at least 3 of 5 TFV (1m, 3m, 5m, 15m, 30m) must match direction (2U for long / 2D for short)
• Displays: shaded zones + shaded FVGs (extend right until filled), CALL/PUT labels + arrows
Pine Script® Indikator
MACD Divergence Detector (with Golden/Death Cross)█ OVERVIEW
This indicator combines the classic MACD with automatic divergence detection and golden/death cross signals, giving traders a comprehensive momentum analysis tool in a single overlay.
█ FEATURES
• Standard MACD (12/26/9) with fully customizable parameters
• Color-coded histogram: distinguishes between growing and fading momentum in both bullish and bearish phases
• Automatic Regular Bullish Divergence detection (labeled "底" — Bottom)
• Automatic Regular Bearish Divergence detection (labeled "顶" — Top)
• Golden Cross / Death Cross markers with configurable lookback range
• All detection ranges are adjustable to suit different timeframes and trading styles
█ HOW IT WORKS
Divergence Detection:
The indicator identifies pivot highs and pivot lows on the MACD line, then compares them with price action. When price makes a lower low but MACD makes a higher low, a bullish divergence is flagged. When price makes a higher high but MACD makes a lower high, a bearish divergence is flagged.
Cross Signals:
Golden crosses (MACD crossing above signal) and death crosses (MACD crossing below signal) are marked with green and red dots respectively, filtered by a user-defined range to avoid redundant signals.
█ SETTINGS
— MACD Fast Length (default: 12)
— MACD Slow Length (default: 26)
— Signal Length (default: 9)
— Pivot Lookback Left/Right (default: 5/5)
— Divergence Range (default: 5–60 bars)
— Cross Range (default: 5–60 bars)
— Fully customizable colors for MACD line, signal line, and histogram
█ USAGE TIPS
• Works on all timeframes; higher timeframes (4H, Daily) tend to produce more reliable divergence signals
• Combine with support/resistance levels or volume analysis for confirmation
• Adjust the lookback range to filter noise on lower timeframes
• Divergence signals appear with a slight delay (equal to the right pivot lookback) for confirmation accuracy
Pine Script® Indikator
Shadow Corp - Composite VP## Shadow Corp™ - Composite Volume Profile
A composite volume profile that aggregates activity across a configurable lookback period (7 / 30 / 90 days) aligned to the 6:00 PM ET session open. The profile renders in the right margin of the chart — spine on the far right, volume rows extending left — so it never overlaps your price action. Position and width are fixed via bar offset inputs, completely independent of scroll or zoom.
Supports two display modes: a filled outline contour (up to 500 rows of resolution) with a Value Area overlay, or individual shaded rows with brightness mapped to relative volume. Pulls 1-minute lower timeframe data for high-precision volume distribution when enabled.
POC, VAH, and VAL levels extend horizontally from the lookback start through the profile. All colors, widths, styles, and row settings are fully configurable.
*Shadow Corp™ by BlackRabbitFX*
Pine Script® Indikator
LuxAlgo - L1 Proximal Filter [MTF & Alerts] Maxxed EditionLuxAlgo - L1 Proximal Filter Maxxed Edition.
What's New & Improved. This is the Maxxed Version of the original LuxAlgo L1 Proximal Filter — cleaner, smarter, and built for real trading/automation. Core Improvements Multi-Timeframe (MTF) Confirmation: Entries only trigger when the lower timeframe (chart TF) and higher timeframe are fully aligned.
Two ways to get an entry: LTF leads the flip and HTF is already in that direction (immediate high-probability entry).
HTF finally flips to match an existing LTF trend (strong confirmation/catch-up entry).
This filters out weak/counter-trend signals — only trades with the higher-timeframe bias.
Smart Close Signals:When HTF confirmation is enabled and the LTF flips against the current HTF trend (divergence), a close signal is issued immediately.
Example: You're long because both TFs were bullish → LTF flips bearish while HTF still bullish → "Close Long" fires. This protects profits and avoids riding against the higher trend — early exit on weakness.
Visual Clarity:Clean arrow labels (↑/↓) for entries.
Solid circles for closes.
Thin lines on both LTF and HTF filters.
Subtle shaded fill between price and filter.
Fully customizable background trend color (with transparency slider).
Automation-Ready Alerts: Four clean, selectable alert conditions: "Entry Long", "Entry Short", "Close Long", "Close Short".
Perfect for webhooks, bots, or notifications — set separate alerts or combine as needed.
Messages are clear and include context.
This edition turns the original smooth filter into a complete trend-following system: enter only on alignment, exit on divergence.
All credit to @LuxAlgo and original description below:
The Proximal Range Filter indicator provides a robust range/noise-filtering solution that utilizes an L1 soft-thresholding approach to determine market trends while minimizing lag and erratic price movements.
🔶 USAGE
The indicator is primarily used to identify the current trend direction and significant price shifts while ignoring minor market noise. It appears as a colored line on the price chart, transitioning between bullish and bearish states.
🔹 Trend Identification
Users can determine the current market sentiment by looking at the color of the filter line and the associated gradient fill:
A green line and fill indicate a bullish trend, suggesting that price is consistently overcoming the upper noise threshold.
A red line and fill indicate a bearish trend, suggesting that price is consistently breaking below the lower noise threshold.
🔹 Trend Switches
The indicator plots "Trend Switch Dots" at the specific point where a trend reversal is confirmed. These dots appear at the previous filter level to highlight the origin of the new trend direction. This visual cue helps traders identify the exact moment the filter "stepped" in a new direction.
🔹 Responsiveness and Volatility
By adjusting the inputs, traders can tailor the filter to different trading styles:
For high-volatility assets (like Crypto), increasing the ATR Multiplier can help filter out "fakeouts" that occur during consolidation.
In trending markets, a higher Adaptation Rate (μ) allows the filter to track price changes more aggressively once the noise threshold is exceeded, reducing lag.
A lower ATR Multiplier combined with a lower Adaptation Rate creates a more "stepped" filter, useful for identifying major support/resistance levels created by the filter's flat periods.
🔶 DETAILS
The core of this indicator is the L1 Proximal Filter logic. Unlike standard moving averages that react to every price tick, this filter uses a "Soft-Thresholding" mechanism to isolate meaningful price action from random volatility.
🔹 Calculation Logic
The filter operates through a specific prediction-adaptation cycle:
Noise Threshold: The script calculates a dynamic threshold using a 200-period ATR multiplied by the user-defined setting. This ensures the filter's sensitivity scales automatically with the asset's current volatility.
State Prediction: The algorithm predicts the next state based on the previous filtered value and the current velocity (the rate of change).
Adaptive Blending: The prediction is blended with the new incoming source data using the Adaptation Rate (μ). This creates a temporary "candidate" value for the filter.
Soft-Thresholding: The difference between the candidate value and the previous filter state is evaluated. If the absolute difference is less than the threshold, the velocity is set to zero (the filter remains flat). If it exceeds the threshold, the threshold value is subtracted from the absolute difference to calculate the "meaningful" signal.
This mathematical approach ensures that only price movements strong enough to overcome the statistical noise (the ATR threshold) result in a change to the filter's value.
🔹 Trend Switch Dots
The Trend Switch Dots are plotted with a -1 offset. This is because a trend change is only confirmed once the current bar's filter value moves relative to the previous bar. The dot marks the price level where the "breakout" from the previous noise range occurred.
🔶 SETTINGS
Source: The price data used for calculation (typically the Close price).
ATR Multiplier: Defines the noise threshold. Higher values require larger price movements to change the filter's value, resulting in a smoother output that ignores more "whipsaws."
Adaptation Rate (μ): Controls how fast the internal prediction adapts to price changes. A value of 1.0 reacts most aggressively to new data, while lower values provide more smoothing during the adaptation phase.
Pine Script® Indikator
Johnny Ringo Market Risk DashboardThe Johnny Ringo Market Risk Dashboard attempts to define risk across multiple asset classes. Rather than looking at market price action alone, this dashboard aggregates data from the following to provide a Market Overview:
The Volatility Index (VIX) (aka The "Fear Gauge"): This measures how nervous investors are feeling. High fear usually means seasoned investors are hedging and trouble is coming.
The 10/2 Spread (10Y/2Y) (The "Economic Engine"): This compares Interest rates on 10yr and 2yr Bonds. When bond rates go up, bond prices go down because you get paid more for "locking up" your money for 10 years and the extra risk over time. So, when the 2yr starts paying more Interest (a curve inversion) the market expects a recession.
US Dollar (DXY): This is how strong the US Dollar (USD) is.
-- Strong USD has more buying power outside the US and makes imported goods cheaper for US Citizens to buy and US made products become expensive for people outside the US can lead to lower sales of US products. Then, when the foreign currency gets converted back to USD it then buys less USD so the company actually gets less income for their product.
-- Weak USD has less buying power outside the US and makes imported goods more expensive for US Citizens to buy and US made products become cheaper for people outside the US, leading to increased sales. Then, when the foreign currency gets converted back to USD it buys more USD so the company actually looks like they are making more money.
S&P 500 Equities (SPY): This tracks the 500 biggest of the big boy stocks.
S&P 500 Equal Weight (RSP): This is the same as SPY, except it treats all 500 as equal weight, so the "Big Boys" don't over influence.
Small Caps (IWM): This looks at smaller businesses and they are a good way to monitor the economy because, if they are struggling, then it’s likely the whole economy is slowing down.
This dashboard uses two simple math tools to see if the current data is "normal" or "extreme"
1. The Trend Filter: This compares each instrument to its 20-day average and determines whether the trend is up or down.
2. The Ranking System: This compares each instrument to its 90-day history and determines whether the level is unusually high or low.
The user enters (in settings) their time to retirement, time to first withdrawal and time to RMD. This is because, from the two very same people below ... the first person can be more of an accumulator, while the second person is more of a protector with a different approach.:
-- 60yrs old, 5 years from retirement, withdrawal age 70, RMD 70
-- 60yrs old, 5 years from retirement, withdrawal age 65, RMD 70
Based on their individual situations the Dashboard tracks the market and attempts to determine and alert each person to their current Risk Level using a traditional Traffic Light color system. The Dashboard then alerts the user to what it thinks is their best approach to the market, based on their profile, as one of the following:
Aggressive: The market is clear and safe to put your money into stocks to grow your savings as fast as possible.
Lower Risk: The market is still good, so you can keep most of your money in stocks but start keeping a little bit in "safe" spots.
Balance Out: The market is 50/50, so you should have an equal amount of "Risky" stocks and "Safe" bonds so, if one side grows too much you can move money to the other and stay balanced.
Look to Bonds: The market is getting shaky, so move money into Bonds that pay you back with interest, because they are much safer than stocks during bad times.
Stable Funds: The market is getting dangerous, so move money into the safest possible accounts (like cash or savings) where their value won't drop with the market.
Most Important of all:
THIS DASHBOARD IS AN EDUCATION TOOL TO HELP YOU UNDERSTAND THE MARKET.
THIS DASHBOARD DOES NOT FORECAST THE MARKET OR GIVE FINANCIAL ADVICE.
THIS DASHBOARD SHOULD NOT BE USED TO FORECAST THE MARKET OR GIVE FINANCIAL ADVICE !!!
HAVE FUN ... Ringo
Pine Script® Indikator
Positive20
Momentum Breakout Candles
Description:
This indicator tracks price movements and highlights specific candle patterns based on momentum calculations. It identifies candles where price shows a controlled move above a simple moving average.
How it works:
· Monitors rate of change over a defined period
· Compares closing prices to moving average values
· Detects candles that open lower and close higher with moderate momentum
Features:
· Customizable period length for calculations
· Adjustable colors for highlighted candles
· Optional horizontal reference lines
· Clean visual display without clutter
Settings:
· Period Length: Number of bars for momentum calculation
· Candle Color: Choose highlight color for specific patterns
· Line Settings: Toggle and customize reference lines
Usage:
Suitable for traders who prefer to observe price behavior relative to moving averages. Works best when combined with other technical analysis tools.
Pine Script® Indikator
Clean Session Liquidity Levels (Anchored + Removable Labels)This indicator automatically plots key intraday liquidity levels used in ICT-style trading models.
It marks:
• Previous Day High (PDH) and Previous Day Low (PDL)
• Asia Session High and Low (6:00pm–12:00am NY time)
• London Session High and Low (2:00am–5:00am NY time)
All levels are:
• Anchored to the exact candle wick that formed the high/low
• Displayed with thin, muted lines to keep charts clean
• Extended to the right for real-time liquidity targeting
• Optionally labeled on the far right (can be turned off)
Designed for traders using liquidity sweeps, kill zones, and OTE execution during the New York session.
Minimal. Clean. No clutter — just the levels that matter.
Pine Script® Indikator
Session Liquidity LevelsThis indicator automatically plots key ICT-style liquidity levels for intraday trading on ES, NQ, and other futures.
It marks:
• Previous Day High (PDH) and Previous Day Low (PDL)
• Asia Session High and Low (6pm–12am NY time)
• London Session High and Low (2am–5am NY time)
Each level is displayed with a thin, muted-colored line and a simple label (PDH, PDL, ASIA H/L, LON H/L) to keep your chart clean and uncluttered.
Designed for traders using liquidity sweeps, kill zones, and OTE models during the New York session.
No shading. No noise. Just the levels that matter.
Pine Script® Indikator
Average of MTF RSI by Pranojit DeyYou will get average of MTF RSI which will help you to understand momentum and with proper input it will help you in entry and exit as well....
Pine Script® Indikator
Dashboard FX Multi-Broker jorgechutofxInstitutional-style dashboard that displays the real-time direction of multiple Forex pairs and metals using a fast and slow EMA crossover on a configurable timeframe.
Each asset is color-coded (green bullish, red bearish, gray neutral) in a clean two-column layout for fast and professional market analysis.
Pine Script® Indikator
Buy Sell Signal - msrinivIndicator to say Buy and Sell signal based on EMA and with TP1, TP2 concepts
Pine Script® Indikator






















