normalize double
-
hye,
how to normalize number,
example. comment profit : 10.000015
i want to normalize to 10.00 only -
there is no block inside fxdreema.... you will need to add custom mql code for that....
or lets wait for any other to reply...
-
@aman You need to use this code on the 'Adjust' tab of the value to modify this way:

In my example I selected 0 decimal positions. You should insert 2, instead.
-
@l-andorrà none of the screen shots are legible.
-
@pan4pips They work fine on my Mozilla firefox browser.
-
@l-andorrà I'm on chrome. I'll check ff. TY
-
@aman NormalizeDouble(VALUE,NUMBER PAST DECIMEL); will do what is needed but not always give the correct result, I have also found that adding to the adjust box won't always work. I create another string variable and use this code DoubleToStr(DOUBLE,NUMBER PAST DECIMEL); if needed change back to StrToDouble(STRING,NUMBER PAST DECEMEL): you may not need to though, use a modify variables block with the code in text input, this gives a more reliable result to normalize double.
-
@jstap yes that is still some error on the code Normalizedouble. thanks for your suggestion but i am still Confuse in what are you telling, can i have to see your screenshot?
-
@aman Like this: https://fxdreema.com/shared/yJISDUAje