OPEN-SOURCE SCRIPT

Swing Highs/Lows & Candle Patterns [LuxAlgo]

Mis à jour
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.
Notes de version
Copyright update & default "length" input value set to 20.
Notes de version
Minor Changes.
Notes de version
Update to script title.
Notes de version
Changed styling, switched to version 5, and minor changes.
Notes de version
Minor changes
Candlestick AnalysisCandlestick analysiscandlestickpatternhigherhighhigherlowLUXluxalgoswinghighswinglow

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?


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.
Aussi sur:

Clause de non-responsabilité