{ Downloaded From https://www.WiseStockTrader.com }
X:=Input("Time Periods",1,500,25);
Sum(V*C, X) / (Cum(V) - Ref( Cum(V), -X))