Using Fidelity data I see many cases where there are spikes as noted in the attached screenshot. Sometimes the spikes can go down to 0 or jump to twice the real price.
Is there a way/method/extension to automatically remove the spikes without removing the bar itself (something like smoothing it so it does not skew analysis?
Size:
Color:
You might find post #4 in thread below of interest, in particular:
Fidelity Bad DataThere's code that preprocesses your data by smoothing out the spike bars with the Median series over a lookback.
Size:
Color:
Thanks!
Size:
Color:
At your service.
Size:
Color: