RSIStrat

Description

The Relative Strength Index (RSI) strategy is based upon the eponymous technical indicator

The RSI is an oscillator comparing the magnitude of a stock's recent gains to the magnitude of its recent losses on a scale from 0 to 100. Buy and Sell signals occur upon crossovers of RSI values with oversold and overbought levels. The strategy adds a simulated Buy order when the RSI crosses above the oversold level and a simulated Sell order when it crosses below the overbought level.

Input Parameters

Parameter Description
price Defines price used in calculations.
length Defines the number of bars used in calculation of RSI.
over bought Defines the overbought level.
over sold Defines the oversold level.

rsi average type

The type of moving average to be used in calculations: simple, exponential, weighted, Wilder's, or Hull.
You may also like
MomentumPercentDiff
The Momentum Percent Diff is a momentum-based technical indicator. Unlike the regular Momentum ...
SchaffTrendCycle
The Schaff Trend Cycle (STC) is a technical indicator developed by Doug Schaff as an improvement ...
SlowRSI
The Slow Relative Strength Index is a version of the classic Relative Strength Index (RSI), ...