OPEN-SOURCE SCRIPT

YTC - Swing Highs & Lows

Mis à jour
This Indicator Plots Swing Highs & Swing Lows based on Lance Beggs of (Your Trading Coach) definition:

A Swing High (SH) is a price bar high preceed by two lower highs (LH) and followed by two lower highs (LH)

In the event of multiple candles forming equal highs, this will still be defined as a swing high, provided that there are two candles with lower highs both preceding and following the multiple candle formation.
Notes de version
Added the verification of all the possible casuistry:
If there are two, three or four bars followed with the same highs or lows and surrounded with tiny bars
Or two or three bars with equal highs or lows alternating with tiny bars.

New parameter to activate repaint (NOT repaints by default)

Pivot PointspriceactionSupport and Resistance

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 ?


Aussi sur:

Clause de non-responsabilité