Hi there dear friend Apprentice.
Please can you code a version of your Weis Wave RM4 but using the formula of the indicator attached here for the calculation of volume? Use the code of TicksSeparateVolumeDif to calculate the volume, it already gives you the positive and negative values for each bar, you just need to sum the values to get the net value of the leg. So we will have delta as numerical value on the pivots of the waves.
You can remove from the code of the weis wave the command to plot a subwindow with waves, we only wanna see the zigzag of the weis wave on top of price, like in the picture attached here.
Thanks!