APPENDIX C

Reserved Words Quick Reference

#BEGINALERT

A compiler directive that executes instructions between #BeginAlert and #End only when the Enable Alert check box is selected.

Usage:       #BeginAlert
                    Alert("ADX Alert");
             #End;

#BEGINCMTRY

A compiler directive that executes instructions between #BeginCmtry and #End only when using the Analysis Commentary tool to select a bar on a chart or a cell on a grid.

Usage:       #BeginCmtry
             Commentary(“The value is” + NumtoStr(Plot1, 0));
       #End;

#BEGINCMTRYORALERT

A compiler directive that executes instructions between #BeginCmtryOrAlert and #End when either the Alert or Commentary conditions exist.

Usage:       #BeginCmtryorAlert
             Alert("ADX Alert");
             Commentary(“The value is” + NumtoStr(Plot1, 0));
       #End;

#END

A compiler directive used to terminate an alert or commentary block statement.

AB_AddCell

Adds a cell to an ActivityBar row.

Syntax:     AB_AddCell(Price, Side, Str_Char, Color, Value);
            Price: a numeric expression representing the price of a bar (e.g.,Open,Close)
            Side: LeftSide,RightSide
            Str_Char: a character that is displayed in the ActivityBar cell (e.g.,"A","N")
            Color: an EasyLanguage color value (e.g.,Red, Black)
            Value: a numeric expression representing the value of the cell
Usage:      AB_AddCell(Open, Leftside, "A", Red, 1);

AB_AddCellRange

Adds cells to a price range of the current bar starting at LowValue to HighValue.

Syntax:     AB_AddCellRange(RangeHi, RangeLo, Side, Label, Color, Value)
            RangeHi: a numeric expression representing ...

Get Building Winning Trading Systems with TradeStation™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.