Two Fractals Trendlines

This study draws a trend line for the last two Bill Williams up-fractals and down-fractals.

Trend line break signals and alerts can optionally be added.
Versionshinweise: Bug fixed.
Versionshinweise: RSI filter added.
Versionshinweise: Narrow range bar added.
Inside bar added.
Outside bar added.
Sandwich bar added.
Pin bar added.
Versionshinweise: Narrow range bar added.
Fakey added.
Versionshinweise: Improved the Fakey signal (F).
Added early Fakey signal (f).
Versionshinweise: Minor changes.
Versionshinweise: Plot Fractals added.
Versionshinweise: Reverse fractals added.

Segments added (taken from Joe Ross' books). These Segments are an early trend detection method. I will add Segments to my "The Strategy - ..." script in the next days.
Versionshinweise: Changed segment signal plotting. Now the segment signal is not deleted if a segment series is no longer valid. By definition, the segment signal cannot be repainted. The segments follow higher lows and lower highs.
Definition of a valid long signal: there are three segments and the current candle high is higher than the last candle high (high> high ).
Versionshinweise: Tooltips added.
Trend line bug fixed.
Versionshinweise: General description added.
Versionshinweise: Minor changes.
Versionshinweise: Groups added. Minor chnages.
Versionshinweise: Pin bar detection improved and minor changes.
Versionshinweise: Screenshot issue.
Versionshinweise: Segments- signal and documentation improved/changed.
Versionshinweise: EMA cloud added.
Versionshinweise: Horizontal support and resistance lines added.
Versionshinweise: Multi time frame classic pivot points added.
Versionshinweise: Source for SR-lines added.
Versionshinweise: Attributes of drawn objects added.
Versionshinweise: Pin bar revised.
Versionshinweise: Divergence signal and momentum indication added.
Versionshinweise: Removed the momentum indicator. You can use the "RSI with BG" script for momentum indication where you can toggle between RSI and RSI Stochastic.
Minor changes/improvements.
Versionshinweise: Quarterly classic pivot points added. Maximum outputs with this script reached.
Versionshinweise: Minor changes.
Versionshinweise: Uncommented daily and weekly pivot points (output restrictions). Added 6 month and 12 month pivot points.
Versionshinweise: Script converted to Pine v5.
Open-source Skript

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Möchten Sie dieses Skript auf einem Chart verwenden?