Latest candle high is greater than last 5 candle high

Hello My Friends ,

Please guide me how do I code this .I am a learner now .

I am looking to filter the high of the current candle is greater that the last 5 candle high .at any point of time and any time frame .

Please suggest ...

Thanks
Maheswari

http://www.amibroker.com/guide/afl/highest.html

@Maasarala,

Should verify licence before asking for help.

@Maasarala, Welcome to the forum.

Here are a couple of "Must Reads":


This step is Essential: License Verified badge

As a new member, you can learn lots by Searching and Reading.

For best results... Show what you have done by posting your code (use Code Blocks (</>), and explain what is not working as you expect.

Their will be a learning curve to getting started with AFL, but it is worth it.