My EA works great o backtest but doesnt work on live charts- %85 profit

 

My EA works great on backtest but doesnt work on live charts.

It has more than %85 profit when i changed the Moving average parameters.

If code gurus, professionals may help me i would be greatful to share these parameters too.

I dont know much things about writing a script. Because of this, please have look at the expert advisor which attached... thanks anyway

 

Regards 

Files:
 
sah16:

My EA works great on backtest but doesnt work on live charts.

It has more than %85 profit when i changed the Moving average parameters.

If code gurus, professionals may help me i would be greatful to share these parameters too.

I dont know much things about writing a script. Because of this, please have look at the expert advisor which attached... thanks anyway

 

Regards 

it is working,try once more with exact parameters same in EA and with EMA.

regards


Files:
EURUSDM1.png  31 kb
 
sah16:

My EA works great on backtest but doesnt work on live charts.

It has more than %85 profit when i changed the Moving average parameters.

If code gurus, professionals may help me i would be greatful to share these parameters too.

I dont know much things about writing a script. Because of this, please have look at the expert advisor which attached... thanks anyway

 

Regards 

also do not be over estimated (85%) about things especially Forex,try to learn it first better way to keep safe your self.

regards

 
sah16:

My EA works great on backtest but doesnt work on live charts.

It has more than %85 profit when i changed the Moving average parameters.

If code gurus, professionals may help me i would be greatful to share these parameters too.

I dont know much things about writing a script. Because of this, please have look at the expert advisor which attached... thanks anyway

 

Regards 

Hello sah16

I presume you've just overoptimized in on backtestings. It's not about the coding  it's about approach. You need to adjust your strategy while the market is changing.

BTW what time period have you backtested it? Usually I'm trying to run mines on at least 5-6 last years - something from 2009 and until now becuase in general at this period there was all kind of market conditions so you can see where it fails. 

 

On an opened bar? There will be a whole lot of false signals