Newbie in programming an EA (mt4)

 

Hi!

Iam a newbie in the EA-programming-business. I built an EA made backtests and did a little bit analysis in excel. And i saw that this strategy makes with a higher percentage 2 losses and then comes again a winningtrade.

So now my question:

Is it possibile to built a filter/indicator or something where i can normal run my EA but i only trade live/real after 2 loss-trades? The EA identifies that 2 trades in a raw made an loss and only trades real the next signal.

I dont know how to approach to this idea!

Are there ideas outside??

Thank you in advance!!

Julez

 

Easiest method= bet minimum lots on the first 2; then go big on the third.

Programming method= create a virtual trading environment. Search if you don't know what it means.

 
You might try trading on a demo account with a trade copier copying to a real account. Have it set up so that the copier only copies trade of certain comment or magic number. Then have the ea on the demo account put that magic number on any trade it takes after two losses. PipPip..Jimdandy.
 
You can try martingale lot sizing. Or make the ea trade virtually by keeping track of virtual trades on a file then open an actual trade after two virtual loses.
Reason: