EMA 9 & 26 + Bollinger Bands — Auto AlertsHere’s a professional **TradingView description** you can use when publishing your new version of the indicator with alerts 👇
---
## 🟢 EMA 9 & 26 + Bollinger Bands — Auto Buy/Sell Alerts
This indicator combines **EMA crossover strategy** and **Bollinger Bands** to generate high-clarity **Buy/Sell signals** for any market (crypto, forex, stocks).
It also includes **automatic alerts** that notify you the moment a new signal appears — perfect for traders using 3-minute or 5-minute charts such as ETHUSDT, BTCUSDT, or other pairs.
---
### ⚙️ **Core Features**
* **EMA 9 & EMA 26 Crossover Logic**
* 💚 **BUY** when EMA 9 crosses above EMA 26 → start of bullish momentum
* ❤️ **SELL** when EMA 9 crosses below EMA 26 → start of bearish momentum
* **Bollinger Bands Overlay**
* Visualize volatility and spot potential breakout or retracement zones
* **Real-Time Alerts**
* Instant notification as soon as a BUY or SELL signal appears
* Works seamlessly on any timeframe (3m / 5m / 15m / 1h / 4h / 1D)
* **Color-Coded Labels**
* BUY = Aqua-Green (#00FFCC)
* SELL = Pink-Red (#FF007F)
---
### 🔔 **How to Set Up Alerts**
1. Add the indicator to your chart.
2. Choose your symbol (e.g., **ETHUSDT**) and timeframe (**3 min or 5 min**).
3. Click the **Alarm Clock ⏰ → Create Alert**.
4. Under **Condition**, select this indicator → choose **BUY Signal** or **SELL Signal**.
5. Choose “Once per bar” or “Once per bar close”.
6. Enable **App**, **Email**, or **Webhook** notifications.
---
### 💡 **Best Use**
* Ideal for **scalpers** and **short-term trend traders**
* Works on any liquid asset (crypto, forex, stocks, indices)
* Combine with **RSI**, **volume**, or **support/resistance** for stronger confirmation
---
### ⚠️ **Disclaimer**
This indicator is a **technical tool**, not financial advice. Always confirm signals with your own analysis and risk management strategy.
---
Would you like me to make a **short SEO-optimized summary** (under 250 characters) for the *TradingView Public Library card* — e.g. what shows under the title when people browse indicators?
指标和策略
Huge VolumesHuge Volumes indicator plots areas on the chart where trading volume spikes — showing where strong buying or selling pressure takes place.
It helps visualize how large players move in and out of positions, making it easier to spot potential turning points or confirm trends.
Dual Median TrendSyncDual Median TrendSync ~ GForge
Revolutionary trend-following system that combines dual median analysis with adaptive momentum deviation bands for precise market timing across all asset classes.
🎯 WHAT IS MEDIAN TRENDSYNC?
Median TrendSync is a sophisticated technical indicator that leverages the statistical power of dual median calculations combined with dynamic momentum deviation analysis. Unlike traditional moving average systems that can be skewed by outliers, this system uses robust median-based calculations to identify genuine trend changes while filtering out market noise. The result is a highly adaptive system that works across all timeframes and asset classes, with exceptional performance in volatile 24/7 markets.
🔬 CORE INNOVATION: MOMENTUM DEVIATION TECHNOLOGY
The breakthrough feature of this system is its proprietary Momentum Deviation Bands - a secondary layer of adaptive volatility analysis applied to the oscillator itself. This creates a "volatility-of-volatility" measurement that dynamically adjusts to changing market conditions, providing earlier and more precise entry signals compared to traditional threshold-based systems.
Key Technical Advantages:
Dual Median Architecture: Two independent median systems work in harmony, each analyzing different price aspects and timeframes to capture both micro and macro trend shifts.
Adaptive Volatility Bands: Standard deviation bands that automatically expand during volatile periods and contract during consolidation, ensuring consistent signal quality regardless of market conditions.
Momentum Deviation Analysis: Advanced oscillator-level volatility measurement that identifies extreme momentum zones for optimal entry timing.
Statistical Robustness: Median calculations are inherently resistant to price spikes and false breakouts, providing more reliable trend identification than mean-based methods.
🌍 WHY IT'S UNIVERSAL: WORKS ACROSS ALL MARKETS
Asset Class Agnostic Design:
The system's median-based foundation makes it remarkably versatile across different asset classes:
Cryptocurrencies: Exceptional performance in 24/7 volatile markets with large price swings
Forex: Adapts to currency pair characteristics and varying volatility regimes
Stocks: Reliable trend identification for both individual stocks and indices
Commodities: Handles the unique cyclical nature of commodity markets
Futures: Robust performance across diverse futures contracts
Timeframe Flexibility:
Works seamlessly from Short-term to long-term position trading (daily/weekly charts). The adaptive nature of the system automatically calibrates to the chosen timeframe's volatility profile.
🚀 OPTIMIZED FOR CRYPTOCURRENCY MARKETS
While the system is universal, it truly excels in crypto for several key reasons:
24/7 Market Dynamics: Continuous price action allows the median calculations to build more comprehensive statistical profiles without overnight gaps.
High Volatility Adaptation: Crypto's extreme volatility is exactly where adaptive deviation bands shine - they expand during volatile moves and contract during consolidation, maintaining signal accuracy.
Trend Persistence: Crypto markets often exhibit strong, sustained trends that the dual median system is specifically designed to capture and ride.
Noise Filtering: The median-based approach naturally filters out the "pump and dump" spikes and flash crashes common in crypto, focusing on genuine trend changes.
Momentum Clarity: Crypto's clear momentum phases (accumulation, markup, distribution, markdown) align perfectly with the momentum deviation detection system.
⚙️ HOW THE SYSTEM WORKS
Signal Generation Process:
Dual Median Calculation: Two independent median systems analyze price action using different lookback periods and price sources, providing multi-dimensional market perspective.
Deviation Band Creation: Statistical volatility bands are constructed around each median using adaptive standard deviation measurements.
Oscillator Normalization: Price position relative to deviation bands is converted to a normalized oscillator reading (0-100+ scale).
Momentum Deviation Analysis: A secondary volatility layer is applied to the oscillator itself, creating dynamic momentum deviation bands that identify extreme zones.
Threshold Crossing Detection: When momentum deviation bands cross specific thresholds, high-probability trend change signals are generated.
5 Signal Combination Modes:
Median1 Only: Uses the primary median system for signals
Median2 Only: Uses the secondary median system for signals
Average: Combines both systems by averaging their readings (most balanced)
Both Required: Generates signals only when both systems agree (highest accuracy)
Either One: Triggers when either system signals (highest sensitivity)
📊 COMPREHENSIVE VISUAL ANALYTICS
Multi-Layer Visualization System:
Gradient Bar Coloring: Real-time visual representation of oscillator state with smooth color transitions from bearish to bullish zones
Dynamic State Bar: Bottom-of-chart gradient indicator showing current momentum position at a glance
Optional Overlay Bands: Deviation bands, threshold lines, and median lines can be displayed directly on the price chart for enhanced context
Momentum Deviation Bands: Visual representation of the advanced volatility-of-volatility measurement
Signal Markers: Clear diamond indicators for entry and exit points
Professional Metrics Dashboard:
The integrated analytics table displays real-time performance metrics:
Net Profit & Current P&L
Win Rate & Total Trades
Maximum Drawdown
Calmar Ratio (return/risk efficiency)
Sharpe Ratio (risk-adjusted returns)
Sortino Ratio (downside risk focus)
Half Kelly Position Sizing Recommendation
Current Position & Momentum Deviation State
1D & 1H BTC
🎮 FLEXIBLE TRADING MODES
Long/Short Mode: Full bi-directional trading for maximum opportunity capture
Long/Cash Mode: Conservative approach - only long positions with cash during bearish periods
Both modes include comprehensive backtesting with date range filtering and detailed performance analytics.
⚡ ALERT SYSTEM
Built-in alert conditions for:
Long signal detection
Short signal detection
Cash/exit signal detection
Never miss a trading opportunity with customizable TradingView alerts.
💡 BEST PRACTICES FOR OPTIMAL RESULTS
Start with Default Settings: The system is pre-optimized for broad market applicability. Test default parameters before making adjustments.
Match Mode to Market: Use "Average" mode for balanced signals, "Both Required" for higher accuracy in choppy markets, "Either One" for trending markets.
Timeframe Selection: While universal, the system shows exceptional results from low timeframes up to the daily timeframe.
Combine with Risk Management: Use the Kelly ½ recommendation as a starting point for position sizing.
Monitor Metrics: Keep the metrics table visible to track real-time performance and adjust strategy as needed.
Respect the Oscillator Gradient: The bar coloring provides continuous feedback - avoid counter-trend entries when gradient shows strong directional color.
🔒 CLOSED SOURCE - PROPRIETARY ALGORITHM
This indicator features a proprietary algorithm developed through extensive research and testing. The code is protected and closed-source to preserve the intellectual property of the unique momentum deviation methodology.
⚠️ DISCLAIMER
This indicator is a technical analysis tool designed to assist in trading decisions. Past performance does not guarantee future results. Always conduct your own research and use proper risk management. This tool should be used as part of a comprehensive trading strategy, not as a standalone solution.
📈 UNLOCK PRECISION TRADING WITH MEDIAN TRENDSYNC
Experience the power of dual median analysis combined with advanced momentum deviation technology. Whether you're trading crypto, forex, stocks, or any other asset class, Median TrendSync adapts to deliver consistent, reliable signals across all market conditions.
Developed by GForge Trading Systems
CBC Flip StrategyThe CBC Flip Strategy is a momentum-based trading system that identifies shifts in market control by monitoring price closes relative to previous bars' highs and lows: it flips to bullish mode when the close exceeds the prior high (indicating bulls in control) and enters a long position, or to bearish mode when the close falls below the prior low (indicating bears in control) and enters a short position, all while incorporating optional confluences like higher timeframe CBC alignment, RSI thresholds (above 50 + offset for longs, below 50 - offset for shorts), and EMA positioning (above for longs, below for shorts) to filter entries; trades are restricted to a user-defined session window and direction preferences, with exits handled via tick-based TP/SL, reversal on chart or higher timeframe CBC flips, and an optional flatten at a specified time to close all positions.
Number of Contracts: Adjust the quantity of contracts per trade (default: 1).
SL and TP Ticks: Set stop-loss (default: 12 ticks) and take-profit (default: 24 ticks) distances from entry.
Exit Strategy: Choose from TP/SL in ticks, exit on chart CBC flip (reverses on opposite signal), or exit on higher timeframe CBC flip.
Flatten All: Enable/disable flattening all positions at a customizable time (default: 16:00, with adjustable hour/minute).
Trading Session: Define the time window for allowing entries (default: 0800-1700).
Trade Direction: Select "Both" (longs and shorts), "Only Long", "Only Short", or "Towards Daily Open" (longs if below daily open, shorts if above).
Higher Timeframe CBC Confluence: Toggle use of HTF CBC alignment (default: enabled, with customizable HTF like "240").
RSI Confluence: Toggle RSI filter (default: enabled, with adjustable length=14, offset=20 for thresholds).
EMA Confluence: Toggle EMA filter (default: enabled, with adjustable length=200 for position relative to price).
VipPro VWAP Momentum Tracker — Auto Buy/Sell + Fibonacci TPVipPro VWAP Momentum Tracker is an auxiliary tool designed to complement the main VipPro Realtime indicator.
It is primarily used on lower timeframes to filter false entries and refine intraday precision.
The script combines VWAP (Volume Weighted Average Price) with short-term momentum analysis and Fibonacci-based target projection.
It automatically generates two technical profit levels derived from Fibonacci extensions — 1.27 and 1.61 — providing a structured approach to short-term trade management.
VWAP acts as the dynamic reference line (orange).
When price is above VWAP, it reflects buying pressure and potential long setups.
When price is below VWAP, it suggests selling pressure and potential short opportunities.
The VWAP represents the market’s fair-value zone based on both price and volume, making it one of the most reliable metrics for identifying institutional positioning and volume-weighted trend direction.
This tool can be used independently or in combination with VipPro Realtime, especially when confirming signals from the upper dashboard that summarizes:
Market trend
Liquidity conditions
Momentum strength
RSI and volatility context
Overbought/Oversold signals
Results may vary depending on the trader’s experience and ability to interpret market structure in conjunction with VWAP behavior and momentum alignment.
Symmetric MA DeviationThis script used the 50 simple moving average and calculates how far the price is from it.
It can be used for looking at extremes in price and bullish / bearish divergence.
EMA 9 & 26 + Bollinger Bands — Colored Buy/Sell LabelsHere’s a **professional TradingView description** you can use when publishing or sharing your indicator 👇
---
### 🟢 **EMA 9 & 26 + Bollinger Bands — Buy/Sell Labels**
This indicator combines the **Exponential Moving Average (EMA) crossover strategy** with **Bollinger Bands** to provide clear and visually optimized **Buy/Sell signals** for trend-following traders.
---
#### 🔍 **Core Features**
* **EMA 9 & EMA 26 Crossover Logic**
* *BUY signal*: when EMA 9 crosses **above** EMA 26 (bullish trend).
* *SELL signal*: when EMA 9 crosses **below** EMA 26 (bearish trend).
* **Bollinger Bands Overlay**
* Visualize volatility and identify overbought/oversold zones.
* **Color-Coded Labels**
* 💚 **BUY** → Aqua-green label (`#00FFCC`)
* ❤️ **SELL** → Pink-red label (`#FF007F`)
* **Alert Ready**
* Set TradingView alerts for both crossover events directly from the chart.
---
#### ⚙️ **Customizable Inputs**
* Short EMA Length → *default: 9*
* Long EMA Length → *default: 26*
* Bollinger Band Length → *default: 20*
* Bollinger Band Multiplier → *default: 2.0*
---
#### 💡 **How to Use**
1. Add this script to your TradingView chart.
2. Choose your preferred timeframe (works well on 5m, 15m, 1H, or 4H).
3. Watch for **BUY/SELL labels** to confirm potential entry or exit points.
4. Combine with volume or RSI for stronger confluence.
---
#### ⚠️ **Notes**
* This tool is designed for educational and analytical purposes.
* Always confirm entries with additional technical or fundamental analysis.
---
Would you like me to write a **shorter version (SEO-optimized)** for the *TradingView public library page* (under 300 characters), or keep this as your full-page script description?
Dual ORB (EU/US) + VWAP + Filters (Retest/EMA/ATR/RVOL)Release Notes — Dual ORB (EU & US) + Color VWAP
Summary
This script plots two configurable Opening Range Breakouts (ORB)—one for the European open and one for the US open—along with a color-adaptive VWAP (green above price, red below). It’s designed for M5/M15 intraday trading on indices (e.g., US100) and metals (e.g., XAUUSD), with clean visuals, optional history retention, and simple breakout cues.
New & Key Features
Dual ORB Sessions
EU ORB (default 07:00) and US ORB (default 14:00).
Each session’s start time and duration are configurable (15/30/45/60 min).
Automatic OR box that tracks the session high/low and freezes at the end of the window.
Configurable Time Zone
Choose a specific UTC offset or an IANA time zone (e.g., Europe/Paris, America/New_York) for precise session timing.
“Exchange” option mirrors the chart’s exchange time when available.
Targets (1× Range by default)
First upside/downside target plotted as a step line once the OR closes (based on a % of the OR width).
Separate % settings per session (EU/US).
Breakout Signals
Optional ▲ / ▼ markers when price crosses ORH/ORL after the OR window closes.
Adjustable signal size and colors.
Color-Adaptive VWAP
VWAP plotted for the whole session; green when price ≥ VWAP, red when price < VWAP.
Single slider for VWAP line thickness and a toggle to show/hide.
Clean Visuals & History Control
Option to preserve historical boxes/lines/labels, or auto-clean previous sessions when a new OR starts.
Per-session colors for the OR lines, fills, labels.
Configuration
General
Show History: Keep OR drawings from prior sessions or clear them automatically.
Time Zone: Pick Exchange or a specific UTC/IANA zone.
ORB Europe / ORB US
Start Time (HH:MM)
Duration: 15 / 30 / 45 / 60 minutes.
Target %: Distance for the first target as a % of the OR range.
Colors: Line and fill per session.
Signals
Enable Breakout Signals
Up/Down Colors
Text Size: Tiny → Huge.
VWAP
Show/Hide
Line Width
Visual Elements
OR Box: Semi-transparent fill during the window; locks at end.
OR Levels: ORH / ORL solid lines; ORM dashed.
Target Lines: Step lines above/below after OR closes.
Signal Labels: ▲ at ORL (bull break), ▼ at ORH (bear break).
VWAP Line: Turns green/red with price relation.
Alerts (baseline)
Signal labels visually indicate ORH/ORL breaks. (You can add alertconditions to match these crossings if you want audible/Push alerts.)
Performance & Compatibility
Pine v6.
Intraday only (< 1D). The script aborts on daily or higher timeframes to avoid misleading OR timing.
Efficient drawing & clean-up to reduce line/label count.
Known Limitations
The script relies on bar timestamps; exact alignment depends on chart data and your chosen time zone
If your broker/exchange applies session gaps or custom trading hours, verify that your time zone and session align with the instrument.
Suggested Workflow
Pick your time zone.
Set EU/US start times and durations to match your plan (e.g., EU 07:00 30m, US 14:00 30m).
Choose whether to keep history.
Toggle signals and VWAP as desired.
Use ORH/ORL and the first target as decision levels; combine with your filter (trend MA, RSI, market structure, etc.).
Changelog (high-level)
v1.
Added dual configurable ORB (EU & US).
Added per-session targets (percent of OR width).
Added color-adaptive VWAP + width control.
Added breakout signals with customizable size and colors.
Added time zone selector (Exchange, UTC, IANA).
Added history on/off option and improved object lifecycle (clean-up vs persist).
Ported to Pine v6 and hardened against repainting artifacts at session edges.
X rVPoCOverview
The rVPoC indicator isolates and displays the Volume Point of Control — the price level within a chosen lookback window that has accumulated the highest traded volume.
Unlike typical volume profiles that analyze an entire session or day, this version is designed for rolling intraday precision. It continually updates the VPoC using data from a lower “zoomed-in” timeframe (e.g., 1-minute) to refine accuracy, even when viewed on higher-timeframe charts.
How It Works
At its core, the indicator “zooms in” via Pine Script’s multi-timeframe engine:
Lower timeframe aggregation:
A secondary (zoomed) timeframe — by default 1-minute — is used to pull detailed OHLCV data through request.security().
Rolling window analysis:
The user-defined bars_per_current parameter determines how many of those lower-timeframe bars to include (e.g., 15 → a 15-minute rolling window).
Volume binning:
The high-to-low range of that window is divided into evenly spaced price bins (vp_price_levels). Each bin accumulates the volume of trades overlapping its range.
Point of Control selection:
The bin with the greatest accumulated volume is located, and its volume-weighted midpoint is plotted as the VPoC.
Visual output:
Discrete line-break markers are plotted for each bar, preventing the “connecting line” distortions common in continuous plots.
Use Case
This indicator is ideal for intraday traders who want to:
Track how the most active traded price shifts over time.
Identify short-term value zones forming within a 15-minute (or custom) rolling range.
Observe micro-structure behavior during developing sessions without committing to full volume profile tools.
Overlay a lightweight VPoC on top of other tools such as open-range or VWAP-based frameworks.
It is particularly effective on 1-minute and 5-minute charts, providing a granular yet efficient measure of volume concentration that updates bar-by-bar.
Summary
The VPoC indicator delivers a continuously updating micro-profile of where trading volume is most active within a chosen intraday window.
It’s designed to complement range, VWAP, and order-flow analysis by highlighting evolving value zones without visual clutter or session-anchoring logic.
Traders can interpret shifts in the VPoC as changes in short-term control — where buyers or sellers are concentrating their activity within the evolving price structure.
PM Range Breaker [CHE] PM Range Breaker — Premarket bias with first-five range breaks, optional SWDEMA regime latch, and simple two-times-range targets
Summary
This indicator sets a once-per-day directional bias during New York premarket and then tracks a strict first-five-minutes range from the session open. After the first five complete, it marks clean breakouts and can project targets at two times the measured range. A second mode latches an EMA-based regime to inform the bias and optional background tinting. A compact panel reports live state, first-five levels, and rolling hit rates of both bias modes using a user-defined midday close for statistics.
Motivation: Why this design?
Intraday traders often get whipsawed by early noise or by fast flips in trend filters. This script commits to a bias at a single premarket minute and then waits for the market to present an objective structure: the first-five range. Breaks after that window are clearer and easier to manage. The alternative SWDEMA regime gives a slower, latched context for users who prefer a trend scaffold rather than a midpoint reference.
What’s different vs. standard approaches?
Baseline: Typical open-range-breakout lines or a single moving-average filter without daily commitment.
Architecture differences:
Bias decision at a fixed New York time using either a midpoint lookback (“Classic”) or a two-EMA regime latch (“SWDEMA”).
Strict five-minute window from session open; breakout shapes print only after that window.
Single-shot breakout direction per session (debounce) and optional two-times-range targets.
On-chart panel with hit rates using a configurable midday close for statistics.
Practical effect: Cleaner visuals, fewer repeated signals, and a traceable daily decision that can be evaluated over time.
How it works (technical)
Time handling uses New York session times for premarket decision, open, first-five end, and a midday statistics checkpoint.
Classic bias: A midpoint is computed from the highest and lowest over a user period; at the premarket minute, the bias is set long when the close is above the midpoint, short otherwise.
SWDEMA bias: Two EMAs define a regime score that requires price and trend agreement; when both agree on a confirmed bar, the regime latches. At the premarket minute, the daily bias is set from the current regime.
The first-five range captures high and low from open until the end minute, then freezes. Breakouts are detected after that window using close-based cross logic.
The script draws range lines and optional targets at two times the frozen range. A session break direction latch prevents duplicate break markers.
Statistics compare daily open and a configurable midday close to record if the chosen bias aligned with the move.
Optional elements include EMA lines, midpoint line, latched-regime background, and regime switch markers.
Data aggregation for day logic and the first-five window is sampled on one-minute data with explicit lookahead off. On charts above one minute, values update intra-bar until the underlying minute closes.
Parameter Guide
Premarket Start (NY) — Minute when the bias is decided — Default: 08:30 — Move earlier for more stability; later for recency.
Market Open (NY) — Session start used for the first-five window — Default: 09:30 — Align to instrument’s RTH if different.
First-5 End (NY) — End of the first-five window — Default: 09:35 — Extend slightly to capture wider opening ranges.
Day End (NY) for Stats — Midday checkpoint for hit rate — Default: 12:00 — Use a later time for a longer evaluation window.
Show First-5 Lines — Draw the frozen range lines — Default: On — Turn off if your chart is crowded.
Show Bias Background (Session) — Tint by daily bias during session — Default: On — Useful for directional context.
Show Break Shapes — Print breakout triangles — Default: On — Disable if you only want lines and alerts.
Show 2R Targets (Optional) — Plot targets at two times the range — Default: On — Switch off if you manage exits differently.
Line Length Right — Extension length of drawn lines — Default: 20 (bars) — Increase for slower timeframes.
High/Low Line Colors — Visual colors for range levels — Defaults: Green/Red — Adjust to your theme.
Long/Short Bias Colors — Background tints — Defaults: Green/Red with high transparency — Lower transparency for stronger emphasis.
Show Corner Panel — Enable the info panel — Default: On — Centralizes status and numbers.
Show Hit Rates in Panel — Include success rates — Default: On — Turn off to reduce panel rows.
Panel Position — Anchor on chart — Default: Top right — Move to avoid overlap.
Panel Size — Text size in panel — Default: Small — Increase on high-resolution displays.
Dark Panel — Dark theme for the panel — Default: On — Match your chart background.
Show EMA Lines — Plot blue and red EMAs — Default: Off — Enable for SWDEMA context.
Show Midpoint Line — Plot the midpoint — Default: Off — Useful for Classic mode visualization.
Midpoint Lookback Period — Bars for high-low midpoint — Default: 300 — Larger values stabilize; smaller values respond faster.
Midpoint Line Color — Color for midpoint — Default: Gray — A neutral line works best.
SWDEMA Lengths (Blue/Red) — Periods for the two EMAs — Defaults: 144 and 312 — Longer values reduce flips.
Sources (Blue/Red) — Price sources — Defaults: Close and HLC3 — Adjust if you prefer consistency.
Offsets (Blue/Red) — Pixel offsets for EMA plots — Defaults: zero — Use only for visual shift.
Show Latched Regime Background — Background by SWDEMA regime — Default: Off — Separate from session bias.
Latched Background Transparency — Opacity of regime background — Default: eighty-eight — Lower value for stronger tint.
Show Latch Switch Markers — Plot regime change markers — Default: Off — For auditing regime changes.
Bias Mode — Classic midpoint or SWDEMA latch — Default: Classic — Choose per your style.
Background Mode — Session bias or SWDEMA regime — Default: Session — Decide which background narrative you want.
Reading & Interpretation
Panel: Shows the active bias, first-five high and low, and a state that reads Building during the window, Ready once frozen, and Break arrows when a breakout occurs. Hit rates show the percentage of days where each bias mode aligned with the midday move.
Colors and shapes: Green background implies long bias; red implies short bias. Triangle markers denote the first valid breakout after the first-five window. Optional regime markers flag regime changes.
Lines: First-five high and low form the core structure. Optional targets mark a level at two times the frozen range from the breakout side.
Practical Workflows & Combinations
Trend following: Choose a bias mode. Wait for the first clean breakout after the first-five window in the direction of the bias. Confirm with structure such as higher highs and higher lows or lower highs and lower lows.
Exits and risk: Conservative users can trail behind the opposite side of the first-five range. Aggressive users can scale near the two-times-range target.
Multi-asset and multi-TF: Works well on intraday timeframes from one minute upward. For non-US sessions, adjust the time inputs to the instrument’s regular trading hours.
Behavior, Constraints & Performance
Repaint and confirmation: Bias and regime decisions use confirmed bars. Breakout signals evaluate on bar close at the chart timeframe. On higher timeframes, minute-based sources update within the live bar until the minute closes.
security and HTF: The script samples one-minute data. Lookahead is off. Values stabilize once the source minute closes.
Resources: `max_bars_back` is five thousand. Drawing objects and the panel update efficiently, with position extensions handled on the last bar.
Known limits: Midday statistics use the configured time, not the official daily close. Session logic assumes New York session timing. Targets are simple multiples of the first-five range and do not adapt to volatility beyond that structure.
Sensible Defaults & Quick Tuning
Start with Classic bias, midpoint lookback at three hundred, and all visuals on.
Too many flips in context → switch to SWDEMA mode or increase EMA lengths.
Breakouts feel noisy → extend the first-five end by a minute or two, or wait for a retest by your own rules.
Too sluggish → reduce midpoint lookback or shorten EMA lengths.
Chart cluttered → hide EMA or midpoint lines and keep only range levels and breakout shapes.
What this indicator is—and isn’t
This is a visualization and signal layer for session bias and first-five structure. It does not manage orders, position sizing, or risk. It is not predictive. Use it alongside market structure, execution rules, and independent risk controls.
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Do not use this indicator on Heikin-Ashi, Renko, Kagi, Point-and-Figure, or Range charts, as these chart types can produce unrealistic results for signal markers and alerts.
Best regards and happy trading
Chervolino
Many thanks to LonesomeTheBlue
for the original work. I adapted the midpoint calculation for this script. www.tradingview.com
ROKU Call/Put MomentumThis strategy is meant for roku 5-1hr timefram 70-80% win rate on this indicator 1-2 rr 25% sl 40-50% tp
CNN Fear and Greed Index📊 CNN Fear & Greed Index — by @victhoreb
Tap into the emotional heartbeat of the U.S. stock market with this powerful CNN-inspired Fear & Greed Index! 🧠📉📈 Designed to mirror the sentiment framework popularized by CNN Business, this indicator blends 7 key market signals into a single score from 0 (😱 Extreme Fear) to 100 (🚀 Extreme Greed), helping you navigate volatility with confidence.
🧩 What’s Inside?
Each component captures a unique behavioral or macroeconomic force:
- ⚡ Market Momentum: Tracks how far the S&P 500 is from its 125-day average — a pulse check on trend strength.
- 🏛️ Stock Price Strength: Measures the NYSE Highs vs. Lows — are more stocks breaking out or breaking down?
- 🌊 Stock Price Breadth: Uses the McClellan Volume Summation Index to assess market-wide participation.
- ☎️ Put/Call Ratio: A 5-day average of the equity options market — are traders hedging or chasing?
- 🌪️ Volatility (VIX): Compares the VIX to its 50-day average — rising fear or calming nerves?
- 🛡️ Safe Haven Demand: Contrasts stock returns with bond returns — are investors seeking shelter or risk?
- 💣 Junk Bond Demand: Inverted high-yield spread — tighter spreads = more risk-on appetite.
🎯 Why Use It?
This index gives you a quantified view of Wall Street’s mood, helping you:
- Spot emotional extremes that often precede reversals
- Confirm or challenge your directional bias
- Stay grounded when the market gets irrational
🧭 Visual Sentiment Meter
A custom offset sentiment meter shows current positioning with intuitive labels:
- 😱 Extreme Fear
- 😨 Fear
- 😐 Neutral
- 😄 Greed
- 🚀 Extreme Greed
Color gradients and dynamic labels make it easy to interpret at a glance.
Ready to trade with the crowd—or against it? Add this indicator to your chart and let sentiment guide your strategy! 📈🧠
༒CRIPTO Zz ༒ Señales de Compra/VentaStoch RSI and RSI Buy/Sell Signals with MACD Trend Filter
This indicator combines Stochastic RSI, RSI, and MACD to generate buy and sell signals confirmed by candle color. It helps traders identify strong or weak entries based on momentum, overbought/oversold conditions, and trend strength.
🔹 Key Features
Signal Colors:
🟢 Strong Buy – RSI ≤ 35, green candle
🔵 Weak Buy – RSI 36–50
🔴 Strong Sell – RSI ≥ 65, red candle
🟠 Weak Sell – RSI 50–64
MACD Trend Filter: Confirms reversals or continuations with 3-bar momentum logic.
ADX Filter (optional): Only triggers signals in strong trends (ADX > 25).
Resistance Lines: Detects dynamic resistance zones for better decision-making.
Multi-Timeframe Table: Shows real-time buy/sell signals across 5m, 15m, 1h, 4h, 1D.
🔹 How to Use
1. Choose a timeframe matching your style (15m = scalping, 1h = swing).
2. Enter when a strong signal appears and MACD/ADX confirm.
3. Place stop loss below/above recent swings; take profits at support/resistance.
4. Align with higher-timeframe trend for extra confirmation.
🔹 Benefits
Combines momentum + trend + confirmation in one tool.
Visual and beginner-friendly.
Avoids false signals in sideways markets.
In short: A complete and customizable indicator that merges RSI, Stoch RSI, and MACD logic to simplify trade entries and exits with optional trend filtering and visual aids
[LTS] Marubozu Candle StrategyOVERVIEW
The Marubozu Candle Strategy identifies and trades wickless candles (Marubozu patterns) with dynamic take-profit and stop-loss levels based on market volatility. This indicator combines traditional Japanese candlestick pattern recognition with modern volatility-adjusted risk management and includes a comprehensive performance tracking dashboard.
A Marubozu candle is a powerful continuation pattern characterized by the complete absence of wicks on one side, indicating strong directional momentum. This strategy specifically detects:
- Bullish Marubozu: Close > Open AND Low = Open (no lower wick)
- Bearish Marubozu: Close < Open AND High = Open (no upper wick)
When price returns to test these levels, the indicator generates trading signals with predefined risk-reward parameters.
CORE METHODOLOGY
Detection Logic:
The script scans each bar for Marubozu formations using precise price comparisons. When a wickless candle appears, a horizontal line extends from the opening price, marking it as a potential support (bullish) or resistance (bearish) level. These levels remain active until price touches them or until the maximum line limit is reached.
EMA Filter (Optional):
An exponential moving average filter enhances signal quality by requiring proper trend alignment. For bullish signals, price must be above the EMA when touching the level. For bearish signals, price must be below the EMA. This filter reduces counter-trend trades and improves win rates in trending markets. Users can disable this filter for range-bound conditions.
Dynamic Risk Management:
The strategy employs ATR-based (Average True Range) position sizing rather than fixed point values. This approach adapts to market volatility automatically:
- In low volatility: Tighter stops and targets
- In high volatility: Wider stops and targets proportional to market movement
Default settings use a 2:1 reward-to-risk ratio (1x ATR for take-profit, 0.5x ATR for stop-loss), but users can adjust these multipliers to match their trading style.
HOW IT WORKS
Step 1 - Pattern Detection:
On each bar, the indicator evaluates whether the candle qualifies as a Marubozu by comparing the high, low, open, and close prices. When detected, the opening price becomes the key level.
Step 2 - Level Management:
Horizontal lines extend from each Marubozu's opening price. The indicator maintains two separate arrays: one for unbroken levels (actively extending) and one for broken levels (historical reference). Users can configure how many of each type to display, preventing chart clutter while maintaining relevant context.
Step 3 - Signal Generation:
When price returns to touch a Marubozu level, the indicator evaluates the EMA filter condition. If the filter passes (or is disabled), the script draws TP/SL boxes showing the expected profit and loss zones based on current ATR values.
Step 4 - Trade Tracking:
Each valid signal enters the tracking system, which monitors subsequent price action to determine outcomes. The script identifies whether the take-profit or stop-loss was hit first (discarding trades where both trigger on the same candle to avoid ambiguous results).
PERFORMANCE DASHBOARD
The integrated dashboard provides real-time strategy analytics to automatically convert results to dollar values for any instrument:
Tracked Metrics:
- Total Trades: Complete count of closed positions
- Wins/Losses: Individual counts with color coding
- Win Rate: Success percentage with dynamic color (green >= 50%, red < 50%)
- Total P&L: Cumulative profit/loss in dollars
- Avg Win: Mean dollar amount per winning trade
- Avg Loss: Mean dollar amount per losing trade
NOTE: The dollar values shown in the dashboard are for trading only a single share/contract/etc. You will need to manually multiply those numbers by the amount of shares/contracts you are trading to get a true value.
The dollar conversion works automatically across all markets:
- Futures contracts (ES, NQ, CL, etc.) use their contract specifications
- Forex pairs use standard lot calculations
- Stocks and crypto use their respective point values
This eliminates manual calculation and provides immediate performance feedback in meaningful currency terms.
CUSTOMIZATION OPTIONS
ATR Settings:
- ATR Period: Lookback length for volatility calculation (default: 14)
- TP Multiplier: Take-profit distance as multiple of ATR (default: 3.0)
- SL Multiplier: Stop-loss distance as multiple of ATR (default: 1.5)
EMA Settings:
- EMA Length: Period for trend filter calculation (default: 9)
- Use EMA Filter: Toggle trend confirmation requirement (default: enabled)
Visual Settings:
- Bullish Color: Color for long signals and wins (default: green)
- Bearish Color: Color for short signals and losses (default: red)
- EMA Color: Color for trend filter line (default: orange)
- Line Width: Thickness of Marubozu level lines (1-5, default: 2)
- EMA Width: Thickness of EMA line (1-5, default: 2)
Line Management:
- Max Unbroken Lines: Limit for active extending lines (default: 10)
- Max Broken Lines: Limit for historical touched lines (default: 5)
Dashboard Settings:
- Show Dashboard: Toggle performance display on/off
- Dashboard Position: Corner placement (4 options)
- Dashboard Size: Text size selection (Tiny/Small/Normal/Large)
HOW TO USE
1. Add the indicator to your chart
2. Adjust ATR multipliers based on your risk tolerance (higher values = more conservative)
3. Configure the EMA filter based on market conditions (enable for trending, disable for ranging)
4. Set line limits to match your visual preference and chart timeframe
5. Monitor the dashboard to track strategy performance in real-time
6. Use the TP/SL boxes as reference levels for manual trades or automation
Best Practices:
- Enable EMA filter in strongly trending markets
- Disable EMA filter if you want more trade signals but at lower quality
- Increase ATR multipliers in highly volatile markets
- Decrease ATR multipliers for tighter, more frequent trades
- Review avg win/loss ratio to ensure positive expectancy
UNIQUE FEATURES
Unlike basic Marubozu detectors, this strategy provides:
1. Automatic level tracking with memory management
2. Volatility-adjusted risk parameters instead of fixed values
3. Optional trend confirmation via EMA filter
4. Real-time performance analytics with automatic dollar conversion
5. Separate tracking of wins/losses with individual averages
6. Configurable visual display to prevent chart clutter
7. Complete transparency with all logic visible in open-source code
Crypto Fear and Greed Index📊 Crypto Fear & Greed Index — by @victhoreb
Decode the emotional pulse of the crypto market with this all-in-one Fear & Greed Index! 🧠💰 This custom-built indicator blends 7 powerful market signals into a single sentiment score ranging from 0 (😱 Extreme Fear) to 100 (🚀 Extreme Greed), helping you spot potential tops, bottoms, and trend shifts with clarity.
🔍 What’s under the hood?
Each component reflects a unique psychological or macroeconomic force:
- ⚡ Market Momentum: Measures how far BTC is from its 125-day average — are we overextended or undervalued?
- 📈 Crypto Price Strength: Tracks the dominance of altcoins (OTHERS.D) — rising dominance = growing risk appetite.
- 💵 Digital Dollar Dominance (USDT.D): A proxy for stablecoin demand — more USDT dominance = risk-off behavior.
- 🐦 Twitter Sentiment (LunarCrush): Captures real-time posts on TWITTER about Bitcoin — are the crowds euphoric or panicking?
- 🌪️ Volatility (VIX): Inverted VIX deviation — higher fear in traditional markets often spills into crypto.
- 🛡️ Safe Haven Demand: Compares BTC returns vs. US10Y bonds — are investors fleeing to safety or embracing risk?
- 🧨 Junk Bond Demand (BAMLH0A0HYM2): Inverted high-yield spread — tighter spreads = more greed in credit markets.
🎯 Why use it?
This index gives you a quantified view of market sentiment, helping you:
- Anticipate reversals during emotional extremes
- Confirm trend strength or weakness
- Stay objective when the market gets irrational
🧭 Visual Dashboard
A custom offset sentiment meter shows current positioning with intuitive labels:
- 😱 Extreme Fear
- 😨 Fear
- 😐 Neutral
- 😄 Greed
- 🚀 Extreme Greed
Color gradients and dynamic labels make it easy to interpret at a glance.
Ready to trade with the crowd—or against it? Add this indicator to your chart and let sentiment guide your strategy! 📈🧠
GEX Delta Hedging Lines - v.4.1GEX Delta Hedging Indicator - Institutional Levels
Introduction
This Pine Script indicator is designed to visualize Gamma Exposure (GEX) levels, Delta Hedging zones, and institutional support/resistance points on your TradingView charts. It helps traders identify key price levels where market makers and institutions might hedge their options positions, potentially leading to price reversals or continuations. The indicator overlays lines for resistances (Call Wall, R1, R2), supports (Put Wall, S1, S2, S3), a Gamma Flip zone, and customizable trading zones (Buy, Neutral, Sell). It also includes alerts for level breaches and a summary table for quick reference.
Key Features
Resistance Levels: Call Wall (maximum resistance), R1 (strong), R2 (light) – all configurable with colors, styles, and widths.
Support Levels: Put Wall (maximum support), S1 (strong), S2 (moderate), S3 (weak/danger) – fully customizable.
Gamma Flip Zone: Indicates potential regime changes in market behavior.
Trading Zones: Visual boxes for Buy (green), Neutral (yellow), and Sell (red) areas, with adjustable boundaries and colors.
Current Price Line: Dotted line for the reference price, with labels.
Alerts: Trigger notifications when levels are tested or broken.
Summary Table: Displays levels, prices, and distances from the current close, positioned customizable.
Style Options: Adjust line widths, styles (solid/dashed/dotted), label sizes, and more for a personalized view.
Fibo 68.2 / 32.1 (2 lignes)FIBO indicator that automatically plots two retracement lines (38.2 and 61.8).
Wall Street Bell 🔔This will ring a bell at market open (9:30 AM EST) and close (4:00 PM EST), automatically adjusted to the user's local time zone, only on valid trading days.
✅ Automatic timezone conversion - Works in any timezone
✅ Weekdays only - No alerts on weekends
✅ Visual markers - Shows 🔔 labels on chart when bells ring
✅ Status dashboard - Shows which bells are enabled (top-right corner)
✅ Customizable - Toggle bells on/off in settings
Note: This excludes weekends automatically, but TradingView doesn't have a built-in holiday calendar for NYSE. On market holidays, you may need to manually disable the alerts for that day,
You'll need to create two separate alerts - one for the opening bell and one for the closing bell.
Statistical Price Deviation Index (MAD/VWMA)SPDI is a statistical oscillator designed to detect potential price reversal zones by measuring how far price deviates from its typical behavior within a defined rolling window.
Instead of using momentum or moving averages like traditional indicators, SPDI applies robust statistics - a rolling median and Mean Absolute Deviation (MAD) - to calculate a normalized measure of price displacement. This normalization keeps the output bounded (from −1 to +1 by default), producing a stable and consistent oscillator that adapts to changing volatility conditions.
The second line in SPDI uses a Volume-Weighted Moving Average (VWMA) instead of a simple price median. This creates a complementary oscillator showing statistically weighted deviations based on traded volume. When both oscillators align in their extremes, strong confluence reversal signals are generated.
How It Works
For each bar, SPDI calculates the median price of the last N bars (default 100).
It then measures how far the current bar’s midpoint deviates from that rolling median.
The Mean Absolute Deviation (MAD) of those distances defines a “normal” range of fluctuation.
The deviation is normalized and compressed via a tanh mapping, keeping the oscillator in fixed boundaries (−1 to +1).
The same logic is applied to the VWMA line to gauge volume-weighted deviations.
How to Use
The blue line (Price MAD) represents pure price deviation.
The green line (VWMA Disp) shows the volume-weighted deviation.
Overbought (red) zones indicate statistically extreme upward deviation -> potential short-term overextension.
Oversold (green) zones indicate statistically extreme downward deviation -> potential rebound area.
Confluence signals (both lines hitting the same extreme) often mark strong reversal points.
Settings Tips
Lookback length controls how much historical data defines “normal” behavior. Larger = smoother, smaller = more sensitive.
Smoothing (RMA length) can reduce noise without changing the overall statistical logic.
Output scale can be set to either −1..+1 or 0..100, depending on your visual preference.
Alerts and color fills are fully customizable in the Style tab.
Summary:
SPDI transforms raw price and volume data into a statistically bounded deviation index. When both Price MAD and VWMA Disp reach joint extremes, it highlights probable market turning points - offering traders a clean, data-driven way to spot potential reversals ahead of time.
Hypothetical (Swing Explorer)Hypothetical (Swing Explorer) V1.3
Overview
Hypothetical (Swing Explorer) V1.3 is a Pine v6 swing-study visualizer. It confirms extremes using ta.pivothigh/ta.pivotlow and an EMA context filter, then constructs a ZigZag only from verified pivots to avoid repainting. On top, it illustrates four hypothetical marks—Next, Swing, Reversal, and Forward Echo—each with an ETA derived from recent price speed and bar time. It also provides trail lines (verified or developing), an optional Zero-Lag guide from the last extreme, a status table showing hit/pending states, and optional custom candle coloring by leg.
This tool is an illustrative swing explorer.
How it works
Verified Pivots (Non-Repainting):
• Uses ta.pivothigh/ta.pivotlow with symmetric lookbacks.
• Verifies extremes with a trend check (fast vs slow EMA at the pivot bar) to avoid counter-trend “noise.”
• Marks developing vs verified extremes; ZigZag lines are drawn only from verified pivots.
ZigZag Structure & Leg Direction:
•Rolling-window tests (highest/lowest over winLen) flip the swing polarity.
• Lines are drawn using xloc.bar_time so segments remain anchored to bar timestamps.
Trails & Zero-Lag (visual guidance):
• Trail mode can be Verified (solid) or Hypothetical (dashed).
• Trail color can sync to EMA bias or recent price change, with optional gradient tint by relative ATR change.
• Zero-Lag line connects the last verified extreme to live price as a dashed guide.
Hypothetical Targets (with ETA):
• Next Swing: mirrors the last verified leg distance from the most recent extreme.
• Primary Swing: Next Swing plus a small momentum/volatility adjustment.
• Reversal: price distance ≈ average historical swing range, with time ≈ average swing bars.
• Forward Echo: a “two-swings-ahead” projection (≈ 2× avg swing range/bars).
• ETAs derive from recent price speed (EMA of |Δprice|) and bar_time deltas; all targets display Pending → Verified when price tags them.
• Each target type keeps capped line history (FIFO) to prevent clutter.
Status Table & Alerts:
• Table shows Trail Direction, Sync Mode, Gradient state, and Pending/Verified for each hypothetical mark; also prints trend bias (fast vs slow EMA).
• Visual labels update in place; confirmation draws a short solid marker line.
Optional Custom Candles:
• Colors candles by verified leg or (optionally) by developing leg for early visual context.
What it displays
• ZigZag from verified extremes (non-repainting).
• Trail line (solid = verified, dashed = developing) with EMA/price sync and optional gradient.
• Zero-Lag dashed guide from last extreme to current price.
• Hypothetical Next/Swing/Reversal/Echo lines + labels, each with ETA; persistent confirmation lines when hit.
• Status table showing Pending/Verified states and context.
• Optional custom candles colored by active leg.
Why it’s original
• Moves beyond a plain ZigZag by combining:
• Verified-only structure (EMA-filtered pivots),
• A four-stage hypothetical framework (Next/Swing/Reversal/Echo) with time estimates,
• Trail logic that supports developing vs verified states and snap-back handling,
• Zero-Lag visualization tied to the last extreme, and
• Persistent, capped history of projection lines for post-analysis.
These elements create a cohesive swing exploration workflow rather than a single indicator mashup.
Configuration & usage notes
• Trend & Averages: Fast/Slow EMA lengths affect verification.
• Pivots: pivotLookback controls confirmation latency vs strictness.
• Structure: winLen influences flip sensitivity.
• Trails: Choose Hypothetical for earlier (dashed) trail hints; Verified for conservative trails.
• Hypothetical Tools: Toggle each mark; set max lines per type to balance history vs clarity.
• Custom Candles: Enable if you want leg-based candle tints; choose developing mode for earlier flips.
• Performance: The script caps historical lines per type to keep charts responsive.
Limitations & assumptions
• ETAs use recent price speed and average swing bars; these are illustrative and can drift with regime changes.
• Hypothetical Projections are not signals; they’re visual hypotheses grounded in measured past swings.
Legal Disclaimer
This indicator is for informational and educational purposes only—not investment, financial, or trading advice. Past performance does not guarantee future results; trading involves risk of loss. Provided “as is” with no warranties. Consult a qualified professional before decisions. By using it, you assume all risk and agree to this disclaimer.
Vip Pro Realtime VipPro Realtime — Technical Overview
VipPro Realtime is a multi-layer analytical indicator designed for real-time liquidity and momentum tracking across all markets on TradingView.
It integrates price structure, volatility, and volume dynamics into a unified dashboard that allows traders to visually interpret market phases in seconds.
🔹 Core Components
Directional Framework (Trend Logic)
VipPro Realtime uses a dual-EMA structure to determine short- and mid-term momentum alignment.
When both layers confirm, the background color changes to visualize the prevailing trend:
🟢 Green → bullish momentum
🔴 Red → bearish momentum
⚪ Gray → corrective or neutral phase
Liquidity & Volume Mapping
The script evaluates volume pressure relative to its moving average and applies a dynamic volume-to-volatility ratio.
This helps detect where actual market participation occurs instead of relying only on price movement.
RSI & Volatility Filters
RSI and ATR values are normalized to reduce noise.
The indicator highlights overbought/oversold conditions and provides contextual volatility levels to help avoid false signals in low-liquidity environments.
VWAP Integration
A VWAP baseline defines fair-value zones and helps identify extension points for potential mean reversion setups.
Open Interest Layer (OI Monitor)
When available, the indicator requests aggregated open interest data from related perpetual markets and calculates short-term deltas to visualize:
📈 Increasing OI with rising price → potential long buildup
📉 Increasing OI with falling price → potential short buildup
⚠️ Decreasing OI → profit-taking or liquidation reduction
Wave & Fibonacci Targeting
The tool automatically identifies impulsive and corrective phases and projects short-term expansion levels (1.27 and 1.61) based on recent swings.
Dashboard Interface
The top-center table summarizes all key parameters:
Trend direction
Liquidity state
Momentum strength
Volatility context
RSI condition
Signal status
OI condition
🔹 Use Case
VipPro Realtime is built for traders who need quantitative confirmation of price behavior rather than subjective pattern recognition.
It helps interpret when a movement is supported by real liquidity inflow/outflow, allowing better timing for entries and exits across intraday or swing strategies.
🔹 Compatibility
✅ Works on all TradingView timeframes
✅ Applicable to crypto, forex, stocks, and commodities
✅ Requires no external data feeds or third-party services
🔹 Important Note
This script does not provide financial advice or guaranteed results.
Its purpose is to enhance situational awareness by merging multiple layers of market data (trend, volume, momentum, and OI) into one simplified view.
Traders should always confirm signals with their own risk management and market understanding.
Feel free to ask any questions at amr@mobeline.de .
Ali's TTM+MFRSIthis indicators gives multiple buy and sell signal based on multiframe RSI and TTM squeeze and some other conditions
Universal Direction EstimatorUniversal Direction Estimator V1
Overview
The Universal Direction Estimator V1 is a Pine Script v6 indicator that unifies Trend, Momentum, and Market-Structure readings into a single normalized score ranging from −1 to +1. It can optionally reference a higher timeframe (HTF) for confirmation and apply a custom Wilder-style ADX confidence boost to highlight conditions where directional bias is statistically stronger.
It’s designed as an interpretable directional meter – providing a quick visual estimate of whether short-term forces favor upward, downward, or neutral movement.
How It Works
The model produces three independent sub-scores each normalized to the −1 to +1 range:
• Trend Component (EMA-Spread): Measures distance between a fast and slow EMA, scaled by ATR and passed through a smooth tanh function to stabilize extremes.
• Momentum Component (ROC): Captures short-term velocity using rate-of-change over a configurable window.
• Structure Component (Market Structure): Detects new highs or lows within a rolling bar window and otherwise uses the deviation of price from a mid-SMA to express bias.
A weighted blend (default = 45 % Trend / 35 % Momentum / 20 % Structure) forms the base score.
Optional modules then refine it:
• HTF Alignment Bonus: When both local and higher-timeframe direction share the same sign, the score receives a small positive adjustment; disagreement slightly reduces confidence.
• ADX Confidence Boost: A self-contained Wilder-style +DI / −DI / DX calculation raises the score’s magnitude when measured trend strength exceeds a user threshold.
• The final bounded result determines one of three discrete states:
UP (score > 0.10), DOWN (score < −0.10), or NEUTRAL (inside the dead-zone).
Visual and Functional Features
• Candle Coloring: Optional shading of bars by current directional state.
• Direction Trail : A smoothed overlay of the score for visual continuity.
• Flip Markers: Up/Down triangles plotted when the estimator changes state.
• S tatus Table: Compact on-chart panel listing Direction, Score %, individual component weights, ADX value, and HTF alignment flag.
• Alerts: Built-in conditions trigger “Direction Flip: UP” / “Direction Flip: DOWN.”
Why It’s Original
Rather than relying on a single legacy indicator, this tool fuses three orthogonal measures into a unified confidence-weighted direction index, with both adaptive normalization and a bespoke ADX engine that avoids ta.adx(). The method produces a consistent −1 to +1 score applicable across instruments and timeframes, suitable for comparative scanning or overlay visualization.
It’s not a clone of classic moving-average or momentum systems; its novelty lies in the weighted, bounded integration and multi-timeframe coherence adjustment that makes directional interpretation more stable and portable between markets.
Configuration & Usage Notes
• Timeframes: Enter a higher-TF (e.g., 60, 240, D) and enable Use HTF Confirmation to activate cross-timeframe logic.
• Lengths & Weights: Adjust EMA, ROC, and Structure lookbacks and their blend ratios to tune sensitivity.
• Confidence Filter: Modify ADX length and threshold to emphasize stronger trends.
• Visual Controls: Toggle candle colors, trail line, arrows, and status table to fit your chart layout.
This estimator can be paired with other analytical overlays (volume, volatility, structure) for study purposes, but it is not designed to issue automated trade entries or exits.
Legal Disclaimer
This indicator is for charting and educational use only and does not constitute financial advice, trading signals, or performance claims. Markets involve risk, including the loss of principal. Past performance does not guarantee future results. Use at your own discretion and consult a qualified professional before making financial decisions. Provided “as is,” without warranties






















