it gives me error ^ invalid value!
-
is it not possible to write X ^ Y? it gives me error ^ invalid value!
-
I think you have to use a MQL math function
-
Here you have a good example given by @miro1360 in which you can see what you want to code.