O'Reilly logo

Building Winning Trading Systems with TradeStation™ by John R. Hill, George Pruitt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required