![]()
ATC Trader User Guide
Contents: Show all | Close all
Custom Indicators - Advanced Custom Indicator Library
Besides the simple analyze techniques, the plug-in manages a library of advanced custom indicators.
View-Customer Indicators –Custom Indicator Library
1. To access the Custom Indicator Library from the ATCTrader command bar, click on View, select Custom Indicators, and select Custom Indicator Library to display the Custom Indicator Library window. Refer to the top Figure to the left.
Custom Indicator Library1. To display the drop down menu, right click on the Custom Indicator Library window. Refer to the lower Figure to the left.
Create a New Indicator from the View
1. To access the Rapid Custom Indicator Wizard window, click View in the command bar, select Custom Indicators and select Custom Indicator Library to display the new window. Refer to the Figures below.
View>Custom Indicators>Custom Indicator LibraryFrom the toolbar on the Custom Indicator Library window (right Figure above) select and click the first icon (Create a new indicator) to display the wizard.
Rapid Custom Indicator WizardCreate a Simple Indicator from a Chart
Chart Access1. From a Chart, select Indicators, and select Simple Indictor to display the Simple Indicator window
Simple IndicatorCreate a Custom Indicator from the Chart with the Wizard
1. Open a Chart, right click anywhere in the Chart to display the Properties drop-down menu in the Figure below.
Chart-Right Click Access2. Select Plug-ins and then select Create Indicator to display the Wizard window
Rapid Custom Indicator Wizard
Chart-Right Click Access to IndicatorThe library represents files of certain types from the folder Custom Indicators.
All files are stored in one of the open formats: text files for C# code and imported indicators, XML – for Rapid Indicators and binary .NET assembly for precompiled indicators.The structure of the folder next:
- Program Files
- s – root folder that contains the plug-in and other external DLLs
- CustomIndicators – It is the home folder of Custom Indicator Library. C# code is stored right here.
- Bin – It contains verified and compiled indicators, including 3rd party developed indicators.
- Rapid – This folder contains Rapid Custom Indicators in files with *.ci.xml extension.
- Import – This folder contains the imported EasyLanguage files with extension *.EL in open text format.
- Help – This folder contains help documentation.
- Samples – These are the source codes of samples.
The icon of listed items represents the type of source codes (imported, C# or Rapid Indicator) and the status of the verification and compilation.
The window provides the next commands. Use:
- - New to open a wizard of indicators.
- - Edit to open editor for selected file. Type of editor will be selected according to type of file: Rapid Custom Indicator wizard, IDE for C# or EasyLanguage™.
- - Rename to rename selected file.
- - Delete to delete selected file.
- - Import File to import EasyLanguage™ source code from a file in text format.
- - Import Clipboard to import the current content of Windows clipboard as EasyLanguage™ code.
- - Compile to verify and compile selected file.
- - Compile All to verify and compile all files.
Rapid Custom Indicators
To make a developed Simple Indicator SMA(Input, 14) + ATR(Input, 14 from the previous example as an ordinary indicator to use anywhere in charts without editing, use the Rapid Custom Indicators function.To add a new indicator to the library, select New in the Custom Indicator Library to display the Rapid Custom Indicator Wizard and complete the data fields:
- - Short Name is used in expressions and references.
- - Name is used in list of indicators on the Chart.
- - Category is used for placing the indicator to a corresponding category in the list of indicators.
- - Result scale has several options:
- Any places the indicator by default to the same area as input series like Moving Averages.
- Free is used for indicators with free or uncategorized scale like TRIX.
- Percent is used for indicators that calculate a percentage, for example, RSI.
- Price displays that results are prices regardless of input data.
- Volume is used for indicators that return volume values.
- - Source scale has the same options as the Result scale, but is intended to filter the input series in Property Dialog. Additionally, it has Stock option for indicators that require OHLCV as the input data. For example, Average True Range uses High, Low and Close prices, so ATR uses the Stock option and the Property Dialog for ATR shows just historical series in the Input property.
- - To edit the Result series the same way as styles of lines in Property Dialog, use a default style of the indicator.
- - Copy, type, or construct the expression to Expression field.
Refer to the Figure below.
Rapid Custom Indicator WizardParameterize the Rapid Custom Indicator
- Add a parameter Period to the list of parameters via the pop-up menu inside this list. Then, replace hardcoded periods of indicators 14 and 15 in the expression to the word Period.
- Parameterize the Rapid Custom Indicator.
- Now click Save.
- Press Compile to verify the indicator and add it to Indicators list of the Chart.
Parameterize from the Chart
ChartThe new indicator displays in Indicators list after successful verification and compilation
SMA+ATR Indicator-Property Dialog Box1. Modify the list of parameters, names and default style of lines, formulas and other properties of the Rapid Custom Indicator Wizard any time, via the Custom Indicator Library window.
2. Or, click the Edit Code… hyperlink inside Properties Dialog of the selected indicator. Refer to the Figure to the left.Multi-Series Rapid Custom Indicators
Custom Indicator Library1. To extend the SMA+ATR indicator from the previous example and show the two series: SMA+ATR and SMA-ATR, select Edit in Custom Indicator Library window for this indicator to open Rapid Custom Indicator Wizard.
2. In the Wizard window, rename series Value to Top via the pop-up menu of the Result series list and add one more series Bottom. Refer to the Rapid Custom Indicator Wizard window below.
Rapid Custom Indicator WizardCreate a Two Series Expression
1. Now the old expression is a new expression for the series.
2. Select the second series and enter an expression SMA(Input, Period)-ATR(Input, Period) in the editor. Refer to the Figure below.
Rapid Custom Indicator Wizard-Expression for Bottom3. Compile the results to display on the Chart in the Tooltip box. A Tooltip is a dialog box that displays information at the point of the mouse cursor.
4. Refer to the Figure below.
Chart Results for SMA+ATR Two Series5. Samples of custom indicators contain one or more useful samples of multi-series indicator: TwoMA