Let's say I run an SMA 20 in a 15Minute chart. It fixes this SMA at the full hour, :15, :30, :45. So far so good.
Is there a way to tweak the code to run this SMA 20 in a 15Minute chart but calculate it for example by 2Minutes off? Meaning for example at the full hour plus 2Minutes, :17, :32, :47. In other words have the 15minute cycle begin at a different time.
(Using a 17Minute data series would obviously not produce the same result.)
sandman
Comment