Herewith a simple oscillator that show the difference in price between a Moving Average of the price, and the current VWAP
This show as a histogram
On top of that is a Moving Average of the histogram value, shown as a blue / red line with an option to hight these crossing and also crossing zero
Simple idea ; code open.