OPEN-SOURCE SCRIPT
Mis à jour

EMA, SMA & VWAP Indicator

95
This custom Indicator is designed to provide dynamic moving average system that adapts to different timeframes and reduces clutter on the chart. The indicator selectively displays Exponential Moving Averages (EMAs), Simple Moving Averages (SMAs) Volume Weighted Average Price (VWAP) based on the timeframe, helping traders focus on the most relevant data.

Features & Functionality:
*Exponential Moving Averages (EMAs) for Lower Timeframes:
 8, 20, 50, 167 and 200 EMAs are visible only on intraday timeframes (e.g., 1-minute, 5-minute, 15-minute, 1-hour, 4-hour).
 EMAs are hidden on Daily (D), Weekly (W), and Monthly (M) charts to reduce redundancy.
 50 EMA is hidden on the 3-minute chart.
 The 167 EMA is exclusively visible on the 3-minute chart. This represents the 50 EMA on the 10-minute chart.
*Simple Moving Averages (SMAs) for Higher Timeframes:
 8, 20, 50, and 200 SMAs are only visible on Daily, Weekly, and Monthly charts to provide long-term trend analysis.
*Volume Weighted Average Price (VWAP)
 VWAP is calculated using:
o Source = hlc3
o offset = 0
o Anchor Period = Session
 Can be toggled ON/OFF using a user input setting.
 Hidden on D/W/M timeframes to prevent unnecessary indicators on higher timeframes.
Notes de version
This custom Indicator is designed to provide dynamic moving average system that adapts to different timeframes and reduces clutter on the chart. The indicator selectively displays Exponential Moving Averages (EMAs), Simple Moving Averages (SMAs) Volume Weighted Average Price (VWAP) based on the timeframe, helping traders focus on the most relevant data.
Features & Functionality:
Exponential Moving Averages (EMAs) for Lower Timeframes:
 8, 20, 50, 167 and 200 EMAs are visible only on intraday timeframes (e.g., 1-minute, 5-minute, 15-minute, 1-hour, 4-hour).
 EMAs are hidden on Daily (D), Weekly (W), and Monthly (M) charts to reduce redundancy.
 50 EMA & 200 EMA are hidden on timeframes below 10 minutes to avoid noise in lower timeframes.
 The 167 EMA is exclusively visible on the 3-minute chart. This represents the 50 EMA on the 10-minute chart.
Simple Moving Averages (SMAs) for Higher Timeframes:
 8, 20, 50, and 200 SMAs are only visible on Daily, Weekly, and Monthly charts to provide long-term trend analysis.
Volume Weighted Average Price (VWAP)
 VWAP is calculated using:
o Source = hlc3
o offset = 0
o Anchor Period = Session
 Can be toggled ON/OFF using a user input setting.
 Hidden on D/W/M timeframes to prevent unnecessary indicators on higher timeframes.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.