Does more line of code = more cpu usage?

Forums ProRealTime English forum ProRealTime platform support Does more line of code = more cpu usage?

Viewing 5 posts - 1 through 5 (of 5 total)
  • #76429

    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

    #76430

    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!

    1 user thanked author for this post.
    #76475

    OK thanks!

    I actually noticed the indicator is 360 lines of code so… 🙂

     

    // Viktor

    #76515

    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

     

    1 user thanked author for this post.
    #84931

    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

    Thank you!

Viewing 5 posts - 1 through 5 (of 5 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login