Request for an MA SLOPE Indicator

 

I should be grateful if someone could program an indicator that calculates the price change per time (not per candle) of a moving average.

Preferably each new dot on the indicator's line would represent the value:

(last price value of the MA - previous price value of the MA)/hour.

I wish the indicator to work on all time frames and it would be super if one could choose the MA type and periods.

Thanks,

Yon.