Bug with Condition block & _OrderStopLoss Block
-
Hi,
I think I have found 2 problems
First problem is with use of _OrderStopLoss MQL has error compiling - it complains about missing correct number of parameters
inside the else if (Mode=="fraction") needing the digits param to be supplied.Second is with trying to use condition block to evaluate result as ==.
Example is if I open an order with stoploss of 100 pipsI fill a variable with value of stop loss in pips using result returned from pips block from your _OrderStopLoss (fixed function so it compiles).
Trying to compare value of variable containing result from above to numeric 100 they are not returning as equal.
I cant seem to find a way to resolve the issue - it must be something to do with the double type variable results being somehow different so the comparison is always false.
I have tried Ro=NormalizeDouble(_value(100),Digits()); but this has made no difference.
Your help would be appreciated.
P.S - Do you give some extra days for finding bugs - unfortunately I have lost some time trying to figure out what has been the problem here

Thanks
-David -
Don't try to fix error that comes from fxDreema, it's most probably some bug that I must fix, so reporting it is enough. You have extra days.
-
I understand - please post back when things have been fixed from your side so I can download again & check
-
Ah, you are using the local version? Ok, I reuploaded it now because of other small problem with another person (081), you can ty it.