for example, when using Renko bar:
protected override void OnBarUpdate()
{
if(IsFirstTickOfBar)
Print("Hello");
}
>Hello
>Hello
>Hello
for example, when using Candlestick bar:
protected override void OnBarUpdate()
{
if(IsFirstTickOfBar)
Print("Hello");
}
>Hello
This is for a strategy using real data and calculate on each tick
Comment