Can't find the mistake!
-
Could someone please tell me where I made the mistake?
This works fine: https://fxdreema.com/shared/wxZ7dFgid
In this one, which is basically the same, I get an error "SL_distance - struct member undefined": https://fxdreema.com/shared/XS3Gkwbpd
You can ignore the "on tick" part. This works, I also deleted that whole part and still the EA shows the error.
Why am I getting an error?
-
@sirluk you forgot around this variable


-
Holy crap...that's so weird!
Since I changed the stop loss mode to custom price level, I totally didn't think about the possibility that I still had a variable in the "fixed pips" mode!Thanks @ambrogio for helping me out.
-
@sirluk you're welcome!