Simple RSI Buy/Sell at a level
Dec 17, 2019

The Simple RSI Buy/Sell at a level indicator is a strategy-based tool designed to automate trading decisions by entering long or short positions when the Relative Strength Index (RSI) crosses user-defined overbought or oversold thresholds.
Usage
The strategy is primarily used to identify potential reversal points or trend continuations based on momentum exhaustion. When the RSI value exceeds the "Overbought Value" setting, the script triggers a long entry (Buy Signal) and changes the bar color to highlight the condition. Conversely, when the RSI drops below the "Oversold Value," the script executes a short entry (Sell Signal).
Examples of usage include:
- Mean Reversion: Trading the return to the mean after extreme RSI readings.
- Trend Following: Using specific levels to catch momentum shifts in volatile markets like ETHUSD.
Details
The script utilizes the standard 14-period RSI calculation to determine market momentum. Unlike traditional RSI interpretations where overbought suggests a "sell" and oversold suggests a "buy," this specific implementation enters a long position when RSI is high (Overbought) and a short position when RSI is low (Oversold), essentially following the momentum breakout beyond the defined levels. The strategy is configured with backtesting parameters including commission handling (0.075%) and initial capital settings to provide a realistic overview of performance on timeframes such as the 3h chart.
Settings
- Overbought Value: Defines the RSI level above which a buy signal is triggered (Default is 70).
- Oversold Value: Defines the RSI level below which a sell signal is triggered (Default is 30).
FAQ
How do I access the Simple RSI Buy/Sell at a level?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Can I change the RSI period?
In this current version, the RSI period is fixed at 14, but you can adjust the execution thresholds (Overbought/Oversold) to tighten or loosen the sensitivity.
Does this script provide alerts?
Yes, the script includes optimized alert functions that trigger on the bar close when a Buy or Sell signal is identified based on the RSI levels.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.