Segment an indicator

Forums ProRealTime English forum ProBuilder support Segment an indicator

Viewing 4 posts - 1 through 4 (of 4 total)
  • #36862

    Hello all,

     

    I’m seeking clarification on whether it is possible to segment an indicator so that only parts of it are shown.

     

    Say, for example that we have a Parabolic SAR plotted around price.

    Is it possible to code the indicator in such a way that it is only shown when below the price? In other words, when the PSAR i above the price, the indicator should return nothing.

     

    Many thanks,

    From8to800

    #37079

    Bump, anyone?

    #37081

    Yes of course, you have to code a custom SAR for that purpose:

    To hide the PSAR, we set our variable to 0 (because there is no other way to set a variable to an empty value), so remember to change the vertical autoscaling in the price settings window.

    #37084

    Hi Nicola,

     

    Many thanks for your response.

    I guess that works too. I tend to prefer my charts vertically adjusted for indicators also, but I can live with it adjusted on price only.

     

    Once again, thank you!

    From8to800

Viewing 4 posts - 1 through 4 (of 4 total)

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