EquiSense AI Signals🇸🇦 العربي
المتنبئ الذكي المتوازن (AI v7)
وصف قصير:
مؤشر تجميعي ذكي يوازن بين الاتجاه والزخم والحجم والتذبذب وأنماط الشموع، ويحوّلها إلى نظام نقاط ونجوم يولّد إشارات شراء/بيع مؤكَّدة بتقاطع MACD. بعد الإشارة، يعرض أهدافًا ذكية (TP1/TP2/TP3) ووقف خسارة مبنيَّيْن على ATR مع رسومات مستقبلية ولوحة معلومات لإدارة الصفقة.
الإعدادات (Inputs)
الحد الأدنى للنقاط (min_score): افتراضي 6.0 — كلما ارتفع قلّت الإشارات وزادت جودتها.
الحد الأدنى للنجوم (min_stars): افتراضي 2 — فلتر لقوة الإشارة.
عدد الشموع المستقبلية (future_bars): افتراضي 15 — مدى رسم الأهداف والوقف للأمام.
استخدام الأهداف الذكية (use_ai_targets): تفعيل/إيقاف مضاعِف الذكاء الاصطناعي للأهداف والوقف.
كيف يعمل؟
يحسب المؤشر buy_score/sell_score من مجموعة عوامل: EMA8/21/50/200، RSI + متوسطه، MACD + Histogram، Stochastic، ADX/DMI، VWAP، الحجم، MTF 15m، ROC/المومنتَم، Heikin Ashi، وأنماط (ابتلاع/مطرقة/شهاب).
يحوّل الدرجات إلى نجوم (⭐⭐ إلى ⭐⭐⭐⭐⭐) حسب القوة.
تولّد الإشارة فقط إذا توفّر: درجة ≥ الحد + نجوم ≥ الحد + تقاطع MACD (صعودًا للشراء، هبوطًا للبيع).
عند الإشارة يبدأ سيناريو صفقة واحدة فقط حتى تنتهي (TP3 أو SL).
الأهداف والوقف (ذكاء اصطناعي)
تُشتق من ATR ثم تُعدَّل عبر مضاعِف AI مبني على: ATR%، الزخم (ROC)، الحجم مقابل متوسطه، قوة الاتجاه (ADX)، وعدد النجوم.
تقريبيًا:
TP1 ≈ 1.5×ATR × AI
TP2 ≈ 2.5×ATR × AI
TP3 ≈ 4.0×ATR × AI
SL ≈ 1.0×ATR ÷ AI
ماذا سترى على الشارت؟
علامات “شراء/بيع”، نجوم قرب الإشارة، خط دخول (أزرق)، وقف (أحمر منقّط)، TP1/TP2 (أخضر)، TP3 (ذهبي) مع صناديق مناطق للأهداف وخط ربط نحو الهدف النهائي.
وسم AI يعرض نسبة المضاعِف والنجوم بصريًا.
لوحة معلومات تعرض الحالة، القوة، AI%، السعر، الدرجات، وأثناء الصفقة: الدخول، TP1/TP2/TP3، والربح اللحظي.
التنبيهات (Alerts)
شرطان جاهزان: شراء وبيع عند تحقق الإشارة.
أضِف تنبيه: Right click → Add alert → اختر المؤشر → الشرط المطلوب.
أفضل الممارسات
استخدم الإطار المناسب للأصل:
سكالبينغ 5–15m: min_score 8 وmin_stars 3–4.
تأرجحي H1–H4: min_score 7 وmin_stars 3.
يومي/أسهم: min_score 6–7 وmin_stars 2–3.
فضّل التداول مع EMA200 واتجاه MTF 15m.
خفّض المخاطرة وقت الأخبار العالية.
التزم بإدارة مخاطر ثابتة (مثلاً 1% لكل صفقة).
حدود مهمة
الأفضل انتظار إغلاق الشمعة لتأكيد التقاطعات وتجنّب تغيّرها.
صفقة واحدة في المرة بفضل حالة in_trade.
يستخدم request.security مع lookahead_off لإطار 15m؛ التزم بالتقييم عند الإغلاق.
أسئلة شائعة
هل يستخدم منفردًا؟ نعم، لكن مع مناطق سعرية/ترند وخطة مخاطر يصبح أقوى.
لماذا تختلف الأهداف؟ لأن مضاعِف AI يكيّف TP/SL مع ظروف السوق.
إخلاء مسؤولية
هذه أداة تحليلية تعليمية وليست نصيحة استثمارية. اختبر الإعدادات تاريخيًا والتزم بالمخاطرة المناسبة.
ملاحظة للمبرمجين
Pine Script v6، متغيرات var لحفظ الحالة، تنظيف الرسومات على الشمعة الأخيرة، مع حدود مرتفعة للرسوم لتجنّب الأخطاء.
🇬🇧 English
Balanced Smart Predictor (AI v7)
Short description:
A smart, ensemble-style indicator that blends trend, momentum, volume, volatility, and candle patterns into a score & star system that produces Buy/Sell signals confirmed by MACD crosses. After a signal, it projects smart targets (TP1/TP2/TP3) and a stop-loss derived from ATR, with forward drawings and a control panel for trade management.
Inputs
Minimum Score (min_score): default 6.0 — higher = fewer but stronger signals.
Minimum Stars (min_stars): default 2 — extra filter for strength.
Future Bars (future_bars): default 15 — how far targets/SL are drawn ahead.
Use AI Targets (use_ai_targets): toggle the AI multiplier for TP/SL.
How it works
Computes buy_score/sell_score from: EMA8/21/50/200, RSI & its MA, MACD & Histogram, Stochastic, ADX/DMI, VWAP, Volume, 15m MTF tilt, ROC/Momentum, Heikin Ashi, and candle patterns (engulfing/hammer/shooting star).
Converts scores into Stars (⭐⭐ to ⭐⭐⭐⭐⭐) via tiered thresholds.
Signals fire only when: Score ≥ minimum + Stars ≥ minimum + MACD cross (up = Buy, down = Sell).
On a signal, one active trade is managed until TP3 or SL is reached.
Targets & Stop (AI-driven)
Targets and SL are ATR-based, then adjusted by an AI multiplier derived from: ATR%, momentum (ROC), relative volume, trend strength (ADX), and star rating.
Approximate formulas:
TP1 ≈ 1.5×ATR × AI
TP2 ≈ 2.5×ATR × AI
TP3 ≈ 4.0×ATR × AI
SL ≈ 1.0×ATR ÷ AI
What you’ll see on chart
“Buy/Sell” markers with small Star labels, an Entry line (blue), SL (red dotted), TP1/TP2 (green), TP3 (gold) with shaded target boxes and a guide line towards the final target.
A central AI badge showing the multiplier % and star rating.
A top-right Panel showing status, strength, AI%, price, scores, and during trades: entry, TP1/TP2/TP3, and live P/L.
Alerts
Two ready-made conditions: Buy and Sell when the respective signal triggers.
Add alert: Right click → Add alert → choose the indicator → select condition.
Best practices
Match timeframe to instrument:
Scalping 5–15m: min_score 8, min_stars 3–4.
Swing H1–H4: min_score 7, min_stars 3.
Daily/Equities: min_score 6–7, min_stars 2–3.
Prefer trades with EMA200 and 15m MTF trend alignment.
De-risk around major news.
Use fixed risk per trade (e.g., 1%).
Important notes
Prefer bar close confirmation to avoid mid-bar MACD flips.
Single trade at a time via the in_trade state.
15m MTF uses request.security with lookahead_off; evaluate at close for consistency.
FAQ
Use it standalone? You can, but it’s stronger when combined with S/R zones/trendlines and solid risk management.
Why do targets vary? The AI multiplier adapts TP/SL to current market conditions.
Disclaimer
This is an analytical/educational tool, not financial advice. Always backtest and use appropriate risk management.
Developer note
Built in Pine Script v6, uses var for trade state, clears drawings on the last bar to keep the chart tidy, and raises drawing limits to avoid runtime errors.
Pesquisar nos scripts por "TRENDLINES"
Institutional RSI Trendline Breakout StrategyKey Features:
1. RSI Trendline Detection
Automatically identifies RSI resistance (bearish) and support (bullish) trendlines
Requires minimum touch points for validation
Dynamic trendline calculation with configurable pivot lookback
2. Market Structure Analysis
Detects swing highs/lows to identify uptrends and downtrends
Combines multiple trend confirmation methods (swing structure + moving averages)
Visual background highlighting for trend confirmation
3. Breakout Signals
Buy Signal: RSI breaks above resistance trendline + bullish market structure
Sell Signal: RSI breaks below support trendline + bearish market structure
Configurable breakout threshold to avoid false signals
4. ATR-Based Stop Loss
Dynamic stop loss placement based on market volatility
Multiplier-adjustable for different risk profiles
Visual plotting of stop loss levels
5. Signal Filters
Volume filter to confirm breakout validity
RSI level filters to avoid extreme conditions
Multiple validation layers for institutional-grade accuracy
6. Professional Visualization
Clear buy/sell signal markers on chart
Information dashboard with real-time metrics
Trend background highlighting
Stop loss level indicators
7. Alert System
Ready-to-use alerts for both buy and sell signals
Includes entry price and stop loss in alert messages
This script provides institutional-grade signal quality with multiple confirmation layers, optimal risk management, and comprehensive market analysis.
50% Fib Trend Cloud + ATR BandsThis indicator plots two structural 50% fibonacci midpoints from recent confirmed 'left/right' swings that form a *cloud* of equilibrium, then adds a rolling 50% fibonacci range midpoint based on a lookback window that's wrapped in ATR bands. Importantly, it solves a specific trading problem:
Structural midpoints (macro context) are powerful but can lag when price escapes prior ranges. Enter rolling 50% fib + ATR ➡️ which restores real-time balance & tolerance (micro context). Together they show where price is balanced structurally, where it’s balanced right now, and how much volatility to tolerate before acting.
➖➖➖
🔑 Why this is different
Most tools either draw a single midpoint (ex., daily 50%) or ATR bands around a moving average. This script fuses dual swing-based 50% midpoints (structure) + a rolling 50% with ATR (flow), so you don’t lose context when price escapes prior ranges. The cloud tells you who’s in control (fast vs. slow structure). The rolling 50% + ATR tells you how far is “too far” now.
➖➖➖
🧠 What it does (at a glance)
🔸Structural Equilibrium × 2 (Fib1/Fib2)  
Two independent 50% midpoints formed from swing pivots (configurable Left/Right bars + optional smoothing). Their gap is the Midpoint Cloud = structural “fair value” zone.
🔸Rolling 50% + ATR Bands
A rolling highest/lowest window computes an always-current 50% rolling midpoint plot; ±ATR × length envelopes define a soft value area and over-stretch boundaries.
🔸Actionable Visuals 
Optional fill between Fib1/Fib2, labels, and candle-overlay modes to instantly read regime (above both / below both / between).
🔸Smart Defaults  
 Timeframe-aware presets for L/R pivots & smoothing; full manual overrides available.
➖➖➖
⚙️ Calculations (plain-English)
🔸Pivot midpoints (Fib1 & Fib2):
  1) Detect a swing using `Left/Right` bars  
  2) Take the swing’s high/low → compute 50%
  3) (Optional) Smooth the line (SMA) to stabilize on noisy TFs  
  4) Repeat with a different sensitivity to get two distinct midpoints  
🔸Rolling midpoint:
  Highest High / Lowest Low over the last *N* bars → (HH + LL) / 2
🔸ATR levels:
  `Upper = Rolling50 + ATR × Mult`, `Lower = Rolling50 − ATR × Mult`  
  (Typical: ATR length 14–21; Multipliers 2.236 for L1, 5.382 for L2)
➖➖➖
🤖 Auto-Configured Presets (with Manual Override)
💡Goal: make the midpoints “just work” on common timeframes while still letting you dial them in.
💡How Auto Presets work
When Auto Presets = ON, the script picks sensible L/R/S (Left bars / Right bars / Smoothing) for Fib Trend 1 and Fib Trend 2 based on chart timeframe.  
🔸Fib 1 (fast) emphasizes *micro-structure* for quicker bias shifts.  
🔸Fib 2 (slow) emphasizes *macro-structure* for anchor/bias context.  
These defaults keep Fib 1 responsive without jitter and Fib 2 stable without lag.
➡️ Turn Auto Presets = OFF to take full control with the manual inputs described below.
➖➖➖
🛠 Manual Fib Midpoint Settings (when Auto = OFF)
💡Each midpoint uses three knobs:
🔸Pivot Left (L): bars to the left that must be lower/higher to qualify a swing  
🔸Pivot Right (R): bars to the right that must be lower/higher to confirm the swing  
🔸Smoothing (S): SMA period applied to the raw 50% midpoint (stabilizes noise)
5-Minute optimized defaults
🔸Fib Trend 1: `L21 / R5 / S55` → responsive local structure (entries/exits, re-balancing zones)
🔸Fib Trend 2: `L55 / R13 / S89` → broader structure (trend context, anchors/stops)
Timeframe guidance
🔸1m–3m: may feel a touch laggy → consider ~`L13 / R3 / S34`
🔸15m–1h: defaults remain strong → optionally ~`L34 / R8 / S89`
🔸4h+ : increase span for stability → `L89–144 / R13–21 / S144–233`
➡️ Rule of thumb: shorter L/R = faster detection, longer S = smoother line. Tune until Fib 1 captures the “active swing” and Fib 2 captures the “dominant swing” without whipsaw.
➖➖➖
 🎛 Inputs (quick reference)
🔸Fib Trend 1/2: Source (High/Low/Close), Left/Right bars, Smoothing length, Show/Hide, Cloud fill toggle  
🔸Rolling 50%: Lookback length, Price basis (Wicks/Close/HLC3/OHLC4), Plot scope (Full / Last N / None)  
🔸ATR Bands: ATR length, Multipliers (L1/L2), Plot scope, Line width/colors  
🔸Overlay & Labels: Candle overlay mode, Label padding/size, 50% centerline toggle, Plot widths
➖➖➖
🖍️ Candle Coloring & Overlay Modes
💡Purpose: make trend instantly visible on the candles and ATR levels.
1) Color Logic (dropdown)
🔸 Fib Midpoints — Colors by position of price vs. Fib 1 & Fib 2  
🔸ATR Zones — Colors by which ATR zone price is in relative to the Rolling 50%  
➡️ Price Reference: Choose the input used for the decision (Close, HL2, OHLC3, OHLC4).  
➡️Tip: Close is crisp; HL2/OHLC variants are smoother.
2) Overlay Style (dropdown)
🔸 None — No visual change to candles  
🔸 Bar Color — Uses `barcolor()` to tint built-in candles (this takes into account your Trading View settings, for instance if you have wicks set to white, they will show up as white with this setting)  
🔸 PlotCandles — Draws unified custom candles (body, wick, border) with the same color for maximum clarity
💡Practical use
🔸 Pick Fib Midpoints to read structural bias at a glance (above/below/between the cloud).  
🔸 Pick ATR Zones to read value vs. stretch around the Rolling 50% (mean-reversion vs. trend extension).
➖➖➖
📘 How to use
A) Trend confirmation
- Strong bullish bias when price holds above both structural mids; strong bearish when below both.  
- Use the Rolling 50% + ATR as a dynamic re-entry zone: pullbacks that respect ATR(L1) often continue the prevailing trend.
B) Transition / mean reversion  
- Inside the Cloud (between Fib1 & Fib2) treat behavior as neutralization/re-balancing; range tactics tend to outperform momentum plays.  
- In ranges, fades near ±ATR around the rolling 50% can mark short-term edges.
C) Breakout context  
- When price leaves the Cloud, the Rolling 50% keeps you anchored so price never feels “floating.” A clean hold outside ATR(L1/L2) suggests regime strength; quick re-entries hint at traps.
➖➖➖
🖼 Chart examples 
➡️ Each snapshot shows how the Cloud (structure) and the Rolling 50% + ATR (flow) work together.
1) 1-Minute Downtrend – Cloud as Dynamic Ceiling
   - The Cloud slopes down; pullbacks repeatedly fail under the Cloud’s underside.  
   - Rolling 50% (dashed mid) + ATR(L1) act as a reversion band: rallies stall near upper ATR and rotate lower.
     
2) 15-Minute Persistent Drift – Structure Guides, Flow Times Entries
   - Long drift lower with Cloud overhead.  
   - Consolidations near the rolling mid resolve in the trend direction; ATR bands frame risk on each attempt.
     
3) 15-Minute Uptrend (BTC) – From Cloud Escape to Value Stair-Step
   - After escaping the prior Cloud, rolling 50% + ATR establish a new higher value area.  
   - Pullbacks into ATR(L1) produce orderly stair-steps; Cloud remains supportive on deeper dips
     
4) 5-Minute BTC – Pullback to Value then Rotate
   - Strong leg up; retrace tags lower ATR band and rotates back toward the rolling mid.  
   - Labels (Fib1/Fib2) make the structural context explicit for decision-making.
    
