Hi Grahal thanks for you response,
What I mean is I want to code the entry on a low timeframe such as 5 or 10 minutes, using a 15-period moving average for that timeframe. But I only want to enter the trade depending on whether the price closes above the 21-period moving average that is used on the 4 hour chart (so 21 – 4 hour periods), if that makes sense…
If I was in the 5 minute timeframe and used MA[48], wouldn’t it just calculate the MA of the last 48 bars?
Thanks