My Query: I am developing a (somewhat complex) indicator designed to plot in a 1Minute timeframe. I now wish to add some logic to compare the current price to both the 50 & 200day SMAs. However, I don't wish to have to process 200 days worth of 1 minute bars just to get the 200 day SMA. My current understanding is restricted to knowing how to (simply) Add() the .Day series for the instrument.
How would I best achieve my requirement? A few lines of sample code please.
Many thanks. G
Comment