➖➖➖
🧪 Starter presets
- Intraday (5–15m): Fib1 ~ L21/R5 (smooth 5), Fib2 ~ L55/R13 (smooth 9) • Rolling = 55 • ATR = 14 • L1 = 2.5x, L2 = 5.0x  
- Scalping: Shorten lookbacks & smoothing; keep ATR multipliers similar, or tighten L1.  
- Swing: Lengthen all lookbacks; consider ATR length 21–28.
➖➖➖
🏁Final Word
This script is not just a visual tool, it’s a complete trend and structure framework. Whether you're looking for clean trend alignment, dynamic support/resistance, or early warning signs of a reversal, this system is tuned to help you react with confidence — not hindsight.
Rembember, no single indicator should be used in isolation. For best results, combine it with price action analysis, higher-timeframe context, and complementary tools like trendlines, moving averages etc Use it as part of a well-rounded trading approach to confirm setups — not to define them alone.
---
💡Turn logic into clarity. Structure into trades. And uncertainty into confidence.
Sessions [Trade Tribe HQ]Color-coded session ranges with ADR% labels to help you trade smarter, not harder.
This tool marks New York, London, Tokyo, and Sydney sessions, showing their ranges, highs/lows, VWAPs, and ADR%.
🔹 Key Features
Colored session boxes (NY, London, Tokyo, Sydney)
Session highs & lows, VWAP, and trendlines
Dashboard showing active sessions, volume, and %ADR
ADR% labels at session close
🔹 How It Helps
Spot session traps, moves, and reversals faster
Manage expectations using ADR% (no chasing over-extended moves)
Identify overlap zones (London → NY) for volatility spikes
Simplify cycle tracking across global markets
Market Sessions Marker—making it easy to see where the energy has been spent and where opportunity is building next.
Created with ❤️ by TraderChick – part of the Trade Tribe HQ community.  
If you found this tool useful, check out my profile for more strategies, classes, and resources.
Adaptive HMA SignalsAdaptive HMA Signals
This indicator pairs nicely with the Contrarian 100 MA and can be located here:
Overview
The "Adaptive HMA Signals" indicator is a sophisticated technical analysis tool designed for traders aiming to capture trend changes with precision. By leveraging Hull Moving Averages (HMAs) that adapt dynamically to market conditions (volatility or volume), this indicator generates actionable buy and sell signals based on price interactions with adaptive HMAs and slope analysis. Optimized for daily charts, it is highly customizable and suitable for trading forex, stocks, cryptocurrencies, or other assets. The indicator is ideal for swing traders and trend followers seeking to time entries and exits effectively.
How It Works
The indicator uses two adaptive HMAs—a primary HMA and a minor HMA—whose periods adjust dynamically based on user-selected market conditions (volatility via ATR or volume via RSI). It calculates the slope of the primary HMA to identify trend strength and generates exit signals when the price crosses the minor HMA under specific slope conditions. Signals are plotted as circles above or below the price, with inverted colors (white for buy, blue for sell) to enhance visibility on any chart background.
Key Components
Adaptive HMAs: Two HMAs (primary and minor) with dynamic periods that adjust based on volatility (ATR-based) or volume (RSI-based) conditions. Periods range between user-defined minimum and maximum values, adapting by a fixed percentage (3.141%).
Slope Analysis: Calculates the slope of the primary HMA over a 34-bar period to gauge trend direction and strength, normalized using market range data.
Signal Logic: Generates buy signals (white circles) when the price falls below the minor HMA with a flat or declining slope (indicating a potential trend reversal) and sell signals (blue circles) when the price rises above the minor HMA with a flat or rising slope.
Signal Visualization: Plots signals at an offset based on ATR for clarity, using semi-transparent colors to avoid chart clutter.
Mathematical Concepts
Dynamic Period Adjustment:
Primary HMA period adjusts between minLength (default: 144) and maxLength (default: 200).
Minor HMA period adjusts between minorMin (default: 55) and minorMax (default: 89).
Periods decrease by 3.141% under high volatility/volume and increase otherwise.
HMA Calculation:
Uses the Hull Moving Average formula: WMA(2 * WMA(src, length/2) - WMA(src, length), sqrt(length)).
Provides a smoother, faster-responding moving average compared to traditional MAs.
Slope Calculation:
Computes the slope of the primary HMA using a 34-bar period, normalized by the market range (highest high - lowest low over 34 bars).
Slope angle is converted to degrees using arccosine for intuitive trend strength interpretation.
Signal Conditions:
Buy: Slope ≥ 17° (flat or rising), price < minor HMA, low volatility/volume.
Sell: Slope ≤ -17° (flat or declining), price > minor HMA, low volatility/volume.
Signals are triggered only on confirmed bars to avoid repainting.
Entry and Exit Rules
Buy Signal (White Circle): Triggered when the price crosses below the minor HMA, the slope of the primary HMA is flat or rising (≥17°), and volatility/volume is low. The signal appears as a white circle above the price bar, offset by 0.72 * ATR(5).
Sell Signal (Blue Circle): Triggered when the price crosses above the minor HMA, the slope of the primary HMA is flat or declining (≤-17°), and volatility/volume is low. The signal appears as a blue circle below the price bar, offset by 0.72 * ATR(5).
Exit Rules: Exit a buy position on a sell signal and vice versa. Combine with other tools (e.g., support/resistance, RSI) for additional confirmation. Always apply proper risk management.
Recommended Usage
The "Adaptive HMA Signals" indicator is optimized for daily charts but can be adapted to other timeframes (e.g., 1H, 4H) with adjustments to period lengths. It performs best in trending or range-bound markets with clear reversal points. Traders should:
Backtest the indicator on their chosen asset and timeframe to validate signal reliability.
Combine with other technical tools (e.g., trendlines, Fibonacci retracements) for stronger trade setups.
Adjust minLength, maxLength, minorMin, and minorMax based on market volatility and timeframe.
Use the Charger input to toggle between volatility (ATR) and volume (RSI) adaptation for optimal performance in specific market conditions.
Customization Options
Source: Choose the price source (default: close).
Show Signals: Toggle visibility of buy/sell signals (default: true).
Charger: Select adaptation trigger—Volatility (ATR-based) or Volume (RSI-based) (default: Volatility).
Main HMA Periods: Set minimum (default: 144) and maximum (default: 200) periods for the primary HMA.
Minor HMA Periods: Set minimum (default: 55) and maximum (default: 89) periods for the minor HMA.
Slope Period: Fixed at 34 bars for slope calculation, adjustable via code if needed.
Why Use This Indicator?
The "Adaptive HMA Signals" indicator combines the responsiveness of HMAs with dynamic adaptation to market conditions, offering a robust tool for identifying trend reversals. Its clear visual signals, customizable periods, and adaptive logic make it versatile for various markets and trading styles. Whether you’re a beginner or an experienced trader, this indicator enhances your ability to time entries and exits with precision.
Tips for Users
Test the indicator thoroughly on your chosen market and timeframe to optimize settings (e.g., adjust period lengths for non-daily charts).
Use in conjunction with price action or other indicators (e.g., RSI, MACD) for stronger trade confirmation.
Monitor volatility/volume conditions to ensure the Charger setting aligns with market dynamics.
Ensure your chart timeframe aligns with the selected period lengths for accurate signal generation.
Apply strict risk management to protect against false signals in choppy markets.
Happy trading with the Adaptive HMA Signals indicator! Share your feedback and strategies in the TradingView community!
Effort vs Result TRFxThe Effort vs Result (EVR) indicator is designed to identify high-probability reversal signals based on volume and price action dynamics. It highlights points where the market “effort” (high volume) does not correspond to an immediate “result” (price continuation), providing actionable trade setups for both bullish and bearish scenarios.
 Features: 
Detects bullish EVR signals when a previous high-volume sell candle is followed by a strong bullish candle that sweeps the previous low.
Detects bearish EVR signals when a previous high-volume buy candle is followed by a strong bearish candle that sweeps the previous high.
Sticky arrows plot automatically above or below the candle, ensuring the signal moves with the price bar.
Considers inside bars, wick size, and relative volume to filter low-quality setups.
Fully compatible with multiple timeframes.
 Inputs: 
Volume Multiplier: Sets how much higher the current candle’s volume should be compared to the previous candle to count as high volume.
Min Wick % of Candle: Minimum wick size relative to the candle body to filter insignificant bars.
Max Inside Bars to Ignore: Number of inside bars between the previous candle and the EVR candle to ignore minor consolidations.
 Usage: 
(Green Arrow): Enter long when a green arrow appears below the candle. Place stop-loss slightly below the previous swing low.
(Red Arrow): Enter short when a red arrow appears above the candle. Place stop-loss slightly above the previous swing high.
Can be combined with support/resistance levels, trendlines, or other technical indicators for higher accuracy.
 Benefits: 
