Download MetaTrader 5

Expert Advisor (Mt4) has malfunctions on different pair

To add comments, please log in or register
AntonioNabella
15
AntonioNabella  

Hi everybody,

I coded an EA for MT4 which advises me by an alert when some conditions occur.

The scheme of EA is

int start ()

{

//variables definition

//condition

//if condition is verified give me an alert

return;

}

It only and simultaneously works on EURGBP, AUDCHF, AUDUSD, USDCHF, NZDUSD.

For the above-mentioned pairs Expert Advisor advises me by an alert while for all other NO when it should do. (Other pair is EURUSD, GBPUSD, USDJPY, EURCAD, EURAUD and so on...)

The strange thing is that the code is IDENTICAL for all pair (I attached the EA on every pair).

Can anyboy help me or at least can anybody suggest me what might be the problem?

Thank you

Sergey Golubev
Moderator
99067
Sergey Golubev  

I am moving your thread to MT4 section.

For information.

Marco vd Heijden
Moderator
5689
Marco vd Heijden  
AntonioNabella:

Hi everybody,

I coded an EA for MT4 which advises me by an alert when some conditions occur.

The scheme of EA is

It only and simultaneously works on EURGBP, AUDCHF, AUDUSD, USDCHF, NZDUSD.

For the above-mentioned pairs Expert Advisor advises me by an alert while for all other NO when it should do. (Other pair is EURUSD, GBPUSD, USDJPY, EURCAD, EURAUD and so on...)

The strange thing is that the code is IDENTICAL for all pair (I attached the EA on every pair).

Can anyboy help me or at least can anybody suggest me what might be the problem?

Thank you

int start ()

{

//variables definition

//you should probably put something here

//condition

//and also here

//if condition is verified give me an alert

return;

}
AntonioNabella
15
AntonioNabella  
Marco vd Heijden:

I thought too, buy the code works great on some pair, so the problem is not its.
whroeder1
16086
whroeder1  
AntonioNabella: Can anyboy help me or at least can anybody suggest me what might be the problem?
No idea, we can't see your broken code. Just because it sometimes works (on some pairs) changes nothing.
AntonioNabella
15
AntonioNabella  
whroeder1:
No idea, we can't see your broken code. Just because it sometimes works (on some pairs) changes nothing.

I tested the condition on excel. With the pair which it works in mt4, I find confirmation in excel.
Keith Watford
Moderator
10617
Keith Watford  

If you want help, then post your code.

We cannot just guess what your problem is.

mrlinux
23
mrlinux  

AntonioNabella  ..... 


In what MetaTrader 4 build number did your EA malfunction? 


...GOD Bless!!!

To add comments, please log in or register