Help for Ami Afl

#1
I need an afl for exploraation showing results in below format.
Let positive closing - green candle & negative closing - red candle of any interval.

Then result will be in
First column - Ticker
Second column - low of green candle & open of green candle & close of red candle (up to down)
Third column - high of green candle & open of red candle & close of green candle (up to down)

Any seniors plz help...:thumb:
 
#2
How to explore any script in different time frame (5min. 15 min. hrly or daily intervals) in analysis window? when i explore a script in 5 min. interval, it shows results in only daily interval... plz help me...:confused: