Skip to content
cyenitePublic

About

Open-source MetaTrader 5 (MT5) desktop terminal for Linux, macOS and Windows. Native, no Wine. TradingView-style charts, trade copier, prop firm guards, webhook signals.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

8 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

191 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

OpenTerm5 icon

OpenTerm5

Your MetaTrader 5 accounts, in a terminal you'll actually enjoy using.
Open source. Runs natively on Linux, macOS and Windows. No Wine, no VM, no excuses.

CI License: AGPL-3.0 Platforms: Linux, macOS, Windows Latest release

Tour Β· Brokers Β· Features Β· Install Β· Docs Β· Contribute

OpenTerm5 trading workspace with an EURUSD chart, moving averages, RSI, live positions drawn on the chart and the Toolbox

OpenTerm5 connects straight to your broker's MT5 trading servers and gives you the desktop workflow you already know: Market Watch, charts, the Toolbox, one-click trading. Then it keeps going. The tools traders usually pay for as Expert Advisors, VPS add-ons or monthly subscriptions come built in:

  • πŸ“ˆ Charts that feel like TradingView, drawn by Meridian, OpenTerm5's own chart engine: 86 studies, 82 drawing tools, layouts of up to 16 synced charts, bar replay, undo and redo, and drawings kept in sync with your TradingView account.
  • πŸ§ͺ Backtesting on replayed history: trade a simulated account bar by bar, with realistic fills, saved sessions and full statistics.
  • 🎯 Risk-based orders. Say "1% of balance, stop under that low", and OpenTerm5 works out the lots, commission included.
  • β‚Ώ Bybit and Binance accounts beside your MT5 ones: trade USDT perpetuals with the same risk ticket, leverage suggested from your stop and liquidation checked before every order.
  • πŸ” A trade copier between any of your accounts, across brokers, with six sizing modes.
  • πŸ›°οΈ A webhook signal API that turns TradingView alerts and bots into orders.
  • πŸ›‘οΈ Prop firm guards: daily loss, max drawdown, request caps and news blackouts, enforced on every order from every source.
  • πŸ““ Automatic journaling to Tradescribe, with a quick review of every closed trade.

Warning

Risk warning. Trading foreign exchange, CFDs and other leveraged products carries a high level of risk and may not be suitable for all investors. OpenTerm5 is provided "as is", without warranty of any kind. Test every feature on a demo account before using it with real money. You are responsible for every order placed from your accounts.

OpenTerm5 is an independent open-source project and is not affiliated with, endorsed by or sponsored by MetaQuotes Ltd. See Licence for trademark notices.


πŸ—ΊοΈ A quick tour

All screenshots show a demo account with made-up prices and positions.

Analysis mode: just you and the chart

Press Ctrl+Shift+A and the terminal steps aside. The order tickets leave, the drawing toolbar slides in on the left and your watchlist moves to the right. Your copiers, signals and guards keep running in the background, so switching modes never stops your automation.

Analysis mode with a Fibonacci retracement, a trend line, a long position tool, an EMA and MACD, the drawing toolbar on the left and the watchlist on the right

Just start typing

