shading region above 70 and below 30 on RSI

Optuma Forums Optuma Scripting shading region above 70 and below 30 on RSI

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #58099
    AvatarMatthew
    • Topics: 2
    • Replies: 2
    • Posts: 4

    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.

    #58143
    MatthewMatthew
    • Topics: 4
    • Replies: 254
    • Posts: 258

    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:

    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:

    Ex2

    Example workbook attached.

    Attachments:
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Pin It on Pinterest

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close