1. How do I set up a 200 day simple moving average for use with minute bars? If I put in 200 as the period and then backtest using minute bars, it will calculate the SMA for 200 minuate and not 200 days, correct? The answer cannot be to use 78,000 as the period (6.5 hours per day x 60 minutes per hour x 200 days). There has to be a way to calculate a MA (and other indicators) based on daily data when using minute bar, right?
2. This is a related question, but how do I compare the close from two days ago to the close yesterday when I am backtesting using minute bars?
Thanks again.
Comment