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

Ta bort från favoritskript Lägg till som favoritskript
Very good. I was just looking on how to plot infinite horizontal lines for supports and yours is the only one! ;) thx
+3 Svara
@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.
Svara
rtugui kurtsmock
@kurtsmock, yes, yes, got it;) thx
Svara
Hem Aktie-screener Forex-screener Krypto-screener Ekonomisk kalender Program Hur det fungerar Diagramfunktioner Priser Ordningsregler Moderatorer Webbsidor och mäklarlösningar Widgets Diagramlösningar Lightweight Charting Library Help Center Refer a friend Funktionsförfrågan Blogg och nyheter Frågor och svar Wiki Twitter
Profil Profilinställningar Konto och fakturering Refer a friend Mina kölappar Help Center Publicerade idéer Följare Följer Privata meddelanden Chatt Logga ut