OPEN-SOURCE SCRIPT

Swing Highs/Lows & Candle Patterns [LuxAlgo]

Atualizado
This script labels swing highs and swing lows as well as the candle pattern that occurred at that precise point. The script can detect the following 6 candle patterns: hammer, inverse hammer, bullish engulfing, hanging man, shooting star, and bearish engulfing.

This indicator by its very nature backpaints by default, meaning that the displayed components are offset in the past.

🔶 USAGE

It can be interesting to see if a top or bottom is associated with a specific candle pattern, this allows us to study the potential of such a pattern to indicate a reversal. You can hover on a label with a specific pattern to see more details about it.

The notations HH, HL, LH, and LL you can see on the labels are defined as follows:

  • HH : Higher high
  • HL : Higher low
  • LH : Lower high
  • LL : Lower low


🔶 SETTING

Length: Sensitivity of the swing high/low detection, with lower values returning the maximum/minimum of shorter-term price variations.
Notas de Lançamento
Copyright update & default "length" input value set to 20.
Notas de Lançamento
Minor Changes.
Notas de Lançamento
Update to script title.
Notas de Lançamento
Changed styling, switched to version 5, and minor changes.
Notas de Lançamento
Minor changes
Candlestick AnalysisCandlestick analysiscandlestickpatternhigherhighhigherlowLUXluxalgoswinghighswinglow

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?


Get access to our exclusive tools: luxalgo.com

Join our 150k+ community: discord.gg/lux

All content provided by LuxAlgo is for informational & educational purposes only. Past performance does not guarantee future results.
Também em:

Aviso legal