Custom Function Setup (MathPow)
Please walk me through on how to setup MathPow in Custom Function.
it depends on what exactly you need. Do you want to use it in the condition or in the action?
Using Custom Function/Action is quite simple, you just specify it as:
If you have some variable defined, you can write it as
MathPow( YourVariable1, YourVariable2)
To use it in THEN action, you’d probably want to use MathPow to assign some value to a variable, you ca define it like this:
YourPowVariable = MathPow( YourVariable1, YourVariable2);
Of course, all these three variables have to be defined in EA Wizard.
I hope it is clearer now.
Thanks, much clearer.
I cannot find ‘MathPow’ in the documentation, can somebody post the link please
It is a new function in the last release, so I don’t think it is in EA Wizard’s documentation. But if you google it, you can find some info about it. For example, on the mql4 website it says how to use it a little bit:
Viewing 5 posts - 1 through 5 (of 5 total)