|Replying to message 32106
It's been a while since I've written any OmniLanguage code but perhaps you don't need to. It's sounds like what you're looking for in an indicator known as On Balance Volume (OBV). If you're just looking to plot that in a chart, then I believe that's available in OmniTrader without any special plugin. If you're still looking to use OBV in an OmniLanguage script, then I believe there's an OBV() function that you can use. You might want to check out the other volume based indicators in OmniTrader - see https://www.omnitrader.com/PDFs/indicators.pdf
Hope this helps.