OPEN-SOURCE SCRIPT
Zaktualizowano

Rolling Multi-Day EMA + VR1 DEMABar

181
Rolling Multi-Day EMA + VR1 DEMABar Indicator
This indicator combines rolling multi-day exponential moving averages (EMAs) with VR1 DEMABar logic to provide insights into price trends, volume dynamics, and potential reversal signals.

Section 1: Rolling Multi-Day EMA Logic
Purpose: Calculates EMAs based on a rolling trading day length, adapting to different timeframes and instrument types (Futures or Stocks).
Trading Day Lengths: Adjusts dynamically based on the chart timeframe:
1-minute, 3-minute, 5-minute, and 15-minute charts have pre-defined lengths for a "trading day."
Multi-day EMAs are calculated for Half-Day, 1-Day, 2-Day, 3-Day, 4-Day, and 5-Day periods.
The EMAs are color-coded with a gradient from green to purple for clear trend visualization.
Section 2: VR1 DEMABar Logic
Purpose: Identifies high-volume price movements and engulfing patterns that may signal potential reversals.
Volume-to-Range Ratio: Analyzes the ratio of volume to price range and applies two EMAs to detect significant activity.
Threshold-Based Bar Coloring: Highlights bars above a threshold in yellow to emphasize high-volume anomalies.
Engulfing Pattern Detection: Identifies bullish and bearish engulfing patterns, adjusting the background color:
Green Background: Bullish engulfing pattern (potential upward reversal).
Red Background: Bearish engulfing pattern (potential downward reversal).
This indicator provides a blend of trend-following and volume-based anomaly detection, helping traders spot potential trend shifts and key volume-driven movements efficiently.
Informacje o Wersji
Added 4 hour EMA
Informacje o Wersji
Added toggle for EMA/SMA on UI (Input). Default remains EMA.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.