Something I learned recently was that when trading 1 lot of XAG/USD, the value per pip can vary depending on the broker.
For example, on SVS Securities broker, if you buy 1 lot, each pip movement is worth $50.00.
And on Admiral Markets broker, buying 1 lot means each pip movement is worth $5.00, which is 10 times less.
It seems to be arbitrarily set by the broker, so I just wanted to ask if the community if it is even remotely possible to determine this difference using code?
It depends on the pair (XAG/USD), the broker's lot size (100K 10K etc) and your account currency. See my DeltaValuePerLot()
Think I'll revisit your code at a later date, it's a bit complicated for me to understand at my current level of knowledge.
As for my silver problem, my broker SVS doesn't seem to provide tick value data for any instruments, neither currencies or commodities, it just comes up with 0. :|
But at least Alpari is returning values for MODE_TICKVALUE, e.g. 1.0 for xxx/USD pairs with a USD account.
Will do some more investigating, thanks for the help!
Think I'll revisit your code at a later date, it's a bit complicated for me to understand at my current level of knowledge.
As for my silver problem, my broker SVS doesn't seem to provide tick value data for any instruments, neither currencies or commodities, it just comes up with 0. :|
A one line function is too much for you?
I never learned to programme formally. The syntax looks weird to me.
Alpari demo returns a value of 1.0 for EURUSD, ~0.99 for USDJPY, etc, i.e something other than 0.
SVS returns a value of 0 for all instruments... :|
The Documentation does not mention that NULL can be used in place of the current chart symbol . . . to be sure use Symbol()

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Something I learned recently was that when trading 1 lot of XAG/USD, the value per pip can vary depending on the broker.
For example, on SVS Securities broker, if you buy 1 lot, each pip movement is worth $50.00.
And on Admiral Markets broker, buying 1 lot means each pip movement is worth $5.00, which is 10 times less.
It seems to be arbitrarily set by the broker, so I just wanted to ask if the community if it is even remotely possible to determine this difference using code?