Digits, point, tick size, and pip are not interchangeable
Digits is the number of decimals in a quote. Point is the point size reported for the symbol. A pip is a market convention rather than a universal MQL4 unit, and many five-digit forex quotes contain ten points per conventional pip.
Order slippage and MODE_STOPLEVEL values are expressed in points in the classic trade API. Convert user-facing pip settings explicitly instead of assuming one point equals one pip on every symbol.
MODE_TICKSIZE is reported in points, so its price increment is MODE_TICKSIZE multiplied by MODE_POINT. For an illustrative symbol with Point = 0.01 and MODE_TICKSIZE = 25, the tradable increment is 0.25: rounding 100.13 to two decimals does not put it on that grid. Choose a permitted tick in the direction required by the order, then recheck its distance from the current quote.
| Property | Meaning | Use |
|---|---|---|
| MODE_DIGITS | Quote decimal count | Price formatting and normalization |
| MODE_POINT | Point size | Distance conversion |
| MODE_TICKSIZE | Tradable increment in points | Multiply by MODE_POINT to get the price increment |
| MODE_STOPLEVEL | Minimum stop distance in points | Preflight validation |
| MODE_LOTSTEP | Volume increment | Lot normalization |
