Logic Power Tab
The Logic PowerTab offers extended functionality to the VTS LogicElement.
- Generally speaking, when a LogicElement evaluates to True, the execution of an Expert Advisor follows a path to perform a specific action, such as open, close or modify a trade.
- The options available from the Logic Power Tab allow a trader to apply advanced rules to how and when the LogicElement evaluates to True. These rules are outside the typical greater-than, less-than evaluation of a logical condition.
- The Logic Power Tab offers the following options:
- Logic Evaluation Frequency
- Minimum required TRUE count
- Maximum allowed TRUE count
- Note: All times are determined by the MetaTrader Platform's clock, not the local clock of the running PC.
Logic Evaluation Frequency
This option defines how often a Logic is evaluated to be True.
On every new tick |
The Logic is checked for True on every incoming tick. This is the default selection. |
On every new bar |
The Logic is checked for True only on the start of a new bar (or candle). The bar length is defined by the chart to which the EA is attached. |
On every new hour |
The Logic is checked for True only at the start of every hour. |
On every new day |
The Logic is checked for True only at the start of every day. |
Minimum required TRUE count
This option defines how many times a Logic must evaluate to True before the Logic returns a True value.
Once only |
The Logic only needs to evaluate to True once. This is the default selection. |
Count per bar |
The Count value can be set to any integer above one. The Logic must evaluate to True Count times within a single Bar to return True. The bar length is defined by the chart to which the EA is attached. The running count is reset to zero at the start of a new Bar. |
Count per hour |
The Count value can be set to any integer above one. The Logic must evaluate to True Count times within an Hour to return True. The running count is reset to zero at the start of a new Hour. |
Count per day |
The Count value can be set to any integer above one. The Logic must evaluate to True Count times within a Day to return True. The running count is reset to zero at the start of a new Day. |
Count per run |
The Count value can be set to any integer above one. The Logic must evaluate to True Count times within one Run of the EA. The running count is reset to zero each time the EA is restarted. |
Maximum allowed TRUE count
This option defines how many times a Logicmay evaluate to True.
Unlimited |
The Logic may return True and unlimited number of times. This is the default selection. |
Count per bar |
The Logic may return True once per Bar. |
Count per hour |
The Logic may return True once per Hour. |
Count per day |
The Logic may return True once per Day. |
Once per run |
The Logic may return True once per Run. |