Reset

The Reset rule restores your entire strategy to its initial state, performing a complete factory reset. All rules revert to their original configurations, all stored data is cleared, all captured values are wiped, and all internal states are reinitialised. The strategy effectively starts fresh as if it were just deployed for the first time.

How It Works

When the Reset rule fires, every rule in the strategy is returned to its default state. Captured values are cleared, Set Value rules revert to their default outputs, counters are zeroed, timers are cancelled, and all accumulated data is discarded. The strategy then continues running from this clean state, ready to evaluate conditions and generate signals as though it had just started.

This is different from End Strategy, which stops the strategy entirely. Reset keeps the strategy running but wipes its memory clean. This makes it ideal for strategies that need to periodically start fresh, such as session-based strategies that should begin each trading day with no carry-over state from the previous day, or strategies that need to reset after closing a cycle of trades.

It is important to note that Reset does not close positions or cancel orders. If you need to close positions before resetting, connect an End Strategy or explicit close-position logic upstream of the Reset rule.

Inputs

Input Type Required Description
This rule has no configurable inputs. It fires when triggered by its upstream dependencies.

Outputs

Output Type Description
This rule does not produce any outputs. It acts as a strategy-level control signal that clears all internal state.

Tips

Reset is particularly powerful for session-based strategies. Connect it to a Schedule At rule that fires at the beginning of each trading day to clear all state from the previous session. This ensures your strategy starts each day with fresh calculations and no stale data. For cycle-based strategies, trigger Reset after closing a complete trade cycle so the strategy can begin searching for the next opportunity without any residual state influencing its decisions. Always ensure positions are closed before resetting if your strategy requires it.

Was this helpful? Let us know