help me. AFL code to make "Blending Candlestick"

#1
Hi,,,
i am looking for AFL code to make "Blending Candlestick". conbine three candlestick-->one candlestick
The open of first candlestick
The close of the last candlestick
The high and low of the pattern
can anyone share to me.thank all.
 
#5
Change time setting to 1 minute interval,it works only if you have one minute data.
Or AFL need to be modified by an expert.
__________________
My data by date, you can guide change time.thank you