Announcement

Collapse
No announcement yet.

setbarthickness

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • setbarthickness

    I have written a custom indicator similar to Bollinger Bands. I would like to increase the thickness of the lines. I plot 2 bands, one red above the price, one green below the price.

    If I use "set default bar thickness" it only thickens the zero'th (first) element in the array

    QUESTION:
    How do I set the thickness of the lines in an array of 2 lines?

    Thanking You in Advance,

    Ed Hoopes
    [email protected]

  • #2
    Ed
    In preMain you will need to have
    setDefaultBarThickness(1,0);
    setDefaultBarThickness(1,1);
    The second value in the parenth addresses the appropriate element of the array
    Alex

    Comment

    Working...
    X