Jump to content

⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

Recommended Posts

Posted

Re: [req] Enterra Forex Star EA Full-Source Code

 

Even with MA_AngleZeroSigma.ex4 as well, still cant backtest on 5 digit decimal broker like Alpari?

Posted

Re: [req] Enterra Forex Star EA Full-Source Code

 

Even with MA_AngleZeroSigma.ex4 as well, still cant backtest on 5 digit decimal broker like Alpari?

 

 

Problem solved!

Posted

Re: [req] Enterra Forex Star EA Full-Source Code

 

This is indeed not Enterra or Enterra Forex star, but it works on 5 pairs and this is just fine for me as a multipair scalper.

What I wanted to tell you, is that there is a bug that I fixed for myself and wanted to share:

 

in function

int SecurProfit() {

bool li_ret_0 = FALSE;

if (OrderProfit() > TickValue() * GetLots() * TP) li_ret_0 = TRUE;

return (li_ret_0);

}

 

order profit is checked against GetLots(), not order lots, which can be two quite different numbers.

I in fact moved this comparison to CloseAll funciton, and it now reads as below where there was call to SecurProfit:

 

if (OrderProfit() > TickValue() * OrderLots() * TP)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

×
×
  • Create New...