how to update Functions library

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #257653 quote
    PROPRO
    Participant
    New

    With exactly the same code, I got 2 different results between Probuilder and Probacktest. After hours trying to understand what could be the issue, I finally reloaded the AVERAGE function that was used as input of the code .. and it solved the issue.


    I relaoded the AVERAGE function both into Probuilder and Probacktest code so I’m not sure if the issue came from Probuilder or from Probacktest but I think it came from Probacktest.


    How can we force Probacktest (and Probuilder) to get the last update of the functions from PRT library ? … other than manually erase and relaod each PRT function ..


    NB : by the way, it is strange that AVERAGE function change over time as it is an old and well established function. It makes me think that I should code by myself the function .. but means there is no interest for PRT to pubish function and also the code execution will be degraded.

    #257654 quote
    Nicolas
    Keymaster
    Master

    I’m sorry, i’m not sure to understand how and what you have “reloaded”?

    If you found differences in the values for a specific variables, you can try to reduce or expand the preloadbars in your ProBacktest code with:

    // disable preload of data 
    defparam preloadbars = 0
    // OR enable maximum of data 
    defparam preloadbars = 10000
    
    


    #257655 quote
    PROPRO
    Participant
    New

    Tks Nicolas. I mean, I had to erase AVERAGE from my code and select again AVERAGE from the PRT function library. So it means that Probacktest (or Probuilder) was still running the AVERAGE function code that I added to my code months ago but not the last AVERAGE available code from PRT library. I’m sure of that because I spent hours and hours trying to understand what was wrong.



Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

how to update Functions library


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
PROPRO @propro Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by PROPRO
23 minutes ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 02/08/2026
Status: Active
Attachments: No files
Logo Logo
Loading...