OnBar event not called every time

Created at 28 Aug 2019, 15:24
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
WI

wilson347

Joined 31.07.2019

OnBar event not called every time
28 Aug 2019, 15:24


Ignore this - I have just noticed this is an ongoing issue!!!

 

Hello

I have built the simplest basic cBot in the Automate section on cTrader. The only code I have in it other that the boiler-plate stuff is as follows:

  protected override void OnBar()
  {
            Print("onbar");
  }

I have added an instance of GBPUSD, set it to the m1 timeframe and clicked RUN.

My question is - why do I not see a Log output every minute? Why do I only see sporadic Log outputs from my 'Print' command?

It is not just the 1 minute timeframe - it seems others behave the same way. The 1 minute output is a s follows:

28/08/2019 13:19:00.208 | onbar
28/08/2019 13:18:00.395 | onbar
28/08/2019 13:09:00.208 | onbar
28/08/2019 13:07:35.833 | cBot "TestOnBar" was started successfully for GBPUSD, m1.

 

Thanks in advance

Dave

 


@wilson347
Replies

PanagiotisCharalampous
28 Aug 2019, 15:28

Hi Dave,

It is a known issue, it will be fixed soon.

Best Regards,

Panagiotis


@PanagiotisCharalampous

wilson347
28 Aug 2019, 15:30

RE:

Panagiotis Charalampous said:

Hi Dave,

It is a known issue, it will be fixed soon.

Best Regards,

Panagiotis

 

Thank you, I have just seen the other post, apologies.

 


@wilson347