Replies: 3 comments 10 replies
-
I’m not sure I follow, are you referring to having a reset only on indicators like ADL, OBV, etc? I can see how those accumulating types would get unwieldy in extraordinarily long-running quotes histories; or in the case of VWAP where you may want it to reset every day or at the beginning of some calendar window or after a certain number of periods. Though, in the case of VWAP, I'd probably just utilize the quotes I wanted rather than trying to parse from a larger result set. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
these are three cumulative VWAP indicators - one is resetting every 2 minutes, one every 10 minutes and one every 30 minutes. Now I want to see if I also create cumulative SMA/EMA of OHLC4, how will these two lines (VWAP and EMA) interact... |
Beta Was this translation helpful? Give feedback.
-
I started to look deeper into indicators that require a reset/recalc method every day/hour/minute and don't require
Period
assignment as they are cumulative (until reset) . VWAP is most commonly used like this, but all other indicators (SMA, EMA, ATR...) are useful in strategies that use cumulative growth and periodic resets. Mind that the VWAP on the chart below is a SINGLE indicator that spans across the full duration of the chart:Implementing this on all/most indicators would require several changes:
Period
but is a Cumulative indicator; my suggestion is to use Period=0This would also solve the unfinished discussion of intra-period values; if indicator can be used as a cumulative one, EVERYTHING it calculates is intra-period as period is set to infinity... :-)
Beta Was this translation helpful? Give feedback.
All reactions