OnBar() to run logic at bar close (one bar per timeframe). This contrasts with OnTick(), which fires on every tick.
OnBar() to run logic at bar close (one bar per timeframe). This contrasts with OnTick(), which fires on every tick.