Custom Function Setup (MathPow)
4 replies
ramacan
11 years ago #111158
Mark Fric
11 years ago #121634
Hello,
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:
MathPow(10, 4)
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.
Mark
StrategyQuant architect
ramacan
11 years ago #121651
JS17
10 years ago #122052
I cannot find ‘MathPow’ in the documentation, can somebody post the link please
stearno
10 years ago #122067
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:
http://docs.mql4.com/math/MathPow
google reslutsl
http://www.google.com/search?aq=f&oq=mathpow+mql&sourceid=chrome&ie=UTF-8&q=mathpow+mql
Viewing 4 replies - 1 through 4 (of 4 total)