Is it possible?

 

Hi All

i want to know if possible to do that sequence in EA.

1-to stop the EA completely from trading when balance is 100 pips less than the balance of 2 days past.
2-then EA starts to do backtesting (on background) everyday from day of stopped trading.
when backtest shows balance higher 100 pips than balance of 2 days past, the EA resumes trading normally till
it loses again 100 pips and check again backtesting, and so on...

Thanks,
Anthony

 

it is possible, but very difficult. (and EXPENSIVE)

because you asked such a question, its not a job for you to find the solution.

 
meikel wrote >>

it is possible, but very difficult.

if you ask such a question, its not a job for you to find the solution.

what do you mean by this "its not a job for you to find the solution" ?

 

i recognized your skill level - nothing offending.

its hard to realize, even for an experienced programmer, but its possible, and this was your question....

 
meikel wrote >>

i recognized your skill level - nothing offending.

its hard to realize, even for an experienced programmer, but its possible, and this was your question....

no problem, will be done

 
Anthony_M:

Hi All

i want to know if possible to do that sequence in EA.

1-to stop the EA completely from trading when balance is 100 pips less than the balance of 2 days past.
2-then EA starts to do backtesting (on background) everyday from day of stopped trading.
when backtest shows balance higher 100 pips than balance of 2 days past, the EA resumes trading normally till
it loses again 100 pips and check again backtesting, and so on...

Thanks,
Anthony

U can build on the code here: Articles -> Tester -> Automated Optimization of a Trading Robot in Real Trading

Like meikel said though, it's not simple.