I keep receiving a "uninit reason 1" which causes a terminal close. WHAT DO I DO?.
-
I keep receiving a "uninit reason 1" which causes a terminal close whenever I try to open a trade on Demo/live. EAs works perfectly in strategy tester once optimized. Trend EA's with 3 conditions each.
1_1624329735111_New Life Buy(BE).mq4
0_1624329735105_New Life Sell (BE).mq4
- list item
-
@bmcghee Can you please share the link to both projects instead of uploading the files? That would make it way easier to look at.
-
-
-
@bmcghee I mean this:

-
-
@bmcghee said in I keep receiving a "uninit reason 1" which causes a terminal close. WHAT DO I DO?.:
shared/g9eZpkWG
I see no problem in the logix. I guess the issue is in checkboxes:

I see you use many of them. Please check that all those selected are the correct one. If the problem persists remove all of them and substtute them by constants.
-
@l-andorrà so I removed the boxes but now I receive a uninit reason 6 error or an array out of range. No problems in the strategy tester (actually very profitable) but EA will not take a trade on demo or live still with those errors popping up.
-
@bmcghee That is cretainly weird. Did you make any othe change in the project?