Timed Trading Strategy with Day Filters and Daily Loss Controls
Summary
This script describes a scheduled-entry framework rather than a price-indicator signal strategy. It checks for a manually specified signal candle in a chosen timezone, with entries intended for the next bar's open. Its module can allow long, short, or both directions, and applies separate weekday permissions to each side. Stop-loss and take-profit distances are configurable in ticks.
The code also tracks daily net profit, resets counters and state at a new day, and can stop the module after a configured daily loss threshold. A further option limits trading after a losing day. The visible excerpt ends during the loss-limit logic, so it does not show the complete entry, exit, or reset behavior, and it provides no instrument, timeframe, backtest settings, or performance results. The script exposes configurable controls, but the excerpt alone is insufficient to assess execution details or establish profitability.
Key ideas
- The strategy checks a manually chosen hour and minute in a configurable timezone for its signal candle.
- It supports long-only, short-only, or two-sided trading with separate weekday filters.
- Stop-loss and take-profit distances are configurable in ticks.
- Daily profit tracking supports a loss cutoff and an optional one-trade limit after a losing day.
- The excerpt is incomplete and contains no backtest evidence or reported performance.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.