title: MQL4 multi-timeframe indicator
body: <p>I would like to write out an indicator that can take in input the <code>int shift</code> of an assigned timeframe, and turns out a value related to another timeframe.</p>
  
  <p>As an example, I would like to write an MACD indicator over a 100 periods of M15, that can return out its value 1,2,3,4,5,6,7... minutes before the current candle.</p>
  
  <p>Since in the current candle this indicator "changes" its value, tick by tick, I think that should be possible to write out such an indicator, but I can not figure out how to do it.</p>