Session / Block Hours
A time condition — true/false based on the bar's hour (reads the timestamp directly, no input needed)
When to use: Restricting entry times: trade only during a session with good volume (e.g. 7-17), or block news/low-liquidity hours (e.g. 8,9,12 as used in "007")
Ports
out-result— true when the bar falls within an allowed time — connect into an AND with other conditions
Params
mode— session = allow the start→end range / block = disallow the listed hoursstart_hour— Session start hour (session mode)end_hour— Session end hour — exclusive (session mode)block_hours— Comma-separated hours to block, e.g. "8,9,12" (block mode)