View Single Post
Old 02-20-2017, 08:02 PM   #250
ericson
Member
 
Join Date: Nov 2013
Posts: 69
Thanks: 0
Thanked 2 times in 2 posts
Default

Hi, wanted to get back to you. Indicator seems to be error free now!

Is it normal to have 5% cpu load with indy, one chart, with COBC?

I remove it, cpu is about 1%

UPDATE: Seems zorder putbehind option when true causes excessive cpu load.

Also, i highly suggest declaring variables in the beginning of the script, those that can be, to improve performance. That way the variables are allocated a permanent memory space, rather than creating new ones each processing event.
Last edited by ericson; 02-21-2017 at 02:38 PM.
ericson is offline  
Reply With Quote