RefreshRates, init() and start() - page 2

 
RaptorUK:
But they will change when a new tick arrives and start() is called, no ?
OP said there's a long time from the call to start() to the access of Time[]
int start() {
  long_running_function_that_access_timeseries_array();
  another_function_that_access_timeseries_array();
}
 
WHRoeder:
OP said there's a long time from the call to start() to the access of Time[]

Yeah, sorry zzuegg: and I got a little off the OP's original topic.
 
Drey:

Hi there i hope i am right here,

an indicator of me dosen't update it self on ticks. i have to manualy refresh it via context menu and i waned to ask someone to update the code in it. i read somewhere that it is posible with " RefreshRates();" but they didn't say how.

  1. You SHOULD have opened a new post rather than hijacking this one
  2. RefreshRates is irrelevant because indicators can NOT sleep or take time to complete.
  3. The indicator looks at higher timeframes, therefor it will not work properly in the tester.
 
WHRoeder:
  1. You SHOULD have opened a new post rather than hijacking this one
  2. RefreshRates is irrelevant because indicators can NOT sleep or take time to complete.
  3. The indicator looks at higher timeframes, therefor it will not work properly in the tester.

Thank you WHRoeder,

for pointing out this for me i look forward to do this right nextime.

have a nice weekend

Drey