How can I calculate slope of a Moving Avarage (EMA)

 

hi all,

the simple formulation (pseudo code) below gives you a very good idea about slope of an EMA (substraction the last ema value  from the previous one), but because pip value af all currencies are different I need to equate the result for all pairs using a constant number 

could you help me to find that constant value?

Slope of EMA= EMA(1)-EMA(0);

 
  1. Your calculation will be negative on a rising EMA.
  2. Instead of slope, try percentage pct = 100 × { EMA(0) - EMA(1) } ÷ EMA(1)
 
William Roeder:
  1. Your calculation will be negative on a rising EMA.
  2. Instead of slope, try percentage pct = 100 × { EMA(0) - EMA(1) } ÷ EMA(1)

good approach thanks however it didn't work as intended. Still value effected by the price.