• Join us

Help! My EA Works as it should when back testing but not in live trading?

To add comments, please log in or register
samermaan
13
samermaan  

Hi, 

I really need some help in the coding please. I have basic knowledge in MQL4. I have made an EA that notifies me of potential reversal trends depending on Japanese candlesticks. The problem is that the EA works as it should in the strategy tester and I can see the results and the report... but when I attach the same EA to multiple charts, it does not work. I only get multiple false notifications in the USDJPY pair almost every hour i.e. with every new bar.

 

Can anyone by chance check the coding and comment? Attached is the mq4 file. 

 

Thanks in advance.

Umar Ismail
18037
Umar Ismail  
Let me know
what is written in the journal
samermaan
13
samermaan  
Umar Ismail:
Let me know
what is written in the journal

Nothing special to notice in the journal. Just messages stating that the EA was loaded successfully. 

Thanks

Roberto Jacobs
55034
Roberto Jacobs  
samermaan:

Hi, 

I really need some help in the coding please. I have basic knowledge in MQL4. I have made an EA that notifies me of potential reversal trends depending on Japanese candlesticks. The problem is that the EA works as it should in the strategy tester and I can see the results and the report... but when I attach the same EA to multiple charts, it does not work. I only get multiple false notifications in the USDJPY pair almost every hour i.e. with every new bar.

 

Can anyone by chance check the coding and comment? Attached is the mq4 file. 

 

Thanks in advance.

If you look at compile Description when compiled, there are 6 warning.
You should correct all the warning, and then test the EA.
Marco vd Heijden
Moderator
12770
Marco vd Heijden  
Close[1]-Open[1]>=0.0005		
you should take into account MarketInfo(Symbol(),MODE_DIGITS) for JPY and GOLD among others do not have 0.0005 
but 0.005 and will most always be > 0.0005
samermaan
13
samermaan  

Thanks for the remarks! 

I will correct them and see.

To add comments, please log in or register