OPEN-SOURCE SCRIPT

Local Limit Alignment

Combines the trends of multiple local limits to provide a signal that represents how strongly they are aligned.

Each local limit has a value of either +1 or -1. The sum of all depths provides a signal.

The defaults are a minimum depth of 2 and a maximum of 4 resulting in upper and lower values between -3 and +3, and a total between -6 and +6.
LLLllulocalmaximumlocalminimumsignalTrend Analysis

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer