Long and Short Trading Controls with Session and Risk Settings
Summary
The visible script defines controls for long-only, short-only, or two-way trading, a daily trade cap, and a minimum waiting period between trades. It also includes session and expiration settings, configurable chart tables, and futures contract fields for selecting a contract and specifying point value and tick size. These features are intended to support session-filtered strategy execution and contract-aware profit and loss calculations.
Risk inputs allow percentage, ATR-based, or point-based stop and target distances, with an optional time-based exit if neither threshold is reached. The excerpt ends before the signal generation, order handling, and performance calculations are shown, so the actual entry logic and the implementation of these controls cannot be assessed. It presents no backtest evidence; configuration options alone do not establish strategy effectiveness. Results would depend on instrument specifications, session conventions, costs, and execution behavior.
Key ideas
- The strategy offers settings for choosing long, short, or two-way trading.
- Daily trade limits and a bar-based waiting interval are configurable.
- Session filters and contract-specific point and tick values are included.
- Risk distances can be specified as percentages, ATR multiples, or points, with an optional time exit.
- The visible excerpt does not show entry signals or backtest results.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.