OPEN-SOURCE SCRIPT

RSI Market Structure

This indicator draws swings on the chart based on the RSI configured within.

The swings are drawn from Overbought to Oversold or vice-versa.

Logic:
From Overbought to Oversold, a line is drawn from the highest price before oversold to the lowest price of the oversold.

The labels can be deactivated from the style menu, it was easier for me to implement this way (It's my first indicator)
Relative Strength Index (RSI)Trend AnalysisZig Zag Indicator

Open-source script

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer