Here is a simple strategy that alerts by plotting dots over the candle whenever a new N bar high-low is made. The below chart shows Nifty future EOD charts and the Yellow dots in this example represents new 20 day high’s are made and the orange dots represents new 20 day lows are made. It provides a better visualization in your charts to identify the new high-low and the ongoing sentiment in the market.
The AFL provided below provides external control to set you own N-Bar High and N Bar Low Parameters. To change the Parameters apply the indicator to a new black chart -> Right click over the chart -> Goto Properties and set the required values.