PipSize = PointSize
PipValue = PointValue
The term “pip” originates from the forex market and represents the smallest possible price change for an asset.
For each (CFD) contract, the PipSize and PipValue are predefined, and in your case, they are as follows:
- PipSize = 1: This is the smallest possible change in the price.
- PipValue = 20: Each pip is worth 20 SEK.
When you use StrategyProfit in your code, for example:
The Equity and Capital are in monetary values, so you will need to convert StrategyProfit to a monetary value using:
So, whenever you need to convert (index) points to a monetary value in your code, you use PipSize and PipValue.
2 users thanked author for this post.