Thanks for writing back so quickly. Unfortunately no I am not referring to the Tick Size; the pip cost in forex is used to calculate the value of a position in your account dollar terms (rather than in pips or ticks).
I have attached a screenshot of forex price quotes for reference - you can see the third column from the right shows the pip cost values for each pair. The values in that column represent the cost of one pip per lot.
So whatever the initial risk value of my trade is in ticks I want to multiply that number by the pip cost and that way the risk is converted into my account dollars (otherwise my position sizing is out).
As per my previous post I could create an IF "pair" THEN "pip cost" but with the number of different pairs I have that amounts to a lot of IF/THEN statements. I could also create a user input variable for the pip cost, create one strategy per pair and then manually enter the pip cost for each but I was wondering whether there's a way to create say an array or table with pairs/pip costs and then perform some sort of lookup.
Comment