I am trying work out a formula based on the information below that will help me to answer the question... "What PRICE is required today that will make the difference between two exponential moving averages the same value as yesterday?" I can work out the formula 'forwards' as I've shown below with my calculations, but I am trying to create a formula where TODAYS PRICE is the unknown variable. Any help would be most appreciated, Thank you.
YP = Yesterday price (=4.29)
YEMA1 = yesterdays 3 day exponential moving average (=4.28)
YEMA2 = yesterdays 5 day exponential moving average (=4.20)
YDiff = YEMA1/YEMA2 (=1.01905)
TP = Todays price (=4.29)
TEMA1 = Today's 3 day exponential moving average =2/4*(TP-YEMA1)+YEMA1 (=4.285)
TEMA2 = Today's 5 day exponential moving average =2/6*(TP-YEMA2)+YEMA2 (=4.23)
TDiff = TEMA1/TEMA2 (=1.013002)
So, just to clarify, I am trying to find out what 'TP' should be that will make 'Tdiff' equal 'Ydiff'.