Randolph
Posts: 4 since Jul 2018
Thanks Given: 8
Thanks Received: 0
|
Trying to make an EMA which works for intraday charts with gappers. Problem: it uses previous close price and continues to add a new price after gap - which is messing the average calculations.
What I want to do is have EMA which resets at day open ( e.g 9/30). But I am stuck because there seems to be no way of making it take different values when days starts - it always takes previous day (or ext hours which is also bad).
Is there a formula to calculate EMA without using built-in expaverage?
|