New 3-period Hi/Lo indicator

 

Hi all,

I was hoping a coder out there might be able to help with this.

I think it should be pretty easy, but I am unable to code myself.

What I would like to see on the chart, regardless of time frame, a green up arrow whenever a new 3-period high is achieved and a red down arrow whenever a new 3-period low is achieved.

The underlying indicator is a 3 period price channel, I am just unable to code adequately in MT4 to create just the arrow indicators on the chart.

Any help would be greatly appreciated.

Thanks,

MJ

Reason: