Skip to main content
ForexNews24
Open Source Versus a Black Box — Robots & Automation, ForexNews24

Open Source Versus a Black Box

A robot whose code you cannot see is judged only by the vendor's promises and by a report the vendor produced. The problem is not that the vendor is lying but that you have no way to check.

What closed code conceals

Three things that decide an account's fate. Position sizing: whether doubling after a loss is built in. The presence of stops: whether the robot closes losing positions at all or waits for a return. And entry conditions: whether they rely on data available at the moment of the decision. None can be established from a report, because a report with excellent statistics is produced equally well by a healthy system and by a grid without stops.

A report does not substitute for code

A beautiful curve of closed trades is compatible with catastrophic risk: martingale and grid systems produce exactly that until their final day. We demonstrated it in simulation — a grid closes only profitable positions while losing ones hang and never enter the statistics. There is one way to distinguish such a report from a healthy one: find out what the robot does with a losing position.

What to demand when source code is withheld

A minimum set: full trade history including floating drawdown rather than closed results only; the maximum number of simultaneously open positions; and behaviour during a run of consecutive losses. If a vendor will not show those three, the question about source code no longer needs asking.

The other side of open source

Open sources do not guarantee quality — they only make verification possible. Several thousand lines without comments are formally open and practically unverifiable. The value of openness is that it lets you ask specific questions: where is size calculated, where is the stop placed, what happens on a failure.

This material is educational and is not individual investment advice. Trading forex carries the risk of losing capital.

Frequently asked questions

Why can't a robot be judged by its trade report?

Because a report shows closed trades, and the most dangerous schemes — grids and martingales — precisely do not close losing positions. Their reports look flawless until the account is gone.

What should I demand from a closed-source vendor?

History including floating drawdown, the maximum number of simultaneously open positions, and behaviour during a run of consecutive losses. A refusal to show these answers the question about quality.

Does open source guarantee reliability?

No, it only makes verification possible. Several thousand lines without comments are formally open and practically unverifiable.

Digest

New backtest studies — to your inbox

When a new reproducible study comes out or the data is updated, we send a short email. No spam, no "signals", no selling your address.

By leaving your email you agree to receive occasional emails from the portal. Unsubscribe in one click from any of them.

From research to application

In our Allocation product we implemented these algorithms with all the nuances covered across the portal.

Learn about Allocation