jerome77:
Try https://www.mql5.com/en/code/19268 or VWAP_Custom_Position.mq5 | José Ricardo Magalhães | https://www.mql5.com/en/code/19268
or Code file attached
Regards.

VWAP Custom Position
- www.mql5.com
Standard VWAP (Volume Weighted Average Price) calculation, but with configurable start position.
Files:
vwap.mq5
22 kb
VWAP_Custom_Position.mq5
18 kb

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi,
I have a Problem getting values from an indicator. Can you please give me some advice/Help?
Here is the problem:
I have the indicator vwap_lite (see attached file) and I'm trying to get the Vwap Daily, Weekly and Monthly Values but apparently i'm getting only the Daily value with my code:
How can i access Weekly and Monthly values too? Should i call again the indicator with a handle?
I tried this in the ontick function below beceause I thinked that i just had to change the Buffer number but this didn't work.
Thanks for any information that will help me.