Comment on page
This indicator shows us the current buy or sell pressure based on the volume. For this, trades are classified as "buy" or "sell", whereby for the classification, a "buy" is assumed any time the transaction is executed at or above the ask. A transaction at or below the bid is considered a "sell".
Caution: This is a real-time indicator and will not work with historical data.
BuySellVolume BuySellVolume(IDataSeries inSeries)
When using this method with an index (e.g. BuySellVolume().BuyVolume[int barsAgo] ), the value of the indicator will be outputted for the referenced bar.
inSeries Input data series for the indicator
//Output for the BuySellVolume
Print("The BuySellVolume is: " + BuySellVolume());