Indicators: Weekly VWAP

 

Weekly VWAP:

Weekly VWAP (Volume Weighted Average Price) is a powerful MQL5 indicator that calculates and displays the Volume Weighted Average Price for each trading week. It's a crucial tool for identifying weekly fair value and understanding the underlying sentiment over a longer timeframe.

Weekly VWAP

Author: Guillermo Pineda

 
I think: ENUM_TIMEFRAMES LastTimePeriod = PERIOD_MN1; is not true. It could be: ENUM_TIMEFRAMES LastTimePeriod = PERIOD_W1;