Simple and clean visual signals with tiny arrows that move with candles.
Helps traders identify high-probability reversal points based on volume and price action.
Ideal for intraday and swing trading strategies.
Contrarian Period High & LowContrarian Period High & Low
This indicator pairs nicely with the Contrarian 100 MA and can be located here:
Overview
The "Contrarian Period High & Low" indicator is a powerful technical analysis tool designed for traders seeking to identify key support and resistance levels and capitalize on contrarian trading opportunities. By tracking the highest highs and lowest lows over user-defined periods (Daily, Weekly, or Monthly), this indicator plots historical levels and generates buy and sell signals when price breaks these levels in a contrarian manner. A unique blue dot counter and action table enhance decision-making, making it ideal for swing traders, trend followers, and those trading forex, stocks, or cryptocurrencies. Optimized for daily charts, it can be adapted to other timeframes with proper testing.
How It Works
The indicator identifies the highest high and lowest low within a specified period (e.g., daily, weekly, or monthly) and draws horizontal lines for the previous period’s extremes on the chart. These levels act as dynamic support and resistance zones. Contrarian signals are generated when the price crosses below the previous period’s low (buy signal) or above the previous period’s high (sell signal), indicating potential reversals. A blue dot counter tracks consecutive buy signals, and a table displays the count and recommended action, helping traders decide whether to hold or flip positions.
Key Components
Period High/Low Levels: Tracks the highest high and lowest low for each period, plotting red lines for highs and green lines for lows from the bar where they occurred, extending for a user-defined length (default: 200 bars).
Contrarian Signals: Generates buy signals (blue circles) when price crosses below the previous period’s low and sell signals (white circles) when price crosses above the previous period’s high, designed to capture potential reversals.
Blue Dot Tracker: Counts consecutive buy signals (“blue dots”). If three or more occur, it suggests a stronger trend, with the table recommending whether to “Hold Investment” or “Flip Investment.”
Action Table: A 2x2 table in the bottom-right corner displays the blue dot count and action (“Hold Investment” if count ≥ 4, else “Flip Investment”) for quick reference.
Mathematical Concepts
Period Detection: Uses an approximate bar count to define periods (1 bar for Daily, 5 bars for Weekly, 20 bars for Monthly on a daily chart). When a new period starts, the previous period’s high/low is finalized and plotted.
High/Low Tracking:
Highest high (periodHigh) and lowest low (periodLow) are updated within the period.
Lines are drawn at these levels when the period ends, starting from the bar where the extreme occurred (periodHighBar, periodLowBar).
Signal Logic:
Buy signal: ta.crossunder(close , prevPeriodLow) and not lowBroken and barstate.isconfirmed
Sell signal: ta.crossover(close , prevPeriodHigh) and not highBroken and barstate.isconfirmed
Flags (highBroken, lowBroken) prevent multiple signals for the same level within a period.
Blue Dot Counter: Increments on each buy signal, resets on a sell signal or if price exceeds the entry price after three or more buy signals.
Entry and Exit Rules
Buy Signal (Blue Circle): Triggered when the price crosses below the previous period’s low, suggesting a potential oversold condition and buying opportunity. The signal appears as a blue circle below the price bar.
Sell Signal (White Circle): Triggered when the price crosses above the previous period’s high, indicating a potential overbought condition and selling opportunity. The signal appears as a white circle above the price bar.
Blue Dot Tracker:
Increments blueDotCount on each buy signal and sets an entryPrice on the first buy.
Resets on a sell signal or if price exceeds entryPrice after three or more buy signals.
If blueDotCount >= 3, the table suggests holding; if >= 4, it reinforces “Hold Investment.”
Exit Rules: Exit a buy position on a sell signal or when price exceeds the entry price after three or more buy signals. Combine with other tools (e.g., trendlines, support/resistance) for additional confirmation. Always apply proper risk management.
Recommended Usage
The "Contrarian Period High & Low" indicator is optimized for daily charts but can be adapted to other timeframes (e.g., 1H, 4H) with adjustments to the period bar count. It excels in markets with clear support/resistance levels and potential reversal zones. Traders should:
Backtest the indicator on their chosen asset and timeframe to validate signal reliability.
Combine with other technical tools (e.g., moving averages, Fibonacci levels) for stronger trade confirmation.
Adjust barsPerPeriod (e.g., ~120 bars for Weekly on hourly charts) based on the chart timeframe and market volatility.
Monitor the action table to guide position management based on blue dot counts.
Customization Options
Period Type: Choose between Daily, Weekly, or Monthly periods (default: Monthly).
Line Length: Set the length of high/low lines in bars (default: 200).
Show Highs/Lows: Toggle visibility of period high (red) and low (green) lines.
Max Lines to Keep: Limit the number of historical lines displayed (default: 10).
Hide Signals: Toggle buy/sell signal visibility for a cleaner chart.
Table Display: A fixed table in the bottom-right corner shows the blue dot count and action, with yellow (Hold) or green (Flip) backgrounds based on the count.
Why Use This Indicator?
The "Contrarian Period High & Low" indicator offers a unique blend of support/resistance visualization and contrarian signal generation, making it a versatile tool for identifying potential reversals. Its clear visual cues (lines and signals), blue dot tracker, and actionable table provide traders with an intuitive way to monitor market structure and manage trades. Whether you’re a beginner or an experienced trader, this indicator enhances your ability to spot key levels and time entries/exits effectively.
Tips for Users
Test the indicator thoroughly on your chosen market and timeframe to optimize settings (e.g., adjust barsPerPeriod for non-daily charts).
Use in conjunction with price action or other indicators for stronger trade setups.
Monitor the action table to decide whether to hold or flip positions based on blue dot counts.
Ensure your chart timeframe aligns with the selected period type (e.g., daily chart for Monthly periods).
Apply strict risk management to protect against false breakouts.
Happy trading with the Contrarian Period High & Low indicator! Share your feedback and strategies in the TradingView community!
CCI vs Two EMAs + Trendlines + Breakout HighlightPerfect indicator which analyzes the cci4000 & 2 EMAS. 
Option Trend for Nifty & Bank Nifty (Indian Market)This is an advanced multi-system trading indicator for TradingView, offering a comprehensive suite of tools for technical analysis and trading decision support .
Main Features
Trendline Detection: Identifies bullish and bearish trendlines automatically using swing highs and lows, with optional labeling of key price structure (Higher Highs, Lower Lows, etc.) and customizable line colors and styles.
Signal & Trend Systems: Includes both a crossover signal system (for buy/sell entries) and a multi-period trend-following system, which uses enhanced moving averages and dynamic trailing levels to adapt to different market conditions.
Supply & Demand Zones: Automatically detects and marks potential supply and demand zones based on pivot structures and ATR buffers, helping spot logical areas for price reaction or reversal.
Support & Resistance: Plots periodic support/resistance and macro (long-term) levels, with user-defined periods and the ability to visualize volume delta for each zone.
Theil-Sen Estimator: Optionally adds a statistical regression channel using the robust Theil-Sen method to identify trend direction and breaks for long-term analysis.
RSI/KDE Analysis: Implements relative strength index (RSI) analysis with kernel density estimation (KDE) to detect pivot points with probability labeling and color-coded signals for high-confidence reversals.
Dashboards & Alerts: Provides multitimeframe dashboards summarizing trend, EMA signals, and momentum across up to five timeframes, plus integrated alerting for all major events (entries, exits, zone breaks, etc.).
Customization & Usability
Extensive input settings for periods, color themes, line widths, and label visibility.
Can display visual cloud bands, trend ribbons, and supply/demand boxes as overlays on price charts for enhanced clarity.
Open-source and for educational use under permissive licensing, not affiliated with TradingView.
This indicator is designed to deliver a full-featured market map, combining price action, trend, support/resistance, and probabilistic signals for discretionary or semi-automated trading.
Dynamic EMA Stack Support & ResistanceEvery trader needs reliable support and resistance — but static zones and lagging indicators won't cut it in fast-moving markets. This script combines a Fibonacci-based 5-EMA stacking system and left/right pivots that create dynamic support & resistance logic to uncover real-time structural shifts & momentum zones that actually adapt to price action. This isn’t just a mashup — it’s a complete built-from-the-ground-up support & resistance engine designed for scalpers, intraday traders, and trend followers alike.
🧠 🧠 🧠What It Does🧠 🧠 🧠
This script uses two powerful engines working in sync:
1️⃣ EMA Stack (5-EMA Framework)
Built on Fibonacci-based lengths: 5, 8, 13, 21, 34, (configurable) this stack identifies:
🔹 Bullish Stack: EMAs aligned from fastest to slowest (uptrend confirmation)
🔹 Bearish Stack: EMAs aligned inversely (downtrend confirmation)
🟡 Narrowing Zones: When EMAs compress within ATR thresholds → possible breakout or reversal zone
🎯 Labels identify key transitions like:
✅"Begin Bear Trend?"
✅"Uptrend SPRT"
✅"RES?" (resistance test)
2️⃣ Pivot-Based Projection Engine
Using classic Left/Right Bar pivot logic, the script:
📌 Detects early-stage swing highs/lows before full confirmation
📈 Projects horizontal S/R lines that adapt to market structure
🔁 Keeps lines active until a new pivot replaces them
🧩 Syncs beautifully with EMA stack for confluence zones
🎯🎯🎯Key Features for Traders🎯🎯🎯
✅ Trend Detection
→ EMA order reveals real-time bias (bullish, bearish, compression)
✅ Dynamic S/R Zones
→ Historical support/resistance levels auto-draw and extend
✅ Smart Labeling
→ “SPRT”, “RES”, and “Trend?” labels for live context + testing logic
✅ Custom Candle Coloring
→ Choose from Bar Color or Full Candle Overlay modes
✅ Scalper & Swing Compatible
→ Use fast confirmations for scalping or stack consistency for longer trends
⚙️⚙️⚙️How to Use⚙️⚙️⚙️
✅Use Top/Bottom (trend state) Line Colors to quickly read trend conditions.
✅Use Pivot-based support/resistance projections to anticipate where price might pause or reverse.
✅Watch for yellow/blue zones to prepare for volatility shifts/reversals.
✅Combine with volume or momentum indicators for added confirmation.
📐📐📐Customization Options📐📐📐
✅EMA lengths (5, 8, 13, 21, 34) — fully configurable - try 21,34,55, 89, 144 for longer term trend states
✅Left/Right bar pivot settings (default: 21/5)
✅Label size, visibility, and color themes
✅Toggle line and label visibility for clean layouts
✅“Max Bars Back” to control how deep history is scanned safely
🛠🛠🛠Built-In Safeguards🛠🛠🛠
✅ATR-based filters to stabilize compression logic
✅Guarded lookback (max_bars_back) to avoid runtime errors
✅Works on any asset, any timeframe
🏁🏁🏁Final Word🏁🏁🏁
This script is not just a visual tool, it’s a complete trend and structure framework. Whether you're looking for clean trend alignment, dynamic support/resistance, or early warning labels, this system is tuned to help you react with confidence — not hindsight.
Rembember, no single indicator should be used in isolation. For best results, combine it with price action analysis, higher-timeframe context, and complementary tools like trendlines, moving averages etc Use it as part of a well-rounded trading approach to confirm setups — not to define them alone.
💡💡💡Turn logic into clarity. Structure into trades. And uncertainty into confidence.💡💡💡
Volume Pressure Arrows[Blk0ut]Volume Pressure Arrows are an innovative (I think) market pressure tool designed to cut through noise and provide traders with a realistic, but quick insight into buying vs selling pressure and which has real control.  Rather than relying on any single classic indicator, this script blends five complementary measures of price–volume dynamics—Cumulative Volume Delta (CVD), VWAP distance, OBV slope, ATR expansion, and the DMI ratio—into a unified “pressure score.”
Each component is normalized, weighted, and combined into a single metric that can be read at a glance through intuitive up and down arrows plotted directly on the chart.  By transforming multiple complex data streams into a single aggregated signal, Volume Pressure Arrows help traders answer some of the hardest questions we can face: is the current move backed by conviction? is there true momentum?  Is price action about to reverse?
Why It’s Different
Traditional oscillators often create conflicting signals, forcing traders to guess which one to trust. This indicator integrates five perspectives on volume and momentum pressure into a single framework, balancing raw flow (CVD), relative positioning (VWAP), trend conviction (OBV slope), volatility expansion (ATR), and directional bias (DMI). The result is a weighted, probability-minded score capped between -100 and +100 for consistency and clarity.
 Important note :  Inspiration for the use of directly plotted arrows came from dgtrd "https://www.tradingview.com/u/dgtrd/" and their brilliant work on LazyBear's Squeeze Indicator "https://www.tradingview.com/script/Dsr7B2xE-Squeeze-Momentum-Indicator-LazyBear-vX-by-DGT/"
