Reply

Custom Function Setup (MathPow)

4 replies

ramacan

Subscriber, bbp_participant, community, 72 replies.

Visit profile

8 years ago #111158

Please walk me through on how to setup MathPow in Custom Function.

Regards.

0

Mark Fric

Administrator, sq-ultimate, 3 replies.

Visit profile

8 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

0

ramacan

Subscriber, bbp_participant, community, 72 replies.

Visit profile

8 years ago #121651

Thanks, much clearer.

 

Regards.

0

JS17

Customer, bbp_participant, community, 73 replies.

Visit profile

8 years ago #122052

I cannot find ‘MathPow’ in the documentation, can somebody post the link please

0

stearno

Customer, bbp_participant, community, 382 replies.

Visit profile

8 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

0

Viewing 5 posts - 1 through 5 (of 5 total)