350DMA bands + Z-score (V2)This script extends the classic 350-day moving average (350DMA) by building dynamic valuation bands and a Z-Score framework to evaluate how far price deviates from its long-term mean.
Features
350DMA Anchor: Uses the 350-day simple moving average as the baseline reference.
Fixed Multipliers: Key bands plotted at ×0.625, ×1.0, ×1.6, ×2.0, and ×2.5 of the 350DMA — historically significant levels for cycle analysis.
Z-Score Mapping: Price is converted into a Z-Score on a scale from +2 (deep undervaluation) to –2 (extreme overvaluation), using log-space interpolation for accuracy.
Custom Display: HUD panel and on-chart label show the current Z-Score in real time.
Clamp Option: Users can toggle between raw Z values or capped values (±2).
How to Use
Valuation Context: The 350DMA is often considered a “fair value” anchor; large deviations identify cycles of under- or over-valuation.
Z-Score Insight:
Positive Z values suggest favorable accumulation zones where price is below long-term average.
Negative Z values highlight zones of stretched valuation, often associated with distribution or profit-taking.
Strategic Application: This is not a standalone trading system — it works best in confluence with other indicators, cycle models, or macro analysis.
Originality
Unlike a simple DMA overlay, this script:
Provides multiple cycle-based bands derived from the 350DMA.
Applies a logarithmic Z-Score mapping for more precise long-term scaling.
Adds an integrated HUD and labeling system for quick interpretation.
Medie mobili
200WMA Overlay + Z (heatmap mapping)This script enhances the classic 200-week moving average (200WMA), a long-term market reference line, by adding Z-Score mapping and optional helper bands for extended cycle analysis.
Features
200WMA Anchor: Plots the true 200-week simple moving average on any chart, a widely followed metric for long-term Bitcoin and crypto cycles.
Helper Multiples: Optional overlay of key historical ratios (×0.625, ×1.6, ×2.0, ×2.5) often referenced as cycle support/resistance zones.
Z-Score Mapping: Translates the ratio of price to 200WMA into a Z-Score scale (from +2.5 to –2.5), offering a statistical perspective on whether the market is undervalued, neutral, or overheated relative to its long-term mean.
On-Chart Label: Current Z-Score displayed directly on the last bar for quick reference.
How to Use
Long-Term Valuation: The 200WMA serves as a “fair value” baseline; large deviations highlight extended phases of market sentiment.
Heatmap Context:
Positive Z values typically mark undervaluation or favorable accumulation zones.
Negative Z values highlight overvaluation or profit-taking / distribution zones.
Strategic View: Best used to contextualize long-term market cycles, not for short-term signals.
Confluence Approach: This indicator should not be used alone — combine it with other technical or fundamental tools for stronger decision-making.
Originality
Unlike a basic 200WMA overlay, this version:
Incorporates multi-band ratios for extended cycle mapping.
Introduces a custom Z-Score scale tied directly to price/WMA ratios.
Provides both visual structure and statistical interpretation on a single overlay.
StdDev Supertrend {CHIPA}StdDev Supertrend ~ C H I P A is a supertrend style trend engine that replaces ATR with standard deviation as the volatility core. It can operate on raw prices or log return volatility, with optional smoothing to control noise.
Key features include:
Supertrend trailing rails built from a stddev scaled envelope that flips the regime only when price closes through the opposite rail.
Returns-based mode that scales volatility by log returns for more consistent behavior across price regimes.
Optional smoothing on the volatility input to tune responsiveness versus stability.
Directional gap fill between price and the active trend line on the main chart; opacity adapts to the distance (vs ATR) so wide gaps read stronger and small gaps stay subtle.
Secondary pane view of the rails with the same adaptive fade, plus an optional candle overlay for context.
Clean alerts that fire once when state changes
Use cases: medium-term trend following, stop/flip systems, and visual regime confirmation when you prefer stddev-based distance over ATR.
Note: no walk-forward or robustness testing is implied; parameter choices and risk controls are on you.
Trend Pro V2 [CRYPTIK1]Introduction: What is Trend Pro V2?
Welcome to Trend Pro V2! This analysis tool give you at-a-glance understanding of the market's direction. In a noisy market, the single most important factor is the dominant trend. Trend Pro V2 filters out this noise by focusing on one core principle: trading with the primary momentum.
Instead of cluttering your chart with confusing signals, this indicator provides a clean, visual representation of the trend, helping you make more confident and informed trading decisions.
The dashboard provides a simple, color-coded view of the trend across multiple timeframes.
The Core Concept: The Power of Confluence
The strength of any trading decision comes from confluence—when multiple factors align. Trend Pro V2 is built on this idea. It uses a long-term moving average (200-period EMA by default) to define the primary trend on your current chart and then pulls in data from three higher timeframes to confirm whether the broader market agrees.
When your current timeframe and the higher timeframes are all aligned, you have a state of "confluence," which represents a higher-probability environment for trend-following trades.
Key Features
1. The Dynamic Trend MA:
The main moving average on your chart acts as your primary guide. Its color dynamically changes to give you an instant read on the market.
Teal MA: The price is in a confirmed uptrend (trading above the MA).
Pink MA: The price is in a confirmed downtrend (trading below the MA).
The moving average changes color to instantly show you if the trend is bullish (teal) or bearish (pink).
2. The Multi-Timeframe (MTF) Trend Dashboard:
Located discreetly in the bottom-right corner, this dashboard is your window into the broader market sentiment. It shows you the trend status on three customizable higher timeframes.
Teal Box: The trend is UP on that timeframe.
Pink Box: The trend is DOWN on that timeframe.
Gray Box: The price is neutral or at the MA on that timeframe.
How to Use Trend Pro V2: A Simple Framework
Step 1: Identify the Primary Trend
Look at the color of the MA on your chart. This is your starting point. If it's teal, you should generally be looking for long opportunities. If it's pink, you should be looking for short opportunities.
Step 2: Check for Confluence
Glance at the MTF Trend Dashboard.
Strong Confluence (High-Probability): If your main chart shows an uptrend (Teal MA) and the dashboard shows all teal boxes, the market is in a strong, unified uptrend. This is a high-probability environment to be a buyer on dips.
Weak or No Confluence (Caution Zone): If your main chart shows an uptrend, but the dashboard shows pink or gray boxes, it signals disagreement among the timeframes. This is a sign of market indecision and a lower-probability environment. It's often best to wait for alignment.
Here, the daily trend is down, but the MTF dashboard shows the weekly trend is still up—a classic sign of weak confluence and a reason for caution.
Best Practices & Settings
Timeframe Synergy: For best results, use Trend Pro on a lower timeframe and set your dashboard to higher timeframes. For example, if you trade on the 1-hour chart, set your MTF dashboard to the 4-hour, 1-day, and 1-week.
Use as a Confirmation Tool: Trend Pro V2 is designed as a foundational layer for your analysis. First, confirm the trend, then use your preferred entry method (e.g., support/resistance, chart patterns) to time your trade.
This is a tool for the community, so feel free to explore the open-source code, adapt it, and build upon it. Happy trading!
For your consideration @TradingView
RMA EMA Crossover | MisinkoMasterThe RMA EMA Crossover (REMAC) is a trend-following overlay indicator designed to detect shifts in market momentum using the interaction between a smoothed RMA (Relative Moving Average) and its EMA (Exponential Moving Average) counterpart.
This combination provides fast, adaptive signals while reducing noise, making it suitable for a wide range of markets and timeframes.
🔎 Methodology
RMA Calculation
The Relative Moving Average (RMA) is calculated over the user-defined length.
RMA is a type of smoothed moving average that reacts more gradually than a standard EMA, providing a stable baseline.
EMA of RMA
An Exponential Moving Average (EMA) is then applied to the RMA, creating a dual-layer moving average system.
This combination amplifies trend signals while reducing false crossovers.
Trend Detection (Crossover Logic)
Bullish Signal (Trend Up) → When RMA crosses above EMA.
Bearish Signal (Trend Down) → When EMA crosses above RMA.
This simple crossover system identifies the direction of momentum shifts efficiently.
📈 Visualization
RMA and EMA are plotted directly on the chart.
Colors adapt dynamically to the current trend:
Cyan / Green hues → RMA above EMA (bullish momentum).
Magenta / Red hues → EMA above RMA (bearish momentum).
Filled areas between the two lines highlight zones of trend alignment or divergence, making it easier to spot reversals at a glance.
⚡ Features
Adjustable length parameter for RMA and EMA.
Overlay format allows for direct integration with price charts.
Visual trend scoring via color and fill for rapid assessment.
Works well across all asset classes: crypto, forex, stocks, indices.
✅ Use Cases
Trend Following → Stay on the right side of the market by following momentum shifts.
Reversal Detection → Crossovers highlight early trend changes.
Filter for Trading Systems → Use as a confirmation overlay for other indicators or strategies.
Visual Market Insight → Filled zones provide immediate context for trend strength.
Elliott Wave Auto (Impulse + Correction) — stable deleteAutomatic pivot detection: The script identifies swing highs and swing lows using ta.pivothigh and ta.pivotlow.
Impulse wave labeling (1–5):
Detects 5 alternating pivots and labels them as waves 1 to 5.
Uses green/red labels for impulse and correction legs.
Connects waves with blue lines for visual clarity.
Corrective wave labeling (A–B–C):
Detects the next 3 alternating pivots after wave 5.
Labels them as A, B, C with orange lines connecting them.
Dynamic cleanup:
Stores labels and lines in arrays.
Deletes previous drawings automatically before redrawing, keeping the chart clean.
Optional pivot markers:
Plots tiny triangles for detected pivots (green for lows, red for highs).
Information table:
Displays the direction (Bullish/Bearish) and percentage move of the 1–5 impulse waves.
Pine Script v5 compliant:
Uses str.tostring() and array-based deletion to avoid tostring() or line.deleteall() errors.
If you want, I can also add an alert feature to notify you when a full impulse + corrective wave pattern completes. This makes it actionable for trading.
EMA Ribbon - Adjustable with Toggles📌 Script Name:
EMA Ribbon - Adjustable with Toggles
🧠 Primary Function:
This script plots a customizable Exponential Moving Average (EMA) Ribbon on Trading View charts. It allows the user to enable or disable any of the 8 EMAs individually and shows buy/sell signals based on the crossover between the fastest and slowest EMAs.
⚙️ Key Features:
✅ User Controls:
Toggle ON/OFF each of the 8 EMAs independently.
Set the length of each EMA (from 1 upward).
EMA colors vary based on their speed (green for faster, orange for slower).
📈 EMA Calculation:
Calculates 8 separate EMAs using the closing price (close).
🎨 Chart Visualization:
Plots each EMA with a unique color and transparency.
Draws a colored ribbon between the highest and lowest active EMAs to visualize trend zones.
📊 Trend Direction Logic:
The trend is determined solely based on EMA 1 (fastest) and EMA 8 (slowest).
A bullish trend is when EMA 1 > EMA 8, and bearish when EMA 1 < EMA 8.
📍 Buy/Sell Signals:
Buy Signal: When the trend shifts from bearish to bullish (EMA 1 crosses above EMA 8).
Sell Signal: When the trend shifts from bullish to bearish (EMA 1 crosses below EMA 8).
Signals are displayed as green (buy) and red (sell) triangles on the chart.
🔔 Alerts:
Built-in alert conditions for buy and sell signals.
Custom alert messages in Arabic (can be modified if needed).
🌟 Additional Highlights:
Well-structured and easy to expand.
Great for trend-following strategies using EMA ribbons.
Helps identify consolidation zones and trend confirmation.
RSI extremes + Nasdaq 100 +Crossover of moving averages
In this indicator, we integrate four main features.
1. Oversold and overbought price signals, based on the 1-minute RSI extremes, marked on the chart with a yellow triangle.
2. Combination of oversold and overbought signals in the stock price and its index (only applicable to Nasdaq 100 symbols). Marked on the chart with a green triangle for oversold and a red triangle for overbought.
3. Use of four moving averages for early trend detection: EMA 10, 20, and 45 - SMA 200.
4. Crossover of moving averages in order 10, 20, and 45. On the upside, a green cross appears; on the downside, an orange cross appears.
Combine this indicator with "RSI (1 and 5m) + divergences and rsiNDX 1m " to check the signals and you will have a scalping strategy for reversals and trend following in NASDAQ 100 stocks.
Andean Oscillator (Version 3.0 Sr.K)Andean Oscillator (Version 3.0 Sr.K)
This indicator is a momentum-based oscillator that measures the balance between bullish and bearish pressure.
🔧 How it works:
It calculates two adaptive envelopes around price and derives a "bullish" and "bearish" component.
The oscillator value is simply Bull - Bear, showing which side dominates.
A signal line (EMA of the oscillator) smooths the raw value.
Optionally, ±1σ levels are plotted to highlight statistically strong moves.
📊 What you see:
Histogram: Positive bars = bullish momentum, negative bars = bearish.
Orange Line: Signal line (EMA) used to confirm or anticipate reversals.
Zero Line: The equilibrium point. Crosses of this level signal a shift in market bias.
Green / Red Triangles: Buy and sell signals, either when crossing zero or crossing the signal line (depending on selected mode).
⚡ Early Signal Mode:
When enabled, signals trigger earlier — at the crossover between the oscillator and its signal line — allowing traders to enter potential reversals before a full zero-cross confirmation.
✅ Use cases:
Identify momentum shifts before price reversals.
Spot potential long/short setups with reduced lag.
Combine with price action or support/resistance for confirmation.
⚠️ Note: This is a tool for discretionary/manual trading. It does not open or close trades automatically. Always confirm with your own analysis and risk management.
Adaptive Pivot Zones█ OVERVIEW
The "Adaptive Pivot Zones" indicator is a versatile tool designed to identify and visualize key pivot levels directly on the price chart. By detecting pivot highs and lows, the indicator calculates dynamic support and resistance zones based on user-defined levels (default: 0.382, 0.5, 0.618). These zones adapt to market volatility, providing traders with clear visual cues for potential reversal or continuation points. The indicator offers extensive customization options, such as adjusting colors, smoothing lines, and setting fill transparency, making it highly adaptable to various trading styles.
█ CONCEPTS
The "Adaptive Pivot Zones" indicator simplifies the identification of significant price levels by plotting three dynamic pivot lines, which can be smoothed to reduce market noise. The indicator dynamically changes the colors of the lines and fill zones based on price action, using bullish, bearish, or neutral colors to reflect market sentiment.
█ CALCULATIONS
The indicator relies on the following calculations:
- Pivot Detection: Pivot highs (ta.pivothigh) and pivot lows (ta.pivotlow) are identified using a user-defined pivot length (default: 10). Pivots represent significant price peaks and troughs. Higher pivot length values produce more stable levels but introduce a delay equal to the set value. For more aggressive strategies, the pivot length can be reduced.
- Pivot Levels: When both a pivot high and low are detected, the range between them is calculated (rng = drHigh - drLow). Three pivot levels are computed as:
Line 1: drLow + rng * pivotLevel1
Line 2: drLow + rng * pivotLevel2
Line 3: drLow + rng * pivotLevel3
- Smoothing: Pivot lines can be smoothed using a simple moving average (SMA) with a user-defined smoothing length (default: 1) to reduce noise and improve readability.
- Color Logic: Lines and fill zones are colored based on the price position relative to the pivot zones:
If the price is below the lowest pivot line, a bearish color is used (default: red).
If the price is above the highest pivot line, a bullish color is used (default: green).
If the price is within the pivot zones and the neutral color option is enabled, a neutral color is used (default: gray); otherwise, the previous color is retained.
- Fill Zones: The areas between pivot lines are filled with a user-defined transparency level (default: 80) to visually highlight support and resistance zones.
█ INDICATOR FEATURES
- Dynamic Pivot Lines: Three adaptive pivot lines (default levels: 0.382, 0.5, 0.618) are plotted on the price chart, adjusting to market volatility.
- Smoothing: User-defined smoothing length (default: 1) for pivot lines to reduce noise and enhance signal clarity.
- Dynamic Coloring: Lines and fill zones change color based on price action (bullish, bearish, or neutral when the price moves within the zone), reflecting market sentiment.
- Fill Zones: Transparent fills between pivot lines to visually highlight support and resistance zones.
- Customization: Options to adjust pivot length, pivot levels, smoothing, colors, transparency, and enable/disable neutral color logic.
█ HOW TO SET UP THE INDICATOR
- Add the "Adaptive Pivot Zones" indicator to your TradingView chart.
- Configure parameters in the settings, such as pivot length, pivot levels, smoothing length, and colors, to align with your trading strategy. Without smoothing, lines behave like levels; with smoothing, they act like bands. All three levels can be set to the same value to obtain a single level or a line behaving like a moving average derived from pivots.
- Enable or disable the neutral color option (for prices moving within the zone) and adjust fill transparency for optimal visualization.
- Adjust line thickness and style in the "Style" section to improve chart readability.
Example of bands – lines behave like support/resistance zones.
Example of a moving average derived from pivots – line behaves like a pivot-based MA.
█ HOW TO USE
Add the indicator to your chart, adjust the settings, and observe price interactions with the pivot lines and zones to identify potential trading opportunities. Key signals include:
- Price Interaction with Pivot Lines: When the price approaches or crosses a pivot line, it may indicate a potential support or resistance level. A bounce from a pivot line could signal a reversal, while a breakout might suggest trend continuation.
- Zone-Based Signals and Trend Line Usage: Price movement within or outside the filled zones can indicate market sentiment. Price below the lowest pivot line suggests bearish momentum, price above the highest pivot line suggests bullish momentum, and price within the zones may indicate consolidation. With higher pivot length values, the indicator can be used as a trend line, particularly during clear market movements.
- Color Changes: Shifts in line and fill colors (bullish, bearish, or neutral) provide visual cues about changing market conditions.
- Confirmation with Other Tools: Combine the indicator with tools like RSI or Bollinger Bands to validate signals and improve trade accuracy. For example, a buy signal from RSI in the oversold zone combined with a bounce from the lowest pivot line may indicate a strong entry point.
Delta Pro -> PROFABIGHI_CAPITAL🌟 Overview
This Delta Pro → PROFABIGHI_CAPITAL implements an advanced delta analysis framework combining price delta calculations with RSI-of-momentum analysis, volume-weighted directional pressure measurement, and cumulative volume delta tracking for comprehensive order flow assessment.
It provides Price Delta calculation with RSI-of-Delta analysis using nine advanced smoothing methodologies for momentum-of-momentum assessment , Volume Delta approximation using volume weighted by price direction for buying/selling pressure identification , Cumulative Volume Delta (CVD) tracking with dynamic histogram visualization for long-term order flow trends , and Dual-mode display system enabling toggle between price delta and RSI-of-delta visualization for professional market microstructure analysis.
🔧 Advanced Delta Pro Architecture Framework
- Professional market microstructure analysis system integrating price momentum with volume-weighted directional analysis and RSI-based momentum assessment
- Grouped Input Organization separating Price Delta Calculation, RSI of Price Delta Settings, Display Options, and Volume Delta Options for streamlined configuration
- Source Configuration Framework enabling close, open, high, low, or composite price inputs for flexible delta calculation adaptation
- Period Management System with adjustable lookback periods for price delta calculation affecting both momentum and volume delta analysis
- Overlay Integration Design optimized as separate pane indicator with volume formatting for dedicated delta analysis focus
- Professional Timeframe Support enabling multi-timeframe delta analysis for different market perspective assessments
📊 Price Delta Implementation Engine
- Period-Based Delta Calculation measuring price difference between current bar and specified periods ago for momentum foundation
- Configurable Source Selection supporting different price inputs for various delta calculation approaches and market analysis
- Null Value Protection ensuring continuous calculation through proper handling of undefined historical values and edge cases
- Dynamic Color Coding using teal for positive price delta and maroon for negative price delta with optimized transparency
- Conditional Display Logic showing price delta only when RSI-of-delta mode is disabled for clean visualization switching
- Zero Line Reference providing conditional zero line display specifically for price delta analysis context
📈 RSI-of-Delta Advanced Framework
- RSI Calculation on Delta Values applying traditional RSI methodology to price delta instead of direct price for momentum-of-momentum analysis
- Dual-Layer Smoothing System providing primary and secondary moving average smoothing with nine advanced smoothing methodologies
- Advanced Moving Average Support including SMA, EMA, WMA, HMA, RMA, LSMA, DEMA, TEMA, and VIDYA for comprehensive signal refinement
- VIDYA Volatility Adaptation implementing Variable Index Dynamic Average with configurable volatility lookback for market condition responsiveness
- Dual-MA Comparison Mode enabling crossover analysis between two independently smoothed RSI-of-delta lines for advanced signal generation
- RSI Level Configuration providing configurable overbought (70) and oversold (30) levels with middle line (50) reference
- Conditional Color System using performance-based coloring with green for bullish crossovers, red for bearish crossovers, and level-based coloring
🔄 Volume Delta Calculation Engine
- Price Direction Analysis using mathematical sign function to determine positive or negative price movement for volume weighting
- Volume Weighting System multiplying volume by price direction sign for approximated buying versus selling pressure measurement
- Sign Variable Management maintaining price direction state for consistent volume delta calculation across bars
- Null Value Handling ensuring continuous volume delta calculation through proper mathematical validation and error prevention
- Histogram Visualization displaying volume delta as bars with green for buying pressure and red for selling pressure indication
- Independent Display Control allowing users to show or hide volume delta independently of other components for focused analysis
📉 Cumulative Volume Delta (CVD) Framework
- Running Sum Calculation maintaining cumulative total of all volume delta values for long-term order flow trend identification
- Dynamic Color System comparing current CVD with previous bar to determine rising or falling cumulative pressure patterns
- Histogram Style Display presenting CVD as histogram bars for immediate visual impact assessment and trend recognition
- Trend Direction Visualization using green for rising CVD and red for falling CVD with transparency optimization for clarity
- Historical Comparison Logic implementing proper previous bar comparison with null value protection for accurate trend determination
- Independent Activation Control enabling selective CVD display for users focusing on specific aspects of order flow analysis
🎨 Comprehensive Display Control System
- Dual-Mode Visualization enabling toggle between Price Delta display and RSI-of-Delta display for different analytical perspectives
- Grouped Settings Organization separating Price Delta Calculation, RSI Settings, Display Options, and Volume Options for intuitive configuration
- Conditional Plotting Logic displaying components only when specifically enabled to optimize chart performance and visual clarity
- Professional Color Scheme using market-standard colors with appropriate transparency levels for clear visual hierarchy and readability
- Context-Sensitive Reference Lines showing relevant zero lines and RSI levels based on current display mode selection
- Raw RSI Background Display optionally showing unsmoothed RSI values when smoothing is applied for comparison analysis
⚙️ Advanced Moving Average Implementation
- Nine Smoothing Methodologies supporting SMA, EMA, WMA, HMA, RMA, LSMA, DEMA, TEMA, and VIDYA for comprehensive signal processing
- VIDYA Implementation using Variable Index Dynamic Average with volatility-based adaptation for market condition responsiveness
- DEMA and TEMA Calculations implementing Double and Triple Exponential Moving Averages for reduced lag and improved signal quality
- Hull Moving Average Support providing fast and smooth HMA calculations for trend-following applications with minimal lag
- Linear Regression Integration using LSMA for trend-based smoothing with mathematical precision and directional bias
- Fallback Logic Framework ensuring continuous operation when smoothing calculations encounter edge cases or insufficient data
- Dual-Layer Smoothing Architecture enabling independent configuration of primary and secondary smoothing for crossover analysis
📋 Professional Configuration Framework
- Price Delta Calculation Group organizing source selection and period configuration with detailed tooltips for user guidance
- RSI of Price Delta Settings providing comprehensive RSI configuration including period, smoothing options, and level settings
- Display Options Group centralizing visualization controls with clear explanations for mode switching and component selection
- Volume Delta Options Group separating volume-related settings for focused volume analysis configuration and control
- Input Validation Framework ensuring minimum period values and proper parameter selection for reliable calculations
- Tooltip Documentation System offering comprehensive explanations for each setting to guide proper indicator utilization
🔍 Mathematical Implementation Excellence
- Accurate Delta Calculations using proper arithmetic operations for price difference measurement over specified periods with precision
- RSI Mathematical Precision applying standard RSI formulation to delta values with proper gain/loss averaging methodology
- Sign Function Implementation correctly applying mathematical sign determination for price direction analysis and volume weighting
- Volume Multiplication Accuracy precisely weighting volume values by price direction for accurate delta approximation calculations
- Cumulative Sum Precision maintaining accurate running totals using Pine Script's cumulative function with proper initialization
- VIDYA Volatility Calculations implementing proper volatility-based adaptation with mathematical accuracy and edge case handling
- Advanced MA Mathematical Framework ensuring accurate DEMA, TEMA, and other complex moving average calculations
🎯 Market Microstructure Applications
- Order Flow Analysis identifying buying versus selling pressure through volume-weighted price direction assessment and trend analysis
- Momentum-of-Momentum Assessment using RSI-of-delta for identifying acceleration and deceleration in price momentum patterns
- Trend Identification Enhancement leveraging CVD trends to identify long-term accumulation or distribution patterns in market structure
- Volume Profile Integration combining volume data with price direction for comprehensive market microstructure analysis capabilities
- Support/Resistance Validation using delta analysis to confirm or challenge traditional technical analysis levels with order flow context
- Divergence Detection Framework comparing price movement with volume delta and RSI-of-delta patterns for reversal identification
⚡ Performance Optimization Features
- Conditional Plotting Logic displaying only enabled components to optimize chart rendering performance and reduce computational load
- Efficient Variable Management using appropriate variable scoping and initialization for minimal memory usage and optimal processing
- Optimized Color Assignment pre-calculating colors and applying transparency efficiently for smooth visual performance rendering
- Streamlined Calculation Sequences organizing mathematical operations for minimal redundant computation and optimal processing speed
- Dynamic Display Updates providing real-time delta values with immediate visual feedback without compromising performance
- Resource-Conscious Mode Switching activating calculations only when components are displayed to maintain indicator efficiency
🎨 Professional Visualization Framework
- Mode-Specific Color Coding using different color schemes for price delta mode versus RSI-of-delta mode for immediate context recognition
- Transparency Optimization applying appropriate transparency levels for clear visual hierarchy without overwhelming chart information
- Multiple Plot Style Integration implementing line plots for delta/RSI analysis and histogram plots for volume analysis
- Conditional Reference Lines displaying relevant zero lines and RSI levels based on current visualization mode selection
- Background Raw Data Display optionally showing unsmoothed RSI values when smoothing is applied for analytical comparison
- Professional Chart Integration maintaining separate pane layout with proper scaling and formatting for dedicated analysis focus
🔧 Technical Implementation Framework
- Variable Declaration Organization properly declaring color variables and state management variables for clean code structure and maintainability
- Function Library Implementation organizing VIDYA, DEMA, TEMA, and calculateMA functions for modular code architecture
- Calculation Sequence Optimization organizing price delta, RSI-of-delta, volume delta, and CVD calculations in logical processing order
- Plot Management System coordinating multiple plot statements with appropriate conditional logic for efficient rendering
- State Variable Management maintaining sign_price_change and other state variables for consistent calculation across bars
- Error Prevention Architecture incorporating null value checks and mathematical validation for reliable operation under all conditions
✅ Key Takeaways
- Advanced delta analysis framework combining price delta momentum with RSI-of-momentum assessment and volume-weighted directional pressure for comprehensive market microstructure evaluation
- Professional RSI-of-delta implementation with nine advanced smoothing methodologies including VIDYA, DEMA, and TEMA for sophisticated momentum analysis
- Comprehensive volume delta system with CVD tracking and dynamic histogram visualization showing cumulative buying/selling pressure trends over time
- Dual-mode display system enabling seamless switching between price delta visualization and RSI-of-delta analysis for different analytical perspectives
- Mathematical precision implementation using proper delta calculations, RSI formulations, and advanced moving average methodologies with performance optimization
- Professional configuration framework with grouped settings, detailed tooltips, and modular display controls for customized microstructure analysis
- Market applications supporting order flow analysis, momentum acceleration detection, trend identification, and divergence recognition for institutional trading approaches
MTF EMA Smooth Indicator By : KaizenotradingPH (Open Source)This indicator script can display three different timeframe MTF EMA indicators simultaneously. The special thing of this script is that it has smoothing feature that can smooth the MTF EMA but only in minutes and hours timeframe (script limitation). You can enable the anti repainting as well which reference the previous bar. These features are useful for customize strategies scripts to avoid repainting. Additionally, this script have customizable length for the three MTF EMA indicators.
This is the open source version of the script.
Parayı Vuracağız 🚀It contains ema13+sma34 intersection and ema10+ema30+ema90 intersection. The values of these intersections can also be changed.
Turnover & RVOL with MA & VWAP This scrip shows
Turnover for the day
Relative Volume
VWAP
Moving Averages
Special : Just hover the cursor over the historic bars to see the values at that point of time instead of using replay option.
Daily EMA (10/20/50/100/200)Pure Edition
Regardless of the current time period, the daily EMA is always displayed.
純享版
不管目前是什麼時間區段
一律顯示日線級別的ema
EvoTrend-X Indicator — Evolutionary Trend Learner ExperimentalEvoTrend-X Indicator — Evolutionary Trend Learner
NOTE: This is an experimental Pine Script v6 port of a Python prototype. Pine wasn’t the original research language, so there may be small quirks—your feedback and bug reports are very welcome. The model is non-repainting, MTF-safe (lookahead_off + gaps_on), and features an adaptive (fitness-based) candidate selector, confidence gating, and a volatility filter.
⸻
What it is
EvoTrend-X is adaptive trend indicator that learns which moving-average length best fits the current market. It maintains a small “population” of fast EMA candidates, rewards those that align with price momentum, and continuously selects the best performer. Signals are gated by a multi-factor Confidence score (fitness, strength vs. ATR, MTF agreement) and a volatility filter (ATR%). You get a clean Fast/Slow pair (for the currently best candidate), optional HTF filter, a fitness ribbon for transparency, and a themed info panel with a one-glance STATUS readout.
Core outputs
• Selected Fast/Slow EMAs (auto-chosen from candidates via fitness learning)
• Spread cross (Fast – Slow) → visual BUY/SELL markers + alert hooks
• Confidence % (0–100): Fitness ⊕ Distance vs. ATR ⊕ MTF agreement
• Gates: Trend regime (Kaufman ER), Volatility (ATR%), MTF filter (optional)
• Candidate Fitness Ribbon: shows which lengths the learner currently prefers
• Export plot: hidden series “EvoTrend-X Export (spread)” for downstream use
⸻
Why it’s different
• Evolutionary learning (on-chart): Each candidate EMA length gets rewarded if its slope matches price change and penalized otherwise, with a gentle decay so the model forgets stale regimes. The best fitness wins the right to define the displayed Fast/Slow pair.
• Confidence gate: Signals don’t light up unless multiple conditions concur: learned fitness, spread strength vs. volatility, and (optionally) higher-timeframe trend.
• Volatility awareness: ATR% filter blocks low-energy environments that cause death-by-a-thousand-whipsaws. Your “why no signal?” answer is always visible in the STATUS.
• Preset discipline, Custom freedom: Presets set reasonable baselines for FX, equities, and crypto; Custom exposes all knobs and honors your inputs one-to-one.
• Non-repainting rigor: All MTF calls use lookahead_off + gaps_on. Decisions use confirmed bars. No forward refs. No conditional ta.* pitfalls.
⸻
Presets (and what they do)
• FX 1H (Conservative): Medium candidates, slightly higher MinConf, modest ATR% floor. Good for macro sessions and cleaner swings.
• FX 15m (Active): Shorter candidates, looser MinConf, higher ATR% floor. Designed for intraday velocity and decisive sessions.
• Equities 1D: Longer candidates, gentler volatility floor. Suits index/large-cap trend waves.
• Crypto 1H: Mid-short candidates, higher ATR% floor for 24/7 chop, stronger MinConf to avoid noise.
• Custom: Your inputs are used directly (no override). Ideal for systematic tuning or bespoke assets.
⸻
How the learning works (at a glance)
1. Candidates: A small set of fast EMA lengths (e.g., 8/12/16/20/26/34). Slow = Fast × multiplier (default ×2.0).
2. Reward/decay: If price change and the candidate’s Fast slope agree (both up or both down), its fitness increases; otherwise decreases. A decay constant slowly forgets the distant past.
3. Selection: The candidate with highest fitness defines the displayed Fast/Slow pair.
4. Signal engine: Crosses of the spread (Fast − Slow) across zero mark potential regime shifts. A Confidence score and gates decide whether to surface them.
⸻
Controls & what they mean
Learning / Regime
• Slow length = Fast ×: scales the Slow EMA relative to each Fast candidate. Larger multiplier = smoother regime detection, fewer whipsaws.
• ER length / threshold: Kaufman Efficiency Ratio; above threshold = “Trending” background.
• Learning step, Decay: Larger step reacts faster to new behavior; decay sets how quickly the past is forgotten.
Confidence / Volatility gate
• Min Confidence (%): Minimum score to show signals (and fire alerts). Raising it filters noise; lowering it increases frequency.
• ATR length: The ATR window for both the ATR% filter and strength normalization. Shorter = faster, but choppier.
• Min ATR% (percent): ATR as a percentage of price. If ATR% < Min ATR% → status shows BLOCK: low vola.
MTF Trend Filter
• Use HTF filter / Timeframe / Fast & Slow: HTF Fast>Slow for longs, Fast threshold; exit when spread flips or Confidence decays below your comfort zone.
2) FX index/majors, 15m (active intraday)
• Preset: FX 15m (Active).
• Gate: MinConf 60–70; Min ATR% 0.15–0.30.
• Flow: Focus on session opens (LDN/NY). The ribbon should heat up on shorter candidates before valid crosses appear—good early warning.
3) SPY / Index futures, 1D (positioning)
• Preset: Equities 1D.
• Gate: MinConf 55–65; Min ATR% 0.05–0.12.
• Flow: Use spread crosses as regime flags; add timing from price structure. For adds, wait for ER to remain trending across several bars.
4) BTCUSD, 1H (24/7)
• Preset: Crypto 1H.
• Gate: MinConf 70–80; Min ATR% 0.20–0.35.
• Flow: Crypto chops—volatility filter is your friend. When ribbon and HTF OK agree, favor continuation entries; otherwise stand down.
⸻
Reading the Info Panel (and fixing “no signals”)
The panel is your self-diagnostic:
• HTF OK? False means the higher-timeframe EMAs disagree with your intended side.
• Regime: If “Chop”, ER < threshold. Consider raising the threshold or waiting.
• Confidence: Heat-colored; if below MinConf, the gate blocks signals.
• ATR% vs. Min ATR%: If ATR% < Min ATR%, status shows BLOCK: low vola.
• STATUS (composite):
• BLOCK: low vola → increase Min ATR% down (i.e., allow lower vol) or wait for expansion.
• BLOCK: HTF filter → disable HTF or align with the HTF tide.
• BLOCK: confidence → lower MinConf slightly or wait for stronger alignment.
• OK → you’ll see markers on valid crosses.
⸻
Alerts
Two static alert hooks:
• BUY cross — spread crosses up and all gates (ER, Vol, MTF, Confidence) are open.
• SELL cross — mirror of the above.
Create them once from “Add Alert” → choose the condition by name.
⸻
Exporting to other scripts
In your other Pine indicators/strategies, add an input.source and select EvoTrend-X → “EvoTrend-X Export (spread)”. Common uses:
• Build a rule: only trade when exported spread > 0 (trend filter).
• Combine with your oscillator: oscillator oversold and spread > 0 → buy bias.
⸻
Best practices
• Let it learn: Keep Learning step moderate (0.4–0.6) and Decay close to 1.0 (e.g., 0.99–0.997) for smooth regime memory.
• Respect volatility: Tune Min ATR% by asset and timeframe. FX 1H ≈ 0.10–0.20; crypto 1H ≈ 0.20–0.35; equities 1D ≈ 0.05–0.12.
• MTF discipline: HTF filter removes lots of “almost” trades. If you prefer aggressive entries, turn it off and rely more on Confidence.
• Confidence as throttle:
• 40–60%: exploratory; expect more signals.
• 60–75%: balanced; good daily driver.
• 75–90%: selective; catch the clean stuff.
• 90–100%: only A-setups; patient mode.
• Watch the ribbon: When shorter candidates heat up before a cross, momentum is forming. If long candidates dominate, you’re in a slower trend cycle.
⸻
Non-repainting & safety notes
• All request.security() calls use lookahead=barmerge.lookahead_off, gaps=barmerge.gaps_on.
• No forward references; decisions rely on confirmed bar data.
• EMA lengths are simple ints (no series-length errors).
• Confidence components are computed every bar (no conditional ta.* traps).
⸻
Limitations & tips
• Chop happens: ER helps, but sideways microstructure can still flicker—use Confidence + Vol filter as brakes.
• Presets ≠ oracle: They’re sensible baselines; always tune MinConf and Min ATR% to your venue and session.
• Theme “Auto”: Pine cannot read chart theme; “Auto” defaults to a Dark-friendly palette.
⸻
Publisher’s Screenshots Checklist
1) FX swing — EURUSD 1H
• Preset: FX 1H (Conservative)
• Params: MinConf=70, ATR Len=14, Min ATR%=0.12, MTF ON (TF=4H, 20/50)
• Show: Clear BUY cross, STATUS=OK, green regime background; Fitness Ribbon visible.
2) FX intraday — GBPUSD 15m
• Preset: FX 15m (Active)
• Params: MinConf=60, ATR Len=14, Min ATR%=0.20, MTF ON (TF=60m)
• Show: SELL cross near London session open. HTF lines enabled (translucent).
• Caption: “GBPUSD 15m • Active session sell with MTF alignment.”
3) Indices — SPY 1D
• Preset: Equities 1D
• Params: MinConf=60, ATR Len=14, Min ATR%=0.08, MTF ON (TF=1W, 20/50)
• Show: Longer trend run after BUY cross; regime shading shows persistence.
• Caption: “SPY 1D • Trend run after BUY cross; weekly filter aligned.”
4) Crypto — BINANCE:BTCUSDT 1H
• Preset: Crypto 1H
• Params: MinConf=75, ATR Len=14, Min ATR%=0.25, MTF ON (TF=4H)
• Show: BUY cross + quick follow-through; Ribbon warming (reds/yellows → greens).
• Caption: “BTCUSDT 1H • Momentum break with high confidence and ribbon turning.”
Daily EMA (10/20/50/100/200)Pure Edition
Regardless of the current time period, the daily EMA is always displayed.
純享版
不管目前是什麼時間區段
一律顯示日線級別的ema
RSI with Multiple MAs + Slope Alerts 5,9,34,55RSI with Multiple MAs + Slope Alerts 5,9,34,55
Stacking Alerts Available
Moving Averages with Alerts: 9, 21, 51, 100, 144, 200---
This indicator plots six configurable moving averages (MA) with options for EMA, SMA, RCI, HMA, and Pivô Boss types. It highlights key crossover points, especially monitoring the 9-period MA for crosses with others. Users can enable alerts for these crossovers, as well as set custom alerts between any two selected MAs. Additionally, the indicator marks the important crossovers of the 51 and 200 MAs on the chart with an “X”. This helps traders identify trend changes and potential entry or exit points efficiently.
---
Median + Tendência + ATR (Yehuda Nahmias)📊 Median + Trend + ATR (By Yehuda Nahmias)
🚀 The indicator that combines Simplicity, Accuracy, and Risk Management
This script brings together three key pillars of professional trading:
✅ Dynamic Median → captures price midpoints and highlights reversal and breakout zones.
✅ Trend Filter (EMA) → ensures signals are aligned with the main market direction.
✅ Smart ADX + ATR → confirm trend strength and automatically calculate Stop Loss and Take Profit based on volatility.
🔔 How it works:
Buy/Sell Arrows: automatically appear when price crosses the median under valid trend and strength conditions (ADX).
Automatic Stops and Targets: SL and TP levels are plotted using ATR, ready for effective risk management.
3 Signal Modes:
🛡️ Conservative → fewer trades, stronger filtering.
⚖️ Standard → balance between frequency and accuracy.
⚡ Aggressive → more trades, captures shorter moves.
💡 Key Benefits:
Clear visuals: colored candles + BUY/SELL arrows.
Built-in risk management: position size is calculated based on % of equity.
Flexible: works on any asset (Forex, Crypto, Indices, Stocks).
🔑 Private access only.
If you’d like to use this strategy on your charts, contact me via my TradingView profile.
👉 Turn your analysis into objective signals and gain more confidence in your entries and exits!
NQ Scalping System (1-Min Optimized) — StrategyNQ Scalping System — What this does (in plain English)
You’re buying pullbacks in an uptrend and selling pullbacks in a downtrend.
Trend = EMA89. Entries lean on EMA8/EMA21 touches + a StochRSI reset & cross so you’re not chasing candles. Optional Volume and MACD filters keep you out of weak moves. A time window avoids dead markets and the first noisy minute.
Long setup
Price above EMA89 (trend up)
Price pulls back to EMA8 (or EMA21 if fallback is on) by at least your Min Pullback (NQ points)
StochRSI resets to oversold and %K crosses up %D
(Optional) Volume thrust and MACD momentum confirm
Within your session window
Short = mirror image.
Exits you control
Stop/Target: ATR-based (adaptive) or fixed scalp points
Trailing stop: only arms after price moves your way by X points, then trails by your offset
Early exit options: StochRSI fade, EMA break, trend break, or opposite divergence
Quick scalp: grab a few points or bail after X bars if nothing happens
Reality check
This is a rules → orders system. It will not match eyeballed indicator labels. Fills, gaps, and trail behavior are real. That’s the point.
How I’d run it (defaults that won’t waste your time)
Use ATR stops/targets by default
EMA21 fallback = ON (you’ll miss fewer good pullbacks)
MACD filter = ON when choppy; OFF when trends are clean
Volume multiplier: start modest, bump it up if you get chopped
Session: keep RTH (e.g., 09:30–15:45 ET) and skip the first minute
Quick presets for higher timeframes
Use these as starting points and then nudge to taste.
5-Minute (intraday swings)
OB/OS: 80 / 20
Volume Multiplier: 1.3
MACD: 8 / 21 / 5
ATR Stop× / Target×: 1.8–2.2 / 2.5–3.0
Min Pullback: 1.0–1.5 pts
Quick Scalp: 6–10 pts, Bars: 12–20
Trailing: Activation 6–8 pts, Offset 3–4 pts
Divergence: Hidden ON, MTF OFF
15-Minute (session legs)
OB/OS: 85 / 15
Volume Multiplier: 1.4
MACD: 8 / 21 / 5
ATR Stop× / Target×: 2.0–2.5 / 3.0–4.0
Min Pullback: 1.5–2.5 pts
Quick Scalp: 12–18 pts, Bars: 16–30
Trailing: Activation 10–14 pts, Offset 5–6 pts
Divergence: Hidden ON, MTF ON (LTF = 5m)
30-Minute (bigger intraday trends)
OB/OS: 88 / 12
Volume Multiplier: 1.5
MACD: 12 / 26 / 9 (or 8 / 21 / 5 if you want faster)
ATR Stop× / Target×: 2.2–2.8 / 3.5–5.0
Min Pullback: 2.5–4.0 pts
Quick Scalp: 18–28 pts, Bars: 20–40
Trailing: Activation 16–24 pts, Offset 6–8 pts
Divergence: Hidden ON, MTF ON (LTF = 5m or 15m)
1-Hour (multi-hour swings)
OB/OS: 90 / 10
Volume Multiplier: 1.6–1.8
MACD: 12 / 26 / 9
ATR Stop× / Target×: 2.5–3.5 / 4.0–6.0
Min Pullback: 4–7 pts
Quick Scalp: 30–50 pts, Bars: 24–60
Trailing: Activation 28–40 pts, Offset 10–15 pts
Divergence: Hidden ON, MTF ON (LTF = 15m)
Tuning tips (read this)
Getting chopped? Raise Min Pullback, raise Volume Multiplier, leave MACD ON, and narrow your session.
Missing moves? Turn EMA21 fallback ON, lower Volume Multiplier, relax OB/OS (e.g., 75/25 on 5m).
Flat days? Use Quick Scalp and a tighter Trail Activation to lock gains.