Multi time frame signal

 

If I have an expert advisor that runs Moving averages like this, will it produce a signal running only on the hour chart? I am trying to close orders based on the 15 minute chart but am unclear if i need to run on only one or both to get the signals I need? The strategy tester doesn't seem to recognize multi time frame signals.

Thanks in advance!

highMACurrent = iMA(NULL,0,highMAPeriod,highMAShift,highMAType,highMAPrice,1);
lowMACurrent = iMA(NULL,0,lowMAPeriod,lowMAShift,lowMAType,lowMAPrice,1);
slowMACurrent = iMA(NULL,0,slowMAPeriod,slowMAShift,slowMAType,slowMAPrice,1);
closeHighMACurrent = iMA(NULL,PERIOD_M15,closeHighMAPeriod,closeHighMAShift,closeHighMAType,closeHighMAPrice,1);
closeLowMACurrent = iMA (NULL,PERIOD_M15,closeLowMAPeriod,closeLowMAShift,closeLowMAType,closeLowMAPrice,1);
closeSlowMACurrent = iMA (NULL,PERIOD_M15,closeSlowMAPeriod,closeSlowMAShift,closeSlowMAType,closeSlowMAPrice,1);
//oscillatorCurrent = iRSI(NULL,0,oscillatorPeriod,oscillatorPrice,1);
}
else
{
highMACurrent = iMA(NULL,0,highMAPeriod,highMAShift,highMAType,highMAPrice,0);
lowMACurrent = iMA(NULL,0,lowMAPeriod,lowMAShift,lowMAType,lowMAPrice,0);
slowMACurrent = iMA(NULL,0,slowMAPeriod,slowMAShift,slowMAType,slowMAPrice,0);
closeHighMACurrent = iMA(NULL,PERIOD_M15,closeHighMAPeriod,closeHighMAShift,closeHighMAType,closeHighMAPrice,0);
closeLowMACurrent = iMA (NULL,PERIOD_M15,closeLowMAPeriod,closeLowMAShift,closeLowMAType,closeLowMAPrice,0);
closeSlowMACurrent = iMA (NULL,PERIOD_M15,closeSlowMAPeriod,closeSlowMAShift,closeSlowMAType,closeSlowMAPrice,0);
//oscillatorCurrent = iRSI(NULL,0,oscillatorPeriod,oscillatorPrice,0);

Reason: