Pips worth with JPY
-
If I want to have a block checking how much a pip is worth I can use a formula to get it, but it's different with JPY pairs.
So I thought I would make a condition block to check if it's a JPY pair used for the EA. If that's so it will do the calculation different.So, my question is if there is a way to make one condition block that is checking if it's a pair that includes JPY with something like a wild card or whatever, like */JPY
Or do I have to make a condition block for each pair that have the JPY included to check this? -
What about this - http://prntscr.com/a2i5lj
Well, in Condition the idea is that you get 2 values to compare them, but they are direct, you get them from specific place. I can't imagine what */JPY would do, because there are many symbols from this type and this is not something direct.
-
So, what is Money per tick doing?
Didn't understand how I could use that for this... -
This is what MarketInfo(Symbol(),MODE_TICKVALUE)) stands for. It is only described as Tick value in the deposit currency.
https://docs.mql4.com/constants/environ ... oconstants
I don't know how this is calculated exactly, but you can try to see what value it holds. I think that if your deposit currency is USD, then all */USD will give you the value of 1. And the value is different when currencies are crossed. If I am not wrong, this is the value of 1 pip for the currency you are in, measured in the deposit currency. Or maybe you ask for somethin something else.
If you ask for how much profit/loss will happen if we have 0.1 lot trade and the price moves with 1 pip, then this is easy calculation when yu are in EURUSD with USD as deposit currency. But in other cases I think MODE_TICKVALUE should be used. But I can admit that I am really, really bad in mathematics and I have hard times thinking for such otherwise simple calculations. So I'm only giving ideas
