Archives

EA development

This category contains 13 posts

MetaTrader 4 Client Terminal Build 646

MetaTrader 4 updated to Build 646 (30 Apr 2014), and MetaEditor to Build 934 (30 Apr 2014): http://forum.mql4.com/62849 The interesting updates I found are: 3. Terminal: Increased the number of supported email service protocols. Now, alerts and emails from MQL4 applications can be sent to Gmail, Hotmail, Yahoo and other mailboxes. Set the target mailbox … Continue reading

Error 4106 ERR_UNKNOWN_SYMBOL on EA compiled by older MetaEditor running on latest MetaTrader4 Build 610

This error, 4106 ERR_UNKNOWN_SYMBOL, occurred when the chart, where an EA compiled on MetaEditor 4.00 Build 409 (25 Oct 2011) running on the latest MetaTrader 4.00 Build 610 (14 Feb 2014), had its timeframe manually changed from one to another, e.g. H1 to H4. Reverting back to the launch timeframe did not resolve the issue. … Continue reading

Unified mql4 and mql5 MetaEditor

It’s gratifying to see Metaquotes continue developing for MT4. I never migrated to MT5 due to my severe reservations about MT5’s position-centricĀ (likely due to NFA’s nonsensical FIFO rule) vs MT4’s order-centric system. And while I’ve yet to find a tangible benefit of OOP over procedural coding, this unified MetaEditor will (or at least should) allow … Continue reading

Extern variables not updating after editing “Expert Advisors -> Properties” (F7 shortcut)

I see this tripping up MT4 programmers enough that it warrants a post. A quick background for the uninitiated, Metaquotes structured MT4 EAs with 3 main event processes. init(), start() and deinit() This is clean, minimal and logically sound. init() runs ONCE on starting up, or when editing your EA properties, allowing you to do … Continue reading

MetaTrader 4 Client Terminal Build 509 (Compile error addressed)

Metaquotes promptly resolved the compiler error with build 509. Good going! http://forum.mql4.com/56329

Archives

Visitors

Flag Counter