×

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.

RaiseRunTimeError - MultiCharts
Open main menu

RaiseRunTimeError

Revision as of 12:14, 23 January 2012 by 194.84.116.138 (talk) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

RaiseRunTimeError("Message")

Where: Message - a string expression specifying the error message

Example

Generate a run-time error and display the message "Strategy Stopped": 

RaiseRunTimeError("Strategy Stopped");