The oscillator displays the "money flow pressure" chart.

It has one input parameter:

  • Period - calculation period

Calculation:

Smart Money Pressure = Close[Period] - SM

where:

SM = SM[i+1] + Change

where:

If Volume > VolMA
Change = Close[i] - Close[i+1]
Otherwise
Change = 0
Volume = current volume
VolMA = SMA(Volume, Period)