I am developing a strategy which uses an additional data series. I want to be able to compare the position of the stock of the additional data series in relation to its order flow VWAP value.
I have created a private double variable to store the value of the additional series order flow VWAP
private double additionalSeriesVwapVal;
AddDataSeries("ES 03-24", Data.BarsPeriodType.Minute, 5);
if (BarsInProgress == 1) { additionalSeriesVwapVal = OrderFlowVWAP(VWAPResolution.Standard, TradingHours.String2TradingHours("US Equities RTH"), VWAPStandardDeviations.None, 1, 2, 3).VWAP[0]; }
Is it not possible to use the order flow VWAP against an additional data series within a strategy? If it is possible, can you please provide me with some guidance.
Thanks,
Neil
Comment