I am trying to use 15 mins data Moving Average in Hourly Backtesting.. I have used the below codes to access the 15 min Moving average , but on exploration the 15 min 150 SMA variable is same as the Hourly SMA Moving Average values. How do I solve this ?
TimeFrameSet( in15Minute );
CL15=C;
MA15=MA(CL15,150);
TimeFrameRestore(); //