eTrader Code
Home Tide

Bring your MetaTrader and cTrader robots to eTrader.

Paste a MetaTrader 4 or MetaTrader 5 robot (MQL4 or MQL5) or a cTrader cBot (C#) into eTrader Code. Your own AI model rewrites it in Tide, the Tide compiler checks every attempt until it compiles, and a report tells you line by line what converted, what now behaves differently and what could not come across.

How it works

The converter lives inside eTrader Code, in the + menu, under "Convert a MetaTrader or cTrader robot".

1

Paste or choose the file

An .mq4, .mq5 or .cs file, or the code itself. eTrader Code recognises which platform it was written for, or you pick it.

2

Your model writes the Tide

Claude, ChatGPT, Gemini, Grok or DeepSeek, on the key you saved in eTrader AI. It is taught the full Tide reference and every function the compiler accepts.

3

The compiler checks it

Every compile error goes back to the model with its line and message, up to four attempts, until the program compiles.

4

You read the report

Converted, converted with a different meaning, and not converted, each with the line number in your original. Anything that could change trading is flagged.

What converts, and what does not

Most straightforward robots convert. Anything that reaches outside the language needs a person.

Converts wellNeeds a person
Inputs, with their defaultsNative DLL imports: Tide runs no native code
Tick, bar and timer handlersFile reads and writes: Tide has no file system
Built-in indicators such as moving averages, RSI, MACD, ATR, Bollinger BandsCustom indicators whose source you do not include
Market and pending orders, stop loss, take profit, trailing stopsDeep class hierarchies and pointer tricks
Position and history loops, lot sizing, time and session filtersGPU, ONNX or external program bridges

Why it will not tell you it is finished when it is not

A converter that quietly gets something wrong costs somebody money. So every conversion ends with one of three results: it compiles with nothing reported as changed; it compiles and needs review before it trades, because something may behave differently; or it did not compile in four attempts, and you open it to fix the rest in the editor, where the Problems tab lists each error.

Whatever the result, backtest the Tide version on your broker's own prices in eTrader Code and compare it with the original before it trades on a live account.

Your code stays yours

Questions

Which robots can it convert?

Robots written in MQL4 for MetaTrader 4, in MQL5 for MetaTrader 5, and cBots written in C# for cTrader.

Will the converted robot trade exactly like the original?

Not always. The report lists everything that changed or could not convert, with the original line numbers. Backtest it on your broker's prices and compare before it trades live.

What do I need?

An eTrader ID, which is free, and a key for one AI model, saved in eTrader AI under Model keys. The converter uses the same keys.

Can I run the converted robot with my computer off?

Yes. Robots written in Tide run in eTrader's cloud, so they keep trading when your computer is off and no VPS is needed.

Home eTrader Web eTrader Code eTrader AI Tide Legal centre
MetaTrader is a trademark of MetaQuotes Ltd and cTrader of Spotware Systems Ltd. eTrader is not affiliated with either. eTrader is a product of SGHK Softwares Limited, a software development company that does not provide investment or brokerage services.
© 2026 eTrader