Linear Regression Tool Colors

Optuma Forums Optuma Scripting Linear Regression Tool Colors

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #66351
    Matthew
    • Topics: 15
    • Replies: 5
    • Posts: 20

    Is there a way to shade the area above the center line as green and below the center line as red?
    Any help will be much appreciated.

    #66359
    Matthew
    • Topics: 5
    • Replies: 481
    • Posts: 486

    Hi,

    We do have a Shade() function, however, it can only be used with other script functions plotted on the chart (say Bollinger Bands, calculated from the bars).  The Linear Regression requires you to manually place the tool on the chart, so won’t work with scripting.

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

Pin It on Pinterest