Skip to content

RSI

Relative Strength Index — a momentum oscillator on a 0–100 scale. The RSI (Relative Strength Index) compares the average upward and downward price movements over a period. Values above 70 are traditionally considered an overbought zone, below 30 — oversold. The RSI is also used to spot divergences with price and as a trend filter (RSI above 50 — an uptrend).

Avg Gain = RMA(max(Close - Close_prev, 0), period)
Avg Loss = RMA(max(Close_prev - Close, 0), period)
RS = Avg Gain / Avg Loss
RSI = 100 - 100 / (1 + RS)
ParameterTypeDefaultRange / Values
Periodint141-200
TriggerDirectionConditionDescription
Level cross up🟢 BuyThe indicator value crossed the specified level from below to above.The RSI line crosses the configurable Level from below to above. Level is set in the trigger parameters.
Level cross down🔴 SellThe indicator value crossed the specified level from above to below.The RSI line crosses the Level from above to below. Level is set in the trigger parameters.
Value above level by N🟢 BuyThe indicator value rose above the level by the specified distance.The RSI line crosses the Level + Distance mark moving up. The distance delays entry until a confirmed breakout of the level.
Value below level by N🔴 SellThe indicator value dropped below the level by the specified distance.The RSI line crosses the LevelDistance mark moving down.
Value rising🟢 BuyThe indicator value is rising relative to the previous bar.The RSI line is higher on the current bar than on the previous one — upward momentum.
Value falling🔴 SellThe indicator value is falling relative to the previous bar.The RSI line is lower on the current bar than on the previous one — downward momentum. Fires on every declining bar.
Slope turns positive🟢 BuyThe indicator’s slope turned positive — an upward reversal.The RSI line changes its slope from falling to rising — the indicator stopped falling and started rising.
Slope turns negative🔴 SellThe indicator’s slope turned negative — a downward reversal.The RSI line changes its slope from rising to falling — the indicator stopped rising and started falling.
Enter overbought zone🔴 SellThe oscillator entered the overbought zone.The RSI line crosses the overbought threshold Overbought from below to above — the upper extreme of the range is reached. In a countertrend strategy it is used as a sell signal.
Enter oversold zone🟢 BuyThe oscillator entered the oversold zone.The RSI line crosses the oversold threshold Oversold from above to below — the lower extreme of the range is reached. In a countertrend strategy it is used as a buy signal.
Exit overbought zone🔴 SellThe oscillator exited the overbought zone.The RSI line returns below the overbought threshold Overbought — upward momentum is weakening.
Exit oversold zone🟢 BuyThe oscillator exited the oversold zone.The RSI line rises above the oversold threshold Oversold — downward momentum is weakening.
ParameterTypeDefaultRange / Values
Distance (Value above level by N, Value below level by N)float00>
Oversold (Enter oversold zone, Exit oversold zone)float200-50
Level (Value above level by N, Value below level by N, Level cross up, Level cross down)float0
Overbought (Enter overbought zone, Exit overbought zone)float8050-100