How do we set it not to show? negative sum and I include those that have not yet been processed
-
How do we set it not to show? negative sum and I include those that have not yet been processed.
1.0.000000e+00
2.-1913
I don't want it to show like this or give it a value of 0.
thank you -
Do you mean you profit on open trades only or closed trades too? And do you mean you just want positive numbers?
-
I want to give a negative number value. To be equal to a positive number, for example, the result -1000 equals to the value 1000 / and the time when the result comes back to be positive. Give it a positive value of 1000 equals 1000.
Summary is the result obtained from the calculation. Multiply the constant translator -1 x ?
-1 x -1000 = 1000 Correct.
-1 x 1000 = -1000 This value is displayed as positive, ie 1000.
What do I have to do? -
I'm afraid you will need to use custom code to do those calculations. I'm not a programmer so I hope roar can give you a hand, sorry.
-
@nicksuksantr
Try use the block Modify Variable:
new_var = MathAbs(original_var) -
@l-andorrà Thank you very much for your help.
-
@sktsec Thanks for suggesting new ideas. I understand
-
New question, mt5 doesn't have this one, what to do? I have no idea need the value according to the picture

-
You're right. That option is not available for mq5. The only way I know of doing it is inserting the value manually via variable.
-
@nicksuksantr 
en realidad, no es difícil solo tienes que poner un bloque de condición si es positivo pase directo si es negativo multiplique por -1