StrategyCoder History

← Examples

An Expert Advisor with orders (refused) Refused

MQL5 → Cuprel · converter mql5 0.2.0 · refused

Source (MQL5)
// an Expert Advisor with orders: out of scope for every converter today
#include <Trade\Trade.mqh>
CTrade trade;
void OnTick() {
  if (PositionsTotal() == 0) trade.Buy(0.1);
}
No output
Nothing was converted. The converter refused this program and said why:

Diagnostics

Experimental means: the converter reads a thin, tested slice, adds warnings, and says no when it is unsure. Run the converted program on your own data before relying on it.

Open in the converter MQL5 → Cuprel route All examples