Calculate Variables with ^
-
Hi,
I want to calculate this in a Custom MQL Code:
A=A*(1.2^B)
(B is continuously: 1, 2, 3, 4, 5, ... and so on)
I can't compile it. It just prints " '^' - illegal operation use ".
In the MQL4 documentation I can find many examples with the ^, but they don't work in fxDreema. How can I solve this operation?
-
try:
MathPow(1.2, B) -
Thank you very much! This works
