Hello everyone,
I’m building an indicator but I need it to be cumulative, like the OBV indicator (OBV of the previous period + the calculation).
So I basically have the main calculation for the current candle, but I need to sum the value that I had for the previous candle which also had to be summed to the previous value and so on… But I don’t know how to make the indicator cumulative, could anyone help?
Also: I need that the value of the first candle that is available to ProRealTime is 0, and then the indicator should start to sum and so make the indicator cumulative.
I hope I explained my self, but thank you in advance for you help!