Is there a way to get the highest and lowest point for example between 12pm and 13pm?
Thank you a lot!
Yes, there is! Read the documentation for Access to Timeseries and Indicator Data, especially for the following functions:
Okay, thank you a lot!
And another question. Every currency Pair has diffrent amount of numbers. For example EUR/JPY ist xxx.xxx and EUR/USD is x.xxxxx ...How can I write an EA for both currency pairs? - Or do I need for every currency pair another EA?
On a 4 digit broker a point (0.0001) = pip (0.0001). [JPY 0.01 == 0.01] On a 5 digit broker a point (0.00001) = 1/10 pip (0.00010/10). Just because you quote an extra digit doesn't change the value of a pip. (0.0001 == 0.00010) EA's must adjust pips to points (for mq4.) In currencies a tick is a point. Price can change by least significant digit (1.23456 -> 1.23457)
In metals a Tick is still the smallest change but is larger than a point. If price can change from 123.25 to 123.50, you have a TickSize of 0.25 and a point of 0.01. Pip has no meaning.
This is why you don't use TickValue by itself. Only as a ratio with TickSize. See DeltaValuePerLot()
To add comments, please log in or register