Having Absolut Math inserted into Adjust field
-
Hello @FXDREEMA
could you please add the possibility to put "Abs" or "AbsMath" into the Adjust field, so any negative value gets automatically converted into a positive value?
That would save us from putting a block of custom code in between, which is always more clean, than using custom code blocks.
If I was not clear with my request, willing to clarify anytime.
Thanks in advance.
-
I actually did that long time ago, but maybe I never wrote about it: Try this: https://fxdreema.com/shared/cjhGByvF
In "Adjust" you have this:
= MathAbs($)Where = means that the final value will equal what is after the = symbol, it's not like +, -, * or /. And $ is the value itself. MathAbs() is of course MQL4 function.
-
Perfect! Good to know. Will test it next week and get back to you, once it is all clear.
Thanks!