OPEN-SOURCE SCRIPT
已更新

Swing Highs/Lows & Candle Patterns [LuxAlgo]

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.
版本注释
Copyright update & default "length" input value set to 20.
版本注释
Minor Changes.
版本注释
Update to script title.
版本注释
Changed styling, switched to version 5, and minor changes.
版本注释
Minor changes

免责声明