This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ver 1 alerts show significant stoch rsi crossovers as long as they arent in outermost bounds | |
// ver 2 fixed error with > to >= that caused some alerts to not appear | |
// ver 3 changed from symbols to columns to make it easier to set up real trading view alerts with it! | |
// BASED on https://www.tradingview.com/script/aUZVp1GC-Stochastic-RSI-with-Crossover-Alerts/ | |
// Author: autemox | |
study(title="Stochastic RSI with Crossover Alerts", shorttitle="Stoch RSI with Crossover Alerts") | |
smoothK = input(3, minval=1) | |
smoothD = input(3, minval=1) | |
lengthRSI = input(14, minval=1) | |
lengthStoch = input(14, minval=1) |