Track the number of periods that have passed since the last occurrence of each type of event. On this page: Trigger On, Trigger Off, Take Position, Close Position, Next Phase, Move to Phase, Create Order, Cancel Order, Close Order.
Distance to event features counters indicating how many periods (candles) have passed since the last occurrence of certain events, in the context of the episode.

The information may be used from within strategies, for example, to leave a cool-down period in-between positions, to separate orders in specific intervals, or to achieve any particular logic that may require counting how much time has passed since the last time a specific event was triggered.

Distance to Event

Trigger On

Trigger Off

Take Position

Close Position

Next Phase

Move to Phase

Create Order

Cancel Order

Close Order