Difference between revisions of "Alert"
(Created page with "Alert Triggers an alert window where the necessary text can be created. The text can be dynamic, static or absent. Usage Alert Notes If the text isn't set in the a...") |
|||
Line 33: | Line 33: | ||
If Close > Close[1] Then | If Close > Close[1] Then | ||
Alert(Text("Price turning up")) | Alert(Text("Price turning up")) | ||
+ | |||
+ | [[Category:Alerts]] |
Revision as of 14:28, 16 January 2012
Alert Triggers an alert window where the necessary text can be created. The text can be dynamic, static or absent.
Usage Alert
Notes
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:
Alert;
This statement creates a dynamic alert text and displays the number of the weekday:
Alert(Text("Day of week is ", DayOfWeek(Date)));
This statement will show static text:
If Close > Close[1] Then Alert(Text("Price turning up"))