How to Read It
Bullish Arrows appear below the candles when the pressure score pushes above the neutral threshold, signaling meaningful buyer dominance.  
Bearish Arrows appear above the candles when pressure drops below the negative threshold, indicating strong selling pressure.
Neutral Arrows (smaller, faded) mark conditions where pressure exists but is not decisive—useful for spotting early rotations or fading momentum.
Color Gradients dynamically adjust with score intensity, making stronger signals visually brighter and weaker ones softer.
How to Use It Effectively
This tool is best applied as a confirmation and timing layer. It is not meant to replace your core strategy, but to validate whether momentum pressure supports your trade thesis.
Combine with trendlines, chart patterns, or breakouts to gauge conviction.
Use bullish or bearish arrows as filters, only take trades when price action aligns with strong directional pressure.
Watch neutral arrows near key levels; they often foreshadow balance breaking into directional moves.
Adjust the weightings to emphasize the components that matter most to your style (e.g., more weight on CVD for scalpers, or ATR expansion for volatility traders).
As with any indicator, this is not a magic ball and does not guarantee success.  But it does allow you to increase the probability odds to your favor if you align it with your edge.  Happy trading!
MTF Supply and Demand Zones [MMT]Description 
The  MTF Supply and Demand Zones   indicator is a powerful tool designed to identify and display supply and demand zones across multiple timeframes (MTF) on your TradingView chart. These zones highlight key areas where price is likely to react, based on significant price movements in higher timeframes. The indicator is highly customizable, allowing traders to adjust zone strength, timeframes, colors, and display settings to suit their trading style.
 Key Features 
 
 Multi-Timeframe Analysis : Detects supply and demand zones from up to five user-defined timeframes (e.g., 30m, 1H, 4H, 1D, 1W).
 Zone Strength Filter : Filters zones based on the strength of price movements, ensuring only significant zones are displayed.
 Customizable Display : Toggle supply and demand zones on/off, adjust colors, border styles, and label settings for clarity.
 Dynamic Zone Extension : Extends zones to the right of the chart for better visibility, with adjustable extension length.
 Zone Cleanup : Automatically removes zones when price breaks through them, keeping the chart clean and relevant.
 Labels : Displays timeframe labels on zones for easy identification, with customizable size, color, and alignment.
 
 How It Works 
 
 Supply Zones : Identified when a strong bearish candle follows a bullish or neutral candle, indicating potential selling pressure.
 Demand Zones : Identified when a strong bullish candle follows a bearish or neutral candle, indicating potential buying pressure.
 Zones are drawn as boxes, with the top and bottom based on key price levels (e.g., highs/lows or open prices).
 The indicator uses a strength filter to ensure only significant zones (based on candle size ratios) are plotted.
 Zones are updated dynamically, extending to the right by a user-defined number of bars and removed when price breaks through them.
 
 Settings 
 S&D Zones Settings 
 
 Zone Strength Filter : Adjust the minimum candle size ratio (default: 1.8) to filter weaker zones.
 Show Supply/Demand : Enable or disable supply and/or demand zones.
 Supply/Demand Colors : Customize the fill and border colors for supply (default: red) and demand (default: green) zones.
 Timeframes : Enable up to five timeframes (e.g., 30m, 1H, 4H, 1D, 1W) to analyze zones. Only zones from timeframes higher than the chart’s timeframe are displayed.
 
 Display Settings 
 
 Zone Extension : Set how far zones extend to the right (in bars, default: 15).
 Show Label: Toggle timeframe labels on zones.
 Label Style : Customize label color, size (tiny, small, normal, large, huge), and alignment (horizontal/vertical).
 
 Usage Tips 
 
 Use higher timeframes (e.g., 4H, 1D) for stronger, more reliable zones.
 Combine with other indicators (e.g., support/resistance, trendlines) to confirm trade setups.
 Adjust the  Zone Strength Filter  to reduce noise in volatile markets.
 Enable labels to quickly identify the timeframe of each zone.
 
 Notes 
 
 The indicator is overlayed on the price chart and supports up to 500 zones.
 Zones are removed when price breaks above (supply) or below (demand), ensuring only active zones remain.
 Works best on markets with clear price action, such as futures, forex, stocks, or cryptocurrencies.
 
