for my indicator I need to use the onMarketData event. Usually I load the indicator (it's a volume profile) on the chart and then I leave it in the background. It happens that if I do not look at the chart for long time (say 20-30 minutes) then I see some "holes" in the volume profile. Note that the internet connection is not a problem because my pc is always connected and in addition while the price chart with the indicator is in the background I do use other softwares so the pc does not go in sleep mode.
As a possible solution I have tried to set IsSuspendedWhileInactive = false in (State == State.SetDefaults) but without success. I was wondering if it is because such setting does not apply to onMarketData? What kind of solution do you suggest?
Thank you!
Cheers
Comment