Hi,
    a) Other than using RollingWindow and storing the TradeBar in a RollingWindow, is their any other way of accessing previous TradeBar values?
    b) Is the function OnData( TradeBars datas ), called only at bar close or at every tick? If at every tick, how do we detect that the bar has closed.

Regards

Vivek

Author