find_signals
Find TheStrat actionable signals on one timeframe.
Patterns: 2-2 reversal, 1-2-2 rev strat, 3-2-2, 2-1-2, 3-1-2, 3-2, hammer, shooter,
momo hammer/shooter, inside bar, outside bar reversal (2d-3u / 2u-3d), 1-3 rev strat,
1-3-2, I-O-I. Each signal has: trigger, target (magnitude, null if the pattern has
none), level_of_reclaim, invalidation, status, sequence, kind (reversal/continuation)
and source_url (the docs page for the rule).
Status: setup (trigger not taken), in_force (taken, target not hit, still active),
triggered (taken, bar closed, no target), hit_target, failed. Timing: a signal is in
force only while its bar is open; D fires stay active until the next session open;
the W is closed from Friday close to Monday open.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| now | No | Current time, ISO 8601. Decides if the last bar is still open. Default: the server clock. | |
| bars | Yes | OHLC bars, oldest first. Each bar is an object {t, o, h, l, c, v?} (also accepts open/high/low/close/time) or a row [t, o, h, l, c, v?]. t = bar START time, ISO 8601 (New York time if no offset). Daily bars may use a date only. | |
| timeframe | No | Timeframe of the bars: 5, 15, 30, 60, D, W, M, Q or Y. | D |
| include_history | No | Also list older setups and what happened to them (evidence of participation). |