Example: RSI High After Recent Low

Suppose you want to be alerted when the RSI becomes overbought, but only after it was very recently oversold. You can set that up using the following conditions:

  • The current RSI should be high (e.g. greater than 75).
  • At least one recent candle (e.g. one of the last 20) should have an RSI less than 25.

The first condition is a basic one:

FIRST EXPRESSION (A)
4 hours→
RSI→
Length14→
COMPARISON OPERATOR
≥≤<>=ƒ
SECOND EXPRESSION (B)
Value: Number→
Number80→

As for the second condition, that can be scripted as follows:

FIRST EXPRESSION (A)
Minimum→
Length 20→
4 hours→
of: RSI→
Length14→
COMPARISON OPERATOR
≥≤<>=ƒ
SECOND EXPRESSION (B)
Value: Number→
Number25→