Improve calculating time of own indicator

Forums ProRealTime English forum ProBuilder support Improve calculating time of own indicator

Viewing 3 posts - 1 through 3 (of 3 total)
  • #40044

    Hi,

    i have a own indicator. Its based on the Donchian Channel.

    In programming a own indicator i cant choose the Donchian Channel indicator. Therefore i create my own DC indicator:

    Here is my own indicator, but the calculating time is very bad…i wrote a java program to calculate my indicator its much more faster. Therefore i think i make a mistake in prorealtime?

    Has anyone a idea to improve the calculating time?

    Thanks!

     

    #40093

    Hi,

    We are all expecting fairly soon a new engine allowing “call” to be much faster than its current snail pace. In the meantime whenever possible avoiding “call”, by copying and pasting the called code in the calling code, will go a long way to improve speed (worth having a look at pages 23-24-25, especially p25, of following manual with some examples)  https://www.prorealtime.com/en/pdf/probacktest_c1491462069c.pdf

    1 user thanked author for this post.
    #40121

    You can also increase speed of your program replacing this kind of FOR/NEXT loop by using SUMMATION of boolean variables results.

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

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