How to include Include horizontal lines in custom indicator

Forums ProRealTime English forum ProBuilder support How to include Include horizontal lines in custom indicator

Viewing 2 posts - 1 through 2 (of 2 total)
  • #165708

    Some of the built-in oscillator indicator (such as RSI) has options for adding horizontal lines. In the configuration panel, one can add horizontal lines into the chart. See attached screenshot.

    How do I include this feature in the custom indicator I build?

    Thks.

    #165713

    You can add a horizontal line either with a variable added for that purpose to those in the “return” line of your custom indicator (then you can access it in the properties window), or if you don’t need to access it later on in the properties window, with the drawHline command: https://www.prorealcode.com/documentation/drawhline/

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

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