◆ New — Strategy Validator, Code Fixer & Prop Compliance Checker are live. Try one free →
Home / cTrader Validator
New · the correctness layer for cTrader

cTrader / cAlgo Validator

A cAlgo robot that shines in backtest and behaves differently live is usually placing orders in OnTick— acting on a bar that hasn't closed. Paste your cTrader C# robot and we flag it: intrabar repaint, future/negative series indices, unsynced multi-timeframe reads, and missing stops — each with the exact fix. Correctness, not profitability.

Deterministic static analysis — runs on the server, code isn't stored. Correctness only, not profitability.

Trade other platforms? Check Pine, Python, NinjaScript, or MetaTrader — same correctness engine, every platform.
FAQ
How do I check a cTrader cAlgo robot for repainting?

Paste your C# robot here. The validator flags orders placed inside OnTick (which act on a still-forming bar and can flicker), negative or absolute-future series indices, higher-timeframe MarketData.GetBars reads that use a non-final bar, and missing stop-loss. It's deterministic and doesn't run your code.

Why is placing an order in OnTick risky?

OnTick runs on every tick, so a condition built from the current bar's live price can be true on one tick and false on the next. Your live robot may act on that flicker, but a bar-based backtest never sees it — the two diverge. Put signal logic in OnBar() (once per closed bar) and keep OnTick for trade management.

Does a high score mean the robot is profitable?

No. The score measures code CORRECTNESS only — whether the robot could have known what it acts on and whether it has basic risk controls. It says nothing about profitability, and nothing here is a prediction or trading advice.

Do you run or store my code?

No. The analysis is deterministic static pattern-matching that runs on the server and returns the report — your code is not compiled, not executed, and not stored.

Catch the bug that compiles.Run auditGet Pro