Does anyone know which script will present the Volumes Summuation of the inner bars for the cuurent Bar but with calculating condition?
For excample, I want to present a Bar in chart 5 Min (customized in the properties by the user) that built from volumes samuuation of the five bars 1 Min, with the next condition:
If the volume is possitive (Close > Open, 1 Min) add the volume to the Bar 5 Min
And if the volume is negative (Close < Open, 1 Min) subtract the volume from the Bar 5 Min
(Else sign volume [0] = sign volume [1])
i.e, there are five Volume Bars in chart 1 Min with the values: 30, -35, 5, 15, 10 ,so I expect to see a Bar in chart 5 Min on 25.
I have tried a lot of variations, like "Multi-Time Frame & Instruments", "Bars Type", and even looking at "VolumeBarsType" script, but unsuccessfully.
I will be grateful to you for your support.
Marom
Comment