title: Trading hours in strategy
body: <p>How can I tell a tradingview strategy to only trade during regular trading hours, ie 0930 to 1600? I don't know why, but my &quot;if&quot; statements always return errors. eg. if (xxx &gt; yyy) do this</p>