Hi all!
Does more line of code result in larger cpu usage?
I understand that it of course has some impact, but lately my CPU (and especially fan rpm) is through the roof and i dont even use alot of indicators. My “biggest” one is a self made that contains maybe 150 lines of code and im wondering if this could be the case?
Thanks
150 lines of code for a custom indicator is lot of work!
There are times when loading a 10-line indicator requires limiting the number of bars on which it must be calculated!
OK thanks!
I actually noticed the indicator is 360 lines of code so… 🙂
// Viktor
Hello Lebrinque,
ProBuilder indicators (personal indicators) may consume significant resources, particularly if the code is complex. We recommend that you limit the number of personal indicators displayed and optimize their code to make the calculations faster (consult the programming manuals to learn more about this).
Best regards,
Maria