quit (string Text)

Terminates the session or simulation cycle after the current run.

Remarks:

Example:

if(Equity < 100) {
  quit("Out of money!");
  return;
}

See also:

printf, run, wait, version

► latest version online