Download MetaTrader 5

is it possible to retrieve the ininitial stoploss value after modifying the stoploss?

To add comments, please log in or register
master_dude
73
master_dude  

i am currently coding a trading log which executes everytime a trade is closed. one of the values for my log is the stoploss. however, i want to use the original stoploss when my trade opened, but since i modify the stoploss during the trade, calling OrderStopLoss(), does not give me correct value. 

 any idea of what to do?

cheers,

 T 

whroeder1
16093
whroeder1  
Save the original value.
master_dude
73
master_dude  
WHRoeder:
Save the original value.
yea was also thinking but thought perhaps it was stored already... thanks :)
To add comments, please log in or register