Please help guys. Why all EAs stopped working on this latest MT4?
They haven't.
They haven't.
- Don't double post! You already had this
thread open.
General rules and best pratices of the Forum. - General - MQL5 programming forum - "Doesn't work" is meaningless - just like saying the car doesn't work. Doesn't start, won't go in gear, no electrical, missing the key, flat
tires — meaningless.
We can't see your broken code — we can only guess. There are no mind readers here and our crystal balls are cracked.
- Badly coded indicators assumed that buffers were lines. Terminal change broke that assumption. In build 1090 buffers no longer default
to DRAW_LINE. You must explicitly set them:
#property indicator_typeX DRAW_LINE // Bug 1090 must set. ⋮ SetIndexStyle(X-1, DRAW_LINE); // Or in OnInit().
- Badly coded EAs assumed that PIP equals point. Didn't check Free Margin (leverage changed) Didn't check MODE_STOPLEVEL *
_Point or SymbolInfoInteger(SYMBOL_TRADE_STOPS_LEVEL).
Requirements and Limitations in Making Trades - Appendixes - MQL4 Tutorial
What is a TICK? - MQL4 programming forum - If it's from your broker, why aren't you asking them?
- Don't double post! You already had this
thread open.
General rules and best pratices of the Forum. - General - MQL5 programming forum - "Doesn't work" is meaningless - just like saying the car doesn't work. Doesn't start, won't go in gear, no electrical, missing the key, flat
tires — meaningless.
We can't see your broken code — we can only guess. There are no mind readers here and our crystal balls are cracked.
- Badly coded indicators assumed that buffers were lines. Terminal change broke that assumption. In build 1090 buffers no longer default to DRAW_LINE. You must explicitly set them:
- Badly coded EAs assumed that PIP equals point. Didn't check Free Margin (leverage changed) Didn't check MODE_STOPLEVEL *
_Point or SymbolInfoInteger(SYMBOL_TRADE_STOPS_LEVEL).
Requirements and Limitations in Making Trades - Appendixes - MQL4 Tutorial
What is a TICK? - MQL4 programming forum - If it's from your broker, why aren't you asking them?
- Don't double post! You already had this
thread open.
General rules and best pratices of the Forum. - General - MQL5 programming forum - "Doesn't work" is meaningless - just like saying the car doesn't work. Doesn't start, won't go in gear, no electrical, missing the key, flat
tires — meaningless.
We can't see your broken code — we can only guess. There are no mind readers here and our crystal balls are cracked.
- Badly coded indicators assumed that buffers were lines. Terminal change broke that assumption. In build 1090 buffers no longer default to DRAW_LINE. You must explicitly set them:
- Badly coded EAs assumed that PIP equals point. Didn't check Free Margin (leverage changed) Didn't check MODE_STOPLEVEL *
_Point or SymbolInfoInteger(SYMBOL_TRADE_STOPS_LEVEL).
Requirements and Limitations in Making Trades - Appendixes - MQL4 Tutorial
What is a TICK? - MQL4 programming forum - If it's from your broker, why aren't you asking them?
Do you really expect an answer? Do you have a smiley face in the upper right? What is in the logs? Are you even logged in? There are no mind readers here and our crystal balls are cracked.
It looks that some EA's that use old syntax with "start()" function won't run anymore because MT4 recognizes them as scripts.
You have to replace "start()" with "OnTick()" and add "#property strict" directive.
That will probably expose several other problems you'll have to fix.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use