Chart Refresh with Real Time Data

I have a application where I read the symbols froma a watchlist by using CategoryGetSymbols( ) and doing the analysis.

The program produces a screen that shows me the results of the analysis as a listing of selected symbols and some information about each sysmbol. A separate pane shows the chart of the selected symbol when I click on the symbol.

The program seems to work OK.

Only problem (that I know of) is that the probram runs contineously.

I would like to slow it down and refresh every 2 or 3 seconds.

I have read the relevant posts on this subject but they wanted to run faster than 1 second that RequestTimedRefresh( )

I am not using thr real time window as I see no particular reason for my application. A picture of my screen attached

So, how do I slow down the execution of the code

You should use correct tools for given task, if you want to produce table you should be using exploration not a chart. Exploration can auto run at user specified intervals.

1 Like

@ara1, in case you want to continue using your current code instead of the more practical solution suggested by @tomasz, since you are using a RT plugin - that I suppose is triggering very frequent refreshes by its own - you can probably still achieve your goal implementing your "rescan data" code using a logic similar to the one found in the sample function SayNotTooOften() on the Say() page documentation

1 Like