QuantNomad

Hindenburg Omen [QuantNomad]

QuantNomad Atualizado   
New record highs is good time to look at a market crash indicators )

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
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:
www.investopedia.com...h/hindenburgomen.asp

Based on indicator created by @Boombotcom:
Notas de Lançamento:
I fixed data sources for indicator. Thanks to Marcus for providing me info on new sources.

My First Live Course: qntly.com/101
Pine Programming v5: qntly.com/pineprog
Adv.Pine Use-Cases: qntly.com/advpine

Hire Me: qntly.com/hirepine
Telegram: qntly.com/tel
Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?