AlgoVesta › Glossary › Pip

Forex & MetaTrader

Pip

A pip (percentage in point) is the standard unit of price movement in forex: 0.0001 for most pairs, 0.01 for pairs quoted in Japanese yen, and, by broker convention, 0.1 or 0.01 for gold, with many brokers quoting an extra decimal called a pipette.

Why it matters

Stops, targets, spreads and position sizes in forex are all expressed in pips, so the pip size of a symbol is the conversion factor behind every calculation. Getting it wrong by one decimal does not produce a small error; it produces a stop ten times too tight or too wide. Broker symbols make this harder: the same gold contract can be XAUUSD, XAUUSD.r, GOLD or XAUUSDm depending on the broker, and a lookup that only recognises the plain name silently falls back to a wrong pip size for the suffixed one.

How AlgoVesta handles it

AlgoVesta resolves the pip size from the broker's actual symbol name, canonicalising suffixes and aliases before looking up the instrument class, so XAUUSDz and USDJPYm get the gold and yen pip sizes rather than the generic 0.0001. This matters wherever pips are used: fallback stops and targets in pips, the spread limit, and the break-even and trailing distances. Risk-based lot sizing converts the pip distance to the stop into a lot size using the symbol's pip value. Prices are displayed with the broker's own digits, and when a signal gives absolute prices those are used directly, with pips only as the fallback. See Forex on MetaTrader and lot size.

Example

A bot has a fallback take-profit of 20 pips. On EURUSD that is 0.0020, so a buy filled at 1.08512 gets a target at 1.08712. On a broker whose gold symbol is XAUUSDz, the same 20 pips means 2.0 in price, so a buy at 2,410.35 gets a target at 2,412.35; a lookup that failed to recognise the suffix would have placed it at 2,410.352, essentially at the entry.

Common mistakes

In practice

See how AlgoVesta automates this