OPEN-SOURCE SCRIPT
Updated

LZ Indicator

1 205
This indicator will trigger based on these conditions:

If the average price today is less than 50% of the past 4 days, the indicator will be triggered as 1 (true). Else, the indicator will trigger as 0 (false).
Release Notes
Update by adding indicator for past 30 candles
Release Notes
Update to include:

1. the inputs
2. line of maximum [open:close] of past X days
Release Notes
Update with the current studied chart.
Release Notes
Update with the second equation of LZ indicator

lz = ((close[0] and close[1] and close[2]) > open[3]) ? 2 : 1

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.