I am trying to add OrderFlowVWAP on my strategy but I am getting error "CS1955 - Non-Invocable Member "OrderFlowVWAP" cannot be use like a method. Kindly help to fix this. Thanks
if(BarsInProgress == 0 )
{
double VWAPValue = OrderFlowVWAP(VWAPResolution.Standard, TradingHours.String2TradingHours("CME US Index Futures RTH"), VWAPStandardDeviations.Three, 1, 2, 3).VWAP[0];
}
else if(BarsInProgress == 6 )
{
OrderFlowVWAP(BarsArray[0], VWAPResolution.Tick, BarsArray[0].TradingHours, VWAPStandardDeviations.Three, 1, 2, 3).Update(OrderFlowVWAP(BarsArray[0], VWAPResolution.Tick, BarsArray[0].TradingHours, VWAPStandardDeviations.Three, 1, 2, 3).BarsArray[1].Count - 1, 1);
}
Comment