PS: the EA is already using proper pip values (for all settings apart from MaxSpread).pete14 » Mon Jan 20, 2014 6:44 pm wrote: Ok, I think I found the problem.
Every time I change something within the EA, i.e. from 20 pips stop loss to 0.02, which means 20 pips in a currency, a new trade is opened.
Anyhow, how can manage it that the EA takes profit at the middle line or the second line (red when long green when short)?
Thanks
Peter
So if you change 20 to 0.02, and the PFactor is still 10, you get (0.02/10) pips (!!)
And even if you've changed PFactor to 10000, 0.02 will get you (0.02/10000) pips (!!)
20pips in a currency pair is 0.0020 ( for a 5-digit broker, there's an extra 0 with no value )
Cheers