Hi all! I tried following the tutorial on youtube.

However I have encountered an Error message stating that there are no suitable methods to override. I tried searching up online and reading the API documentation but I still have no idea how to correct my mistake. Any help would be much appreciated !  THANK YOU

public override void OnTradeBar(Dictionary<string, TradeBar> data)
{
decimal price = data[symbol].Close;
emaFast.AddSample(price);
emaSlow.AddSample(price);

if (emaFast.EMA > emaSlow.EMA){
Order(symbol, 100);
} else if (emaSlow.EMA > emaFast.EMA){
Order(symbol, -100);
}
}