Not logged in
Viewing 5 posts - 1 through 5 (of 5 total)

Forums>AlgoWizard / EA Wizard>General Discussion>Custom Function Setup (MathPow)

  • #111158 |
    Participant
    13 Posts

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

    Regards.

    #121634
    Mark Fric
    Administrator
    1182 Posts

    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

    #121651
    Participant
    13 Posts

    Thanks, much clearer.

     

    Regards.

    #122052
    Customer
    72 Posts

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

    #122067
    Customer
    197 Posts

    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 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.