I need some help about Order Flow Trade Detector Indicator. This indicator plots balls on the chart. When I mouse over an OFTD ball, I can see the 4 metrics "S" (Sell Volume), "B" (Buy Volume), "V" (total volume) and "P" (price) as shown in the attached screen shot.
I'm developing a custom indicator using NinjaScript in NinjaTrader 8. I need to access these values, "S" (Sell Volume), "B" (Buy Volume), "V" (total volume) and "P" (price) in my NinjaScript C# code. I have experienced reading indicator values from the plotted lines on a chart (i.e. I can read values of an SMA plotted line or Stochastic lines from the chart in
NinjaScript). However, I'm not sure whether the Order Flow Trade Detector values can be read from the chart like this or not because it is not plotted as lines.
Please guide me how can I do this. I would be really thankful if it is possible to share some syntax or example/similar code that has relevancy to my need.
Best Regards,
Mubeen Haider
Comment