hello
I am using 5 minute chart and want to plot the adx blue if the adx 
  
in 15 minute timeframe is increasing. so i put this piece of code 
  
together. i am not convinced that it works. what i see is that it 
  
shows blue of the 5 minute adx is increasing. am i useing ithe 
  
multitimeframe 
  incorrectly?
_SECTION_BEGIN("ADX");
ADXIncreasingIn15MinuteCompressed=colorBlue;
if 
  (Interval()==60*5){
ADX15MinuteCompressed = TimeFrameCompress( 
  ADX(), 
in15Minute ); 
  
ADXIncreasingIn15MinuteCompressed=IIf((ADX()>Ref(ADX(),-
1)) 
  ,colorBlue,colorYellow);
ADXIncreasingin15MinuteExpanded=TimeFrameCompress( 
  
ADXIncreasingIn15MinuteCompressed, in15Minute ); 
}
range = 
  Param("Periods", 14, 2, 200, 1 );
Plot( ADX(range), 
  _DEFAULT_NAME(), ADXIncreasingIn15MinuteCompressed, 
  
ParamStyle("ADX style", styleThick ) );
Plot( PDI(range), "+DI", 
  ParamColor( "+DI color", colorGreen ), 
ParamStyle("+DI style") 
  );
Plot( MDI(range), "-DI", ParamColor( "-DI color", colorRed ), 
  
ParamStyle("-DI style") 
  );
_SECTION_END();
seede