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) 🙁
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue