Convert to Pips
The Convert to Pips rule converts decimal numbers into pip values for a specific financial instrument. Pips are a standard unit of measurement in forex and CFD trading, and this rule ensures your numeric calculations are correctly expressed in the pip scale appropriate for the instrument you are trading.
How It Works
The Convert to Pips rule takes a decimal number and converts it into a pip value based on the pip definition of the specified instrument symbol. Different instruments have different pip sizes. For example, most forex pairs define one pip as 0.0001, while JPY pairs define one pip as 0.01. The rule handles these differences automatically based on the symbol you select.
The rule offers two conversion modes. The standard Parse mode converts a decimal number directly into the pip format. The Parse to Pips mode interprets the input as a price difference and calculates how many pips that difference represents for the given instrument. This is useful when you have a price distance (such as the difference between entry and stop-loss) and need to know the equivalent in pips for position sizing or risk calculations.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
| Conversion Type | Selection | Yes | The conversion mode. Parse converts a decimal directly to pip format. Parse to Pips interprets the value as a price distance and calculates the pip count. Default: Parse. |
| Value | Number | Yes | The decimal number to convert into pips. |
| Symbol | Symbol | Yes | The financial instrument whose pip definition is used for the conversion (e.g., EURUSD, GBPJPY, US500). |
Outputs
| Output | Type | Description |
|---|---|---|
| Pips | Pips | The resulting pip value, correctly scaled for the specified instrument. |
Tips
When calculating stop-loss or take-profit distances, use the Parse to Pips mode to convert a price difference into pips. For example, connect a Difference Between rule that calculates the distance between entry price and stop level, then pipe that output into Convert to Pips to get the distance in pips. This pip value can then drive your position sizing logic to ensure consistent risk per trade across different instruments.
Was this helpful? Let us know