Look in the manual under "Pipcost", there you can find an example code for producing variable pipcost. It is normally not recommended though, at least not for strategy backtests.
Hi jcl,
you support is always top!
I following you advice and below my question:
We make an example with numbers to understand better.
AUD/USD
- PIP = 0,0001
- LotAmount = 1000
- priceClose = 0,722020
The formula is
PIPCost = PIP*LotAmount/priceClose();
PIPCost = 0,0001*1000/0,722020 = 0,1385
This amount 0,1385 is AUD? If I have an account in EUR how can I make to convert the PIPCost calculated as shown above in €?
Thanks again