Stop Loss in Price, %Balance, or $Profit
Created at 30 Apr 2018, 15:36
CE
Stop Loss in Price, %Balance, or $Profit
30 Apr 2018, 15:36
Hi,
This might be a silly question, but its important for my personal trading strategies.
According to the api, if i'm going to execute a marketorder I can only place stoploss in pips.
But some of my trading strategies rely on stop loss in raw price, %Balance, or in hard dollars.
Can anyone tell me how to place a stop loss in raw price, %Balance, or in hard dollars?
Thanks
PanagiotisCharalampous
07 May 2018, 12:36
Hi cedric.anover,
Currently you can only place SL and TP in pips. If you wish to set your SL and TP in dollars then you will need to make the conversion before placing the order. If your account's balance is in $ then you can find out how much a pip is worth using the Symbol.PipValue property.
Best Regards,
Panagiotis
@PanagiotisCharalampous