URGENCY!!! Why am I getting this error?
-
I re-exported my EA from FxDreema and loaded it on chart only to see the following happening...Why?

-
@tec-nacks you have to turn on autotrading on the MT4/5
-
@ambrogio yeah...I have it turned on when I got that error message.
As a matter of fact. new orders were opening...
or does it turn off itself?
-
@tec-nacks maybe after platform update?
or maybe after the account switch.... i don't know -
it is the broker terminal am using and there's being no update... what gave me concern is that I rename the EA on FxDreema and export it it is the just recent version that is giving this error
-
@tec-nacks strange
-
being seeing a lot lately...for example, I used the once per bar block and still find two order opening on same block before the current candle with the order is closed
-
I guess that's happening on MT5 bots, right? The admin modified some importants partos of that cose in fxDreema a few weeks ago.
-
it did on Mt4 ... geez...this is .....
-
MQL5 is too easy to break, but MQL4 not that much. I touched few functions in MQL4, but I don't think I touched something related to this problem.
In any case, please, when reporting some problem to me (or to the public), make some very simple example of the problem, something that can be tested quickly. Plus some extra instructions, if needed. I don't know why this is always so hard, but I can assure everyone - it's not, it's easy as connecting 2-3-4 blocks in a new empty project, takes few minutes.
When I don't have such simple example project, I have to imagine what could be the reason for the problem to happen, and there could be multiple possible reasons for the same problem.Let's get this problem for example. You are getting some critical error 4109 "Trade is not allowed in the expert properties" and you are thinking "Oh my God, what just happened, the admin must have touched and broken something". Ok, this is not impossible, but if you believe that I broke something so important that the EA cannot run, take a look at the other topics in the forum - is there someone else reporting the same problem? If there is, then sure, most probably I broke something. But if there is not, then the probability is that the problem is local to you, something makes your setup different than the others. And if your setup is somehow different than the others, we are now searching what is that difference. One thing that is different is the EA you have.
-
made some few tweaks, if problems persist, will share here definitely
-
@fxDreema so I made a tweak to logic which is the current price block to Candle ID 1 which worked but for a while everything seemed to reset itself back to ID 0 . https://fxdreema.com/shared/ZUcGXfH1c
The primary logic is that there should be a martinagle layering at the minimum distance of 80pips for example in this case and only valid at the close of Candle ID 1... if a candle closes and the minimum distance is not met yet, no trade position should open...The distance is a minimum requirement at the close of the current candle not a equal distance logic.