Stochastic Z-Score [AlgoAlpha]🟠 OVERVIEW
This indicator is a custom-built oscillator called the Stochastic Z-Score , which blends a volatility-normalized Z-Score with stochastic principles and smooths it using a Hull Moving Average (HMA). It transforms raw price deviations into a normalized momentum structure, then processes that through a stochastic function to better identify extreme moves. A secondary long-term momentum component is also included using an ALMA smoother. The result is a responsive oscillator that reacts to sharp imbalances while remaining stable in sideways conditions. Colored histograms, dynamic oscillator bands, and reversal labels help users visually assess shifts in momentum and identify potential turning points.
🟠 CONCEPTS
The Z-Score is calculated by comparing price to its mean and dividing by its standard deviation—this normalizes movement and highlights how far current price has stretched from typical values. This Z-Score is then passed through a stochastic function, which further refines the signal into a bounded range for easier interpretation. To reduce noise, a Hull Moving Average is applied. A separate long-term trend filter based on the ALMA of the Z-Score helps determine broader context, filtering out short-term traps. Zones are mapped with thresholds at ±2 and ±2.5 to distinguish regular momentum from extreme exhaustion. The tool is built to adapt across timeframes and assets.
🟠 FEATURES
Z-Score histogram with gradient color to visualize deviation intensity (optional toggle).
Primary oscillator line (smoothed stochastic Z-Score) with adaptive coloring based on momentum direction.
Dynamic bands at ±2 and ±2.5 to represent regular vs extreme momentum zones.
Long-term momentum line (ALMA) with contextual coloring to separate trend phases.
Automatic reversal markers when short-term crosses occur at extremes with supporting long-term momentum.
Built-in alerts for oscillator direction changes, zero-line crosses, overbought/oversold entries, and trend confirmation.
🟠 USAGE
Use this script to track momentum shifts and identify potential reversal areas. When the oscillator is rising and crosses above the previous value—especially from deeply negative zones (below -2)—and the ALMA is also above zero, this suggests bullish reversal conditions. The opposite holds for bearish setups. Reversal labels ("▲" and "▼") appear only when both short- and long-term conditions align. The ±2 and ±2.5 thresholds act as momentum warning zones; values inside are typical trends, while those beyond suggest exhaustion or extremes. Adjust the length input to match the asset’s volatility. Enable the histogram to explore underlying raw Z-Score movements. Alerts can be configured to notify key changes in momentum or zone entries.
Trend Analysis
Smart Elliott Wave [The_lurker]🔷 Smart Elliott Wave – موجات إليوت الذكية
A professional indicator for automatically detecting and analyzing Elliott Wave patterns on the chart. Built on classical Elliott Wave theory, it enhances accuracy with dynamic Fibonacci validation and geometric logic—solving the most common issues traders face when applying Elliott Wave manually: complexity, subjectivity, and misinterpretation of corrections.
🎯 Key Features
Smart Elliott Wave offers a layered intelligent system that:
- Automatically detects impulsive and corrective wave structures
- Validates wave formations using Fibonacci rules
- Highlights potential reversal zones (PRZ)
- Sends instant alerts for newly detected patterns
- Supports both bullish and bearish trends
- Includes fully customizable user settings
🧠 Core Concept
The indicator analyzes price movement over time using pivot points (discovered via `ta.pivothigh` and `ta.pivotlow`) to detect wave structures that conform to Elliott Wave sequencing:
- Impulse Wave: 0-1-2-3-4-5
- Simple Correction: ABC
- Complex Correction: WXY
Each structure is validated through a strict set of logical rules combined with Fibonacci ratio checks to ensure pattern integrity and reduce false signals.
🧩 Wave Structure Components
1️⃣ Impulse Waves
- Wave 3 is not the shortest
- Wave 4 does not overlap Wave 1
- Waves 1, 3, and 5 are impulsive; Waves 2 and 4 are corrective
- Fibonacci validation can be applied to Waves 2 and 4 if enabled
2️⃣ Simple Corrections (ABC)
- Wave B partially retraces Wave A
- Wave C completes the structure without invalid overlap
- Fibonacci ratios validate the symmetry of A, B, and C (if enabled)
3️⃣ Complex Corrections (WXY)
- Only used if ABC structure is insufficient
- Requires 6 sequential pivot points: W, X, Y
- W and Y are corrective; X is a linking wave
- Follows both structural and ratio-based validations
📏 Dynamic Fibonacci Validation
When Enable Fibonacci Rules is active:
- Validates against common ratios:
`38.2%`, `50%`, `61.8%`, `78.6%`, `127.2%`, `161.8%`
- Adjustable **Fibonacci Tolerance** allows for controlled deviation
- Patterns are ignored if ratios fall outside the accepted range
🔮 Potential Reversal Zones (PRZ)
- Calculated from the most recent completed impulse wave
- Uses Fibonacci extensions to project PRZ ahead of price
- Customizable visibility and color for each ratio
- Used as dynamic take-profit or stop-loss zones
🖍️ Dual Trend Detection & Wave Coloring
- Supports both bullish and bearish patterns
- Automatic wave coloring for quick visual recognition:
- 🟦 Blue: Bullish waves
- 🟥 Red: Bearish waves
- Optional fill color for correction zones
🔔 Smart Alert System
Instant alerts are triggered when a valid wave pattern is confirmed:
- New impulse wave detected
- ABC correction appears
- Complex WXY correction formed
> Alerts are triggered only after the bar closes to prevent repainting.
⚙️ Indicator Settings
📌 Wave Detection Settings
- Pivot Left Strength: Bars to the left used for pivot detection
- Pivot Right Strength: Bars to the right for confirmation (0 = real-time)
- Enable Fibonacci Rules: Toggle Fibonacci ratio validation
- Fibonacci Tolerance: Allowed deviation in percentage
🎨 Display Settings
- Show Previous Patterns: Toggle between all patterns or only the latest
- Fill correction zones with color
- Customize wave and PRZ color schemes
📉 PRZ Settings
- Show/hide specific Fibonacci ratios
- Customize each PRZ color
- Set maximum bar extension for PRZ display
🔕 Alert Settings
- Enable or disable alerts for each type of pattern
📚 Practical Use Cases
- Daily or intraday price structure analysis
- Combine with RSI, MACD, or momentum indicators
- Filter weak signals using Fibonacci-based pattern validation
- Use PRZ zones as dynamic entry/exit targets
- Learn and reinforce Elliott Wave theory through real-time examples
📝 Important Notes
- Setting `Pivot Right = 0` allows for real-time pattern previews (may repaint)
- Disabling Fibonacci validation increases pattern count but reduces accuracy
- TradingView limits to 500 visual objects (labels, boxes, lines); older patterns may be removed
- PRZ extends up to 100 bars or 0.618 of the previous impulse duration by default
⚠️ Disclaimer:
This indicator is for educational and analytical purposes only. It does not constitute financial, investment, or trading advice. Use it in conjunction with your own strategy and risk management. Neither TradingView nor the developer is liable for any financial decisions or losses.
🔷 Smart Elliott Wave – موجات إليوت الذكية
مؤشر احترافي لرصد وتحليل أنماط موجات إليوت تلقائيًا على الرسم البياني، يعتمد على المبادئ الكلاسيكية للنظرية مع تعزيزها بالتحقق الرياضي والهندسي، ويهدف إلى تجاوز العقبات التي يواجهها معظم المتداولين عند تطبيق موجات إليوت يدويًا، مثل صعوبة التحديد، التقديرات الذاتية، وتشويش التصحيحات.
🎯 ما الذي يميز هذا المؤشر؟
يُقدّم Smart Elliott Wave نظامًا تراكبيًا ذكيًا يقوم بـ:
رصد تلقائي للموجات (الدافعة والتصحيحية)
التحقق من صحة النموذج باستخدام قواعد فيبوناتشي
عرض مناطق الانعكاس المحتملة (PRZ)
توليد تنبيهات لحظية عند تشكّل أنماط جديدة
دعم الاتجاهين (الصاعد والهابط)
واجهة إعدادات مرنة قابلة للتخصيص الكامل
🧠 الفكرة الأساسية
يعتمد المؤشر على تحليل حركة السعر عبر تسلسل زمني من النقاط المحورية (Pivots)، والتي تُكتشف باستخدام دوال مدمجة مثل ta.pivothigh وta.pivotlow. ثم يُبني فوق هذه النقاط نماذج هندسية متوافقة مع تسلسل موجات إليوت:
الموجة الدافعة (Impulse): تسلسل 0-1-2-3-4-5
التصحيح البسيط (ABC)
التصحيح المعقد (WXY)
ويتم التحقق من كل نموذج اعتمادًا على قواعد إليوت + نسب فيبوناتشي، ما يضمن موضوعية التصنيف، ودقة التحديد.
🧩 مكوّنات التحليل:
1️⃣ الموجات الدافعة (Impulse Waves):
يُشترط أن تكون الموجة الثالثة غير الأقصر.
لا تتداخل الموجة الرابعة مع نطاق الموجة الأولى.
تأكيد أن الموجات 1 و3 و5 دافعة، و2 و4 تصحيحية.
يتم التحقق من نسب تصحيح الموجتين 2 و4 حسب قواعد فيبوناتشي عند تفعيلها.
2️⃣ التصحيح البسيط (ABC):
B تصحيح جزئي للموجة A.
C تُكمل الهيكل بدون تداخل مع A.
يتم التحقق من أطوال الموجات وفق نسب فيبوناتشي لضمان التناسق.
3️⃣ التصحيح المعقد (WXY):
لا يتم تفعيله إلا عند فشل ABC في تفسير النمط.
يتطلب 6 نقاط محورية متسلسلة: W, X, Y.
W وY تصحيحيتان، وX رابط مركزي.
يخضع أيضًا لقواعد النسب والتماثل البنائي.
📏 التحقق باستخدام نسب فيبوناتشي:
عند تفعيل خاصية Enable Fibonacci Rules، يتم التحقق الصارم من نسب تصحيح الموجات:
النسب المعتمدة:
38.2%, 50%, 61.8%, 78.6%, 127.2%, 161.8%
إذا لم تكن الموجة ضمن نطاق النسبة + نسبة التسامح (Tolerance)، يتم تجاهل النموذج.
يُستخدم هذا التحقق أيضًا لرسم مناطق الانعكاس المحتملة (PRZ).
🔮 مناطق الانعكاس المحتملة (PRZ)
تُحسب PRZ باستخدام نسب فيبوناتشي انطلاقًا من نهاية آخر موجة دافعة.
تُعرض بشكل مستطيلات شفافة أو ملونة.
يمكن تخصيص كل نسبة لونًا وشكلًا خاصًا.
تُستخدم PRZ كأداة توقع للموجة التالية أو لتحديد أهداف وقف الخسارة وجني الأرباح ديناميكيًا.
🖍️ دعم الاتجاهين وتلوين الموجات:
يدعم المؤشر النماذج الصاعدة والهابطة بشكل تلقائي.
يتم استخدام تلوين بصري لتسهيل التمييز:
الأزرق: للموجات الصاعدة
الأحمر: للموجات الهابطة
لون تعبئة مخصص لمناطق التصحيح
🔔 نظام التنبيهات الذكية
يحتوي المؤشر على تنبيهات تلقائية يتم تفعيلها عند اكتمال أي نمط جديد.
يدعم التنبيهات التالية:
موجة دافعة جديدة
تصحيح بسيط ABC
تصحيح معقد WXY
التنبيهات تُطلق بعد إغلاق الشمعة التي تحقق فيها النموذج (غير فوري Repainting-safe)
⚙️ إعدادات المؤشر
📌 إعدادات تحليل الموجة:
Pivot Left Strength: عدد الأعمدة (bars) إلى اليسار لتحديد الانعكاس
Pivot Right Strength: الأعمدة إلى اليمين لتأكيد الانعكاس (0 يعني تنبؤ لحظي)
Enable Fibonacci Rules: تفعيل/تعطيل التحقق من فيبوناتشي
Fibonacci Tolerance: نسبة التفاوت المقبولة بالنسب المئوية
🎨 إعدادات العرض:
Show Previous Patterns: إظهار كل الأنماط المكتشفة أو آخر نمط فقط
PRZ Settings:
إظهار أو إخفاء نسب معينة
تخصيص الألوان
تحديد امتداد مربع PRZ زمنيًا (Max Bars)
🔕 إعدادات التنبيهات:
تفعيل/تعطيل تنبيه عند كل نمط جديد
📚 حالات الاستخدام العملية:
تحليل الحركة السعرية في بداية كل جلسة
دمج المؤشر مع أدوات مثل RSI أو MACD للحصول على إشارات مركّبة
مراقبة الموجات التوسعية والتصحيحية على فواصل 4H / Daily
استخدام PRZ كأداة لتحديد الأهداف أو وقف الخسارة
التعلم العملي لنظرية إليوت من خلال أمثلة حية
📝 ملاحظات مهمة:
تعيين Pivot Right = 0 يعني نقاط فورية (قد يعاد رسمها لاحقًا)
تعطيل فيبوناتشي يزيد عدد النماذج، لكن قد يُضعف دقتها
TradingView يحد عدد الكائنات المرسومة (Labels, Boxes, Lines) إلى 500، مما قد يؤدي إلى حذف الأنماط الأقدم تلقائيًا
PRZ يمتد افتراضيًا حتى 100 شمعة، أو 0.618 من مدة الموجة الدافعة السابقة
⚠️ إخلاء مسؤولية:
هذا المؤشر لأغراض تعليمية وتحليلية فقط. لا يُمثل نصيحة مالية أو استثمارية أو تداولية. استخدمه بالتزامن مع استراتيجيتك الخاصة وإدارة المخاطر. لا يتحمل TradingView ولا المطور مسؤولية أي قرارات مالية أو خسائر.
SMT Divergence x outofoptions🔍 SMT Divergence — Advanced Market Correlation Analysis
This was created with and approved by @outofoptions to bring you smaller SMTs based on his original SMT Divergence indicator
SMT Divergence is a sophisticated technical analysis indicator designed to identify high-probability reversal and continuation signals through intelligent correlation analysis between related markets. This powerful tool reveals hidden market dynamics by comparing price action divergences across correlated instruments, providing traders with institutional-level market insight.
🎯 Core Capabilities:
Multi-Market Analysis : Automatically compares your chart with a correlated instrument to identify divergence patterns and market inefficiencies
Smart Liquidity Detection : Advanced algorithms identify key liquidity levels and sweep patterns for enhanced signal accuracy
Dynamic Divergence Mapping : Real-time visualization of bullish and bearish divergences with customizable line styles and colors
Intelligent Signal Validation : Optional candle-based confirmation system to filter high-probability setups from noise
Automated Line Management : Smart removal of invalidated divergences to maintain clean, actionable chart analysis
📊 Professional Features:
The SMT Divergence indicator excels at revealing market structure imbalances that often precede significant price movements. By analyzing the relationship between correlated markets, it identifies when institutional money may be positioned differently than retail sentiment suggests, providing early warning signals for potential reversals.
⚙️ Advanced Customization:
Flexible correlation pair selection for any market combination
Customizable visual styling with multiple line types and color schemes
Adjustable validation criteria for different trading styles
Professional alert system with detailed message customization
Automatic cleanup of broken or invalidated divergences
🎨 Visual Excellence:
Clean, professional line drawing with customizable styling
Dynamic labeling system with size and color options
Real-time divergence tracking and management
Institutional-grade chart presentation
Optimized performance for extended analysis periods
📈 Ideal For:
Swing traders seeking high-probability reversal signals
Multi-market analysts comparing correlated instruments
Institutional-style traders using correlation analysis
Advanced technical analysts studying market structure
Those seeking early warning signals for trend changes
🔔 Smart Alerts:
Comprehensive alert system with customizable messaging allows you to stay informed of new divergences across multiple timeframes and market sessions, ensuring you never miss critical market developments.
💡 Market Intelligence:
SMT Divergence transforms complex inter-market relationships into clear, actionable signals, giving you the same analytical edge used by professional trading institutions to identify market turning points before they become obvious to retail traders.
Educational Tool: This indicator is designed for educational and analytical purposes. Divergence analysis requires understanding of market correlation principles. Always combine with proper risk management and additional analysis methods.
Clarix Market DashboardPurpose :
Shows if the market is trending, volatile, or stuck so you can decide when to trade or wait.
How to Use
Add the indicator to your chart. Adjust basic settings like EMA, RSI, ATR lengths, and timezone if needed. Use it before entering any trade to confirm market conditions.
What Each Metric Means (with general ranges)
Session: Identifies which market session is active (New York, London, Tokyo).
Trend: Shows current market direction. “Up” means price above EMA and VWAP, “Down” means price below. Use this to confirm bullish or bearish bias.
HTF Trend: Confirms trend on a higher timeframe for stronger signals.
ATR (Average True Range): Measures market volatility or price movement speed.
Low ATR (e.g., below 0.5% of price) means quiet or slow market; high ATR (above 1% of price) means volatile or fast-moving market, good for active trades.
Strong Bar: A candlestick closing near its high (above 75% of range) indicates strong buying momentum; closing near its low indicates strong selling momentum.
Higher Volume: Volume higher than average (typically 10-20% above normal) means more market activity and stronger moves.
Volume / Avg Volume: Ratio above 1.2 (120%) shows volume is significantly higher than usual, signaling strong interest.
RVol % (Relative Volume %): Above 100% means volume is hotter than normal, increasing chances of strong moves; below 50% means low activity and possible indecision.
Delta: Difference between buying and selling volume (if available). A positive delta means buyers dominate; negative means sellers dominate.
ADX (Average Directional Index): Measures trend strength:
Below 20 means weak or no trend;
Above 25 means strong trend;
Between 20-25 is moderate trend.
RSI (Relative Strength Index): Momentum oscillator:
Below 30 = oversold (potential buy);
Above 70 = overbought (potential sell);
Between 40-60 means neutral momentum.
MACD: Confirms momentum direction:
Positive MACD histogram bars indicate bullish momentum;
Negative bars indicate bearish momentum.
Choppiness Index: Measures how much the market is ranging versus trending:
Above 60 = very choppy/sideways market;
Below 40 = trending market.
Consolidation: When true, price is stuck in a narrow range, signaling indecision. Avoid breakout trades during this.
Quick Trading Reminder
Trade only when the trend is clear and volume is above average. Avoid trading in low volume or choppy markets.
Smart Money Concepts - By TradingNexus – Pro Visual Edition📊 Smart Money Concepts by TradingNexus
This script is designed for clean and visual Smart Money analysis.
This script identifies Smart Money Concepts with a clean and powerful visual layout, focusing on high-probability zones.
It displays:
Order Blocks (OB↑ / OB↓) when there's strong bullish or bearish candle reversal.
Fair Value Gaps (FVG↑ / FVG↓) only after impulsive candles (e.g., breaking previous highs/lows).
Break of Structure (BOS↑ / BOS↓) when a real structural shift happens.
🔥 Strong Zones only when OB + FVG + BOS align — these are ideal institutional entry areas.
Zone of Interest (ZOI) - FractalsZone of Interest (ZOI) with Breakout Start/Exit Alerts
Overview
The Zone of Interest (ZOI) indicator identifies demand and supply zones based on fractal pivots and provides breakout alerts with Start/Exit signals for precise entry and exit interpretation.
Unlike basic breakout indicators that send alerts on every bar, this script ensures clean alerts only at breakout start and breakout end, making it ideal for traders who want clarity without alert spam.
Key Features
✔ Demand & Supply Zones:
Zones created from fractal pivots (swing highs/lows).
Auto-extend zones until expiry.
✔ Breakout Detection:
Detects bullish (price breaks above demand) and bearish (price breaks below supply) breakouts.
✔ Start & Exit Labels:
START LONG when bullish breakout begins.
EXIT LONG when bullish trend ends.
START SHORT when bearish breakout begins.
EXIT SHORT when bearish trend ends.
✔ Clean Alerts:
Alerts fire only on START and EXIT (not every bar).
✔ Visual Cues:
Triangles for every breakout bar (optional visual reference).
Green/Red background shading during active breakout phase.
Inputs
Input - Description
Fractal Length - Number of bars to confirm a fractal pivot.
Zone Expiry (Bars) - Maximum bars before a zone is removed.
Min Distance Between Zones (%) - Prevents overlapping zones by comparing midpoints.
How It Works
Uses fractal pivots to identify swing highs and lows.
Creates Supply Zones (red) from pivot highs and Demand Zones (green) from pivot lows.
Extends zones to the right until expiry or price action invalidates them.
Breakouts occur when price closes beyond the most recent zone boundary.
Tracks breakout phases and fires alerts only at Start and Exit.
✅ Example: How to Use
Suppose you're analyzing XAU/USD on a 15-minute chart:
Step 1: A green demand zone forms at 3344 – 3360.
Step 2: Price pulls back into the zone and starts moving higher.
Step 3: When price closes above 3360, the indicator triggers START LONG and shades the background green.
Step 4: You ride the trend while price remains above the zone.
Step 5: If price later falls back below 3360, an EXIT LONG label appears, and an alert fires.
✅ This helps you avoid spam alerts and focus on key breakout events.
Best Practices
Works well on 15m and higher timeframes.
Combine with trend confirmation (EMA, Supertrend) for better accuracy.
Designed for manual trading and alert-based setups, not automation.
Step-OMA with SignalsThe Step-OMA with Signals is a sophisticated trend-following indicator that combines Loxx's Optimized Moving Average (OMA) algorithm with an advanced step function to create a highly responsive yet smooth trend detection system. This indicator excels at identifying trend changes early while minimizing false signals through its adaptive filtering mechanism.
Core Algorithm Components
1. Optimized Moving Average (OMA) Foundation
Based on Loxx's advanced OMA implementation
Uses a 6-stage exponential smoothing process
Incorporates adaptive period calculation based on market noise
Employs Jurik-style smoothing techniques for superior signal quality
2. Step Function Integration
Implements a step-based trend detection mechanism
Uses ATR-based dynamic threshold calculation
Maintains trend consistency through threshold memory
Provides clear trend change identification
3. Adaptive Noise Filtering
Automatically adjusts to market volatility
Calculates optimal averaging periods based on price noise
Reduces false signals in choppy market conditions
Speed (Default: 3.0, Range: -1.5 to unlimited)
This is the most critical parameter affecting indicator behavior:
Positive Speed Values (0 to 10.0+):
Creates faster, more responsive signals
Higher values increase sensitivity to recent price action
Negative Speed Values (-1.5 to -0.1):
Produces smoother, more conservative signals
Reduces noise and false breakouts
Creates delayed but more reliable trend confirmations
Adaptive (Default: True)
When enabled: Automatically adjusts averaging period based on market noise
When disabled: Uses fixed length parameter
Recommendation: Keep enabled for most market conditions
Sensitivity Factor (Default: 3.0)
Controls the threshold distance for trend change detection
Lower values: More frequent signals, higher sensitivity
Higher values: Fewer but more reliable signals
Optimal range: 2.0-5.0 depending on market volatility
Step Size Period (Default: 50)
Determines the ATR calculation period for dynamic thresholds
Affects the indicator's adaptation to volatility changes
Lower values: More reactive to recent volatility
Higher values: More stable threshold calculation
For a trading application, Step-OMA is a suitable base filter to complement other types of signaling indicators (oscillators, momentum indicators).
Disclaimer: This indicator is a technical analysis tool and should be used in conjunction with proper risk management and comprehensive market analysis. Past performance does not guarantee future results.
GLOBEX BOX v1.0All credit to the creator and teacher of this strategy, @RS.
The "GOBEX BOX v1.0" indicator draws customizable horizontal rectangles (with optional midlines and labels) around specific opening candles in the EST timezone ("America/New_York").
It highlights:
The 09:30–09:31 EST 1-minute candle high/low for Monday through Friday.
The 18:00–18:05 EST 5-minute candle high/low for Sunday through Thursday.
Various customizable features are in the indicator settings.
Happy trading!
CBC Flip with Volume [Pt]█ CBC Flip with Volume
A price-action based indicator that detects real-time control flips between bulls and bears, enhanced with volume filtering and Pine Screener compatibility.
This tool tracks when the market shifts from bear control to bull control or vice versa, using candle structure and volume behavior. It highlights key reversal points, filters low-conviction moves, and provides two screener-ready outputs for directional monitoring.
█ What It Detects
This script identifies when control flips between buyers and sellers on a candle-by-candle basis. A flip is confirmed only when both price structure and volume meet strict criteria. The indicator uses an internal state to track who is in control and updates when a flip occurs.
█ Flip Conditions
Bull Flip
• Previous bar was under bear control
• Current candle closes above the previous high
• Candle is bullish (close is above open)
• Volume is greater than the previous bar
Bear Flip
• Previous bar was under bull control
• Current candle closes below the previous low
• Candle is bearish (close is below open)
• Volume is greater than the previous bar
When a flip occurs, the indicator updates the control state and records the open price of the flip candle.
█ Strong Flip Detection
A flip is considered strong when volume is also greater than the average volume over a set number of candles (default is 50). Strong flips are visually emphasized using larger markers and darker background shading. This helps filter out moves that lack follow-through volume.
█ Visual Elements on Chart
• Bull Flip (Normal): Small teal triangle below the candle
• Bull Flip (Strong): Larger green triangle below the candle
• Bear Flip (Normal): Small salmon triangle above the candle
• Bear Flip (Strong): Larger red triangle above the candle
• Background Color:
– Green shades for bull flips
– Red shades for bear flips
– Darker color when flip is strong
These visual elements appear only on the candle where a flip is detected. No markers are shown on continuation candles.
█ Inputs
• Volume MA Lookback : Sets the moving average length used for determining whether volume is high enough for a strong flip (default: 50)
█ Alerts
• Bull Flip – Notifies when bulls take control
• Bear Flip – Notifies when bears take control
Alerts are triggered at candle close.
█ Pine Screener Support
This script includes two output columns for TradingView’s Pine Screener:
• Bull in Control (% gain) : Shows the percentage gain from the bull flip’s open to the current close. Resets to 0 when bulls lose control.
• Bear in Control (% gain) : Shows the percentage drop from the bear flip’s open to the current close (as a positive number). Resets to 0 when bears lose control.
These outputs allow you to filter for active moves. For example:
• Bull in Control (% gain) > 2.0 to find strong uptrends
• Bear in Control (% gain) > 1.5 to find sharp breakdowns
█ Use Cases
• Confirm breakouts using volume-backed flips
• Spot short-term reversals at key zones
• Filter out low-volume chop
• Combine screener results with trend or volatility filters
• Build entries around control flips and follow-through strength
Inspired by MapleStax’s original CBC method.
Hypothesis TF Strategy EvaluationThis script provides a statistical evaluation framework for trend-following strategies by examining whether mean returns (measured here as 1-period Rate of Change, ROC) differ significantly across different price quantile groups.
Specifically, it:
Calculates rolling 25th (Q1) and 75th (Q3) percentile levels of price over a user-defined window.
Classifies returns into three groups based on whether price is above Q3, between Q1 and Q3, or below Q1.
Computes mean returns and sample sizes for each group.
Performs Welch's t-tests (which account for unequal variances) between groups to assess if their mean returns differ significantly.
Displays results in two tables:
Summary Table: Shows mean ROC and number of observations for each group.
Hypothesis Testing Table: Shows pairwise t-statistics with significance stars for 95% and 99% confidence levels.
Key Features
Rolling quantile calculations: Captures local price distributions dynamically.
Robust hypothesis testing: Welch's t-test allows for heteroskedasticity between groups.
Significance indicators: Easy visual interpretation with "*" (95%) and "**" (99%) significance levels.
Visual aids: Plots Q1 and Q3 levels on the price chart for intuitive understanding.
Extensible and transparent: Fully commented code that emphasizes the evaluation process rather than trading signals.
Important Notes
Not a trading strategy: This script is intended as a tool for research and validation, not as a standalone trading system.
Look-ahead bias caution: The calculation carefully avoids look-ahead bias by computing quantiles and ROC values only on past data at each point.
Users must ensure look-ahead bias is removed when applying this or similar methods, as look-ahead bias would artificially inflate performance and statistical significance.
The statistical tests rely on the assumption of independent samples, which might not fully hold in financial time series but still provide useful insights
Usage Suggestions
Use this evaluation framework to validate hypotheses about the behavior of returns under different price regimes.
Integrate with your strategy development workflow to test whether certain market conditions produce statistically distinct return distributions.
Example
In this example, the script was run with a quantile length of 20 bars and a lookback of 500 bars for ROC classification.
We consider a simple hypothetical "strategy":
Go long if the previous bar closed above Q3 the 75th percentile).
Go short if the previous bar closed below Q1 (the 25th percentile).
Stay in cash if the previous close was between Q1 and Q3.
The screenshot below demonstrates the results of this evaluation. Surprisingly, the "long" group shows a negative average return, while the "short" group has a positive average return, indicating mean reversion rather than trend following.
The hypothesis testing table confirms that the only statistically significant difference (at 95% or higher confidence) is between the above Q3 and below Q1 groups, suggesting a meaningful divergence in their return behavior.
This highlights how this framework can help validate or challenge intuitive assumptions about strategy performance through rigorous statistical testing.
Markov Chain Trend ProbabilityA Markov Chain is a mathematical model that predicts future states based on the current state, assuming that the future depends only on the present (not the past). Originally developed by Russian mathematician Andrey Markov, this concept is widely used in:
Finance: Risk modeling, portfolio optimization, credit scoring, algorithmic trading
Weather Forecasting: Predicting sunny/rainy days, temperature patterns, storm tracking
Here's an example of a Markov chain: If the weather is sunny, the probability that will be sunny 30 min later is say 90%. However, if the state changes, i.e. it starts raining, how the probability that will be raining 30 min later is say 70% and only 30% sunny.
Similar concept can be applied to markets price action and trends.
Mathematical Foundation
The core principle follows the Markov Property: P(X_{t+1}|X_t, X_{t-1}, ..., X_0) = P(X_{t+1}|X_t)
Transition Matrix :
-------------Next State
Current----
--------P11 P12
-----P21 P22
Probability Calculations:
P(Up→Up) = Count(Up→Up) / Count(Up states)
P(Down→Down) = Count(Down→Down) / Count(Down states)
Steady-state probability: π = πP (where π is the stationary distribution)
State Definition:
State = UPTREND if (Price_t - Price_{t-n})/ATR > threshold
State = DOWNTREND if (Price_t - Price_{t-n})/ATR < -threshold
How It Works in Trading
This indicator applies Markov Chain theory to market trends by:
Defining States: Classifies market conditions as UPTREND or DOWNTREND based on price movement relative to ATR (Average True Range)
Learning Transitions: Analyzes historical data to calculate probabilities of moving from one state to another
Predicting Probabilities: Estimates the likelihood of future trend continuation or reversal
How to Use
Parameters:
Lookback Period: Number of bars to analyze for trend detection (default: 14)
ATR Threshold: Sensitivity multiplier for state changes (default: 0.5)
Historical Periods: Sample size for probability calculations (default: 33)
Trading Applications:
Trend confirmation for entry/exit decisions
Risk assessment through probability analysis
Market regime identification
Early warning system for potential trend reversals
The indicator works on any timeframe and asset class. Enjoy!
Lorentzian Theory Classifier🧮 Lorentzian Theory Classifier: An Observatory for Market Spacetime
Transcend the flat plane of traditional charting. Enter the curved, dynamic reality of market spacetime. The Lorentzian Theory Classifier (LTC) is not an indicator; it is a computational observatory. It is an instrument engineered to decode the geometry of market behavior, revealing the hidden curvatures and resonant frequencies that precede significant turning points.
We discard the outdated tools of Euclidean simplicity and embrace a more profound truth: financial markets, much like the cosmos described by general relativity, are governed by a fabric that is warped by the mass of participation and the energy of volatility. The LTC is your lens to perceive this fabric, to move beyond predicting lines on a chart and begin reading the very architecture of probability.
The Resonance Manifold: Standard Euclidean models search for historical analogues within a rigid sphere, missing the crucial outliers that define market extremes. The LTC's Lorentzian Resonance engine operates in a curved, non-Euclidean space, allowing it to connect with these "fat-tail" events—the true genesis points of major reversals.
🌌 THE THEORETICAL FRAMEWORK: A new Grand Unified Theory of Market Analysis
The LTC is built upon a revolutionary synthesis of concepts from special relativity, quantum mechanics, and information theory. It reframes market analysis not as a problem of forecasting, but as a problem of state recognition in a non-Euclidean manifold.
1. The Lorentzian Kernel: The Mathematics of Reality
Financial markets are not Gaussian. Their reality is one of "fat tails"—sudden, high-impact events that standard models dismiss as anomalies. The LTC acknowledges this reality by using the mathematically pure and robust Lorentzian kernel as its core engine:
Similarity(x, y) = 1 / (1 + (||x − y||² / γ²))
||x − y||²: The squared distance between the current market state (x) and a historical state (y) in our 8-dimensional feature space.
γ (Gamma): A dynamic bandwidth parameter, our "Lorentz factor," which adapts to market entropy (chaos). In calm markets, gamma is small, demanding precise resonance. In chaotic markets, gamma expands, intelligently seeking broader patterns.
This heavy-tailed function is revolutionary. It correctly assigns profound significance to the rare, extreme events that truly define market structure, while gracefully tuning out the noise of mundane price action. It doesn't just calculate; it understands context.
2. The 8-Dimensional State Vector: The Market's Quantum Fingerprint
To achieve a holistic view, the LTC projects the market onto an 8-dimensional Hilbert space, where each dimension represents a critical "observable":
Momentum & Acceleration (f_rsi, f_roc): The market's velocity and its rate of change.
Cyclical Position (f_stoch, f_cci): The market's location within its recent oscillation cycles.
Energy & Participation (f_vol, f_cor): The force of capital flow and its harmony with price.
Chaos & Uncertainty (f_ent, f_mom): The degree of randomness and the standardized force of price changes.
These are not eight separate indicators. They are entangled properties of a single "market wavefunction." The LTC's genius lies in measuring the geometric distance between these complete quantum states.
3. The k-NN Oracle: A Council of Past Universes
The LTC employs a k-Nearest Neighbors algorithm, but in our curved Lorentzian spacetime. It poses a constant, profound question: " Which moments in history are most geometrically congruent to the present moment across all eight dimensions? "
It then summons a "council" of these historical neighbors. Each neighbor's future outcome (did price ascend or descend?) casts a vote, weighted by its resonant similarity. The result is a probabilistic forecast of stunning clarity:
Prognosis: The final weighted consensus on future direction.
Assurance: The degree of unanimity within the council—a direct measure of the prediction's confidence.
The Funnel of Conviction: The LTC's process is a rigorous distillation of information. Raw, chaotic market data is resolved into a clean 8-dimensional state vector. The Lorentzian Kernel filters these states for resonance, which are then passed to the k-NN Oracle for a vote. Noise is eliminated at each stage, resulting in a single, validated, high-conviction signal.
⚙️ THE COMMAND CONSOLE: A Guide to Calibrating Your Observatory
Mastering the LTC's inputs is to become an architect of your own analytical universe. Each parameter is a dial that tunes the observatory's focus, from galactic structures to subatomic fluctuations. The tooltips in-script—over 6,000 words of documentation—provide immediate reference; this guide provides the philosophy.
A summarized guide to the Core, Signal, Supreme, and Visual controls is included directly in the indicator's code and tooltips. We encourage all users to explore these settings to tune the LTC to their unique analytical style.
🏆 THE SUPREME DASHBOARD: Your Mission Control
The dashboard is not a data table; it is your command interface with market reality. It translates the intricate dance of probabilities and vectors into clear, actionable intelligence.
⚡ ORACLE STATUS
Prognosis: The primary directional vector. Its color, magnitude, and emoji (⚡) reveal the strength and conviction of the Oracle's forward guidance.
Assurance: A real-time gauge of prediction quality, from "LOW" (high uncertainty) to "ELITE" (overwhelming statistical consensus). Interpret this as your core risk metric: trade with conviction when Assurance is ELITE; trade with caution when it is LOW.
🔮 RESONANCE ANALYSIS
Chaos: A direct measurement of market entropy. "LOW CHAOS" signifies a predictable, orderly regime. "HIGH CHAOS" is a warning of randomness and unpredictability, where trend-following logic may fail.
Turbulence: A measure of raw volatility. When the market is "TURBULENT," expect wider price swings and increased risk. Use this metric to adjust stop-loss distances and profit targets dynamically.
🏆 PERFORMANCE & ⚔️ GUARD METRICS
These sections provide illustrative statistics on the script's recent historical behavior. Metrics like Yield Ratio and Guard Index offer a quick heuristic on the prevailing risk-reward environment. Crucially, these are for observational context only and are not a substitute for your own rigorous testing and analysis.
🎨 THE VISUAL MANIFESTATION: Charting the Unseen
The LTC's visuals are designed to transform your chart from a 2D price graph into a 4D informational battlespace.
The Dynamic Aura (Background Color): This is the ambient energy field of the market. A luminous green (Ascend) signifies a bullish resonance field; a deep red (Descend) indicates bearish pressure.
The Assurance Shroud (Blue Bands): A visualization of confidence. When the shroud is wide and expansive , the Oracle's vision is clear and its predictions are robust.
The Prognosis Arc (Curved Line): A geodesic projection of the market's most likely path, based on the current Prognosis.
The Turbulence Cloud (Orange Mist): A visual warning system for market chaos. When this entropic mist expands , it is a clear sign that you are navigating a nebula of high unpredictability.
Oracle Markers (▲▼): The final, validated signals. These are not merely pivot points. They are moments in spacetime where a structural pivot has been confirmed and then ratified by a high-conviction vote from the Lorentzian Oracle. They are the pinnacles of confluence.
The Analyst's Observatory: The LTC transforms your chart into a command center for market analysis, providing a complete, at-a-glance view of market state, risk, and probabilistic trajectory.
🔧 THE ARCHITECT'S VISION: From a Blank Slate to a New Cosmos
The LTC was not assembled; it was derived. It began not with code, but with first principles, asking: "If we were to build an instrument to measure the market today, unbound by the technical dogmas of the 20th century, what would it look like?" The answer was clear: it must be multi-dimensional, it must be adaptive, and it must be built on a mathematical framework that respects the "fat-tailed" nature of reality.
The decision to use a pure Lorentzian kernel was non-negotiable. It represented a commitment to intellectual honesty over computational ease. The development of the Supreme Dashboard was driven by the philosophy of the "glass cockpit"—a belief that a trader's greatest asset is not a black box signal, but a transparent and intuitive flow of high-quality information. This script is the result of that unwavering vision: to create not just another indicator, but a new lens through which to perceive the market.
⚠️ RISK DISCLOSURE & PHILOSOPHY OF USE
The Lorentzian Theory Classifier is an instrument of profound analytical power, intended for the serious, discerning trader. It does not generate infallible signals. It generates high-probability, data-driven hypotheses based on a rigorous and transparent methodology. All trading involves substantial risk, and the future is fundamentally unknowable. Past performance, whether real or simulated, is no guarantee of future results. Use this tool to augment your own skill, to confirm your own analysis, and to manage your own risk within a well-defined trading plan.
"The effort to understand the universe is one of the very few things that lifts human life a little above the level of farce, and gives it some of the grace of tragedy."
— Steven Weinberg, Nobel Laureate in Physics
Trade with rigor. Trade with perspective. Trade with enlightenment. Trade with insight. Trade with anticipation.
— Dskyz, for DAFE Trading Systems
Custom Opening TimesThis indicator displays custom opening levels on your chart. Define multiple opening times, each with its own customizable style. Display these levels as horizontal lines at the opening price, or as vertical lines to mark the opening time.
Custom Opening Times
4 Independent Groups with 4 custom opening levels each
Set any custom opening time (displayed in New York Local Time)
Choose between Opening Price lines, Vertical time markers, or Both
Cutoff Times: Stop extending lines after specified times
Higher Timeframe Levels
5 Configurable HTF levels supporting any timeframe
Display opening prices from Daily, Weekly, Monthly, Quarterly, and custom timeframes
Show Previous High/Low levels from higher timeframes
Larry Williams's Market Structure
Here is a Pine script based on Larry Williams' market structure model.
Note: When processing real-time ticks, heavy calculations can cause script errors. To prevent this, please adjust the script's data range accordingly.
As I'm not an expert in Pine Script, there may be some imperfections. Your understanding is appreciated.
I have great admiration for the wisdom of Larry Williams.
May the trend be with you.
Trading Sessions Pro [By TradingNexus]🔍 **Trading Sessions Pro – Institutional Timing Zones **
This premium script highlights all key trading session times (New York, London, Asia), professional high-volatility trading zones, and visualizes institutional market timing with precision.
### 🕒 SESSION OVERVIEW:
• NY, London, and Asia sessions — shown with real-time background color overlays
• Session open/close markers on the chart (arrows below/above bars)
• Live session table showing current status (ACTIVE / INACTIVE)
### 💹 PROFESSIONAL TRADE ZONES:
• NY Trade Zone (08:00–11:00 EST)
• London Trade Zone (03:00–06:00 EST)
• Asia Trade Zone (18:00–21:00 EST)
• Overlap Zone (08:00–12:00 EST) – highest liquidity
• Visualized with color-coded backgrounds and labels like "NY TRADE", "HIGH LIQUIDITY"
### 🚫 NO-TRADE ZONES:
• Gray background marks low-probability zones when no trade zones are active
• Helps traders avoid sideways markets, low volume, and choppy sessions
• Based on session presence without overlapping trade zone activity
### 📈 SIGNALS:
• Volatility-based BUY and SELL signals (ATR-filtered)
• Buy = green candle + high volatility in trade zone
• Sell = red candle + high volatility in trade zone
• Arrow markers (↑ BUY, ↓ SELL) plotted on chart in real time
• Sensitivity control (Low / Medium / High) via settings
• Alerts supported for signal triggers
### 🧾 LIVE DASHBOARDS:
• Top-right session status table (NY / London / Asia)
• Bottom-right trade zone dashboard with:
- Real-time trade zone status
- ATR-based volatility value
- Summary of market condition: TRADE / WAIT
### 🔔 ALERTS SYSTEM:
• Alerts for:
- Session starts
- Trade zone activations
- Buy/Sell signal triggers
• Plug directly into TradingView alert system
---
✅ Compatible with any asset (Forex, Crypto, Indices)
✅ Designed for intraday + session-based institutional traders
✅ Clean Pine Script v6 coding
✅ Fully customizable and beginner-friendly
📊 Created by: **TradingNexus**
🌐 Website: (tradingnx.com)
📲 Telegram: @TradingNXClub
🐦 Twitter: @TradingNX
Custom ZigZag IndicatorOverview
The Custom ZigZag Indicator is a technical analysis tool built in Pine Script (version 5) for TradingView. It overlays on price charts to visualize market trends by connecting significant swing highs and lows, filtering out minor price noise. This helps identify the overall market direction (uptrends or downtrends), potential reversal points, and key support/resistance levels. Unlike standard price lines, it "zigzags" only between meaningful pivots, making trends clearer.
Core Logic and How It Works
The script uses a state-machine approach to track market direction and pivots:
Initialization
Starts assuming an upward trend on the first bar.
sets initial high/low prices and bar indices based on the current bar's high/low.
Direction Tracking:
Upward Trend (direction = 1):
Monitors for new highs: If the current high exceeds the tracked high, update the high price and bar.
Checks for reversal: If the low drops below the high by the deviation percentage (e.g., high * (1 - 0.05) for 5%), it signals a downtrend reversal.
Draws a green line from the last pivot (low) to the new high.
If labels are enabled, adds a label: "HH" (Higher High if above previous high), "LH" (Lower High if below), or "H" (for the first one).
Updates the last high and switches to downward direction.
Downward Trend (direction = -1):
Monitors for new lows: If the current low is below the tracked low, update the low price and bar.
Checks for reversal: If the high rises above the low by the deviation percentage (e.g., low * (1 + 0.05)), it signals an uptrend reversal.
Draws a red line from the last pivot (high) to the new low.
If labels are enabled, adds a label: "LL" (Lower Low if below previous low), "HL" (Higher Low if above), or "L" (for the first one).
Updates the last low and switches to upward direction.
RSI+BOLLINGER (LONG & SHORT)This indicator combines two of the most popular tools in technical analysis, the Relative Strength Index (RSI) and Bollinger Bands (BB), to generate both long (BUY) and short (SELL) trading signals.
Strategy:
Entries (Buy/Short): Entry signals are based on the RSI.
A BUY is suggested when the RSI crosses above an oversold level (default: 29), indicating a possible upward reversal.
A SHORT is suggested when the RSI crosses below an overbought level (default: 71), indicating a possible downward reversal.
Exits (Position Closure): Exit signals are based on Bollinger Bands.
A long position is closed when the price crosses below the upper Bollinger Band.
A short position is closed when the price crosses above the lower Bollinger Band.
Key Features:
Cascade Filter: Includes a smart filter that prevents opening new consecutive trades if the price hasn't moved significantly in favor of a new entry, optimizing signal quality.
Automation Alerts: Generates detailed alerts in JSON format for each event (buy, sell, close), designed for easy integration with trading bots and automated systems via webhooks.
Fully Configurable: All parameters of the RSI, Bollinger Bands, and strategy filters can be adjusted from the indicator’s settings menu.
Fibonacci Range Detector ║ BullVision🔬 Overview
The Fibonacci Range Mapper is a dynamic technical tool designed to identify, track, and visualize price ranges using Fibonacci levels. Whether you're trading manually or prefer automated structure recognition, this indicator helps you contextualize market moves and locate key price zones with precision.
⚙️ Core Logic
🔍 Range Detection (Auto & Manual Modes)
In Auto mode, the indicator uses an advanced ZigZag system based on ATR or percentage thresholds to confirm market swings and construct Fibonacci-based ranges.
In Manual mode, traders can define their own swing low and high to generate precise custom ranges.
📐 Fibonacci Mapping
Each detected range is automatically plotted with key Fibonacci retracement levels — 0%, 25%, 50%, 75%, 100% — along with optional extensions (127.2% and 161.8%) to anticipate price continuations or reversals.
📋 Live Data Table
An integrated info panel dynamically displays crucial metrics:
• Range size
• Current price zone (Discount / Mid / Premium)
• Position within range (%)
• Distance to range extremes
• Range status (Pending or Confirmed)
🕰️ Historical Memory
Up to 20 past ranges can be stored and visualized simultaneously, helping traders recognize repeated price behaviors and contextual support/resistance levels.
🎨 Visual Highlights
Zones of interest (0–25% = Discount, 75–100% = Premium) are color-coded with custom transparency, and labels can be toggled for clarity. The current active range updates in real time as structure evolves.
🔧 User Customization
• Detection Method: Choose between ATR or % ZigZag for automated swing identification
• Confirmation Delay: Set how many bars to wait before confirming a new high
• Manual Overrides: Select exact price levels when you want full control
• Extensions & Labels: Toggle additional lines and info to suit your charting style
• Visual Table Position: Customize where the data table appears on screen
• Color Scheme: Define your own zone gradients for better visual interpretation
📈 Use Cases
This indicator is ideal for traders who want to:
• Identify value zones within local or macro price structures
• Plan trades around Fibonacci retracement and extension levels
• Detect shifts in market structure using an adaptive ZigZag logic
• Track recurring price ranges and historical reaction points
• Enhance technical confluence with clean, visual price mapping
⚠️ Important Notes
This tool is not a buy/sell signal generator — it is a visual framework for structure-based analysis.
Use it in conjunction with your existing strategy and risk management process.
Always confirm with broader context and multi-timeframe alignment.
Momentum Reversal StrategyBEST USE IN 15MIN TIME FRAME EURUSD / XAUSUD
1. Strategy Overview
This strategy hunts short-term momentum reversals at key levels during high-liquidity sessions.
Timeframes: 5-minute for entries; 15-minute for trend context
Sessions: London for EUR/USD & GBP/USD; New York for XAU/USD
Pairs: EUR/USD, GBP/USD, XAU/USD
Indicators (3 max):
EMA(20) and EMA(50) (close)
MACD (12, 26, 9) histogram
Optional: RSI(14) (for divergence filter)
2. Entry Rules
Trend Filter (15 min):
Long only if EMA20 > EMA50; short only if EMA20 < EMA50.
Price-Action Zone (5 min):
Identify recent swing high/low within past 20 bars.
Draw horizontal support (for longs) or resistance (for shorts).
Indicator Alignment (5 min):
MACD histogram crossing from negative to positive for longs, positive to negative for shorts.
Candle close beyond EMA20 in direction of trade.
Candle Confirmation:
Bullish engulfing or hammer at support for longs; bearish engulfing or shooting star at resistance for shorts.
Entry Execution:
Place market order on candle close that meets all above.
3. Exit Rules
Stop-Loss (SL):
Long: 1.5× ATR(14) below entry candle low.
Short: 1.5× ATR(14) above entry candle high.
Take-Profit (TP):
Set at 2× SL distance (RR 1:2).
Trailing SL:
After price moves 1× SL in profit, trail SL to breakeven.
Partial Booking:
Close 50% at 1× SL (50% of TP), move SL to entry.
Close remaining at full TP.
4. Trade Management
False Signal Filter: Skip trades when RSI(14) > 70 for longs or < 30 for shorts (avoids overbought/oversold extremes).
One Trade at a Time: No multiple positions on same pair.
Session Cutoff: Close any open trade 15 minutes before session end.
5. Risk Parameters
Risk per Trade: 1% of account equity.
Reward Target: ≥2% (1:2 RR) per trade.
Win-Rate Expectancy: ≥75% based on indicator confluence and price-action confirmation.
SMC XAU/USD Pro✅ Structure filter: Only BUY if the price is above the last bullish BOS, and SELL if it is below the last bearish BOS.
✅ Significant candle body: At least 40% of the range to avoid weak signals.
✅ Boxes limited to 3 per type (old ones automatically cleared).
✅ Visual display of Take Profit and Stop Loss with green and red dashed lines.
✅ Clear BUY/SELL signals with visible labels.
Clarix Ichimoku DashboardPurpose
The Mariam Ichimoku Dashboard is designed to simplify the Ichimoku trading system for both beginners and experienced traders. It provides a complete view of trend direction, strength, momentum, and key signals all in one compact dashboard on your chart. This tool helps traders make faster and more confident decisions without having to interpret every Ichimoku element manually.
How It Works
1. Trend Strength Score
Calculates a score from -5 to +5 based on Ichimoku components.
A high positive score means strong bullish momentum.
A low negative score shows strong bearish conditions.
A near-zero score indicates a sideways or unclear market.
2. Future Cloud Bias
Looks 26 candles ahead to determine if the future cloud is bullish or bearish.
This helps identify the longer-term directional bias of the market.
3. Flat Kijun / Flat Senkou B
Detects flat zones in the Kijun or Senkou B lines.
These flat areas act as strong support or resistance and can attract price.
4. TK Cross
Identifies Tenkan-Kijun crosses:
Bullish Cross means Tenkan crosses above Kijun
Bearish Cross means Tenkan crosses below Kijun
5. Last TK Cross Info
Shows whether the last TK cross was bullish or bearish and how many candles ago it happened.
Helps track trend development and timing.
6. Chikou Span Position
Checks if the Chikou Span is above, below, or inside past price.
Above means bullish momentum
Below means bearish momentum
Inside means mixed or indecisive
7. Near-Term Forecast (Breakout)
Warns when price is near the edge of the cloud, preparing for a potential breakout.
Useful for anticipating price moves.
8. Price Breakout
Shows if price has recently broken above or below the cloud.
This can confirm the start of a new trend.
9. Future Kumo Twist
Detects upcoming twists in the cloud, which often signal potential trend reversals.
10. Ichimoku Confluence
Measures how many key Ichimoku signals are in agreement.
The more signals align, the stronger the trend confirmation.
11. Price in or Near the Cloud
Displays if the price is inside the cloud, which often indicates low clarity or a choppy market.
12. Cloud Thickness
Shows whether the cloud is thin or thick.
Thick clouds provide stronger support or resistance.
Thin clouds may allow easier breakouts.
13. Recommendation
Gives a simple trading suggestion based on all major signals.
Strong Buy, Strong Sell, or Hold.
Helps simplify decision-making at a glance.
Features
All major Ichimoku signals summarized in one panel
Real-time trend strength scoring
Detects flat zones, crosses, cloud twists, and breakouts
Visual alerts for trend alignment and signal confluence
Compact, clean design
Built with simplicity in mind for beginner traders
Tips
Best used on 15-minute to 1-hour charts for short-term trading
Avoid entering trades when price is inside the cloud because the market is often indecisive
Wait for alignment between trend score, TK cross, cloud bias, and confluence
Use the dashboard to support your trading strategy, not replace it
Enable alerts for major confluence or upcoming Kumo twists
Key Indicators Dashboard (KID)📌 Overview
Key Indicators Dashboard (KID) is a comprehensive all-in-one technical analysis tool designed for discretionary, systematic, and quantitative traders. It brings together multiple essential trading metrics into a highly customizable, interactive dashboard that overlays directly on your TradingView chart.
🎯 What Does KID Do?
KID consolidates all vital market metrics into a single, glanceable dashboard—saving screen space and analysis time. Whether you are screening equities or monitoring open positions, the KID panel updates dynamically, highlighting actionable signals and market conditions based on your own thresholds and trading style.
🛠 Key Features
⦿ Volatility and Range Metrics
ADR (Average Daily Range, % and Value): Quantifies average price movement over a defined period, with threshold-based color highlights.
ATR (Average True Range, % and Value): Measures volatility as both value and percentage of price.
⦿ Relative Strength and Trend Metrics
Relative Strength (RS) vs. Benchmark: Dynamically calculated using a customizable comparative symbol (default: NSE:NIFTYMIDSML400).
IBD-style RS Rating: Weighted average of price changes over several periods (3, 6, 9, and 12 months).
Trend Detection: Uses Supertrend indicator to visually identify up/down market trends.
⦿ Liquidity and Volume Analysis
Relative Volume (RVol): Comparison of current volume to moving average volume.
Turnover (in Cr): Average turnover calculation to assess liquidity.
Market Cap & Free Float: Real-time computation using price and outstanding/floating shares.
⦿ Trend Strength and Structure
MA Extensions: Compares price extension from a selected moving average, depicted as ATR multiples and percentages.
Moving Averages (MAs): Choice of EMA/SMA with customizable lengths, including up to four plotted MAs and detection of MA crossovers.
⦿ Breakout and Tightness Detectors
52-Week High/Low: Calculates and optionally marks the highest and lowest prices over 252 trading days, including percentage distance from current price.
Minervini Trend Template: The Trend Template is a set of technical criteria designed to identify stocks in strong uptrends.
• Price > 50-DMA > 150-DMA > 200-DMA
• 200-DMA is trending up for at least 1 month
• Price ≥ 52-week high proximity
• Price is at least 30% above its 52-week low.
• Price is within at least 25 percent of its 52-week high
• Table highlights when a stock meets all above criteria.
Tightness Indicator: Highlights periods with compressed price action relative to historical ranges.
⦿ Candlestick Patterns and Power Bars
Inside Bar Detection: Color- and shape-based highlighting of "inside bars" for pattern traders.
PowerBar (Purple Dot): Flags bars with strong price movement paired with high volume, using ROC and volume thresholds.
⦿ Sector/Industry
Automatically reflects symbol sector and industry if available from trading platform data.
⚙️ Customizable Visualization
Switchable between vertical or horizontal layout.
Works in dark/light mode
User-configurable to toggle any indicator ON or OFF.
User-configurable Moving (EMA/SMA), Period/Lengths and thresholds.
🔔 Built-in Alerts
Supports automatic alert creation for:
ADR%, ATR/ATR %, RS, RS Rating, Turnover
Moving Average Crossover (Bullish/Bearish)
52-Week High/Low
Inside Bars (Bullish/Bearish)
Tightness
Minervini Trend Template
⏳PineScreener Capabilities
The indicator’s alert conditions act as filters for PineScreener.
Available Screener Filters & Alerts:
Price Filters: Minimum and maximum price cutoffs.
Daily Change Filters: Minimum and maximum daily percent move.
Volatility Filters: ADR% and ATR% thresholds met or exceeded.
Liquidity Filters: Minimum average turnover and relative volume cutoffs.
Momentum/Trend Filters:
• Strong RS/RS Rating
• Uptrend/Downtrend state (Supertrend-based)
• Price extensions (detect overbought/oversold situations quickly)
• Breakout proximity via 52-week high/low alerts
Pattern and Setup Detection:
• Minervini Trend Template
• Inside Bar
• Tightness (compressed/volatility contraction setups)
• PowerBar (High ROC + high volume bars)
• MA crossover or above/below specific MAs
⦿ (Optional) : For horizontal table orientation increase Top Margin to 16% in Chart (Canvas) settings to avoid chart overlapping with table.
⚡ Add this script to your chart and start making smarter trade decisions today! 🚀
WT + Stoch RSI Reversal Combo📊MR.Z RSI : WT + Stochastic RSI Reversal Combo
This custom indicator combines WaveTrend oscillator and Stochastic RSI to detect high-confidence market reversal points, filtering signals so they only appear when both indicators align.
🔍 Core Components:
✅ WaveTrend Oscillator
Based on smoothed deviation from EMA (similar to TCI logic)
Plots:
WT1 (main line)
WT2 (signal line = SMA of WT1)
Uses overbought/oversold thresholds (default: ±53) to filter signals
✅ Stochastic RSI
Momentum oscillator based on RSI's stochastic value
Plots:
%K: smoothed Stoch of RSI
%D: smoothed version of %K
Adjustable oversold/overbought thresholds (default: 20/80)
🔁 Combined Reversal Signal Logic:
🔼 Buy Signal
WT1 crosses above WT2 below WT oversold level (e.g., -53)
%K crosses above %D below Stoch RSI oversold level (e.g., 20)
🔽 Sell Signal
WT1 crosses below WT2 above WT overbought level (e.g., 53)
%K crosses below %D above Stoch RSI overbought level (e.g., 80)
🔔 Signals are only plotted and alerted if both conditions are true.
📌 Features:
Toggle on/off:
WaveTrend lines and histogram
Stochastic RSI
Combined Buy/Sell signals
Horizontal reference lines (±100, OB/OS)
Fully customizable smoothing lengths and thresholds
Signal plots:
✅ Green up-triangle = Combo Buy
✅ Red down-triangle = Combo Sell
Optional: Circle/cross markers for WT-only and Stoch-only signals
🔔 Built-in alerts for Buy/Sell signals
📈 Use Cases:
Reversal Trading: Wait for both indicators to confirm momentum shift
Entry Filter: Use in combination with trend indicators (like EMA)
Scalping or Swing: Works on intraday and higher timeframes
Clarix Smart Reversal ScorecardPurpose
Designed to identify potential trend reversal setups based on a rules-based scoring system. It helps traders quickly assess the strength of reversal signals using objective technical criteria.
How It Works
The script evaluates seven key technical conditions for both bullish and bearish reversals. Each condition met adds 1 point to the total score (max 7). A table displays the results with a final score and an automatic conclusion based on the strength of the setup.
Features
Reversal signal scoring from 0 to 7
Bullish and bearish detection modes
Visual scorecard table with individual factors
Configurable minimum score to show
Alert conditions for strong (5+) and perfect (7) setups
Lightweight and optimized for all timeframes
Usage Tips
Set "Direction" to Bullish, Bearish, or Both depending on your strategy
Use on timeframes between 15m to 4H for optimal signals
A score of 5 or more suggests strong reversal potential
Combine with key support/resistance or trend context for higher accuracy
Avoid using during high-volatility news events for cleaner signals