![]()
ATC Trader User Guide
Contents: Show all | Close all
Custom Indicators - Custom Analyze Techniques
The Custom Indicators provides three types of simple custom analyze techniques in the Custom Indicators category that do not require programming skills:
- Simple Indicator
- Coloring, and
- Show CasesFor all of the above, type the formulas of indicator directly in property dialogs.
Simple Indicator1. Enter the formula in the property Expression and press Close to the results of calculations. Press “…” to open the expanded window with a simple assistance. Refer to the window Simple Indicator to the left.
2. Use the Simple Indicator for easy formulas that are used only once.
3. To re-use this indicator, place it in the Custom Indicator Library. Press Place to Library hyperlink in Properties Dialog of Simple Indicator. This opens an editor of Rapid Custom Indicators.
Simple Custom Indicator
Note: This is the expanded window for expression editing.
ColoringThis analyze technique highlights a bar in a color to reference the specified conditions. Refer to the window Coloring to the left.
1. Left click on the Red Color to display the Coloring Window with the Color Palate tool at the end of the row.
2. Click on the color tool icon to display the Color Palate window. Refer to the lower Color window.
3. Select a color and click Ok.
Access show cases through chartChart Indicators
Open a Chart, left click on Indicators, select Custom Indicators, and select Show Cases to display the Show Cases window.
Chart InsertOr, in the Chart, click on Insert, and select Custom Indicators to display another drop-down menu. Refer to the Figure at the left.
Show CasesThis analyze technique displays certain points in history that satisfy the specified conditions via drawing specified markers in specified positions. Refer to Figure Show Cases on the left.
Syntax of simple expressions
The expressions of these simple custom indicators have a simplified syntax on the base of C#. Samples of expressions include:“SMA(Close, 14)”, “EMA(Close, 14) – ATR(Input, 15)”, “RSI(Input, 30) < 20”, etc.
Operators
- Arithmetic operators: +, -, /, *
- Comparison operators: <, >, == (equal), != (not equal), >= (greater or equal), <= (lesser or equal)
- Logical operations: & (and), | (or)
- A special IF construction:? : . For example, Abs(Input) < 10.0 ? 0 : Input shows zero instead of input value, if its absolute value is less than 10.0. Keywords for input data
- Use the Input word to refer to time series that is selected in the property Input of indicator.
- Use Open, High, Low, Close, Volume – for historical data.Click here for: Field Definitions (Opens in a new window)
Click here for: Mathematical Definitions (Opens in a new window)
The full list of supported mathematical and EasyLanguage functions are in the Insert menu of the expression editor.
Math Ext Functions MenuMost of these functions are reflected from the corresponding EasyLanguage functions.
Click here for: functions Indicators (Opens in a new window)
Use this sample for the Indicators to return multiple series:
BBand(Close, 15, 2)[0]
where [0] refers to the first line (Top). To refer to the second one, the Bottom, [1] is used.
The full list of functions-indicators are in the Indicator Tree of expression editor.
Drag and Drop to Formula1. Use the scroll bar to move down the list.
2. To open a folder, click on the plus (+) symbol next to the item.The best way to use these functions-indicators is to access the item from the drag & drop indicator tree inside the expression editor:
Simple Indicator Expression1. Open the Property Dialog for the Simple Custom Indicator and press in the line Expression field to display the dialog window. Refer to the red box to the left.
2. In Figure 15, select the required indicator, drag it to the editing area and drop the item.
Drag and Drop to Formula window
simple Moving3. Edit the parameters of the indicator in the opened Property Dialog and press OK. Refer to the Figure on the left.
Simple Custom Indicator4. The result displays in the left panel of the Simple Custom Indicator window above.
5. Enter a + and repeat the drag and drop, then edit the manipulations for the Average True Range. Refer to the Simple Custom Indicator window below.
Final Result Display