Twice the spread in pips
Created at 18 May 2015, 04:22
Twice the spread in pips
18 May 2015, 04:22
The seventh argument for ExecuteMarketOrder() is slippage in market range pips.
I want the slippage to be twice the spread.
Using this does NOT work:
(Symbol.Spread * 2)
The problem is that Symbol.Spread is not measured in pips. How can I get twice the spread in pips?
Spotware
16 Jun 2015, 17:40
Dear Trader,
There is a general formula to covert price difference to pips.
So if you want to calculate spread in pips just replace priceDif with Symbol.Spread
@Spotware