Reply

How to configure a “0.5” pip stop loss for Oanda’s S&P 500 counter?

3 replies

TJ#

Customer, bbp_participant, community, 144 replies.

Visit profile

9 years ago #112517

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. 

0

Mark Fric

Administrator, sq-ultimate, 2 replies.

Visit profile

9 years ago #126050

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

0

TJ#

Customer, bbp_participant, community, 144 replies.

Visit profile

9 years ago #126072

hi Mark,

 

Thanks for the reply.

 

Guess you have missed out the attachment. 

0

Mark Fric

Administrator, sq-ultimate, 2 replies.

Visit profile

9 years ago #126101

sorry, here it is.

File: sl.pngsl.png

Mark
StrategyQuant architect

0

Viewing 3 replies - 1 through 3 (of 3 total)