Click a chart and type, as you would in TradingView. Letters open symbol search with what you typed and Enter switches the chart; numbers switch the timeframe (15, 4h, 1D, or MetaTrader's M15 and H4). Star the timeframes you use most to keep them on the chart bar.

Symbol search opened by typing USD on an EURUSD chart, listing USD pairs, crypto and metals

Drawing tools that behave the way your hands expect

Fibonacci, Gann, pitchforks, channels, patterns, long and short positions, volume profiles: 82 tools in all, with favourites, a magnet and a floating style bar. The settings dialog works like TradingView's, down to custom colours, editable levels, templates and visibility per timeframe. Edits show live, and Cancel really does put things back.

Pick up several drawings at once: Ctrl+drag a box over them, or Ctrl+click each one, then move, copy or delete them together. With the magnet on, the crosshair and every anchor you place snap to the bar's open, high, low or close. And if you also chart on TradingView, link a symbol in File β†’ Import from TradingView β†’ Sync: what you draw or change there shows up here within seconds, and your edits, deletions and undos here are saved back to TradingView.

Four drawings selected together with a Ctrl+drag box: a Fibonacci retracement, a trend line, a long position and a rectangle, each showing its handles

Fibonacci retracement settings dialog with editable levels, colours and templates Indicators menu open on Trend and Overlays, listing Meridian studies
TradingView-style drawing settings 86 Meridian studies next to MetaTrader's own formulas

Lots of charts? Lay them out like TradingView

Every tab in the chart bar is a layout of 1 to 16 charts: pick one of 55 layouts from the layout button, drag the lines between charts to resize them (Shift moves matching lines together, a double-click evens them out), and maximise the active chart with Alt+Enter. Tab moves between charts.

  • Sync in layout: symbol, interval, crosshair, time and date range, each switched per tab, with coloured sync groups for symbol and interval.
  • Sync drawings: new drawings show on every chart of the same symbol in the tab, or in every tab.
  • One drawing toolbar down the left for the whole layout. Pick a tool and draw on any chart.

A four-chart layout with the layout picker open: 55 layouts grouped by chart count, and the Sync in layout switches

Bar replay runs the whole layout on one clock. Pick a start on any chart, then play, step (Shift+β†’) or change the speed, and every chart moves together. Each shows only what had happened by then: a chart on a longer timeframe builds its current bar step by step, so H4 and daily candles never give away their own future. Trading from a replaying chart is switched off.

Backtest with the tools you trade with. Start a session with a balance, leverage, spread, slippage and commission in Backtest mode, a third mode beside Trade and Analysis that gives the interface to the charts and the session, and the layout steps forward through history on its own clock. Place each order with lines on the chart: drag the entry, stop loss and take profit, and the volume follows your risk. Orders fill on the bars passed, stops and targets in the order each bar traded, and gaps at the opening price. Jump to the next London or New York open, and follow the results in a side panel: R multiples, win rate, profit factor, drawdown and an equity curve. Sessions save as you go and resume where they stopped. How backtesting works.

Bar replay across four charts at 08:30: EURUSD H1, H4 and M15 and XAUUSD D1, each cut at the same moment, with the replay bar below

Size every trade by risk, not by guesswork

Pick Risk-based in the order ticket and tell it how much you're willing to lose. OpenTerm5 does the maths, splits the volume across up to five take-profit levels and can attach break-even and trailing rules on the way in. Prefer drawing your trades? Drag the risk planner on the chart instead.

The order ticket in risk-based mode: 1% of balance with a 20 pip stop works out to 1.25 lots, split across 1R and 2R targets

Crypto perpetuals on Bybit, sized the same way

Log in to a Bybit Unified Trading Account (demo trading, live or testnet) with an API key and trade its USDT and USDC perpetual and futures contracts from the same terminal. Risk orders size by coin quantity with Bybit's taker fee counted inside the risk, and split into partial targets that each carry their own stop. The risk ticket shows the contract's leverage, lets you change it, and suggests one that keeps liquidation well behind your stop. An order that needs more than your free margin, or whose stop sits beyond the liquidation price, is refused before anything is sent. Keys that can withdraw funds are refused too. How Bybit accounts work.

Binance USDβ“ˆ-M futures work the same way, with an HMAC key or a self-generated Ed25519 key that trades without an IP restriction. Crypto chart tabs and watchlists stay on crypto accounts and forex ones on MT5 accounts. How Binance accounts work.

Trade straight from the chart

Positions and pending orders live on the chart, with their profit or loss in money. Drag a stop or a target to move it, or pull the ghost TP and SL handles off an entry to add the levels it's missing. One-Click trading and Depth of Market are a keystroke away.

EURUSD M15 chart with the One-Click trading panel and the Depth of Market ladder

Trade Copier: one master, as many followers as you like

Copy from one account to any number of others, across brokers. Six sizing modes (fixed lot, lot, balance or equity multiplier, fixed master balance and fixed % risk), symbol mapping that understands broker suffixes, filters, trading hours, delays and per-follower equity protection. When a prop firm asks questions, Export audit saves every copy with tickets, times and account logins.

Trade Copier workspace: a master copying to a prop challenge account at 0.5% risk and a swing account at 50% lot multiplier, with live copies

Signal API: TradingView alerts in, orders out

A local HTTP server for TradingView alerts, bots and scripts. Each source gets its own secret, account, sizing, allowed symbols and rate limit, with token or HMAC authentication, replay protection, idempotency keys and a dry-run mode for testing. Results can go to Discord, Slack, Telegram or any JSON endpoint.

{ "secret": "your-source-secret", "action": "buy", "symbol": "{{ticker}}", "risk": 1, "sl_pips": 20, "tp_r": 2 }

Or in plain text, if that's more your style: buy EURUSD risk=1 sl_pips=20 tp_r=1,2

Signal API workspace with the server listening on 127.0.0.1:8787 and a TradingView alerts source

Prop firm mode: guards that don't blink

Set the rules once and OpenTerm5 enforces them on every order, whether it came from you, the risk ticket, a webhook or the copier. Daily loss in money or percent, max drawdown, a daily profit lock, position and lot caps, a cap on trade requests per day (FTMO allows 2,000) and a news blackout around high-impact releases from the ForexFactory calendar. The trading day starts when your firm says it does: broker server time, Prague, New York, UTC or your own clock.

Equity guard for a prop challenge account: 4.5% daily loss, 9% max drawdown, Prague reset, 2,000 request cap and a news blackout list

Journaling: every trade reviewed, zero copy and paste

Connect a Tradescribe journal and your MT5 deals flow in automatically, marked as verified. Rate trades, tag setups and mistakes, write your day note, and jump into Tradescribe for the calendar, reports and AI review. Press Ctrl+5 to open it.

Journaling workspace with sync status for three accounts, today's trades with reviews, and a day note

Log in by server name, and pick your look

Type your broker's server name (FTMO-Server, say) and OpenTerm5 finds its address from a list of about 2,800 MT5 servers. An address it can't verify has to be approved before your password goes anywhere. Then pick one of 15 themes, from Meridian Dark to Tokyo Night, Nord and Catppuccin, match your system, give a single chart one of 7 chart themes, or import your saved TradingView theme.

Login dialog searching broker servers for Demo XAUUSD chart with Bollinger Bands and Stochastic in the Meridian Light theme
Broker search by server name Meridian Light theme

🏦 Supported brokers

OpenTerm5 works with any MT5 broker that runs the MT5 web terminal, and with Bybit and Binance through their APIs. The brokers below were checked on 27 and 28 October 2026: OpenTerm5 finds their address from the server name alone and has completed the MT5 connection with each one. For another MT5 broker, enter its web trading address once under Advanced in the login dialog.

Account type Platform What you trade
CFD MT5 Forex, metals, indices, energies, stock and crypto CFDs, as your broker lists them
Prop firm MT5 The same CFDs on challenge and funded accounts, with prop firm guards
Crypto Exchange API USDT and USDC perpetual and futures contracts (Bybit), USDβ“ˆ-M futures (Binance)

CFD brokers (MT5)

Admirals logo
Admirals
Demo, Live
Axi logo
Axi
Demo, Live
BlackBull Markets logo
BlackBull Markets
Live
Blueberry Markets logo
Blueberry Markets
Demo, Live
Deriv logo
Deriv
Demo, Live
Equiti logo
Equiti
Demo, Live
Exness logo
Exness
Trial, Live
FBS logo
FBS
Demo, Live
FP Markets logo
FP Markets
Demo, Live
Fusion Markets logo
Fusion Markets
Demo, Live
FxPro logo
FxPro
Live
HFM logo
HFM
Demo, Live
IC Markets logo
IC Markets
Demo, Live
IG logo
IG
Demo, Live
Infinox logo
Infinox
Live
INGOT Brokers logo
INGOT Brokers
Demo, Live
IUX logo
IUX
Live
JustMarkets logo
JustMarkets
Demo, Live
MetaQuotes logo
MetaQuotes
Demo
Moneta Markets logo
Moneta Markets
Demo, Live
MultiBank logo
MultiBank
Live
Pepperstone logo
Pepperstone
Demo, Live
PU Prime logo
PU Prime
Demo, Live
RoboForex logo
RoboForex
Live
Scope Markets logo
Scope Markets
Live
Startrader logo
Startrader
Demo, Live
Swissquote logo
Swissquote
Live
Tickmill logo
Tickmill
Demo, Live
Ultima Markets logo
Ultima Markets
Demo, Live
Valetax logo
Valetax
Live
Vantage logo
Vantage
Demo, Live
VT Markets logo
VT Markets
Live
XM logo
XM
Live

Prop firms (MT5)

FTMO logo
FTMO
Free trial, Challenge, Funded
FundedNext logo
FundedNext
Challenge, Funded
FundingPips logo
FundingPips
Trial, Challenge, Funded
The5ers logo
The5ers
Challenge, Funded
OANDA Prop Trader logo
OANDA Prop Trader
Challenge, Funded

Crypto exchanges

Bybit logo
Bybit
Demo trading, Live, Testnet
Binance logo
Binance
Demo trading, Live

Regional entities matter, because each one runs its own servers. Kenyan accounts are supported at IC Markets, HFM, XM, FP Markets and Scope Markets; XM South Africa, HFM Seychelles, Tickmill UK and EU, and Vantage Mauritius are covered too. A few servers have no working web terminal (for example ExnessKE, FXTM, Octa and FXPesa). The full server list, and the brokers we could not verify, are in Accounts and brokers.

Broker and exchange names and logos are trademarks of their owners, shown only to say which services OpenTerm5 can connect to. OpenTerm5 is not affiliated with or endorsed by any of them.


🧰 Everything in the box

A complete trading terminal
  • Market Watch with multiple watchlists, foldable sections and as-you-type symbol search that follows each broker's symbol names (EURUSD.m, GOLD), plus a Navigator, Data Window and Depth of Market.
  • Toolbox with Trade, Exposure, History (with CSV export) and Journal tabs.
  • Market and pending orders, SL/TP modification, partial close, Close By and One-Click trading.
  • Orders show their progress as they go: a live timer in the status bar, then the broker's result.
  • Bybit accounts (USDT and USDC perpetuals and futures) and Binance USDβ“ˆ-M futures accounts next to MT5 ones, sharing one set of crypto watchlists and risk ticket settings.
  • Several saved accounts with one-click switching. Passwords can be kept in your OS keychain.
  • Context menus throughout, and the MT5 keyboard shortcuts you already know.
Charts by Meridian
  • All 21 MT5 timeframes plus S1, S5, S15 and S30 seconds charts.
  • Candles, hollow candles, bars, line, area, baseline and Heikin Ashi.
  • 86 Meridian studies (DEMA, TEMA, KAMA, ALMA, Ichimoku, SuperTrend, TTM Squeeze, Connors RSI, Fisher Transform and many more) next to MetaTrader's own indicator formulas.
  • One Indicators dialog, as in TradingView, for every indicator (built-in, MetaTrader and Pine), with search, favourites and a favourites menu on the toolbar; / opens it.
  • Pine Script v5 and v6 indicators, run by PineTS: paste a TradingView script link (open-source scripts only) or the source, or import TradingView's popular list. Plots, fills (gradients too), shapes, bar and background colours, lines, boxes, labels, polylines, tables and request.security() are drawn; each script keeps its author and licence.
  • 82 drawing tools in six groups, with favourites, a magnet that snaps to open, high, low or close, text on lines, templates, per-timeframe visibility, and Ctrl+click or Ctrl+drag to select several.
  • Type on a chart to switch it: a symbol name opens symbol search, a number changes the timeframe. Favourite timeframes go on the chart bar.
  • Layouts of 1 to 16 charts per tab with symbol, interval, crosshair, time, date range and drawing sync, and bar replay that runs every chart of a layout on one clock.
  • Backtesting sessions: a simulated account with spread, slippage, commission, leverage and stop out; orders placed with risk-sized lines on the chart and filled along each bar; R, MAE and MFE per trade; statistics, an equity curve and CSV export in a side panel.
  • Picture in picture: pop a chart tab out into its own always-on-top window, charts only (Lite) or with the toolbar, drawing tools and trading panels (Full), and drag it back when you're done.
  • Undo and redo, copy and paste between charts and an object tree.
  • Price alerts drawn on the chart, and Chart Settings saved with each chart and its templates.
  • Older history loads as you scroll, panes resize and axes drag.
  • Profiles and templates, plus Alt shortcuts for the common tools (Alt+T trend line, Alt+F Fibonacci, and so on).
Risk and automation
  • Size orders by % of balance, % of equity or a fixed amount, with commission counted inside the risk.
  • Stops as a price or a distance in points, pips or % of the price, in the risk ticket and as a signal source's default.
  • On Bybit, leverage shown and set from the risk ticket, a suggested leverage that keeps liquidation behind the stop, and margin and liquidation checks before every order.
  • Split a position across up to five take-profit levels.
  • Manage open positions with break-even, trailing stops, partial targets, hidden stops and time exits.
  • One-click bulk actions: close all, close winners or losers, close by side or symbol, delete pending orders, move every stop to break-even.
  • Equity guards per account: daily loss, max drawdown, profit lock, exposure caps, daily request caps and news blackouts.
Connections and imports
  • Trade Copier: master to any number of followers, across brokers, with an audit export.
  • Signal API: a local webhook server for TradingView alerts and bots, with notifications to Discord, Slack, Telegram or JSON.
  • Import from TradingView: bring over your drawings (placed on your broker's bars, daylight saving included), drawing templates, chart themes and chart settings.
  • Sync with TradingView: link a TradingView symbol to an account symbol and its drawings stay in step: changes in TradingView arrive within seconds, and edits, deletions and undos here are saved back. Drawings you create in OpenTerm5 stay local for now.
  • Journaling: automatic, verified trade sync to Tradescribe, with in-app reviews.

πŸš€ Get it running

Grab an installer for Windows, macOS (Apple Silicon) or Linux (AppImage or .deb) from the releases page. The Getting started guide lists the files and what to do about first-launch warnings while builds aren't code-signed yet. Once installed, OpenTerm5 keeps itself up to date on Windows and Linux: new versions download in the background and install when you choose Restart to update or quit, never while your copier or signals are running. On macOS it tells you when a new version is out.

Prefer to build it yourself? You'll need Node.js 22.12 or later:

git clone https://github.com/cyenite/OpenTerm5.git
cd OpenTerm5
npm ci
npm run dev

Then choose File β†’ Login to Trade Account, search for your broker's server and log in. Start with a demo account and have a play.

A few shortcuts worth learning first

Keys What it does
F9 New order
Ctrl+1 to Ctrl+5 Trading, Trade Copier, Signals, Automation, Journaling
Ctrl+Shift+A Switch between trading and analysis mode
Type on a chart A symbol name opens symbol search, a number changes the timeframe
Ctrl+Z / Ctrl+Y Undo and redo on the chart
Alt+B Depth of Market

The full list is in Keyboard shortcuts.

πŸ“š Documentation

Guide Contents
Getting started Install, build, log in and find your way around
Trading Charts, layouts, orders and trading from the chart
Accounts and brokers Logging in, saved accounts, broker detection, Bybit and Binance accounts
Backtesting Backtest sessions, placing orders, fills and statistics
Risk and automation Risk-based orders, position management and equity guards
Trade Copier Copying trades between accounts
Signal API Webhook reference for TradingView and bots
Keyboard shortcuts Shortcut reference
Troubleshooting Common problems and their fixes
Architecture How OpenTerm5 is built
Roadmap Known gaps and planned work

βš™οΈ How it works

OpenTerm5 is an Electron application written in TypeScript, with a React interface. Charts are drawn by Meridian (packages/meridian-charts), OpenTerm5's own canvas chart engine and theme system.

The main process contains an independent client for the protocol that MT5 web trading uses, and keeps one broker session per account. Bybit and Binance accounts connect through each exchange's REST and WebSocket APIs behind the same interface, so the rest of the app treats them like any other account. The trade manager, trade copier and signal engines run alongside it, so they keep working while you use the interface. They do need OpenTerm5 to be running and connected, so keep a broker-side stop on anything you can't watch. See Architecture for the details.

πŸ§ͺ Project status

OpenTerm5 is young software. Its behaviour has been verified against the MetaQuotes demo server, and brokers including FTMO and Pepperstone have been confirmed reachable. Margin figures, some MT5 features and broader broker coverage are still in progress. The roadmap lists what's missing. Reports from other brokers are very welcome.

🀝 Contributing

Contributions of every size are welcome: bug reports, broker compatibility reports, documentation and code. Read the contributing guide to get started, and follow the code of conduct. Please report security issues privately as described in SECURITY.md.

If OpenTerm5 saves you a subscription or two, a ⭐ on the repo is a lovely way to say thanks.

πŸ“„ Licence

OpenTerm5 is released under the GNU Affero General Public License v3.0 (AGPL-3.0-only). Versions up to and including 0.3.0 were released under the MIT License and remain available under it. The move to AGPL lets OpenTerm5 run Pine Script indicators with PineTS, which is itself AGPL-3.0. Third-party components and their licences are listed in THIRD_PARTY_NOTICES.md.

Pine Script indicators you import keep their own authors' licences. OpenTerm5 shows each script's licence and author when you import it; the script is stored on your computer only.

MetaTrader and MetaQuotes are trademarks of MetaQuotes Ltd. TradingView is a trademark of TradingView, Inc. OpenTerm5 is an independent project and is not affiliated with, endorsed by or sponsored by MetaQuotes Ltd., TradingView, Inc. or any broker.

About

Open-source MetaTrader 5 (MT5) desktop terminal for Linux, macOS and Windows. Native, no Wine. TradingView-style charts, trade copier, prop firm guards, webhook signals.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

8 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages