gicleur Srpski Start 7-day free trial

What is an MT5 trading bot and how does it work?

By the gicleur team · Updated · 3 min read

How trading bots connect to MetaTrader 5, Expert Advisor vs external bot, what they need to run, and what to check before you trust one.

A MetaTrader 5 trading bot is a program that watches the market and sends orders to your broker through the MT5 terminal without you clicking anything. It can open trades, set the stop loss and take profit, move the stop as the trade develops and close positions. What it cannot do is know the future. A good bot is mostly a machine for following rules you would struggle to follow by hand.

Two kinds of MT5 bots

Expert Advisors (EAs) are written in MQL5, MetaTrader’s own language, and run inside the terminal on a chart. They are the classic option. Everything happens inside MetaTrader, which keeps things simple, but it also limits what the bot can do: complex data, AI models or web services are awkward to use from MQL5.

External bots are separate programs that connect to the MT5 terminal running on the same computer. MetaQuotes provides an official integration for this, so an external program can read prices and account data and send orders through the terminal you are already logged in to. This is how gicleur works. The advantage is flexibility: the bot can keep a journal in a database, call an AI model, send Telegram alerts or show a dashboard on your phone. Orders still go through your terminal to your broker, exactly as if you placed them yourself.

In both cases the trades happen on your account at your broker. A legitimate bot never needs your broker password sent to someone else and never needs access to deposits or withdrawals.

What a bot needs to run

What happens on every bar

Most rule-based bots repeat the same cycle when a new candle closes:

  1. Read data: prices, the spread, open positions and account equity.
  2. Look for a signal: for example a breakout above the highest high of the last 24 hours.
  3. Filter: skip if the spread is too wide, a big news release is close, the daily loss limit is reached or the market is closed for the weekend soon.
  4. Size the trade: calculate the lot size so that the distance to the stop loss risks only a set percentage of the account. Our position sizing guide shows the maths.
  5. Send the order with the stop loss attached from the first second.
  6. Manage open trades: move the stop to break-even, lock in profit in steps or trail it. See how a trailing stop works.

What to check before you trust a bot

How gicleur fits in

gicleur is an external MT5 bot for Windows. By default it trades EURUSD, GBPUSD, USDJPY and gold with a trend-following strategy on the one-hour chart, risks 1% per trade, stops for the day at a 3% loss and stops completely at a 20% drawdown. An AI layer reviews each signal before entry, and every trade has a stop loss at your broker from the start. You can try it for 7 days on a demo account; see pricing.

The short version

An MT5 bot is a rule follower that never gets tired or emotional. Its value depends entirely on the rules: how it enters, how much it risks and how it protects a winning trade. Judge a bot by those rules and by a verifiable trade history, never by promised returns.