onBarupdate not called

s00574926

Member
Joined
Dec 19, 2024
Posts
22
Likes
2
Have requiresBarUpdates in the study header and onBarUpdate and onBarClose not getting called.
Any ideas?
 
What's your @StudyHeader?

This works for me (i.e. I get onBarClose(), onBarUpdate, onTick(), etc. calls)...

Code:
@StudyHeader(
  namespace = "com.reshlabs",
  id = "AVA",
  name = "AVA AI",
  desc = "AVA AI Strategy",
  menu = "Resh Labs",
  overlay = true,
  signals = true,
  strategy = true,
  autoEntry = true,
  manualEntry = false,
  allowTickAggregate = false,
  requiresBarUpdates = true,
  // requiresBidAskHistory = true,
  showTradeOptions = false,
  supportsBarUpdates = true,
  supportsRealizedPL = true,
  supportsTotalPL = true,
  supportsUnrealizedPL = true
)
 
Top