Engineering Alpha

Engineering Alpha

Coding the RSI Square in Trading View

How to Use Pine Script to Code the RSI Square Indicator

Sofien Kaabar, CFA's avatar
Sofien Kaabar, CFA
Jan 24, 2023
∙ Paid

The RSI is very popular indicator with many variations on it. Namely, the RSI square which is basically an RSI calculated on an RSI. This article discusses one simple strategy on the RSI square after having coded it in Trading View’s coding language, Pine Script.

It is finally out! My newest book with O’Reilly Media on candlestick pattern recognition is …

User's avatar

Continue reading this post for free, courtesy of Sofien Kaabar, CFA.

Or purchase a paid subscription.
© 2026 Sofien Kaabar · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture