0 | Trades can be entered. |
1 | Before the first valid bar (plus lookback period) of the current asset, or after the last valid bar |
2 | Before the WFO data horizon or inside a SKIP period. |
4 | Inside a time frame. |
8 | Outside market hours. |
16 | [Stop] button was clicked. |
// don't shift series outside market hours if(suspended()&8) set(NOSHIFT); else set(NOSHIFT|OFF);