Replies

kotas24
01 Apr 2021, 13:39

RE: RE: RE:

amusleh said:

kotas24 said:

amusleh said:

Hi,

There is no such a feature right now, if you want not receive OnTick/Bar events then you can just set a Boolean flag based on your pause condition and ignore the events. 

Thanks for the answer, but I don't want to lose these events, I want to wait for user action (e.g. mouse click on the chart) and then process onTick/Bar events

You don't have to, just use a boolean flag to disable/enable the events whenever you need.

Sorry I probably missing the point, how can I disable/enable the events?


@kotas24

kotas24
01 Apr 2021, 12:26

RE:

amusleh said:

Hi,

There is no such a feature right now, if you want not receive OnTick/Bar events then you can just set a Boolean flag based on your pause condition and ignore the events. 

Thanks for the answer, but I don't want to lose these events, I want to wait for user action (e.g. mouse click on the chart) and then process onTick/Bar events


@kotas24