Effort #1
I initially tried using:
MOBidVolume = GetCurrentBidVolume(1)
The code compiles but when I use the indicator, inside a chart, I get a “run time” error because the method apparently wants the value passed to them to be 0. The “run time” error says, ”Error on calling’OnBarUpdate’ method on bar 1: ‘GetCurrentBidVolume’: ‘barsSeriesIndex’must be between 0 and 0 but was 1
Effort #2
Use the code contained in the “BuySellVolume” indicator. The problem here is “Sells” and “Buys” variables appear to be declared as a Custom.Resource so I get a compile error.
Do you have an easier approach?
Comment