×

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

Changes

Jump to navigation Jump to search

Alert

168 bytes removed, 12:09, 18 March 2021
Triggers an alert window where the necessary text can be created. The text can be dynamic, static or absent.
==== Usage ====
<syntaxhighlight>
Alert
</syntaxhighlight>
==== Notes ====* If the text isn't set in the alert then Source, Symbol, Resolution, Price is displayed.* The Alert keyword works in real-time only.* Detailed information of alerts' settings is available in Formatting Studies > Alerts.
If the text isn't set in the alert then Source, Symbol, Resolution, Price is displayed Alerts are shown on the last bar only Detailed information of alerts' settings is available in Formatting Studies > Alerts ==== Example ====
This statement will call an alert without text message:
<syntaxhighlight>
Alert;
 
TEST
absolute
nil
abs
ansistring
'ansistring'
(ansistring + ansistring, ansistring;)
"ansistring"
 
Text_new(D,T,C,Text("Bar Date/Time is ",Date:0:0,"/",Time:0:0));
 
</syntaxhighlight>
<syntaxhighlight>
If Close > Close[1] Then
Alert(Text("Price turning up"))
</syntaxhighlight>
[[Category:Alerts]]

Navigation menu