×

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

Cancel Alert

9 bytes added, 19:49, 16 January 2012
no edit summary
Alerts are only generated for the last bar
==== Example ====
The example shows how all alerts can be turned off depending on time. The alerts will not be displayed after 10:00 pm.
 
<syntaxhighlight>
If Close > Close[1] Then
Alert("Price is going up");
If Volume > Volume[1] Then
Alert("Volume is increasing");
If Volatility(5) > Volatility(5)[1] Then
Alert("Volatility is rising");
If OpenInt > OpenInt[1] Then
Alert("Open interest is growing");
If Time >= 2200 Then Cancel Alert;
</syntaxhighlight>