Download MetaTrader 5

Calculate value of open orders stop loss

To add comments, please log in or register
mokuro89
7
mokuro89 2016.10.21 03:36 

Hi, cant find anywere how can I calculate the value of stop loss in $? OrderStopLoss(); give me only the position of it, I actually need to calculate the sum of the stop losses of open orders in $.

Thanks!! 

Osama Shaban
1463
Osama Shaban 2016.10.21 07:30  

As you can calculate it in (pips), then think about the pip value !. |SL|*PipValue = $$$ !!!.

So,

$$$ = |SL| / PipValue

This is my own thought !. 

To add comments, please log in or register