I have
CalculateOnBarClose = false;
LTFvolume.Set(SUM(Volumes[1],5)[0])
if (Times[1][0] == Times[0][0]) LTFvolume.Set(SUM(Volumes[1],5)[0])
Maybe there's a simpler or better approach logically than using SUM. I would eventually like to apply this to display the volume from one instrument on a different instrument's chart and not necessarily using time frames that are easily divisible as in my example.
Comment