Camovia Tray™

Blog · Knowledge

MQL4 Program Types: The Hidden Complexity That Catches Most Traders Off Guard

Camovia Tray Team · 2026-09-15

When MetaTrader 4 users first hear about MQL4, they often assume it's just a single tool—a way to automate trading. "It's all Expert Advisors, right? You code a strategy, attach it to a chart, and let it run." This is one of the most persistent misconceptions in the platform's ecosystem. The reality is more nuanced, and misunderstanding it leads to wasted hours, frustration, and even unexpected account behavior.

There are four distinct program types in MQL4, each with unique purposes and—crucially—different limitations that many traders discover the hard way. Let's clear up the confusion so you know exactly which tool to reach for.

The Four Program Types

Expert Advisors (EAs) are the heavy hitters. They're event-driven programs that execute at every tick and have full trading capabilities—opening, closing, and modifying orders. What many don't realize is that an EA remains attached to a chart indefinitely, running continuously until manually removed. This makes them the go-to choice for automated trading strategies that need persistent execution.

Scripts are often confused with EAs. They look similar, and they can also execute trades. The difference is that scripts run exactly once. You attach them, they execute their code, and they're gone. They're ideal for one-off actions—closing all open positions immediately, generating a report, or sending an email notification. The kicker: scripts start immediately upon attachment, not on the next tick.

Custom Indicators are purely analytical tools. They can display lines, arrows, and charts—rich visual data—but cannot perform any trading operations. They run continuously on each tick but are limited to visualization. You can attach multiple indicators to the same chart; unlike EAs or scripts, they don't interfere with each other.

Libraries and Include Files (often overlooked) are code repositories. They don't execute on their own but provide reusable functions for EAs, scripts, or indicators. Include files are compiled into the calling program at build time, while libraries are pre-compiled and called at runtime.

The "Simultaneous Use" Surprise

Here's where many traders get burned. You can only attach one EA per chart window. Similarly, you can only run one script at a time on a given chart. However, you can mix types: one EA, one script, and multiple indicators can coexist on the same chart simultaneously.

The practical implication? If you think you can drop two EAs on the same EURUSD chart to work together, you'll discover the second one simply won't attach. But the real complexity comes when you realize the only way to get full functionality—continuous monitoring, one-off actions, and visual display—is to run multiple program types across different chart windows.

Why This Matters Beyond Coding

Understanding these distinctions isn't just about writing better code. It's about knowing what's possible versus what isn't. Indicators can't trade. Scripts can't persist. EAs can't be duplicated. And none of these programs can be programmatically called by another—they only execute when triggered by the user or by terminal events.

This structure has consequences for how traders interact with MT4 daily. The terminal itself becomes crowded. Multiple charts, multiple windows, EAs monitoring here, scripts ready over there. And because MQL4 programs operate within the terminal's directory structure—EAs in MQL4/Experts, indicators in MQL4/Indicators, scripts in MQL4/Scripts—managing them can quickly become a headache.

A Practical Bridge to Your Trading Workflow

All of this raises a practical question: if you have EAs running, indicators giving you signals, and scripts ready for quick actions, how do you monitor what's actually happening without keeping MT4 maximized and front-and-center all day? This is where many traders realize they need a smarter way to stay connected to their terminal without sacrificing focus or screen real estate.

Tools like Camovia Tray address this by pulling key data—live quotes, open positions, P&L—from your MT4 instance and presenting it in the system tray. You get a quick glance at what matters (a view from the tray) without needing to restore the full terminal window every time. Positions that need closing can be handled directly from the tray as well, reducing the friction of constantly switching between applications.

In practice, after attaching your EA to a chart or setting up a script for quick execution, closing the terminal window entirely is often the last thing you want to do. But if you can keep your terminal hidden and still see your positions and quotes from the tray, your workflow becomes noticeably cleaner—especially when you're running multiple program types across different charts and need to check on status without disrupting your focus.

For MT4 users running custom MQL4 programs, the technical landscape is richer and more subtle than the "everything is an EA" assumption suggests. And the more you rely on these tools, the more you'll appreciate having a clear, accessible window into what they're doing—without being chained to the terminal interface.

MT4/MT5 Tray Assistant

Silent tracking, one-click close - check quotes and manage positions right from the tray.

Download Camovia Tray

Frequently Asked Questions

Are my quotes and positions uploaded anywhere?

No. Quote and position data is read 100% from your local MT5/MT4 terminal and never leaves your computer. See the privacy policy for details.

Which systems and terminals are supported?

Windows 10 / 11, with MetaTrader 5 or MetaTrader 4 (installed and logged in; MT4 needs the bridge EA attached once).

Is the MT4 bridge EA safe? What do I need to enable?

Yes. The bridge EA (CamoviaBridge) is bundled with the app - it only reads quotes/positions locally and executes close commands; no DLLs, no data uploads. Closing positions requires turning on AutoTrading in the MT4 toolbar.

How much does it cost? Is there a free trial?

Subscription pricing starts at $2.49/month (also $6.99/3 months, $13.49/6 months, $23.99/year), all plans with full features. New users get a 2-day free trial on first activation (once per device and per email), then decide whether to subscribe.

Popular Symbols Trading Hours

Open/close times, weekend hours & live market status: