Since there are roughly 250 trading days in a year, I have used here a lookback period of 750 days for 36 months/3 years:
R = RSI(14);
Condition = R > Ref(R,-750) AND R > 70;
///////////////
// Explore
///////////////
Filter = Condition;
AddColumn(R, "RSI");
R = RSI(14);
Condition = R > Ref(R,-750) AND R > 70;
///////////////
// Explore
///////////////
Filter = Condition;
AddColumn(R, "RSI");