Order Indicators

Minutes Since Option Order indicator

The number of minutes since the most recent option order matching the specified filters. Same filters as Days Since Option Order but measured in minutes for intraday strategies.

Definition

The number of minutes since the most recent option order matching the specified filters. Same filters as Days Since Option Order but measured in minutes for intraday strategies.

Parameters

Underlying, Option Type (Call/Put), Direction (Long/Short), Spread Type, Position Effect (Open/Close), Min DTE, Max DTE, Order Status

Output range: >= 0 (minutes), or a large number if no matching order exists

Example condition

text
`Minutes Since Option Order(SPY, Put, Open, Vertical, Short, 30-60 DTE, Filled) < 30` (Opened a SPY put credit spread in the last 30 minutes)

Use in a strategy

Add this indicator to a strategy condition, choose its supported parameters and compare the output with the threshold required by your rule. Preserve the same interval and lookback when comparing backtests.

After saving the condition, inspect its asset, interval, lookback and comparison operator against the parameters above. If no trades occur, check whether the condition ever became true and whether the requested input data exists for that period. A missing input is not a zero-valued signal. An indicator produces an input to a rule. It does not establish future returns, and data availability can differ across assets and periods.