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

Forums>AlgoWizard / EA Wizard>General Discussion>How to configure a "0.5" pip stop loss for Oanda's S&P 500 counter?

  • #112517 |
    Customer
    112 Posts

    I notices that Oanda’s S&P 500 (MT4) has their way of calculating the pips, ie. Oanda S&P500’s 1 pip is 10 pips for other MT4 players.

     

    In that case, how to configure a 0.5 pip stop loss for Oanda’s S&P 500, when configuring scalping strategy on EA Wizard? Thanks very much. 

     

    Ps.

    EA Wizard’s min PIP size is 1 pip, which is 10 pips for Oanda’s S&P500 counter. Oanda’s other counters are fine. 

     

    Attached are screen shot from Oanda & FxPro. 

    Attachments in this forum are visible only for registered users.
    Attachments in this forum are visible only for registered users.
    #126050
    Mark Fric
    Administrator
    1182 Posts

    Hello,

     

    unfortunately EA Wizard assumes that pips are integer, not floating point numbers.

     

    But it is possible to overcome this by using function MathAbs(), since these values are positive numbers anyway. MathAbs() accepts a floating point parameter, I’m attaching a screenshot with sample.

     

     

    Mark
    StrategyQuant architect

    #126072
    Customer
    112 Posts

    hi Mark,

     

    Thanks for the reply.

     

    Guess you have missed out the attachment. 

    #126101
    Mark Fric
    Administrator
    1182 Posts

    sorry, here it is.

    Attachments in this forum are visible only for registered users.

    Mark
    StrategyQuant architect

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

You must be logged in to reply to this topic.