BacktestRookies

Support & Resistance

This indicator detects large swings/ pivots in historical price action to highlight tops and bottoms which might act as future levels of support or resistance. The code by default detects the last 3 significant swing highs and the last 3 swing lows. It then places lines on the chart to highlight those levels.

For a full overview of the indicator and code commentary visit the backtest-rookies (.com) website.

Example

Open-source Skript

Ganz im Sinne von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es verstehen und überprüfen können. Ein Hoch auf den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Publikation unterliegt den Hausregeln. Sie können das Skript den Favoriten hinzufügen, um es auf dem Chart zu verwenden.

Möchten Sie dieses Skript auf einem Chart verwenden?

Kommentare

Very good. I was just looking on how to plot infinite horizontal lines for supports and yours is the only one! ;) thx
+9 Antworten
@rtugui, Same here. In case you didn't get it figured, the reason for the horizontal line is the trackprice=true parameter. The limitation it will only extend the line for the current series, as soon as one of the series' data points in invalidated, the extended line goes away and is replaced by the new data point. For my indicator, it will still show the line for during the time period it applied (d/w/m etc), similar to how the historical pivots still show in the pivots indicator. But still working on making those lines permanent.
Antworten
rtugui kurtsmock
@kurtsmock, yes, yes, got it;) thx
+1 Antworten
here is a bug:
under Style in Settings changed from circles to line, but doesnt work, it still displays circles instead of line for s/r levels
Antworten
@muddy7, yes support nd resistance circles not able to increase thick color. Kindly make settings to visible lines clearly
Antworten
Nice work find it very useful.
Antworten
please, could you make it highlight them as zones instead of lines only. Thank you, its very useful
Antworten
Outstanding ! if you could add trendline to show breakout at confluence area + price action like bullish engulf/bearish engulf / hammer inverted hammer . it would be excellent.
Antworten
Interesting , thanks for your efforts !
Antworten