I am trying to get data from SMA on High and Low on 1m timeframe but consolidated for 15m timeframe.

As it obvious on the chart, SMA05 Hi/Lo used data from 1m timeframe, but not 15m. What am I doing wrong?