I have code for a bbo style system that generates signals from end of day closing price. I have this 75 day MA index filter (not my own, I copied it from another thread) however I find that the daily MA is too active, and would prefer the index filter to only use the weekly closing price of the index for its moving average.
Is this possible, and does anyone have an example they would be happy to share?
IndexClose = Foreign(“XAO”, “C”);
IndexMA = MA(IndexClose, 75);
GoLong = IndexClose > IndexMA;