Simple mode
To access the Condition Escort, select Tools from the main menu followed by the Condition Escort menu item.
Within the Condition Escort window each condition can be defined as a long (signal in the scanner is green-colored) or short (signal in the scanner is red-colored) signal.
You can create a condition for the entry, stop or target. This will determine in which column within the Setup Escort your condition will be shown.
In addition, you may select the priority for your condition. The higher condition ranking means it will display first according to lower-ranking conditions in Analyzer Escort.
As overview enhancement it is possible to create a description for each condition and a category. Conditions with a category can be found within the specified category.
Conditions without category can be found under "No Category".
Conditions can be customized similarly to the signal indicators. The difference is that various components can be rearranged internally.
To create a condition, drag and drop the elements onto the desired pane.
Color Settings
To set color for each feature please activate checkbox.
Name | Meaning |
---|---|
Arrow | Allows to set up color and size of arrow under signal bar (visible when you put condition on a chart) |
Bar | Color of signal bar (visible when you put condition on a chart) |
Text | Color of text under arrow (visible when you put condition on a chart) |
Scanner | Color of signal in Analyzer Escort |
Example:
Component box
The box at the top left contains the list of components that can be compared with each other:
- Data episodes: open, high, low, close, volume
- Chart Toolbar: Indicators: includes standard indicators
- Programmed indicators: includes indicators which are programmed by users themselves.
- Conditions: this is a complex signal combination of different indicators created within the Condition Escort
- Programmed conditions: includes your programmed signals
- Cumulates Indexes: includes cumulates indexes:
- Value: includes values that can be compared with each other
- Simple calculation
- Advanced calculation
Compare boxes
Using these boxes you can compare (Compare box 1 and Compare box 2) components with each other logically. For example, you can compare the values of an indicator with other values and also combine different components within different time frames. For example, RSI(14) 5 minutes is bigger than RSI(10) 1 minute.
Whether or not these comparisons make sense or create any value depends on the user.
The Operator bar between the Compare box 1 and Compare box 2 displays the following operands:
|
"cr-a": cross above, means that the price crosses the indicator from bottom to top.
"cr-b": cross below, means that the price crosses the indicator from top to bottom.
If you select
from the operator bar, a numerical input choice
will appear. In this cell, define within how many historical periods the comparison must be true. Then confirm the selection by clicking the ENTER button.
The image below shows an example of a condition that is true when the closing price in the 5-minute time frame crosses the 5 minute SMA(14) line from bottom to top within the last two periods.
If you select a component from the comparison box, you can use the arrow buttons to shift it up and down.
Click the Delete button to remove it from the box.
Parameter box
If you activate a component from the compare box 1 or compare box 2 by left clicking on it, parameter inputs will be displayed within the parameter box. You can change or edit them here.
Time frame section
If you enter the explicit time frame for a condition, it will be used permanently for this condition.
If you do not select any time frame, then AgenaTrader will use the time frame from the scanner column or a chart, depending on the instrument.
The user can also create a condition that will become active during the specified time period. For example, a condition that would be triggered from 11 am until 4 pm.
The calculation should look as follows:
BarTimeOfDay value signifies the current bar time.
Month Of Year value signifies the current bar month.
In addition, the user can create a condition that will become active during the specified day of week. For example, a condition that would be triggered each Friday.
The calculation should look as follows:
BarDayOfWeek value signifies the current bar day.
Series and output values section
Within the series input tab you can choose whether an indicator has multiple lines.
It is also possible to assign one of the following value types to the selected parameter:
- Type: Boolean -> might be 'true' or 'false'. Cound be compared only with another boolean value.
- Type: DateTime -> Type contains date & time. Might be compared only with another date & time.
- Type: Byte -> Number. Integer value (see Wikipedia) in range from 0 to 255. Might be compared with any other number.
- Type: Double -> Number. Decimal value. Might be compared with any other number.
- Type: Single -> Number. Decimal value. There is a difference between Single and Double in precision. Might be compared with any other number.
- Type: SByte -> Number. Integer value in range from -127 to 127. Might be compared with any other number.
- Type: Int32 -> Number. Integer value in range from -2147483648 to 2147483647. Might be compared with any other numbe
Verify button
This button is used to allow AgenaTrader to verify if the syntax is correct.
Apply or OK buttons
Once the Syntax validity has been verified and saved, click OK to close the dialog box.
The result of the condition is one of the following:
- True: the comparisons have succeeded;
- False: the comparisons have failed.
To save the condition you must enter a name.
Condition Escort simple calculation
The Condition Escort’s simple calculation pad allows you to perform simple calculations for a condition.
A simple calculation can be recognized by the “C:” marking within the Condition Escort window.
It is possible to add, subtract, multiply or divide several different operands (indicators, values, data episodes etc.).