Need a simple Amibroker indicator which will plot a series of steps on a price chart. It will test all the price bars. A peak horizontal line will be drawn from the highest high for each 4 consecutive price bar. The result will be a step ladder going upwards for an up trending series of price bars. Similarly a trough horizontal line will be drawn from the lowest low of each 4 consecutive price bar. This indicator must also work in exploration and scanning of the symbols.
I have attached an identical working indicator already working in another charting program.
I am not a programmer but was able to figure out how to create a working indicator in Metastock. As I do not have the time now I hope some AFL programmer can do a quick job on Amibroker this time. As I am not familiar with the rates, feel free to let me know what I will probably need to pay.