4
May

If you were thinking of a demonstration of forex strategies, here’s a simple one

“what goes up must come down”

- and who’s to say this isn’t as valid a way of looking at it as any more complicated method of forex trading…

This EA tests a strong movement – x pips over y minutes time period, after which it will open a reverse position, with a set of stops to reinforce it. It’s also a nice bit of code to tinker with parameters:-
Limit : fluctuation value,
PeriodX : time period
All the positions are closed when Amount is reached.

And of course, you’ll never learn to live with the forex brokers without the management of risk

if getProfit > AccountBalance()/1000 => CloseAll
allows exposure to be proportionate to your available balance.

This isn’t an EA to use blindly in a live forex account – the risk of exposure can be great, as you’ll see in any backtesting. There’s also a lock down option to clear positions at a given total pip value… 40-50 pips advisable,

There’s no reason why this would work any better or worse on any timeframe or currency pair…

Download: vbs.zip