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
Yes, that is correct! I also tried all the combinations, including with Mid Price, both on MetaTrader 4 and 5 but it is closest on MetaTrader 4 and worse on MetaTrader 5
Thanks for your effort. Seems it's not Bid/Ask problem. Looks like I miss some magic ingredient(
If I follow the logic in your code, you are applying the following logic - Is this correct?
I'm using this:
https://www.mql5.com/en/forum/40812#comment_18929033
and this:
https://www.thebalance.com/calculating-pip-value-in-forex-pairs-1031022
I'm using this:
https://www.mql5.com/en/forum/40812#comment_18929033
and this:
https://www.thebalance.com/calculating-pip-value-in-forex-pairs-1031022
So, folowing my previous calculation logic and if I use the GBP/USD directly, I then get the correct answer with the BID price:
EDIT: In other words, it is just as stated in the other thread I referenced, namely Profit Currency vs Account currency!In other words the correct calculation would be:
Or the inverse of this if such a currency pair does not exist and only its inverse!I think maybe why the other method did not work, was because it is the weekend and there is probably some arbitrage at play at the moment, which many traders like to exploit when they have razor thin spreads at their disposal (which we retail traders don't have access to).
That makes sence, I'll try it on Monday. Thanks for your efforts!
There is no need to wait for Monday! Just use the simplest and direct method of "prof + acc", because arbitrage can occur at any time, even during the week.
Just as explained in the other thread - its Profit Currency vs. Account currency. No need to use a Triangular calculation, when you can just read a currency pair directly.
Try this code to calculate the tick_value:
There is no need to wait for Monday! Just use the simplest and direct method of "prof + acc", because arbitrage can occur at any time, even during the week.
Just as explained in the other thread - its Profit Currency vs. Account currency. No need to use a Triangular calculation, when you can just read a currency pair directly.
God, I love this community!
Thank's Fernando, your method is really great. Thank's for pointing out. I've been messing with this stuff for two days to discover that so simple solution you did in an hour. You are the best!
Try this code to calculate the tick_value:
Dear amrali, it's very impressive! You are doing my job, I owe you a beer) Thanks!
Now we have an elegant and nice solution for all others searching for this stuff.