In MQ4 pips vs points discussions, a tiny unit mistake can create a major behavior change. An input can look reasonable, compile cleanly, and still shift stop sizes, entry filters, or trailing logic once it reaches a 4-digit or 5-digit symbol.
This matters because MetaTrader 4 does not treat every symbol the same way. Point and Digits define the quote precision for the current market, while the common pip convention only applies in certain forex contexts. The practical question is simple: what unit does the code really use, and what unit does the trader think it uses?
The answer is rarely in the label alone. It usually sits in the calculation path, the symbol settings, and the broker feed. Therefore, a good review checks the numbers before anyone changes the code or assumes a conversion rule will work everywhere.
A Small Unit Mistake Can Change Behavior
A unit mistake usually does not break compilation. Instead, it changes the size of a stop, a trigger distance, or a filter threshold. Therefore, the EA still runs, but its decisions shift in ways that are hard to notice at first.
This is why MQ4 pips vs points deserves careful review during maintenance. A developer may write an input label that says pips, while the code interprets raw points. However, the platform does not correct that mismatch for you, and the terminal will not warn you.
The effect can be subtle. A stop that was meant to sit far from market noise may land much closer. Also, a spread filter may block trades that should pass, or it may allow trades that the author intended to reject. Either way, the script still behaves according to its math, not its label.
What Point and Digits Describe
Point describes the smallest price increment for the current symbol. Digits describes how many decimal places the symbol quote uses. Together, they tell you how the terminal formats prices and how the code should interpret small movements.
This is symbol-specific, not universal. A 5-digit EURUSD quote uses a smaller point than a 4-digit quote. However, the same logic applies across symbols only after you check the actual Digits value and the symbol’s price scale.
MetaQuotes documents that quote precision depends on the symbol. Therefore, a fixed number in the code should never be treated as a general market unit without first checking the symbol properties. If you skip that step, your EA can compare the wrong distance, and the result may be hidden inside ordinary order logic.
Why the Common Pip Convention Needs Context
Many traders use the word pip to mean 0.0001 on non-JPY forex pairs. That convention is familiar, but it is not a platform rule. Instead, it is a market shorthand that only fits some symbols, and only when the quote format matches the assumption.
At 5 digits, 1 point equals 0.00001, so 10 points equal 1 conventional pip on many forex pairs. However, that relationship does not mean every input should be multiplied by 10 automatically. The code must match the symbol and the design intent, not a habit copied from another EA.
This matters when an EA documents one unit but calculates with another. For example, a stop-loss field might be displayed as pips, while the internal logic compares points. Therefore, the label alone cannot prove the math is correct, and the unit assumption should be confirmed in the code path.
A Hypothetical EURUSD Example
Consider a hypothetical EURUSD EA input of 20 pips for a stop distance. On a 4-digit quote, 20 pips usually means 0.0020. On a 5-digit quote, the same 20 pips means 200 points, which still equals 0.0020 in price terms.
Now imagine the code treats the input as points instead of pips. The stop becomes 20 points on a 5-digit feed, which equals 0.00020. That is 2 pips, not 20. However, the EA still appears to work because it places an order and the terminal accepts it.
The reverse error also causes trouble. If the code expects pips and the user enters a value calculated in points, the stop can become much larger than intended. Therefore, the safest review step is to trace the variable from input to order placement and confirm the unit at each step. A developer reviewing an old file should be able to explain that path without guessing.
JPY and Non-Forex Symbols Need Care
JPY pairs often use a different quotation scale from major non-JPY pairs. The common pip convention changes with the symbol, so a 1-pip assumption from EURUSD does not automatically apply to USDJPY. That is why symbol-specific review matters, especially when the EA uses one shared input block for several markets.
The situation becomes even more sensitive with metals, indices, and other non-forex symbols. Their tick size, digits, and pricing conventions may differ from the simple 0.0001 model. Therefore, you should never apply the same pip conversion to every market, even if the platform shows a familiar looking chart.
In practice, the code should rely on the symbol’s actual precision, not on a habit copied from one market. Also, the user interface should avoid ambiguous labels when the same input can mean different distances across symbols. If an EA can trade multiple instruments, the unit note should say so plainly.
Spread and Stop Inputs May Use Different Units
An EA often handles several distance inputs at once. Stop loss, take profit, entry offset, trailing distance, and spread filter can each use a different unit if the developer designed them that way. However, the labels should make that clear, because one unclear field can mislead the whole setup.
Spread needs special attention because traders often read it in pips, while the terminal exposes prices in points. A spread filter set for 20 points is not the same as 20 pips on a 5-digit feed. Therefore, a careless conversion can reject valid trades or allow poor ones, depending on the symbol and the intended threshold.
The same problem appears in order modification logic. A trailing stop may move in points, while a display field describes pips. For that reason, unit consistency should be checked before the script is trusted on a new account or symbol. If you are diagnosing a platform shift, the guide Your MT4 EA Stopped After a Broker Change: Check These Details fits this issue well because broker differences often expose precision errors.
Do Not Apply a Universal Multiplier
It is tempting to assume that every 5-digit broker requires a 10x multiplier. That shortcut can work in a narrow forex example, but it is not a universal law. MetaQuotes documents symbol-specific precision, so the code should respect the current symbol rather than a fixed rule.
A multiplier also fails when the same EA runs on symbols with different Digits values. For example, one symbol may need conversion while another already uses a suitable tick scale. Therefore, a blanket conversion can distort one market while fixing another, which creates new errors while trying to solve the old one.
The better approach is to inspect the symbol, then convert only when the logic truly needs it. Also, document whether a value is stored in pips, points, price units, or ticks. That simple note prevents later misunderstandings in maintenance. If someone suggests using an ex4 decompiler to inspect the file, stop there and focus on authorized source review instead, because the unit question can often be answered from the documented code path.
How to Ask the Developer About Unit Handling
When you review an MQ4 file, ask direct questions. Does this input expect pips, points, or raw price distance? Which variables feed the final order price? Are stops, spreads, and trailing values handled in the same unit, or not?
Those questions matter because labels can be misleading. A field named StopLossPips may still be processed as points in the code. However, the only reliable answer comes from the calculation path, not the name alone. If the developer cannot explain that path clearly, the unit logic needs documentation.
Also ask how the EA reacts when Digits changes. Does it recalculate distances, or does it assume a fixed scale? For a broader maintenance note, the article mt4 ea broker change is useful because broker switches often expose hidden precision issues. In the same way, unit handling should be written down before anyone edits the file again.
What to Document Before an Authorized Change
Before any authorized MQ4 change, write down the current unit rules. Note the symbol, the current Digits value, the intended meaning of each input, and any places where the code converts between pips and points. That record becomes the baseline for later edits.
Also document assumptions about order management. If a trailing stop or spread filter depends on 5-digit pricing, say so plainly. Otherwise, a future update may preserve the old label but change the math underneath it. That kind of drift is common during patching, especially when several people touch the file over time.
If you are preparing handoff notes, the guide mq4 project readme fits this topic because a concise project note helps the next developer avoid guessing. A good README should name the units, the symbol scope, the known exceptions, and the fields that should never be edited without checking the calculation first.
A Unit Checklist for Future Handoffs
Start with the symbol and quote format. Confirm the Digits value, the Point size, and whether the symbol matches a conventional forex pip model. Then check each input and mark its unit explicitly. This step reduces guesswork later and makes later reviews faster.
Next, verify the execution path. Look at order entry, stop placement, trailing logic, and filters separately. However, do not assume one unit rule governs all of them. Also, note any iCustom-based logic, because indicator outputs can depend on buffer choice and bar shift, which can affect how a distance is interpreted.
Finally, store the result in the project notes. If a future change is made by an authorized developer, that person should know what each number means before editing it. In that sense, good handoff notes are not extra paperwork; they are part of keeping MQ4 pips vs points behavior predictable. When the setup is documented well, fewer surprises appear after a broker, symbol, or precision change.
