RSI creating a solid band for above 7- and below 30

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #14022 quote
    NickleBNickleB
    Participant
    New

    Hi i’ve created a RSI and would like to have the above 7- coloured RED and the below 30 band coloured GREEN instead of the line getting shaded in those colours. I have attached an example.

     

     

     

    kind regards

    NickleB

    RSI-Cloured-bands.png RSI-Cloured-bands.png
    #14028 quote
    NicolasNicolas
    Keymaster
    Legend

    For the oversold area (for example), you need to add the levels 0 and 30 to the RETURN function and then fill this space within the indicator parameters window.

    Do the same for overbought level.

    #14032 quote
    NickleBNickleB
    Participant
    New

    Nicolas,

    I very new to this can you show me a sample of the code ?

    #14033 quote
    NickleBNickleB
    Participant
    New

    so i understand i create a variable like

    a=0-30 (0,0,255)

    b=70-100 (220,220,0)

    RETURN a as “Colour”

    i bet this is all wrong but trying to learn

    #14035 quote
    JC_BywanJC_Bywan
    Moderator
    Master

    Hi,

    You don’t really need to code anything for this, like Nicolas said, the lines between which you want some filling just need to be added in the “return” final line of your indicator. Then you can fill in between them with the PRT built-il tools without needing to code the filling. As you say you’re new, you’ll probable find the following video “chart settings” useful to get the hang of it:

    https://www.youtube.com/watch?v=GeVWFNRVP_8&list=PLGw_ZtCHrQ9jQocXP3NwrRlpOx_FKLlSJ

    as well as a whole bunch of other help videos for many other platform topics:

    https://www.prorealtime.com/en/video-tutorials

    These videos are useful additions to the 3 classic PRT manuals from the help menu.

    Nicolas thanked this post
    #14036 quote
    JC_BywanJC_Bywan
    Moderator
    Master

    This video in particular from the above PRT list page of videos shows how to add color zones:

    https://www.youtube.com/watch?v=NHW3L0rHrOw&list=PLGw_ZtCHrQ9iBm_IX1GelmuToP9aph1ZB

    #14040 quote
    NickleBNickleB
    Participant
    New

    thank you both, i have got this to work as i wanted:-)

    thanks for links to videos..very helpful

    My-RSI-with-Bands-picture.png My-RSI-with-Bands-picture.png
    #14043 quote
    NicolasNicolas
    Keymaster
    Legend

    All prorealtime video tutorials are also available directly here in the blog, here is the link for the full articles list:

    http://www.prorealcode.com/blog-list-view/

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

RSI creating a solid band for above 7- and below 30


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
NickleB @nickleb Participant
Summary

This topic contains 7 replies,
has 3 voices, and was last updated by NicolasNicolas
9 years, 12 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 10/01/2016
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...