English

Basic PIPS question

Back to topics list To post a new topic, please log in or register
 23 Dtfrancis15 2016.07.28 21:43   I am bound to be mocked here for something which should be so simple, but does anyone have a script or links to an article that can explain how to do this. I have written scripts based on calculations from the entry price, but just cannot get my head rounds the pips in MQL 4 I have the price I want to start from and then add 10 pips for entry, -20 for stop loss and +40 for profit. But then, this needs to take into account the 3 or 5 decimal places. I can do elements of this easily, but can't seem to deal with the pips. Many thanks in advance.
 13130 WHRoeder 2016.07.29 03:38 #   There is Tick, PIP, and Point. They are all different in general. A tick is the smallest change of price. A Point is the least significant digit quoted. In currencies a pip is defined as 0.0001 (or for JPY 0.01) 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