Get Existing SL Value In Currency & Pips
-
Hello,
If I enter a trade manually (market or pending) can I use a loop to gather the SL value(s) in currency? I am trying to determine my risk level after entering several trades. I can currently do this if the SL never moves from its original setting but I would like this to still work even if I move my SL manually. Thanks
-
https://fxdreema.com/shared/tBgHbwkcc
use that as a reference. From total SL pip is stored into a variable its visible in comments. Plus i added a simple trail so you can check SL getting modified and the calculation getting updated as it happens.
-
Thanks... that works great. I did mess about with this function before posting in the forum but the numbers I was getting were all wrong. This works great. Thanks again.
-
@vonmunchy Thank you for your reply earlier and it works fine for pips but is there any way to get this value of SL in money? For example, I have a simple indicator that does give me the value in pips and money on the chart above the SL line (even if I drag the SL line around) so I know the language can accomplish the task. Just cannot figure out how to do it in fxDreema. Remember there could be several trades at various lot sizes. Thank you for your help.
PS: I have tried several solutions but the money value is never even close to being correct
-
@raveon sorry I can't think off a easy solution that doesn't require coding. Maybe someone else can assist?