CDP - Counter-Directional-Pivot🎯 CDP - Counter-Directional-Pivot
📊 Overview
The Counter-Directional-Pivot (CDP) indicator calculates five critical price levels based on the previous day's OHLC data, specifically designed for multi-timeframe analysis. Unlike standard pivot points, CDP levels are calculated using a unique formula that identifies potential reversal zones where price action often changes direction.
⚡ What Makes This Script Original
This implementation solves several technical challenges that existing pivot indicators face:
🔄 Multi-Timeframe Consistency: Values remain identical across all timeframes (1m, 5m, 1h, daily) - a common problem with many pivot implementations
🔒 Intraday Stability: Uses advanced value-locking technology to prevent the "stepping" effect that occurs when pivot lines shift during the trading session
💪 Robust Data Handling: Optimized for both liquid and illiquid stocks with enhanced data synchronization
🧮 CDP Calculation Formula
The indicator calculates five key levels using the previous day's High (H), Low (L), and Close (C):
CDP = (H + L + C) ÷ 3 (Central Decision Point)
AH = 2×CDP + H – 2×L (Anchor High - Strong Resistance)
NH = 2×CDP – L (Near High - Moderate Resistance)
AL = 2×CDP – 2×H + L (Anchor Low - Strong Support)
NL = 2×CDP – H (Near Low - Moderate Support)
✨ Key Features
🎨 Visual Elements
📈 Five Distinct Price Levels: Each with customizable colors and line styles
🏷️ Smart Label System: Shows exact price values for each level
📋 Optional Value Table: Displays all levels in an organized table format
🎯 Clean Chart Display: Minimal visual clutter while maximizing information
⚙️ Technical Advantages
🔐 Session-Locked Values: Prices are locked at market open, preventing intraday shifts
🔄 Multi-Timeframe Sync: Perfect consistency between daily and intraday charts
✅ Data Validation: Built-in checks ensure reliable calculations
🚀 Performance Optimized: Efficient code structure for fast loading
💼 Trading Applications
🔄 Reversal Zones: AH and AL often act as strong turning points
💥 Breakout Confirmation: Price movement beyond these levels signals trend continuation
🛡️ Risk Management: Use levels for stop-loss and take-profit placement
🏗️ Market Structure: Understand daily ranges and potential price targets
📚 How to Use
🚀 Basic Setup
Add the indicator to your chart (works on any timeframe)
Customize colors for easy identification of support/resistance zones
Enable the value table for quick reference of exact price levels
📈 Trading Strategy Examples
🟢 Long Bias: Look for bounces at NL or AL levels
🔴 Short Bias: Watch for rejections at NH or AH levels
💥 Breakout Trading: Enter positions when price decisively breaks through anchor levels
↔️ Range Trading: Use CDP as the central reference point for range-bound markets
🎯 Advanced Strategy Combinations
RSI Integration for Enhanced Signals: 📊
📉 Oversold Bounces: Combine RSI below 30 with price touching AL/NL levels for high-probability long entries
📈 Overbought Rejections: Look for RSI above 70 with price rejecting AH/NH levels for short opportunities
🔍 Divergence Confirmation: When RSI shows bullish divergence at support levels (AL/NL) or bearish divergence at resistance levels (AH/NH), it often signals stronger reversal potential
⚡ Momentum Confluence: RSI crossing 50 while price breaks through CDP can confirm trend direction changes
⚙️ Configuration Options
🎨 Line Customization: Adjust width, style (solid/dashed/dotted), and colors
👁️ Display Preferences: Toggle individual levels, labels, and value table
📍 Table Position: Place the value table anywhere on your chart
🔔 Alert System: Get notifications when price crosses key levels
🔧 Technical Implementation Details
🎯 Data Reliability
The script uses request.security() with lookahead settings to ensure historical accuracy while maintaining real-time functionality. The value-locking mechanism prevents the common issue where pivot levels shift during the trading day.
🔄 Multi-Timeframe Logic
⏰ Intraday Charts: Display previous day's calculated levels as stable horizontal lines
📅 Daily Charts: Show current day's levels based on yesterday's OHLC
🔍 Consistency Check: All timeframes reference the same source data
🤔 Why CDP vs Standard Pivots?
Counter-Directional Pivots often provide more accurate reversal points than traditional pivot calculations because they incorporate the relationship between high/low ranges and closing prices more effectively. The formula creates levels that better reflect market psychology and institutional trading behaviors.
💡 Best Practices
💧 Use on liquid markets for most reliable results
📊 RSI Combination: Add RSI indicator for overbought/oversold confirmation and divergence analysis
📊 Combine with volume analysis for confirmation
🔍 Consider multiple timeframe analysis (daily levels on hourly charts)
📝 Test thoroughly in paper trading before live implementation
💪 Example Market Applications
NASDAQ:AAPL AAPL - Tech stock breakouts through AH levels
$NYSE:SPY SPY - Index trading with CDP range analysis
NASDAQ:TSLA TSLA - Volatile stock reversals at AL/NL levels
⚠️ This indicator is designed for educational and analytical purposes. Always combine with proper risk management and additional technical analysis tools.
Indicadores e estratégias
BackToBasic XEMAบทความอธิบายสคริปต์ “BackToBasic XEMA”
ภาษาไทย
แนวคิดโดยย่อ
BackToBasic XEMA เกิดจากแนวคิด “กลับสู่พื้นฐานแต่เพิ่มประโยชน์” โดยใช้สัญญาณ EMA Crossover เป็นแกนหลัก แล้วต่อยอดด้วยการแสดงกำไร/ขาดทุนจริง (PnL) และเส้น Trailing Stop แนวนอน เพื่อช่วยวัดประสิทธิภาพและป้องกันการคืนกำไร
กลไกการทำงาน
Dual EMA – คำนวณ EMA สองเส้น (Fast และ Slow)
Crossover Signal – ออกสัญญาณ Buy เมื่อ Fast ตัดขึ้น Slow และ Sell เมื่อ Fast ตัดลง Slow
PnL Lines & Labels – เมื่อทิศทางกลับตัว ระบบจะคำนวณส่วนต่างราคา × จำนวน Contracts แล้ววาดเส้นเชื่อมจุดเข้า–ออก พร้อมป้ายกำไร/ขาดทุนสีเขียว / แดง
Horizontal Trailing Stop – เมื่อราคาวิ่งไปทางกำไรเกิน trailStartPips ระบบจะสร้างเส้น Trail ห่างจาก EMA อ้างอิงด้วย trailBufferPips และเลื่อนเฉพาะในทางที่ล็อกกำไร
การตั้งค่าใช้งาน (สรุปเป็นคำอธิบาย)
ปรับค่า Fast/Slow EMA ให้สัมพันธ์กับกรอบเวลาและความผันผวนของสินทรัพย์
กรอกจำนวน Contracts ตามขนาดโพซิชันจริงเพื่อให้ค่า PnL สมจริง
ค่า Trail เริ่มต้นเหมาะกับกราฟ 1 ชั่วโมงขึ้นไป หากเทรดสั้นอาจลด trailStartPips และ trailBufferPips
แนะนำใช้กับสินทรัพย์สภาพคล่องสูง (คู่เงินหลัก, XAUUSD, ดัชนี) และทดสอบบนบัญชีเดโมก่อนเสมอ
จุดเด่นเมื่อเทียบกับ EMA Crossover พื้นฐาน
เห็นผลกำไร/ขาดทุนของแต่ละการเทรดทันที ไม่ต้องคำนวณย้อนหลัง
มีเส้น Trailing Stop แนวนอนช่วยล็อกกำไรและจำกัดขาดทุน
เปิด–ปิดฟังก์ชัน PnL และ Trailing ได้จากหน้าตั้งค่า ไม่ยุ่งยาก
ข้อจำกัดและคำเตือน
ไม่เหมาะกับกราฟแบบ Heikin Ashi หรือ Renko เพราะอาจเกิด repaint
PnL คำนวณจากส่วนต่างราคาเท่านั้น ไม่รวมค่าคอมมิชชันหรือสลิปเพจ
ผลลัพธ์ในอดีตไม่รับประกันอนาคต ควรจัดการความเสี่ยงและทดลองก่อนใช้งานจริง
ลิขสิทธิ์
สคริปต์นี้พัฒนาใหม่ทั้งหมดโดย , © 2025
English
Concept
BackToBasic XEMA extends a classic EMA-crossover setup with real-time profit-and-loss tracking and a horizontal trailing-stop line, giving traders both clear entry/exit signals and built-in risk management.
How It Works
Dual EMAs – Calculates Fast and Slow EMAs.
Crossover Signals – Generates a Buy when the Fast EMA crosses above the Slow EMA, and a Sell when it crosses below.
PnL Lines & Labels – On every direction flip the script computes price difference × contracts, draws a line from entry to exit, and labels the result in green (profit) or red (loss).
Horizontal Trailing Stop – After price moves in profit by at least trailStartPips, a trail line is placed trailBufferPips away from the chosen EMA and moves only in the trade’s favour.
Practical Settings (plain-language guide)
Adjust Fast/Slow EMA lengths to suit your timeframe and the instrument’s volatility.
Enter your position size in Contracts so PnL lines reflect real cash values.
For shorter timeframes, lower trailStartPips and trailBufferPips; for swing trading, larger values work better.
Best used on 1-hour-and-above charts of liquid symbols (major FX pairs, gold, indices). Forward-test on demo first.
Advantages over a Basic EMA Cross
Instant visual feedback on each trade’s profit or loss.
Built-in horizontal trailing stop to lock in gains and limit downside.
Modular design – PnL and trailing features can be toggled on or off in the input panel.
Limitations & Disclaimer
Not repaint-safe on non-standard chart types such as Heikin Ashi or Renko.
PnL lines show raw price change only; commissions and slippage are not included.
Past performance does not guarantee future results – trade responsibly and test thoroughly.
License
Original Pine Script by , © 2025
Zero-Lag Linear Regression Candles🚀 Zero-Lag Linear Regression Candles
📊 What It Does
The Zero-Lag Linear Regression Candles change traditional candlestick analysis by creating smoothed, predictive candles that eliminate the lag inherent in standard linear regression methods. Instead of waiting for price confirmation, this indicator anticipates market movements using advanced mathematical modeling.
🎯 Key Features
Tri-Layer Super Responsive System
Layer 1: Weighted Linear Regression with exponential decay weighting
Layer 2: Zero-lag correction algorithm that projects future price direction
Layer 3: Adaptive intelligence that adjusts to current market volatility and momentum
Smart Market Adaptation
Automatically adjusts sensitivity based on market volatility (ATR)
Responds to momentum changes in real-time
Filters out market noise while preserving important signals
Customizable
Regression Length: Fine-tune responsiveness (2-50 periods)
Weight Decay Factor: Control how much emphasis to place on recent vs. historical data
Zero-Lag Periods: Adjust the aggressiveness of lag elimination
Adaptive Factor: Set market adaptation strength
🛠️ Usage Instructions
1. Add to Chart: Apply the indicator to any timeframe
2. Configure Settings: Adjust regression length and sensitivity to match your trading style
3. Interpret Signals:
- Green Candles: Bullish linear regression trend
- Red Candles: Bearish linear regression trend
Created by B3AR_Trades
Market Strength Buy Sell Indicator [TradeDots]A specialized tool designed to assist traders in evaluating market conditions through a multifaceted analysis of relative performance, beta-adjusted returns, momentum, and volume—allowing you to identify optimal points for long or short trades. By integrating multiple benchmarks (default S&P 500) and percentile-based thresholds, the script provides clear, actionable insights suitable for both day trading and higher-level timeframe assessments.
📝 HOW IT WORKS
1. Multi-Factor Composite Score
Relative Performance (RS Ratio): Compares your asset’s performance to a chosen benchmark (default: SPY). Values above 1.0 indicate outperformance, while below 1.0 suggest underperformance.
Beta-Adjusted Returns: Checks the ticker’s excess movement relative to expected market-related moves. This helps distinguish pure “alpha” from broad market effects.
Volume & Correlation: Volume spikes often confirm the momentum behind a move, while correlation measures how closely the asset tracks or diverges from its benchmark.
These components merge into a 0–100 composite score. Scores above 50 frequently imply bullish strength; drops below 50 often point to underperformance—potentially flagging short opportunities.
2. Intraday & Day Trading Focus
Monitoring Below 50: During the trading day, the script calculates live data against the benchmark, offering an intraday-sensitive composite score. A dip under 50 may indicate a short bias for that session, especially when accompanied by high volume or momentum shifts.
3. Higher Timeframe Monitoring
Daily Strategies: On daily or weekly charts, the script reveals overall relative strength or weakness compared to the S&P 500. This higher-level perspective helps form broader trading biases—crucial for swing or position trades spanning multiple days.
Long/Short Thresholds: Persistent readings above 50 on a daily chart typically reinforce a long bias, while consistent dips below 50 can sustain a short or cautious outlook.
4. Pair Trading Applications
Custom Benchmark Selection: By setting a specific ticker pair as your benchmark instead of the default S&P 500, you can identify spread trading opportunities between two correlated assets. This allows you to go long the outperforming asset while shorting the underperforming one when the spread reaches extreme levels.
4. Color-Coded Signals & Alerts
Visual Zones (25–75): Color-coded bands highlight strong outperformance (above 75) or pronounced underperformance (below 25).
Alerts on Strong Shifts: Automatic alerts can notify you of sudden entries or exits from bullish or bearish zones, so you can potentially act on new market information without delay.
⚙️ HOW TO USE
1. Select Your Timeframe: For scalping or day trading, lower intervals (e.g., 5-minute) offer immediate data resets at the session’s start. For multi-day insight, daily or weekly charts reveal broader performance trends.
2. Watch Key Levels Around 50: Intraday dips under 50 may be a cue to consider short trades, while bounces above 50 can confirm renewed strength.
3. Assess Benchmark Relationships: Compare your asset’s score and signals to the broader market. A stock falling below its pair’s relative strength line might lag overall market momentum.
4. Combine Tools & Validate: This script excels when integrated with other technical analysis methods (e.g., support/resistance, chart patterns) and fundamental factors for a holistic market view.
❗ LIMITATIONS
No Direction Guarantee: The indicator identifies relative strength but does not guarantee directional price moves.
Delayed Updates: Since calculations update after each bar close, sudden intrabar changes may not immediately reflect.
Market-Specific Behaviors: Some assets or unusual market conditions may deviate from typical benchmarks, weakening signal reliability.
Past ≠ Future: High or low relative strength in the past may not predict continued performance.
RISK DISCLAIMER
All forms of trading and investing involve risk, including the possible loss of principal. This indicator analyzes relative performance but cannot assure profits or eliminate losses. Past performance of any strategy does not guarantee future results. Always combine analysis with proper risk management and your broader trading plan. Consult a licensed financial advisor if you are unsure of your individual risk tolerance or investment objectives.
Cumulative Volume Delta📊 Indicator Name:
Cumulative Volume Delta (CVD) + Candle Divergence (Color DIfference)
📌 Purpose:
This indicator visualizes volume delta over a user-defined time anchor and highlights divergence between volume-based momentum and price movement. It's especially useful for identifying potential reversals, fakeouts, or hidden buying/selling pressure.
🔍 How It Works:
1. Volume Delta Calculation (CVD Candles):
The script uses ta.requestVolumeDelta() to approximate volume delta data over a chosen anchor period (e.g., 1D).
Volume delta = Buy Volume – Sell Volume
Each candle on the CVD chart represents changes in cumulative volume delta, with OHLC-style values:
openVolume: cumulative delta at the start of the bar
lastVolume: cumulative delta at the end of the bar
maxVolume, minVolume: intra-bar high and low
2. Visual Representation (CVD Candles):
Green/Teal candle: Delta is increasing (buying pressure dominates)
Red candle: Delta is decreasing (selling pressure dominates)
3. Divergence Detection:
The script compares the direction of the price candle with the direction of the CVD candle:
Price Up + CVD Down → Possible hidden selling (bearish divergence)
Price Down + CVD Up → Possible hidden buying (bullish divergence)
4. Color Highlighting:
Orange candle on the CVD chart signals divergence between price and volume delta.
This color override helps you quickly spot potential discrepancies between price movement and underlying volume pressure.
5. Alerting:
An alertcondition is added so you can receive a notification whenever a divergence occurs.
⚙️ User Inputs:
Anchor period (e.g., 1D): Timeframe over which the CVD is anchored.
Use custom timeframe: Allows you to override and define the internal lower timeframe used for volume estimation (e.g., 1-min).
📈 How to Use It:
✅ Bullish Divergence (Price down, CVD up)
This may indicate:
Buyers absorbing selling pressure.
A potential reversal to the upside.
Hidden accumulation.
🚫 Bearish Divergence (Price up, CVD down)
This may indicate:
Sellers stepping in despite upward price.
A potential reversal to the downside.
Hidden distribution.
🧠 Trading Insights:
CVD is often used by order flow traders or those analyzing market depth and volume imbalances.
This version lets you visually align price action with underlying volume, improving decision-making.
The divergence signal can be combined with other technical tools like support/resistance, candlestick patterns, or trendlines for confirmation.
Trend Strength Oscillator📌 What Is the Trend Strength Oscillator?
The Trend Strength Oscillator is a visual tool that helps traders understand the overall direction and strength of the market trend. Instead of using multiple indicators separately, this tool combines three trusted methods into one clear, color-coded bar chart. The bars change based on whether the market is strongly trending up, down, or just moving sideways.
Imagine it as a traffic light for trading:
• Green means it’s safe to consider buying (strong uptrend).
• Red means consider selling or avoiding longs (strong downtrend).
• Gray means wait, the market isn’t clearly trending.
🧠 How It Works — The 3 Main Components
1. EMA Slope
The EMA (Exponential Moving Average) tracks the average price but reacts more quickly to changes. If the EMA is rising, it means the market is likely moving upward. If it’s falling, the trend is likely downward.
2. RSI Direction
RSI (Relative Strength Index) measures momentum. This tool compares the RSI to its smoothed average. If the RSI is above its average, momentum is up. If it’s below, momentum is down.
3. ADX Strength
ADX (Average Directional Index) measures how strong a trend is, not the direction. So even if EMA and RSI agree on a trend, the ADX must confirm it’s strong enough to be worth trading.
Only when all three indicators agree do we consider it a strong trend.
🧮 What the Oscillator Shows
The result of combining those components is a number that becomes a colored bar:
• +2 means all three signals are bullish → green bar.
• -2 means all three signals are bearish → red bar.
• Anything else (e.g., mixed signals or weak ADX) → gray bar.
This makes the chart super easy to read at a glance, even for beginners.
📈 How to Use It in Trading
You can use the Trend Strength Oscillator in a few simple ways:
• Entering Trades:
Look for a green bar when you want to buy or go long. Look for a red bar when you want to sell or go short. These bars mean all systems are “go” in the same direction.
• Avoiding Mistakes:
If the bar is gray, it’s a warning that the market is undecided or weak. It’s often better to wait for a clearer signal rather than force a trade.
• Managing Existing Trades:
If you’re in a trade and the bar color shifts back to gray, that can be a clue that the trend is losing strength. You might tighten your stop-loss or take some profit.
🧭 Final Thoughts
This indicator doesn’t give you a trade entry every few minutes. Instead, it helps you stay on the right side of strong moves and avoid choppy or sideways markets. It’s especially helpful for:
• Trend-following traders
• People who want clean, simple visuals
• Beginners who get overwhelmed with too many indicators
Let me know if you'd like to see this paired with another tool like volume or MACD, or if you’d like a chart screenshot to visualize how this looks live.
Intraday Volume by Saurabh Maggoinspired by volume indicator by nitin
Key Features
Dynamic Volume Visualization: Features thicker volume bars with color-coded insights—grey for normal volume (0.5x-1.5x baseline), orange for low volume (<0.5x), blue for Intraday Pocket Pivots (IPP), green for high up volume, and red for high down volume.
Snort Signals: Identifies strong moves with green Bull Snorts (below bars) and red Bear Snorts (above bars), triggered by volume exceeding 2.0x the baseline with significant price action.
Highest/Lowest Volume Markers: Blue squares mark the highest volume bar, and a single orange square marks the first lowest volume bar, aiding trend identification.
Enhanced Table Metrics: A 2x3 table displays Trend Strength (TS, green >100%, red <100%), Buy/Sell Signal (BS, green "Buy", red "Sell", grey "Neutral"), and Net Pressure (NP, green >0%, red <0%), offering a comprehensive view of volume and price pressure, reset daily at 9:15 AM IST.
Fibonacci Optimal Entry Zone [OTE] (Zeiierman)█ Overview
Fibonacci Optimal Entry Zone (Zeiierman) is a high-precision market structure tool designed to help traders identify ideal entry zones during trending markets. Built on the principles of Smart Money Concepts (SMC) and Fibonacci retracements, this indicator highlights key areas where price is most likely to react — specifically within the "Golden Zone" (between the 50% and 61.8% retracement).
It tracks structural pivot shifts (CHoCH) and dynamically adjusts Fibonacci levels based on real-time swing tracking. Whether you're trading breakouts, pullbacks, or optimal entries, this tool brings unparalleled clarity to structure-based strategies.
Ideal for traders who rely on confluence, this indicator visually synchronizes swing highs/lows, market structure shifts, Fibonacci retracement levels, and trend alignment — all without clutter or lag.
⚪ The Structural Assumption
Price moves in waves, but key retracements often lead to continuation or reversal — especially when aligned with structure breaks and trend shifts.
The Optimal Entry Zone captures this behavior by anchoring Fibonacci levels between recent swing extremes. The most powerful area — the Golden Zone — marks where institutional re-entry is likely, providing traders with a sniper-like roadmap to structure-based entries.
█ How It Works
⚪ Structure Tracking Engine
At its core, the indicator detects pivots and classifies trend direction:
Structure Period – Determines the depth of pivots used to detect swing highs/lows.
CHoCH – Break of structure logic identifies where the trend shifts or continues, marked visually on the chart.
Bullish & Bearish Modes – Independently toggle uptrend and downtrend detection and styling.
⚪ Fibonacci Engine
Upon each confirmed structural shift, Fibonacci retracement levels are projected between swing extremes:
Custom Levels – Choose which retracements (0.50, 0.618, etc.) are shown.
Real-Time Adjustments – When "Swing Tracker" is enabled, levels and labels update dynamically as price forms new swings.
Example:
If you disable the Swing Tracker, the Golden Level is calculated using the most recent confirmed swing high and low.
If you enable the Swing Tracker, the Golden Level is calculated from the latest swing high or low, making it more adaptive as the trend evolves in real time.
█ How to Use
⚪ Structure-Based Entry
Wait for CHoCH events and use the resulting Fibonacci projection to identify entry points. Enter trades as price taps into the Golden Zone, especially when confluence forms with swing structure or order blocks.
⚪ Real-Time Reaction Tracking
Enable Swing Tracker to keep the tool live — constantly updating zones as price shifts. This is especially useful for scalpers or intraday traders who rely on fresh swing zones.
█ Settings
Structure Period – Number of bars used to define swing pivots. Larger values = stronger structure.
Swing Tracker – Auto-updates fib levels as new highs/lows form.
Show Previous Levels – Keep older fib zones on chart or reset with each structure shift.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
NonLag MAThe Non-Lag Moving Average (MA) is a technical analysis indicator designed to track price trends with significantly less lag than traditional moving averages like the SMA or EMA.
Its primary purpose is to provide a smoother, more responsive representation of the current price direction. It achieves this by using a complex, adaptive filtering algorithm—often involving trigonometric functions (like the cosine function in the code you provided)—to assign weights to past price data. This sophisticated calculation allows it to stay closer to the price action, aiming to give earlier and more reliable trend signals.
Traders use the Non-Lag MA to:
Identify Trend Direction : The slope and color of the indicator line clearly signal whether the market is in an uptrend (rising) or a downtrend (falling).
Generate Crossover Signals : Like other moving averages, a faster Non-Lag MA crossing above a slower one can indicate a buy signal, while a cross below can signal a sell.
---
Just another publicly available indicator from MT5 translated.
Robby DSS Bressert Colored DotsIntroduction
The Robby DSS Bressert Colored Dots is a technical analysis tool designed to measure momentum and identify potential overbought or oversold conditions in a market. It is a visually enhanced version of the Double Smoothed Stochastic (DSS) indicator, which was developed to be a smoother and more responsive version of the traditional Stochastic Oscillator.
This specific version provides at-a-glance information about momentum shifts through the use of colored dots, making it easy to interpret.
The Core Engine: DSS Bressert
The foundation of this indicator is the Double Smoothed Stochastic, a concept attributed to both William Blau and Walter Bressert, who introduced similar ideas. The goal of the DSS is to filter out the "noise" and false signals common in standard oscillators without introducing significant lag.
It achieves this through a two-step smoothing process:
First Smoothing: A standard Stochastic value is calculated based on the price. This value is then smoothed using an Exponential Moving Average (EMA). This creates a cleaner, less erratic line than the raw stochastic.
Second Smoothing: The indicator then takes this newly smoothed line and performs a second Stochastic calculation on it. This result is then smoothed one final time with another EMA.
This double-application of smoothing results in a very clean oscillator line that reacts quickly to price changes but is less prone to whipsaws.
The Visual Modification: "Robby" Colored Dots
The "Robby DSS Bressert Colored Dots" version takes the powerful DSS calculation and adds a unique visual layer for easier interpretation.
Colored Dots: Instead of plotting a continuous line, the indicator displays a dot for each candle. The color of this dot instantly tells you about the indicator's momentum:
Lime/Green dots appear when the DSS value is rising, indicating bullish or positive momentum.
Red dots appear when the DSS value is falling, indicating bearish or negative momentum.
If the value is unchanged, the dot retains the color of the previous one.
The "Robby" Name: In trading communities like Forex Factory and MQL5, it's common for programmers to modify popular indicators. These enhanced versions are often named after the member who created or popularized them. The "Robby" version specifically refers to this popular colored-dot modification of the DSS Bressert.
How to Interpret and Use It
Traders typically use the Robby DSS Bressert Colored Dots in a few key ways:
Momentum Shifts: The most straightforward signal is the change of dot color. A switch from red to lime can signal that downside momentum is waning and a potential move up is beginning. A switch from lime to red signals the opposite.
Overbought & Oversold Conditions: Like a standard stochastic, the indicator uses levels (typically 80 and 20).
When the dots are above 80, the market is considered overbought. A color change from lime to red in this zone can be a strong signal for a potential reversal down.
When the dots are below 20, the market is considered oversold. A color change from red to lime here can signal a potential reversal up.
Trend Confirmation: In a strong uptrend, traders might ignore red dots and use the appearance of lime dots in the oversold zone (or after a minor pullback) as a signal to join the trend. The opposite is true in a downtrend.
---
This is just an indicator that can found publicly online for mt4, and just translated it to Pinescript.
Chaikin Bull-Power OscillatorThis indicator is given with much love and care to the community to help you in your trading operations.
How to use the "Chaikin-Bull-PW" Indicator
The Chaikin-Bull-PW is an oscillator based on the Accumulation/Distribution (AD) line smoothed by different methods, called here the "Hull Chaikin Oscillator." It compares two smoothed averages of the AD line — a short period and a long period — to indicate the strength and direction of buying and selling pressure in the market.
Adjustable Parameters:
Short Period: Number of bars used to calculate the short smoothed average of the AD line. Shorter periods make the indicator more sensitive.
Long Period: Number of bars used to calculate the long smoothed average of the AD line. Longer periods smooth the indicator more.
Background Offset: Controls the offset of the chart’s background color.
Smoothing Type: Choose the smoothing method for the AD line among HMA, SMA, SMMA, EMA, WMA, and JMA. This affects how the averages are calculated and how the oscillator responds to price.
Indicator Interpretation:
The oscillator is the difference between the short and long smoothed averages of the AD line.
When the oscillator is above zero (green), it indicates increasing buying pressure, suggesting an uptrend.
When the oscillator is below zero (red), it indicates increasing selling pressure, suggesting a downtrend.
The zero line acts as a reference for trend changes.
Usage Suggestions:
Use the oscillator crossing the zero line to identify potential entry or exit points.
Combine with other indicators or chart analysis to confirm signals.
Adjust the periods and smoothing type to fit your asset and timeframe.
A+ Trade CheckList with Comprehensive Relative StrengthThe indicator designed for traders who need real-time market assessment across multiple timeframes and benchmarks. This comprehensive tool combines traditional technical analysis with sophisticated relative strength measurements to provide a complete market picture in one convenient table display.
The indicator tracks essential trading levels including:
QQQ and SPY trend analysis using exponential moving averages
Previous day and week high/low levels for key support and resistance
Market open levels from the first 5 and 15 minutes of trading (9:30 AM ET)
VWAP positioning for institutional price reference
Short-term EMA positioning for momentum assessment
Advanced Relative Strength Analysis
The standout feature of this indicator is its comprehensive 8-metric relative strength scoring system that compares your current ticker against both QQQ (Nasdaq-100) and SPY (S&P 500) benchmarks.
The 4-Metric Relative Strength System Explained
Metric 1: Relative Strength Ratio (RSR)
Purpose: Measures whether your ticker is outperforming or underperforming relative to its historical relationship with the benchmarks.
How it works:
Calculates the ratio of your ticker's price to QQQ/SPY prices
Compares current ratio to a 20-period moving average of the ratio
Scores +1 if ratio is above average (relative strength), -1 if below (relative weakness)
Trading significance: Identifies when a stock is breaking out of its normal correlation pattern with major indices.
Metric 2: Percentage-Based Relative Performance
Purpose: Compares short-term percentage changes to identify immediate relative momentum.
How it works:
Calculates 5-day percentage change for your ticker and benchmarks
Subtracts benchmark performance from ticker performance
Scores +1 if outperforming by >1%, -1 if underperforming by >1%, 0 for neutral
Trading significance: Captures recent momentum shifts and identifies stocks moving independently of market direction.
Metric 3: Beta-Adjusted Relative Strength (Alpha)
Purpose: Measures risk-adjusted performance by accounting for the ticker's natural volatility relationship with benchmarks.
How it works:
Calculates rolling beta (correlation and variance relationship)
Determines expected returns based on benchmark moves and beta
Measures alpha (excess returns above/below expectations)
Scores based on whether alpha is consistently positive or negative
Trading significance: Identifies stocks generating returns beyond what their risk profile would suggest, indicating fundamental strength or weakness.
Metric 4: Volume-Weighted Relative Strength
Purpose: Incorporates volume analysis to validate price-based relative strength signals.
How it works:
Compares VWAP-based percentage changes between ticker and benchmarks
Applies volume weighting factor based on relative volume strength
Enhances score when high relative volume confirms price movements
Trading significance: Distinguishes between genuine institutional-driven moves and low-volume price action that may not sustain.
Combined Scoring System
The indicator generates 8 individual scores (4 metrics × 2 benchmarks) that combine into a single strength assessment:
Score Interpretation
Strong (4-8 points): Ticker significantly outperforming both benchmarks across multiple methodologies
Moderate Strong (1-3 points): Ticker showing good relative strength with some mixed signals
Neutral (0 points): Balanced performance relative to benchmarks
Moderate Weak (-1 to -3 points): Ticker showing relative weakness with some mixed signals
Weak (-4 to -8 points): Ticker significantly underperforming both benchmarks
Display Format
The indicator shows results as: "Strong (6/8)" indicating the ticker scored 6 out of 8 possible points.
SignalWatcherThis script provides real-time monitoring of multiple technical indicators and generates visual alerts and configurable alarms:
Inputs & Mini-GUI
MACD Settings: Activation, fast, slow and signal line lengths.
RSI Settings: Activation, period length, overbought and oversold thresholds.
ADX Settings: Activation, period length, smoothing and trend strength thresholds.
Volume Settings: Activation, length of the volume MA, factor for detecting volume peaks.
Global Alert: A single composite alert for all signals.
Plot Settings: Activation and deactivation of the plot displays for RSI, MACD (lines) and ADX. Color and width selection for each line.
Display Table: Activation of the status table.
Calculations
MACD: Generates macdLine and signalLine, detects crossovers (bullish) and crossunders (bearish).
RSI: Calculates rsi_val, compares with rsi_ob and rsi_os to determine overbought/oversold.
ADX: Uses ta.dmi() to determine adx_val and checks against adx_thresh for trend strength.
Volume Spike: Exceptional trading activity detected by moving average (vol_ma) and factor (vol_factor).
Alert conditions
Six individual alertcondition() calls: MACD ↑/↓, RSI Overbought/Oversold, ADX Strong Trend, Volume Spike.
Optional composite alert (enable_global): A single notification when one of the indicator signals strikes.
Visual overlays
Alarm overlay (bottom right): Red table with text lines for currently triggered signals.
Status Table (bottom left): Overview of all indicators with current status (On/Off, Values, Thresholds).
Plots in the chart
RSI, MACD Line & Signal Line, ADX: Are displayed as lines if activated in the GUI; configurable colors & line thicknesses.
Normalized Volume & True RangeThis indicator solves a fundamental challenge that traders face when trying to analyze volume and volatility together on their charts. Traditionally, volume and price volatility exist on completely different scales, making direct comparison nearly impossible. Volume might range from thousands to millions of shares, while volatility percentages typically stay within single digits. This indicator brings both measurements onto a unified scale from 0 to 100 percent, allowing you to see their relationship clearly for the first time.
The core innovation lies in the normalization process, which automatically calculates appropriate scaling factors for both volume and volatility based on their historical statistical properties. Rather than using arbitrary fixed scales that might work for one stock but fail for another, this system adapts to each instrument's unique characteristics. The indicator establishes baseline averages for both measurements and then uses statistical analysis to determine reasonable maximum values, ensuring that extreme outliers don't distort the overall picture.
You can choose from three different volatility calculation methods depending on your analytical preferences. The "Body" option measures the distance between opening and closing prices, focusing on the actual trading range that matters most for price action. The "High/Low" method captures the full daily range including wicks and shadows, giving you a complete picture of intraday volatility. The "Close/Close" approach compares consecutive closing prices, which can be particularly useful for identifying gaps and overnight price movements.
The indicator displays volume as colored columns that match your candlestick colors, making it intuitive to see whether high volume occurred during up moves or down moves. Volatility appears as a gray histogram, providing a clean background reference that doesn't interfere with volume interpretation. Both measurements are clipped at 100 percent, which represents their calculated maximum normal values, so any readings near this level indicate unusually high activity in either volume or volatility.
The baseline reference line shows you what "normal" volume looks like for the current instrument, helping you quickly identify when trading activity is above or below average. Optional moving averages for both volume and volatility are available if you prefer smoothed trend analysis over raw daily values. The entire system updates in real-time as new data arrives, continuously refining its statistical calculations to maintain accuracy as market conditions evolve.
This two-in-one indicator provides a straightforward way to examine how price movements relate to trading volume by presenting both measurements on the same normalized scale, making it easier to spot patterns and relationships that might otherwise remain hidden when analyzing these metrics separately.
Close alertingThis script generates alerts when the current candle CLOSES ABOVE the previous candle's HIGH, or CLOSES BELOW the previous candle's LOW.
✅ Works on ANY timeframe you are viewing (1m, 5m, 15m, 1h, 4h, etc.)
✅ Alerts can be created:
- "Close Above Previous High"
- "Close Below Previous Low"
The script is lightweight and works purely on current chart timeframe. No need to adjust or configure — just add to chart and set Alerts.
Enjoy and safe trading! 🚀
Zigzag Simple [SCL]🟩 OVERVIEW
Draws zigzag lines from pivot Highs to pivot Lows. You can choose between three different ways of calculating pivots:
• True Highs and Lows
• Williams pivots
• Oscillator pivots
🟩 HOW TO USE
This indicator can be used to understand market structure, which is arguably the primary thing you need to be aware of when trading. The zigzag by itself does not display a market structure bias, nor any information about prices of pivots, HH and HL labels, or anything like that. Nevertheless, a simple zigzag is perhaps the easiest and most intuitive way to understand what price is doing.
Choose a pivot style that you like, customise the colours and line style, and enjoy!
🟩 PIVOT TYPES EXPLAINED
True Highs and Lows
This is not an invention of mine (all credit to my humble mentor), but I haven't seen anyone else code them up. A true High is a close below the low of the candle with the highest high. A true Low is a close above the high of a candle with the lowest low. These are solid, price action-based pivots that can sometimes confirm quickly.
Williams pivots
This is how most people calculate pivots. They're simply the highest high for x bars back and x bars forwards. They're the vanilla of pivots IMO: serviceable but not very interesting. They're very convenient to code because there are built-in Pine functions for them: ta.pivothigh and ta.pivotlow . They confirm a predictable number of bars after they happen, which is great for coding but also makes the trader wait for confirmation.
Oscillator pivots
This is a completely different concept, which uses momentum in order to define pivots. For example, when you get a rise in momentum and momentum then drops a configurable amount, it confirms a pivot high, and vice versa for a pivot low. I don't know if anyone else does it –- although some indicators do mark pivots in momentum itself, and plenty do divergences, I wasn't able to find one that specifically marked *pivots in price* because of pivots in momentum 🤷♂️
Anyway, while this approach needs a whole investigation on its own, here we simply plot some pivots in a smoothed RSI. This indicator doesn't plot the actual momentum values -- for a more visual understanding of how this works, refer to the examples in the OscillatorPivots library.
🟩 UNIQUE ADVANTAGES
In contrast to other zigzag indicators available, this one lets you choose between the standard and some more unique methods of generating the zigzags. Additionally, because it's based on libraries, it is relatively easy for programmers to use as a basis for experimentation.
🟩 GEEK STUFF
Although there is considerable practical use for pivot-based zigzags in trading, this script is primarily a demonstration in coding -- specifically the power of libraries!
Most of the script consists of setup, especially defining inputs. The final section sacrifices some readability for conciseness, simply to emphasise how little code you need when the heavy lifting is done by libraries .
The actual calculations and drawing are achieved in just 8 lines.
The equivalent code in the libraries is ~250 lines long.
All libraries used are my own, public and open-source:
• MarketStructure
• DrawZigZag
• OscillatorPivots
Rolling VWAP Channel [LuxAlgo]The Rolling VWAP Channel indicator creates a channel by analyzing a large number of Volume Weighted Average Prices (VWAPs) and determining a Channel based on percentile linear interpolation throughout the VWAPs.
🔶 USAGE
In this indicator, we have formed a Channel by first calculating multiple VWAPs, each with their respective anchor, then locating prices using "Percentile Linear Interpolation".
Note: Percentile Linear Interpolation locates the price point at which a specified percentage of VWAPs fall below it.
For example, a percentile of 50% would mean that 50% of the VWAP values fall below this price.
This method of analysis is important since the VWAPs are not often evenly distributed; therefore, we are able to draw importance to different levels by analyzing in percentiles.
When visualized, there is typically clustering of the VWAP values, which occurs at any given time, as seen below.
The channel can be tailored to each individual, with full control of each percentile represented in the channel. That being said, a general concept is that these clustered areas are clear results of sideways price action, which would lead us to believe that after interactions at these levels, we should expect to see a directional decision made by the market closely after.
🔶 DETAILS
The Rolling VWAP calculation calculates a user-specified number of VWAPs (up to 500), each anchored to a unique starting point in the chart based on the start of a new timeframe.
Each new timeframe that occurs causes a new VWAP to initialize. When the total number of desired VWAPs is reached, the oldest VWAP is removed and re-initialized, anchored to the current bar. Hence, the name " Rolling " VWAPs
This method allows us to automatically generate and manage large amounts of VWAPs without the need for user interaction.
After we have generated these VWAPs, we are able to run analyses on their returned values, such as the "Percentile Linear Interpolation" mentioned in the section above.
🔶 SETTINGS
Anchor Period: Choose which time period to use as the anchor point to initialize new VWAPs from.
VWAP Source: Choose the source for your VWAPs to calculate.
VWAP Amount: Sets the number of VWAPs to use. After this amount is on the chart, the oldest will be rolled.
🔹 Channel Lines
Toggle: Enable the associated VWAP Channel percentile line.
Percentile: Adjust each line's percentile independently for your needs.
Width: Adjust the width of the associated percentile line.
🔹 Calculation
Calculated Bars: Tells the indicator how many bars to calculate on, for faster calculations with less history, use a lower value. Setting this to 0 will remove the bar constraint.
Technical Strength Index (TSI)📘 TSI with Dynamic Bands – Technical Strength Index
The TSI with Dynamic Bands is a multi-factor indicator designed to measure the statistical strength and structure of a trend. It combines several quantitative metrics into a single, normalized score between 0 and 1, allowing traders to assess the technical quality of market moves and detect overbought/oversold conditions with adaptive precision.
🧠 Core Components
This indicator draws from the StatMetrics library, blending:
📈 Trend Persistence: via the Hurst exponent, indicating whether price action is mean-reverting or trending.
📉 Risk-Adjusted Volatility: via the inverted , rewarding smoother, less erratic price movement.
🚀 Momentum Strength: using a combination of directional momentum and Z-score–normalized returns.
These components are normalized and averaged into the TSI line.
🎯 Features
TSI Line: Composite score of trend quality (0 = weak/noise, 1 = strong/structured).
Dynamic Bands: Mean ± 1 standard deviation envelopes provide adaptive context.
Overbought/Oversold Detection: Based on a rolling quantile (e.g. 90th/10th percentile of TSI history).
Signal Strength Bar (optional): Measures how statistically extreme the current TSI value is, helping validate confidence in trade setups.
Dynamic Color Cues: Background and bar gradients help visually identify statistically significant zones.
📈 How to Use
Look for overbought (red background) or oversold (green background) conditions as potential reversal zones.
Confirm trend strength with the optional signal strength bar — stronger values suggest higher signal confidence.
Use the TSI line and context bands to filter out noisy ranges and focus on structured price moves.
⚙️ Inputs
Lookback Period: Controls the smoothing and window size for statistical calculations.
Overbought/Oversold Quantiles: Adjust the thresholds for signal zones.
Plot Signal Strength: Enable or disable the signal confidence bar.
Overlay Signal Strength: Show signal strength in the same panel (compact) or not (cleaner TSI-only view).
🛠 Example Use Cases
Mean reversion traders identifying reversal zones with statistical backing
Momentum/Trend traders confirming structure before entries
Quantitative dashboards or multi-asset screening tools
⚠️ Disclaimer
This script is for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument.
This AI is not a financial advisor; please consult your financial advisor for personalized advice.
BB Oscillator - Price Relative to Bollinger BandsThis Bollinger Band Oscillator visualizes where the current price sits relative to its Bollinger Bands, scaled between 0 and 100. It helps identify overbought and oversold conditions based on the price’s position within the bands and provides dynamic signals when momentum shifts occur.
Features
Price Relative to Bollinger Bands
The main oscillator plots the price’s relative position within the Bollinger Bands on a scale from 0 (lower band) to 100 (upper band), giving an intuitive view of where price stands.
Customizable Moving Average Overlay
An optional moving average (SMA or EMA) smooths the oscillator for trend analysis, with adjustable length and color options.
Crossover & Crossunder Signals
Alerts and background highlights trigger when the oscillator crosses over or under its moving average, signaling potential momentum shifts or trend changes.
Fully Customizable Colors
Choose your preferred colors for the oscillator line, moving average and crossover signals to match your charting style.
This tool offers a unique oscillator view of Bollinger Bands, combining volatility context with momentum signals for clearer decision-making.
Toolbar-FrenToolbar-Fren is a comprehensive, data-rich toolbar designed to present a wide array of key metrics in a compact and intuitive format. The core philosophy of this indicator is to maximize the amount of relevant, actionable data available to the trader while occupying minimal chart space. It leverages a dynamic color-coded system to provide at-a-glance insights into market conditions, instantly highlighting positive/negative values, trend strength, and proximity to important technical levels.
Features and Data Displayed
The toolbar displays a vertical column of critical data points, primarily calculated on the Daily timeframe to give a broader market context. Each cell is color-coded for quick interpretation.
DAY:
The percentage change of the current price compared to the previous day's close. The cell is colored green for a positive change and red for a negative one.
LOD:
The current price's percentage distance from the Low of the Day.
HOD
The current price's percentage distance from the High of the Day.
MA Distances (9/21 or 10/20, 50, 200)
These cells show how far the current price is from key Daily moving averages (MAs).
The values are displayed either as a percentage distance or as a multiple of the Average Daily Range (ADR), which can be toggled in the settings.
The cells are colored green if the price is above the corresponding MA (bullish) and red if it is below (bearish).
ADR
Shows the 14-period Average Daily Range as a percentage of the current price. The cell background uses a smooth gradient from green (low volatility) to red (high volatility) to visualize the current daily range expansion.
ADR%/50: A unique metric showing the distance from the Daily 50 SMA, measured in multiples of the 14-period Average True Range (ATR). This helps quantify how extended the price is from its mean. The cell is color-coded from green (close to the mean) to red (highly extended).
RSI
The standard 14-period Relative Strength Index calculated on the Daily timeframe. The background color changes to indicate potentially overbought (orange/red) or oversold (green) conditions.
ADX
The 14-period Average Directional Index (ADX) from the Daily timeframe, which measures trend strength. The cell is colored to reflect the strength of the trend (e.g., green for a strong trend, red for a weak/non-trending market). An arrow (▲/▼) is also displayed to indicate if the ADX value is sloping up or down.
User Customization
The indicator offers several options for personalization to fit your trading style and visual preferences:
MA Type
Choose between using Exponential Moving Averages (EMA 9/21) or Simple Moving Averages (SMA 10/20) for the primary MA calculations.
MA Distance Display
Toggle the display of moving average distances between standard percentage values and multiples of the Average Daily Range (ADR).
Display Settings
Fully customize the on-chart appearance by selecting the table's position (e.g., Top Right, Bottom Left) and the text size. An option for a larger top margin is also available.
Colors
Personalize the core Green, Yellow, Orange, and Red colors used throughout the indicator to match your chart's theme.
Technical Parameters
Fine-tune the length settings for the ADX and DI calculations.
EMA 50/200 Pullback + RSI/SMA RSI
Strategy Description: EMA 50/200 Pullback + RSI/SMA RSI
1. Trend Identification with EMA:
Uses two Exponential Moving Averages (EMA): a fast EMA (default 50) and a slow EMA (default 200).
When the fast EMA crosses above the slow EMA (bullish crossover), an uptrend is identified.
When the fast EMA crosses below the slow EMA (bearish crossover), a downtrend is identified.
The lengths of both EMAs are fully customizable.
2. EMA Distance Condition:
Signals are only valid when the absolute percentage distance between the two EMAs is within a user-defined range (default: 0.4% to 1%).
This helps filter out weak signals when the EMAs are too close or too far apart.
3. Pullback Condition:
After a new trend is detected (EMA crossover), the strategy waits for the price to pull back to touch or cross the fast EMA (EMA 50).
This ensures entries are not taken immediately at the crossover, but after a retracement to a dynamic support/resistance area.
4. RSI Confirmation:
Uses the RSI indicator (default 14) and its Simple Moving Average (SMA RSI, default 14).
Buy signal: RSI crosses above its SMA.
Sell signal: RSI crosses below its SMA.
Both RSI and SMA RSI lengths are fully customizable.
5. Entry Rules:
The indicator only gives the first buy/sell signal after each EMA crossover (start of a new trend), and will not repeat signals until the next EMA crossover.
Buy signal:
Fast EMA crosses above slow EMA
EMA distance is within the valid range
Price pulls back to the fast EMA
RSI crosses above its SMA
Sell signal:
Fast EMA crosses below slow EMA
EMA distance is within the valid range
Price pulls back to the fast EMA
RSI crosses below its SMA
6. Customization:
All parameters (EMA lengths, RSI length, SMA RSI length, EMA distance range) can be adjusted in the indicator’s settings.
Note:
This is a signal indicator, not a complete trading strategy. For real trading, always combine with risk management and additional confirmations.
ADR by Saurabh MaggoADR levels for intraday
This Pine Script v5 indicator plots Average Daily Range (ADR) levels on a 5-minute NSE chart, ideal for intraday traders. It marks key price levels (L3+, L3-, L2+, L2-, L1+, L1-) at 9:15 AM IST each day, based on the daily open and a customizable ATR period.
Features:
Configurable Levels: Adjust ATR period (default 5) and multipliers (L3=0.5, L2=0.25, L1=0.125) to set price targets.
Today Only Option: Toggle Show Recent to display only the current day’s levels or all historical levels.
Visual Customization: Choose vibrant colors for each level via settings, with a glow effect
(toggleable, transparency=20) and adjustable circle size (default 2, range 1–5) for enhanced visibility, optimized for dark chart backgrounds.
Clean Design: Single-point plotting at 9:15 AM IST ensures a clutter-free chart, with dynamic points that move with the chart.
Usage: Perfect for NSE intraday trading, this indicator helps identify high-probability price targets. Customize levels, colors, and visuals to suit your strategy.
Third Candle MarkerTitel: Third Candle Marker – Highlights Trend Continuation
Beschreibung:
This script highlights potential trend continuation setups by marking the third candle after two consecutive candles of the same direction.
If the previous two candles were bullish (green), the third candle is colored green.
If the previous two candles were bearish (red), the third candle is colored red.
A white color indicates that no clear trend was detected in the previous two candles.
Additionally, the script plots small triangle markers:
Green upward triangle below the bar if the last two candles were bullish.
Red downward triangle above the bar if the last two candles were bearish.
Use this tool to visually identify potential continuation signals in trending markets. Suitable for all timeframes.
Note: This script does not generate buy/sell signals; it is meant to assist in visual trend recognition.
Golden Crossover Momentum Check📊 Golden Cross Momentum Screener — Summary
🔍 What It Does
This indicator identifies Golden Cross events — where the 50 EMA crosses above the 200 EMA, signaling a potential long-term trend reversal — and evaluates the momentum strength to help determine whether price is likely to:
Surge immediately (Group B), or
Retrace first (Group A)
It uses 5 momentum-confirming conditions to score the quality of the breakout and display a single label on the chart with a classification.
✅ Momentum Conditions Validated
RSI > 60 and rising – Indicates bullish buying pressure
MACD Histogram > 0 and rising – Confirms increasing momentum
Volume > 2× 20-day average – Validates participation on the breakout
ADX > 25 – Measures trend strength
Price is >5% above 200 EMA – Confirms price extension above long-term trend
Each passing condition adds 1 point to the momentum score (0–5).
📈 How to Use
Watch for a Golden Cross signal (triangle appears below candle)
If momentum score ≥ 4, the script labels the setup as:
"🚀 Surge Likely (Group B)" — consider immediate breakout entries
If score is 2–3, labeled:
"🔄 Pullback Likely (Group A)" — expect retest/consolidation before continuation
If score < 2, labeled:
"❌ No Momentum Confirmed" — avoid or wait for confirmation