Please insert the code correctly: when editing a message, press the button and paste your code into the pop-up window. (The first time I corrected your message)
thank you so much. i hoope i done it right now. thanks and regards
i hope someon will help me on this :)
Consider placing a job request to have someone code an MQL equivalent to your PineScript example.
- 2021.06.28
- www.mql5.com
thanks for your reply.
I would be grateful if someone can read the code and tell me the difference between them
i want to understand the diffenrence in coding
Cheers !!
PineScript is not even part of the MetaTrader universe, so very few coders know both well, and you did not give a reference for the MQL code with which to compare.
There are several VWAP implementations in MQL CodeBase, so do you really expect someone to go through every one of those and compare them for you, for free?
Hi guys any help from anyone . Cheers!!!!!!!
Hi, I see that this VWAP use HLC / 3 Maybe the VWAP You are using have different data source, like, OHLC/4. Or something else.
Thanks for your insight and help! i have downloaded as many vwap as i cud find and compared with tradind view to see if any matches and they dont
and i will ask someone to read the code for me of mt4. Really helps. Cheers !!!
Hi, I see that this VWAP use HLC / 3 Maybe the VWAP You are using have different data source, like, OHLC/4. Or something else.
Hi, I got it checked.
Both mt4 and trading view indicators are using Hlc/3 (so if the next dependency is on volume cud it be the data that is being recd by me in mt4(i am in india ) is what is causing the values to be different)
further research a diff broker called Zerodha has diff candle values compared to Traviee but their vwap is the same
i checked on mt5 also downloading a vwap for mt5. That is also using hlc/3 but it is giving the same issue
Boottom line the vwap lines in mt4 and mt5 are diff from trading view./ zerdoha
Now if i want to take on a bounce of vwap it wont work for me
and if i add a buffer even that will turn out costly for me
I also checked the candles OHLC, yes there is a differnce in the values like 15850.55 and tv is 15852.25
if anything else strikes you any idea pl do inform
Thanks
Cheers!!!
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Dear All, I have been searching for past few days for a vwap which is exactly in the tradingview. I have noticed that in tradingview and in MT4 the vwap are different.
when i open the nifty future chart in mt4 the vwap is different as compared to the one in trading view and broker zerodha. i miss all important entries beacause of that. i have tried using all formulas Nothing is working Please help make one for MT4 which is exactly same as tradingview. I have found the the code for tradingview in this site. Great thanks and Regards
The code in trading view is as somone else was facing the same Issue
https://www.mql5.com/en/forum/357780
** *