Comparing data point to EMA note

I have been using EMA comparison a lot lately. For example, if MyRSI > XAverage(MyRSI, MALength) then ... as a breakout indicator. However, there might be a small problem.

A better form might be to use "MyRSI > XAverage(MyRSI, MALength)[1]" Such that the current MyRSI isn't included in the XAverage calculation. This would yield more difference since the EMA isn't "pulled" closer by the current value to itself, as the latest data point has the most significance in an EMA calculation.