I would like to know what MATH calculations are used for an EMA. I use an EMA(Close, 3)[0] as a trigger when this trigger crosses another line. The indicator I would like to write would answer the question “if this bar closed now, what would my EMA value be on the open of the new bar.”
I would like to do the math within the indicator the old-fashioned way and substitute last trade for Close.
Thanks for your help,
Julie
Comment