Happy trading! 🚀
Resistance & Support Trends (Full Body No-Touch)This indicator builds and maintains time-anchored Resistance and Support trendlines with up to three localized depths on each side. 
A line is marked broken only when a single bar’s entire candle body is cleanly beyond it—no edge touching—using strict, one-sided logic: 
- accumulation (close > open) can break Resistance
- distribution (close < open) can break Support. 
Anchors can be selected manually by date/time, broken lines remain as dashed context, and active trends extend forward for ongoing guidance. Customize colors, show/hide depths and markers, and read the structure at a glance to track primary trends and nearer-term swings with high confidence.
RSI Pivots with Divergence Overlay█ OVERVIEW
The RSI Pivots with Divergence Overlay indicator is an advanced tool based on RSI, displaying dynamic bands on the price chart to simplify the identification of overbought and oversold conditions. Pivot points and divergences between them are derived from these bands, providing a comprehensive view of the market and enabling the creation of various trading strategies based on this single indicator.
█ CONCEPTS
Areas where RSI exits the bands are often reversal points in the market. The concept of this indicator is to highlight places where the probability of a trend reversal increases. Therefore, pivots and divergences have been added to better identify these key moments. Additionally, the bands allow viewing the market context in relation to the RSI indicator, facilitating analysis of momentum and volatility.
█ KEY FEATURES
Dynamic Bands and RSI Signals: The bands are calculated based on the closing price and RSI value, with dynamic scaling adjusted to market volatility. The upper band corresponds to overbought levels, the lower to oversold, and the midline is their average. The price level relative to the bands serves as a visual RSI signal, indicating potential overbought or oversold conditions.
Pivot Points: The indicator identifies local price highs and lows in relation to RSI levels. The pivot level is taken from the high/low of the candle. A high pivot is detected when the high of the candle reaches a local maximum after crossing the upper RSI level (overbought), signaling a potential reversal. A low pivot appears after a local price minimum following a drop below the lower RSI level (oversold), indicating a possible uptrend reversal. The pivot length (default 2 bars) defines the search range for these extremes, meaning that with a length of 2, a potential divergence signal will appear with a 2-candle delay, as this is the minimum time required to confirm a local pivot. Pivot lines are drawn on the chart, and labels display the RSI value (from the close of the candle) and price at the detection moment. Pivot lines disappear after the detection of the next low pivot for lower lines and high pivot for upper lines, but unbreached lines or those with high volume may still serve as support or resistance levels.
Divergence Detection: The indicator automatically detects divergences to predict trend changes. Bearish divergence occurs when the price forms a higher high pivot, but the RSI (from the close of the candle) is lower than in the previous pivot, indicating weakening upward momentum and a potential bearish reversal. Bullish divergence appears when the price forms a lower low pivot, but the RSI is higher, suggesting building momentum and a possible bullish reversal. Divergences are marked in pivot labels (e.g., "Bear Div" or "Bull Div") and supported by alerts upon detection.
Return Signals: The indicator generates buy and sell signals based on RSI (price) returning to the bands after extreme conditions, independently of pivots and divergences. A buy signal is triggered when RSI (price) crosses above the lower level (exiting oversold), suggesting a potential price rise toward the midline or upper band. A sell signal occurs when RSI (price) falls below the upper level (exiting overbought), indicating a possible price drop toward the lower band. Signals are visualized as arrows (up/down triangles) on the chart, with customizable colors.
█ CONFIGURATION
The indicator offers extensive customization options:
RSI Length (rsiLength): Sets the number of periods used to calculate RSI (default 14).
RSI Upper Level (rsiUpper): Defines the overbought threshold (default 70).
RSI Lower Level (rsiLower): Defines the oversold threshold (default 30).
Band Scaling (scale): Determines the scaling multiplier for bands based on market volatility (default 15.0).
SMA Length for Candle Midpoint (length): Number of periods for calculating the moving average of candle midpoints (default 200). This parameter is used to smooth price data, enabling more accurate volatility assessment and band width adjustment to market dynamics.
Pivot Length (pivotLength): Sets the range (in bars) for detecting local price extremes (default 2).
Pivot Label Offset (pivotLabelOffset): Multiplier for the candle range to position pivot labels (default 0.3).
Show Bands (showBands): Enables/disables the display of bands on the chart.
Show Fill (showFill): Enables/disables the fill between bands and the midline.
Show Pivot Lines (showPivotLines): Enables/disables pivot lines on the chart.
Show Pivot Labels (showPivotLabels): Enables/disables labels with RSI and price values at pivots.
Show Return Signals (showReturnSignals): Enables/disables the display of buy and sell signals.
Colors and Style: Customizable colors for bands, fills, pivot lines, labels, and line widths (default 1).
█ USAGE
The indicator performs best when combined with other technical analysis tools, such as Fibonacci levels, moving averages, or trendlines, to confirm pivot, divergence, and return signals. It enables traders to identify key reversal points, detect hidden trend weaknesses through divergences, and confirm trade entries with return signals.
Usage Examples:
Price bounces off a previous pivot with high volume – this increases the probability of a trend change or correction.
A similar situation when RSI is outside the bands strengthens the signal.
If divergence occurs in addition, we have further confirmation.
This can be combined with Fibonacci levels to check if Fibo zones overlap with pivot lines – this may increase the chance of a strong price reaction.
█ ALERTS
The indicator supports alerts for:
Buy and sell signals (RSI returning to bands).
Detection of bearish and bullish divergences.
Simplified Market ForecastSimplified Market Forecast Indicator
This indicator pairs nicely with the Contrarian 100 MA and can be located here:
Overview
The "Simplified Market Forecast" (SMF) indicator is a streamlined technical analysis tool designed for traders to identify potential buy and sell opportunities based on a momentum-based oscillator. By analyzing price movements relative to a defined lookback period, SMF generates clear buy and sell signals when the oscillator crosses customizable threshold levels. This indicator is versatile, suitable for various markets (e.g., forex, stocks, cryptocurrencies), and optimized for daily timeframes, though it can be adapted to other timeframes with proper testing. Its intuitive design and visual cues make it accessible for both novice and experienced traders.
How It Works
The SMF indicator calculates a momentum oscillator based on the price’s position within a specified range over a user-defined lookback period. It then smooths this value to reduce noise and plots the result as a line in a separate lower pane. Buy and sell signals are generated when the smoothed oscillator crosses above a user-defined buy level or below a user-defined sell level, respectively. These signals are visualized as triangles either on the main chart or in the lower pane, with a table displaying the current ticker and oscillator value for quick reference.
Key Components
Momentum Oscillator: The indicator measures the price’s position relative to the highest high and lowest low over a specified period, normalized to a 0–100 scale.
Signal Generation: Buy signals occur when the oscillator crosses above the buy level (default: 15), indicating potential oversold conditions. Sell signals occur when the oscillator crosses below the sell level (default: 85), suggesting potential overbought conditions.
Visual Aids: The indicator includes customizable horizontal lines for buy and sell levels, shaded zones for clarity, and a table showing the ticker and current oscillator value.
Mathematical Concepts
Oscillator Calculation: The indicator uses the following formula to compute the raw oscillator value:
c1I = close - lowest(low, medLen)
c2I = highest(high, medLen) - lowest(low, medLen)
fastK_I = (c1I / c2I) * 100
The result is smoothed using a 5-period Simple Moving Average (SMA) to produce the final oscillator value (inter).
Signal Logic:
A buy signal is triggered when the smoothed oscillator crosses above the buy level (ta.crossover(inter, buyLevel)).
A sell signal is triggered when the smoothed oscillator crosses below the sell level (ta.crossunder(inter, sellLevel)).
Entry and Exit Rules
Buy Signal (Blue Triangle): Triggered when the oscillator crosses above the buy level (default: 15), indicating a potential oversold condition and a buying opportunity. The signal appears as a blue triangle either below the price bar (if plotted on the main chart) or at the bottom of the lower pane.
Sell Signal (White Triangle): Triggered when the oscillator crosses below the sell level (default: 85), indicating a potential overbought condition and a selling opportunity. The signal appears as a white triangle either above the price bar (if plotted on the main chart) or at the top of the lower pane.
Exit Rules: Traders can exit positions when an opposite signal occurs (e.g., exit a buy on a sell signal) or based on additional technical analysis tools (e.g., support/resistance, trendlines). Always apply proper risk management.
Recommended Usage
The SMF indicator is optimized for the daily timeframe but can be adapted to other timeframes (e.g., 1H, 4H) with careful testing. It performs best in markets with clear momentum shifts, such as trending or range-bound conditions. Traders should:
Backtest the indicator on their chosen asset and timeframe to validate signal reliability.
Combine with other indicators (e.g., moving averages, support/resistance) or price action for confirmation.
Adjust the lookback period and buy/sell levels to suit market volatility and trading style.
Customization Options
Intermediate Length: Adjust the lookback period for the oscillator calculation (default: 31 bars).
Buy/Sell Levels: Customize the threshold levels for buy (default: 15) and sell (default: 85) signals.
Colors: Modify the colors of the oscillator line, buy/sell signals, and threshold lines.
Signal Display: Toggle whether signals appear on the main chart or in the lower pane.
Visual Aids: The indicator includes dotted horizontal lines at the buy (green) and sell (red) levels, with shaded zones between 0–buy level (green) and sell level–100 (red) for clarity.
Ticker Table: A table in the top-right corner displays the current ticker and oscillator value (in percentage), with customizable colors.
Why Use This Indicator?
The "Simplified Market Forecast" indicator provides a straightforward, momentum-based approach to identifying potential reversals in overbought or oversold markets. Its clear signals, customizable settings, and visual aids make it easy to integrate into various trading strategies. Whether you’re a swing trader or a day trader, SMF offers a reliable tool to enhance decision-making and improve market timing.
Tips for Users
Test the indicator thoroughly on your chosen asset and timeframe to optimize settings.
Use in conjunction with other technical tools for stronger trade confirmation.
Adjust the buy and sell levels based on market conditions (e.g., lower levels for less volatile markets).
Monitor the ticker table for real-time oscillator values to gauge market momentum.
Happy trading with the Simplified Market Forecast indicator!
Momentum Concepts [A1TradeHub]ℹ️ General Information — TSI + Stochastic Z-Score (Momentum Duo) 
Purpose: A two-oscillator stack that blends trend strength (TSI) with extreme-move normalization (Stochastic Z-Score) to time entries with confirmation instead of guessing tops/bottoms.
 Components 
 Stochastic Z-Score (SZ): Converts price stretch into a bounded curve.
 Red zone ≈ overbought supply, Green zone ≈ oversold demand.
 The hook out of a band often marks turning points.
 True Strength Index (TSI): Measures momentum quality and direction.
 Signal/line cross = timing, Zero-line = trend filter, slope = acceleration.
 
 Core Read 
 Alignment = edge: SZ leaves a band and TSI agrees (cross/slope).
 Divergences: Higher-low on SZ/TSI vs lower-low in price (bullish). Lower-high on SZ/TSI vs higher-high in price (bearish). Best when near bands.
 Mid-range = chop: Avoid trades when SZ is centered and TSI is flat.
 
 Best Practices 
 Use structure (PDH/PDL, EMAs 13/48/200, trendlines) as context.
 Scale profits into opposing SZ band or on TSI flatten/cross-back.
 Place stops beyond the last swing or key EMA; skip high-volatility news.
 
 Timeframes 
 Works on intraday (e.g., 5–15m) and swings (1h/4h). Use higher TF for bias, lower TF for entries.
 
This combo is designed to keep you on the right side of momentum, act at band hooks with TSI confirmation, and stand down when conditions are indecisive.
 I. 🔴🟢 TSI Oscillator — Quick Guide
 
  
 What you’re seeing 
 
 Lines: Fast TSI + slow Signal (both EMA-smoothed momentum).
 Zones: 🟢 Green = oversold, 🔴 Red = overbought, 0-line = trend regime.
 
Long: 🟢 hook up → fast crosses above slow → ideally reclaim 0.
Short: 🔴 roll down → fast crosses below slow → ideally lose 0.
Exits: Trim into the opposite zone or on a cross back.
Divergence: TSI ↑ vs price ↓ = bullish; TSI ↓ vs price ↑ = bearish.
Avoid: Both lines chopping around 0.
 II. Stochastic Z-Score — Quick Guide 
  
 
 Zones: 🔴 Red = overbought/supply, 🟢 Green = oversold/demand.
 Curve: Watch the hook out of a zone for the turn.
 
 Signals 
 
 🟢 Green Arrow (from Green zone): Momentum turns up → call/long bias. Enter on first pullback; stop under last swing/13-EMA.
 🔻 Red/Bearish Arrow (from Red zone): Momentum rolls down → put/short bias. Enter on first lower-high; stop above last swing/13-EMA.
 ⚪ Ball = Momentum Shift: Early heads-up (slope change). Use as confirmation/add-on, not a standalone entry.
 
