In the brownian path forcasting example I highlighted the danger of using a moving average vector as an input to a neural network.  The values are abviously time lagged, and patterns appear in delay.  The neural network inevitaby learns this lag and lag is a bad thing!  I wish to develop a filter that has almost zero lag, whilst providing the same smoothing capabilities of a SMA or an EMA regardless of the filter length chosen.  In the next couple of posts I shall describe this using Z-transforms.