Hindenburg Omen [QuantNomad]

This is a Hindenburg Omen indicator.
The Hindenburg Omen looks for a statistical deviation from the premise that under normal conditions, securities are either making new 52-week highs or 52-week lows. The abnormality would be if both were occurring at the same time. According to the Hindenburg Omen, an occurrence such as this is considered to be a harbinger of impending danger for a stock market. The signal typically occurs during an uptrend, where new highs are expected and new lows are rare, suggesting that the market is becoming nervous and indecisive, traits that often lead to a bear market.
For it to be on 4 conditions should be satisfied:
1. Number of new 52-week highs and 52-week lows in a stock market are greater than a threshold (2.2% for example).
2. Positive recent trend. Index > index[50]
3. The McClellan Oscillator (MCO) is negative.
4. 52-week highs cannot be more than two times the 52-week lows.
You can read more about the indicator on Investopedia:
investopedia.com/terms/h/hindenburgomen.asp
Based on indicator created by Boombotcom:

Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Per un accesso rapido a un grafico, aggiungi questo script ai tuoi preferiti: per saperne di più clicca qui.
💼 Hire Us: qntly.com/pine
📞 Book a call: qntly.com/cons
📰 qntly.com/news
𝕏: qntly.com/x
📩 qntly.com/tel
Declinazione di responsabilità
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Per un accesso rapido a un grafico, aggiungi questo script ai tuoi preferiti: per saperne di più clicca qui.
💼 Hire Us: qntly.com/pine
📞 Book a call: qntly.com/cons
📰 qntly.com/news
𝕏: qntly.com/x
📩 qntly.com/tel