the uninit reasons are listed below
REASON_REMOVE 1 Expert removed from chart.
REASON_RECOMPILE 2 Expert recompiled.
REASON_CHARTCHANGE 3 symbol or timeframe changed on the chart.
REASON_CHARTCLOSE 4 Chart closed.
REASON_PARAMETERS 5 Inputs parameters was changed by user.
REASON_ACCOUNT 6 Other account activated.
These reasons maybe displayed when you do the corresponding action (for instance if you remove the EA)
I don't think it is that that makes your EA not working in M1 if it is working in M30 but of course I don't know what is inside
the uninit reasons are listed below
REASON_REMOVE 1 Expert removed from chart.
REASON_RECOMPILE 2 Expert recompiled.
REASON_CHARTCHANGE 3 symbol or timeframe changed on the chart.
REASON_CHARTCLOSE 4 Chart closed.
REASON_PARAMETERS 5 Inputs parameters was changed by user.
REASON_ACCOUNT 6 Other account activated.
These reasons maybe displayed when you do the corresponding action (for instance if you remove the EA)
I don't think it is that that makes your EA not working in M1 if it is working in M30 but of course I don't know what is insideDear Jipi,
Thanks for your explainlation.
There is nothing special inside the EA, it just compares the latest bar close with Monday open. If the last close is higher / lower than day ATR by 0.382%, it triggers order. I did the same setup in two pcs and the setup with M30 worked while setup with M1 failed.
Then I swaped the setup of the pcs and again the only setup with M30 works.
I tried to remove the EA from M1 charts, close them and re-open they again. When I attached the EA to M1 charts, I got the messages but when I attached the EA to M30 charts, I got everything OK.
Anyway thanks for your advice again.
Good luck.
Nomura.
I got everything OK
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I attached a simple EA to several M1 charts but the EA failed to trigger order and I found messages " XXXXXX (EA name), Symbol, Time Frame, uninit reason 1 ( sometimes 3 and sometimes 5)" were recorded in Expert Tag. No other information shown in Journal Tag. The EA works well on M30 or higher TF.
Can anybody tell me what are " uninit reason 1 ..." and how to solve this
problem.
Thanks in advance.![](https://c.mql5.com/forextsd/smiles/hail.png)
Nomura