×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Changes - MultiCharts
Open main menu

Changes

RaiseRunTimeError

498 bytes added, 12:14, 23 January 2012
Created page with "Generates a run-time error and displays the specified error message. A run-time error will cause the execution of the study to be aborted. ==== Usage ==== <syntaxhighligh..."
Generates a run-time error and displays the specified error message.

A run-time error will cause the execution of the study to be aborted.

==== Usage ====
<syntaxhighlight>RaiseRunTimeError("Message")</syntaxhighlight>

Where: [[Message]] - a string expression specifying the error message

==== Example ====
<syntaxhighlight>Generate a run-time error and display the message "Strategy Stopped":

RaiseRunTimeError("Strategy Stopped");</syntaxhighlight>



[[Category:Execution Control]]
Anonymous user