Unable to figure out what caps Highest[255] function. TinyInt?

Forums ProRealTime English forum ProScreener support Unable to figure out what caps Highest[255] function. TinyInt?

Viewing 4 posts - 1 through 4 (of 4 total)
  • #29305

    Hello!
    First of all i’d like to say i have little to none, experience in stock, nor PRT.
    The problem i’m facing is with the Highest[DaysToLookBackUpon]. Once i try to use it with over 255, one byte in size i am unable to get results, nor do i get an error.
    Why is that, is there some unwritten rules, crappy tinyInt hiding, or am i using it wrong?

    Any input would be appricated.
    The idea was to search for peaks last days, compared to a larger amount of backdays. That would sort out some items, which with fundamental information might be a good short etc.

     

    #29317

    The reason is that ProSceener has a limit of 254 bars lookback from the current candlestick. Try to reduce your ‘DaysToLookBackUpon’ variable to 254..253 or 252 to see what happen.

    #29322

    I see, then i know the reason, Thanks!
    On another matter, how do i make a lasting variable, over several days, Ie lets say i want to return the 10 highest Points, over 254 days. Along with Close, and barindex, or way to figure out which day.
    Each loop i’d like to evaluate and stick into list, array if it matches conditions, etc. But i am unable to make such allocations, they always reset.

    // David

    #29333

    I’m sorry but we can’t build arrays.. So you’ll need to define as many variables as information you’d like to store for future purpose.

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

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