shading region above 70 and below 30 on RSI

Does anyone know how to have overbought region and oversold region shaded with RSI? I would only want shading above 70 and below 30.

Thanks.

Hi,

You can do this using two plots and the Shade() function (would need two scripts, one for each shaded range).

For example, to shade 70 - 100 you could use the following:

plot1 = 70;
plot2 = 100;
SHADE(plot1, plot2, SHADEALPHA=35)

Then setup a similar script for the 0 - 30 range. Once done add the script to a Show View and have it sit on top of an RSI. The end result looks like this:

Example workbook attached.

Shaded-RSI.owb (12.7 KB)