I used this code to get a print output
Print("Delta Close: " + OrderFlowCumulativeDelta(BarsArray[0], CumulativeDeltaType.BidAsk, CumulativeDeltaPeriod.Bar, 0).DeltaClose[0]);
The picture shows the latest print and that print is showing the delta of the GREEN bar, and not the latest updated red bar
Any idea how to fix this?
Thanks!

Comment