Cumulative Sum for all history

Forums ProRealTime English forum ProBuilder support Cumulative Sum for all history

Viewing 2 posts - 1 through 2 (of 2 total)
  • #8451
    xel

    Is there a way for “cumsum” to lookback for complete Data history..?

    I don’t know if a simple summation[barindex](array) could do the trick, I don’t think so…  but…   This is for a kind of Accumulation/Distribution index for returns, but cumsum function only use data loaded on chart as described in reference manual.   I need to force as much history by code if possible  (I’ll wish that to force this on daily timeframe, but I know this is only possible for proscreener code)  🙁

    EXAMPLE:

    Thanks in Advance mates..!  😉

     

    #8480

    There is no kinda instruction to force history load in Probuilder.

    But you could make a loop in x previous bars to force by yourself the cumulation of theses x bars.

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

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