OPEN-SOURCE SCRIPT
Atualizado Intraday EMA

Short Description
Dynamic EMA Envelope based on recent hourly high/low structure with optional single EMA mode.
Full Publishing Description
Intraday EMA Envelope
Intraday EMA Envelope is a lightweight trend-following indicator designed for intraday traders who want adaptive EMA-based structure visualization.
The script derives EMA reference lengths from recent hourly market behavior using highest and lowest price offsets over a configurable lookback period.
Features
• Adaptive EMA logic based on hourly market structure
• Optional Single EMA mode
• EMA Envelope visualization with fill zone
• Smooth EMA calculations for cleaner trend tracking
• Real-time EMA length display table
• Mutually exclusive display modes for clean chart appearance
How It Works
The indicator scans hourly candles over the selected lookback period and calculates:
Highest high offset
Lowest low offset
These offsets are converted into dynamic EMA reference lengths.
Two smoothed EMAs are then plotted:
Upper EMA
Lower EMA
Users can choose between:
Single EMA mode
EMA Envelope mode
Both modes are intentionally made mutually exclusive to avoid chart clutter.
Inputs
• Lookback Days
Controls the hourly historical range used for EMA calculations.
• Show Single EMA
Displays only one smoothed EMA.
• Show EMA Envelope
Displays the EMA channel/envelope with fill.
Best Usage
This indicator works best for:
Intraday trend identification
Pullback trading
Dynamic support/resistance tracking
Trend continuation setups
Dynamic EMA Envelope based on recent hourly high/low structure with optional single EMA mode.
Full Publishing Description
Intraday EMA Envelope
Intraday EMA Envelope is a lightweight trend-following indicator designed for intraday traders who want adaptive EMA-based structure visualization.
The script derives EMA reference lengths from recent hourly market behavior using highest and lowest price offsets over a configurable lookback period.
Features
• Adaptive EMA logic based on hourly market structure
• Optional Single EMA mode
• EMA Envelope visualization with fill zone
• Smooth EMA calculations for cleaner trend tracking
• Real-time EMA length display table
• Mutually exclusive display modes for clean chart appearance
How It Works
The indicator scans hourly candles over the selected lookback period and calculates:
Highest high offset
Lowest low offset
These offsets are converted into dynamic EMA reference lengths.
Two smoothed EMAs are then plotted:
Upper EMA
Lower EMA
Users can choose between:
Single EMA mode
EMA Envelope mode
Both modes are intentionally made mutually exclusive to avoid chart clutter.
Inputs
• Lookback Days
Controls the hourly historical range used for EMA calculations.
• Show Single EMA
Displays only one smoothed EMA.
• Show EMA Envelope
Displays the EMA channel/envelope with fill.
Best Usage
This indicator works best for:
Intraday trend identification
Pullback trading
Dynamic support/resistance tracking
Trend continuation setups
Notas de Lançamento
Added :- EMA Cycle Confluence Detector [LCM Based]""Identifies synchronization points between two EMA cycle lengths using Least Common Multiple (LCM) calculations and automatically plots the latest confluence high-low zone for support and resistance analysis."
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.