@jstap
Many thanks! This seems to do what I need.
When I want to compare the close of the latest candle[1] to the highest or lowest close of the previous candles (starting from candle[2], is the following calculation correct?
int copied = CopyClose(_Symbol, _Period, 2, Count, closes);