Volume Profile AnalysisThe Volume Profile Dashboard  is a professional-grade analysis tool built for TradingView. It focuses on displaying a comprehensive volume profile breakdown within a dashboard format directly on the chart. The purpose of this tool is to help traders quickly assess buy versus sell volume dynamics, momentum, and sentiment in order to support informed trading decisions.
Instead of plotting simple bars, this indicator uses a detailed table and visual progress bar to summarize live and historical market activity. By condensing key metrics into a structured format, traders can analyse market behaviour without manually calculating or switching between multiple indicators.
________________________________________
How the Script Works
1.	Data Gathering
The script uses lower-timeframe price and volume data to calculate buy volume, sell volume, and total traded volume for the current and previous candles.
2.	Volume Allocation
Buy and sell volumes are estimated by looking at the candle’s range (high to low) and how the closing price aligns within that range. The closer the close is to the high, the stronger the buying pressure. The closer the close is to the low, the stronger the selling pressure.
3.	Delta and Momentum
o	Delta measures the difference between buy and sell volume.
o	Volume momentum compares the current candle’s activity to the previous one, showing if interest is rising or fading.
4.	Point of Control (POC)
An average of high, low, and close is calculated to give an approximate “point of control” level—an area of balance where buyers and sellers previously agreed on price.
5.	Dashboard Visualization
All these calculations are displayed inside a clean dashboard table with separate rows for the current candle, previous candle, and a summary row. Icons, colors, and progress bars make it visually intuitive.
6.	On-Chart Progress Indicator
A dynamic horizontal progress bar is plotted on the chart above price, showing the balance between buy and sell volume for the latest activity.
7.	Alerts
Built-in alerts trigger when strong buying or selling pressure is detected or when there is a significant spike in total traded volume.
________________________________________
How This Tool Can Be Used
•	Intraday Trading: Quickly gauge whether buyers or sellers are in control of the market at any moment.
•	Swing Trading: Compare momentum shifts between candles to identify early trend reversals.
•	Risk Management: Use delta and sentiment signals to confirm whether to hold or reduce exposure.
•	Confirmation: Align the volume profile dashboard with other indicators (such as RSI, MACD, or trendlines) for stronger trading conviction.
________________________________________
Using Mixed Indicators for Decisions
This dashboard alone provides volume insights, but better decisions come when it is combined with other tools:
•	Pairing it with an RSI can show whether heavy buying is happening in overbought conditions.
•	Combining with a SuperTrend or moving averages can confirm if volume momentum aligns with the price trend.
•	Overlaying support/resistance levels can identify whether strong buy/sell signals occur at critical levels.
Mixed indicators prevent relying on one signal alone, reducing false trades.
________________________________________
Importance of This Tool
•	Clarity: Condenses complex volume data into a simple, visual format.
•	Speed: Traders can react faster with pre-calculated buy/sell percentages.
•	Precision: Highlights hidden imbalances that are not obvious from candles alone.
•	Professional-grade dashboard: Offers an institutional-style view of market behavior directly within TradingView.
________________________________________
Parameters in the Dashboard Table
•	Period: Shows whether the row is for the current or previous candle, along with trend arrows.
•	Price Range: The high–low range of the candle.
•	Total Volume: The sum of buy and sell activity.
•	Buy Volume / Sell Volume: Separated distribution of transactions leaning bullish or bearish.
•	Delta: The net difference between buy and sell volumes, highlighting pressure imbalance.
•	Buy % / Sell %: The percentage contribution of each side to total volume.
•	POC: An average reference level where market consensus was strongest.
•	Progress: A graphical bar showing buy vs sell dominance.
•	Signal: Simplified output like Strong Buy, Buy, Strong Sell, Sell, Neutral.
•	Summary Row: Compares changes between the current and previous candles and gives overall market sentiment.
________________________________________
 Stock Market Disclaimer
 This tool is for educational and informational purposes only. It does not constitute financial advice, investment advice, or trading recommendations. The stock market and cryptocurrency markets involve high risk. Traders and investors should do their own research and consult licensed financial advisors before making investment decisions. Past performance is not indicative of future results.
________________________________________
 Misuse Disclaimer
 This script has been developed as per TradingView’s rules and is intended for responsible trading analysis only. Any misuse, redistribution, or modification outside of TradingView’s policies is discouraged. The author and platform are not responsible for financial losses, misinterpretation of signals, or misuse of the code.
________________________________________
 Disclaimer
 Training & Educational Only — This material and the indicator are provided for educational purposes only. Nothing here is investment advice or a solicitation to buy or sell financial instruments. Past simulated or historical performance does not predict future results. Always perform full back testing and risk management, and consider seeking advice from a qualified financial professional before trading with real capital.
________________________________________
50% of Previous 1H Candle (Color Logic)📌 Script Title: 50% Midpoint of Previous 1H Candle (Color Coded)
📝 Description:
This indicator draws a horizontal line at the 50% (midpoint) of the most recently closed 1-hour candle, helping traders visualize intraday support/resistance and sentiment bias.
🔹 Key Features:
Plots the midpoint of the last 1H candle as a horizontal line.
Color-coded line and label:
🟢 Green: Previous candle was bullish
🔴 Red: Previous candle was bearish
⚪ Gray: Neutral (doji or equal open/close)
Displays the exact price level with a floating label.
Works on any lower timeframe chart (e.g., 5m, 15m, 30m).
Automatically updates every hour after the 1H candle closes.
📈 Use Cases:
Trade around the 1H midpoint as a dynamic pivot zone.
Confirm or fade price breakouts/rejections at this level.
Use it with trendlines, supply/demand zones, or VWAP.
🔍 Technical Notes:
The midpoint is calculated using:
Midpoint = (High + Low) / 2
from the most recent closed 1H candle.
Color logic is based on whether the 1H candle closed above or below its open.
🚀 Enhancement Ideas (future updates):
Add optional alerts on cross of the midpoint.
Show multiple historical midpoint levels.
Input toggle to enable/disable color coding.
Whether you’re scalping intraday or watching for reaction zones, this tool gives you a clean, real-time level to anchor your trades around.
Happy trading! 💹
— Built with ❤️ in Pine Script v6
RSI 3 Time FrameRSI 3 Time Frames Indicator
Overview
 The RSI 3 Time Frames Indicator is designed to provide traders with a comprehensive view of the Relative Strength Index (RSI) across three different timeframes: Ripple (short-term), Wave (medium-term), and Tide (long-term). By combining insights from multiple timeframes on a single chart, traders can identify momentum, overbought/oversold conditions, and confluence zones for better decision-making.
This indicator is highly customizable, enabling you to adjust RSI timeframes, line colors, thickness, and reference levels such as oversold/overbought areas.
 Features 
Multi-Timeframe RSI Analysis:
Ripple RSI: Captures short-term momentum (default: 5-minute RSI) for quick entries and scalping.
Wave RSI: Provides medium-term RSI perspective (default: 15-minute RSI) for day trading setups.
Tide RSI: Gives broader trends and momentum shifts (default: 60-minute RSI) suitable for swing trading.
Key RSI Reference Levels:
Horizontal lines show critical RSI levels to help traders interpret conditions:
Oversold Zone:
20 (Oversold Extreme) → Green dotted line.
30 (Oversold) → Green dotted line.
Neutral Zone:
40 (Neutral Low) → Orange dotted line.
50 (Midpoint) → Black dotted line.
60 (Neutral High) → Orange dotted line.
Overbought Zone:
70 (Overbought) → Red dotted line.
80 (Overbought Extreme) → Red dotted line.
Customizable Options:
Adjust RSI line color, width, and timeframes to fit your trading needs.
Customize horizontal level line colors and styles (dotted, dashed, or solid).
Easy-to-Interpret Design:
All RSI lines and reference levels are visualized clearly to help you identify overbought/oversold zones, neutral levels, and overall market momentum across multiple perspectives.
Recommended Use Cases
Scalping:
Use Ripple RSI (default: 5-minute timeframe) for short-term insights into momentum-driven setups.
Day Trading:
Use Wave RSI (default: 15-minute timeframe) to analyze medium-term trends and spot entries/exits.
Swing Trading:
Use Tide RSI (default: 60-minute timeframe) for longer-term momentum shifts and confluence zones.
 Multi-Timeframe Confirmation :
Look for alignment among RSI values across Ripple, Wave, and Tide to increase confidence in your trades.
How to Use the RSI 3 Time Frames Indicator
Add the Indicator to Your Chart: Import the RSI 3 Time Frames Indicator into TradingView.
Customize Settings:
Choose Ripple, Wave, and Tide RSI timeframes according to your strategy (e.g., 5-minute for short-term, 15-minute for medium-term).
Modify line colors, styles, and thickness for better clarity.
Enable/disable RSI lines or reference levels based on preference.
Interpret RSI Values Across Timeframes:
Identify overbought levels (above 70) for potential reversals.
Spot oversold levels (below 30) for buying opportunities.
Use the neutral midpoint (50) for balanced momentum, indicating neither buyers nor sellers dominate.
Combine with Other Tools:
Enhance your trading strategy by using RSI signals with price action tools like support/resistance zones, trendlines, and candlestick patterns.
Example Scenario
Let’s say you’re trading Bitcoin (BTC/USD):
Ripple RSI shows momentum building but nearing overbought (above 70).
Wave RSI confirms shorter momentum trends (above 60).
Tide RSI shows divergence as the longer timeframe RSI is falling toward oversold (below 40).
This alignment across timeframes helps you make informed decisions, such as waiting for Ripple RSI to cool off before entering a longer-term trade based on the Tide RSI oversold condition.
Disclaimer
The RSI 3 Time Frames Indicator is provided for educational and informational purposes only. It is not intended as financial advice or as a definitive trading signal. This tool should not be used in isolation for decision-making. Trading is inherently risky, and while RSI can offer valuable insights into market trends, traders should use proper risk management strategies and include other tools such as volume-based indicators, price action, fundamental research, and macroeconomic analysis in their decision-making process.
Always test any new strategies in a simulated or paper trading environment before applying them to real markets. Remember to consult with a licensed financial professional if you’re unsure whether trading is suitable for your financial situation.
Key Benefits
Enhanced flexibility with customizable RSI settings.
Clear visualization of momentum across short, medium, and long-term timeframes.
Helps traders avoid tunnel vision by providing a multi-timeframe perspective.
Final Note
The RSI 3 Time Frames Indicator is a powerful, easy-to-use tool for traders who want to leverage RSI across multiple timeframes to pinpoint high-probability setups. Customize the settings based on your strategy and use this as a companion tool for your overall trading system.
We hope you enjoy using this indicator to improve your trading and analysis! Happy trading! 😊
Pivot Points mura visionWhat it is 
A clean, single-set pivot overlay that lets you choose the pivot  type  (Traditional/Fibonacci), the  anchor timeframe  (Daily/Weekly/Monthly/Quarterly, or Auto), and fully customize  colors, line width/style , and  labels . The script never draws duplicate sets—exactly one pivot pack is displayed for the chosen (or auto-detected) anchor.
 How it works 
 
 Pivots are computed with ta.pivot_point_levels() for the selected  anchor timeframe .
 The script supports the standard 7 levels:  P, R1/S1, R2/S2, R3/S3 .
 Lines span exactly one anchor period forward from the current bar time.
 Label suffix shows the anchor source:  D  (Daily),  W  (Weekly),  M  (Monthly),  Q  (Quarterly).
 
 Auto-anchor logic 
 
 Intraday ≤ 15 min → Daily pivots (D) 
 Intraday 20–120 min → Weekly pivots (W) 
 Intraday > 120 min (3–4 h) → Monthly pivots (M) 
 Daily and above → Quarterly pivots (Q) 
 
This keeps the chart readable while matching the most common trader expectations across timeframes.
 Inputs 
 
 Pivot Type  — Traditional or Fibonacci.
 Pivots Timeframe  — Auto, Daily (1D), Weekly (1W), Monthly (1M), Quarterly (3M).
 Line Width / Line Style  — width 1–10; style Solid, Dashed, or Dotted.
 Show Labels / Show Prices  — toggle level tags and price values.
 Colors  — user-selectable colors for  P, R*, S* .
 
 How to use 
 
 Pick a symbol/timeframe.
 Leave  Pivots Timeframe = Auto  to let the script choose; or set a fixed anchor if you prefer.
 Toggle  labels  and  prices  to taste; adjust  line style/width  and  colors  for your theme.
 Read the market like a map:
   
 P  often acts as a mean/rotation point.
 R1/S1  are common first reaction zones;  R2/S2  and  R3/S3  mark stronger extensions.
 Confluence with S/R, trendlines, session highs/lows, or volume nodes improves context.
 
 Good practices 
 
 Use  Daily pivots  for intraday scalps (≤15m).
 Use  Weekly/Monthly  for swing bias on 1–4 h.
 Use  Quarterly  when analyzing on Daily and higher to frame larger cycles.
 Combine with trend filters (e.g., EMA/KAMA 233) or volatility tools for entries and risk.
 
 Notes & limitations 
 
 The script shows  one  pivot pack at a time by design (prevents clutter and duplicates).
 Historical values follow TradingView’s standard pivot definitions; results can vary across assets/exchanges.
 No alerts are included (levels are static within the anchor period).
Divergence & Volume ThrustThis document provides both user and technical information for the "Divergence & Volume Thrust" (DVT) Pine Script indicator.
Part 1: User Guide
1.1 Introduction
The DVT indicator is an advanced tool designed to automatically identify high-probability trading setups. It works by detecting divergences between price and key momentum oscillators (RSI and MACD).
A divergence is a powerful signal that a trend might be losing strength and a reversal is possible. To filter out weak signals, the DVT indicator includes a Volume Thrust component, which ensures that a divergence is backed by significant market interest before it alerts you.
🐂 Bullish Divergence: Price makes a new low, but the indicator makes a higher low. This suggests selling pressure is weakening.
🐻 Bearish Divergence: Price makes a new high, but the indicator makes a lower high. This suggests buying pressure is weakening.
1.2 Key Features on Your Chart
When you add the indicator to your chart, here's what you will see:
Divergence Lines:
Bullish Lines (Teal): A line will be drawn on your chart connecting two price lows that form a bullish divergence.
Bearish Lines (Red): A line will be drawn connecting two price highs that form a bearish divergence.
Solid lines represent RSI divergences, while dashed lines represent MACD divergences.
Confirmation Labels:
"Bull Div ▲" (Teal Label): This label appears below the candle when a bullish divergence is detected and confirmed by a recent volume spike. This is a high-probability buy signal.
"Bear Div ▼" (Red Label): This label appears above the candle when a bearish divergence is detected and confirmed by a recent volume spike. This is a high-probability sell signal.
Volume Spike Bars (Orange Background):
Any price candle with a faint orange background indicates that the volume during that period was unusually high (exceeding the average volume by a multiplier you can set).
1.3 Settings and Configuration
You can customize the indicator to fit your trading style. Here's what each setting does:
Divergence Pivot Lookback (Left/Right): Controls the sensitivity of swing point detection. Lower numbers find smaller, more frequent divergences. Higher numbers find larger, more significant ones. 5 is a good starting point.
Max Lookback Range for Divergence: How many bars back the script will look for the first part of a divergence pattern. Default is 60.
Indicator Settings (RSI & MACD):
You can toggle RSI and MACD divergences on or off.
Standard length settings for each indicator (e.g., RSI Length 14, MACD 12, 26, 9).
Volume Settings:
Use Volume Confirmation: The most important filter. When checked, labels will only appear if a volume spike occurs near the divergence.
Volume MA Length: The lookback period for calculating average volume.
Volume Spike Multiplier: The core of the "Thrust" filter. A value of 2.0 means volume must be 200% (or 2x) the average to be considered a spike.
Visuals: Customize colors and toggle the confirmation labels on or off.
1.4 Strategy & Best Practices
Confluence is Key: The DVT indicator is powerful, but it should not be used in isolation. Look for its signals at key support and resistance levels, trendlines, or major moving averages for the highest probability setups.
Wait for Confirmation: A confirmed signal (with a label) is much more reliable than an unconfirmed divergence line.
Context Matters: A bullish divergence in a strong downtrend might only lead to a small bounce, not a full reversal. Use the signals in the context of the overall market structure.
Set Alerts: Use the TradingView alert system with this script. Create alerts for "Confirmed Bullish Divergence" and "Confirmed Bearish Divergence" to be notified of setups automatically.
Signifikante HochsThis indicator was created to highlight significant highs in the price chart. It is intentionally kept simple and lightweight, since its primary purpose is to serve as a test and learning tool for exploring the functions of the TradingView platform.
How it works:
A user-defined lookback period is applied to check whether a local high has been formed.
A minimum percentage change threshold is used as an additional filter, so that only highs with a certain level of significance are marked.
Once such a high is detected, a visual marker is plotted above the corresponding candle.
The main goal of this script is not to provide a complete trading strategy, but rather to help users understand the basic elements of Pine Script, chart visualization, and platform workflows. In particular, this script is a practical way to test and demonstrate:
The use of input parameters.
Core functions such as ta.pivothigh.
Conditional checks for price significance.
Simple plotting of signals directly on the chart.
At the same time, this test indicator can serve as a foundation for further development. The logic can easily be extended to:
Display significant lows as well as highs.
Draw connecting trendlines between pivots.
Generate alerts whenever a new significant high appears.
Incorporate multi-timeframe logic for deeper analysis.
Important note:
This script is not intended to be a full trading strategy in its current form. Instead, it acts as a test environment for learning how to publish, manage, and experiment with indicators on TradingView.
For the TradingView community, this simple tool can still be valuable, as it provides a quick visual reference for key highs that traders may use as additional context in their market analysis.
Auto S/R 1H - Stable Simplethat is a script to find out the support and resistance as trendlines for stocks in one hour timeframe for swing trading.






















