SMA vs EMA: Simple vs Exponential Moving Average Explained

SMA vs EMA formulas, when to use each, and a Python example on DeepTick closes.