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

Forums ProRealTime English forum ProBuilder support RSI creating a solid band for above 7- and below 30

Viewing 8 posts - 1 through 8 (of 8 total)
  • #14022

    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

    #14028

    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

    Nicolas,

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

     

    #14033

    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

    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.

    1 user thanked author for this post.
    #14036

    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

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

    thanks for links to videos..very helpful

    #14043

    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)

Create your free account now and post your request to benefit from the help of the community
Register or Login