Announcement

Collapse
No announcement yet.

Attn Programmers..is this Easy??

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

  • Attn Programmers..is this Easy??

    Hi,

    I would like to change the colors of the 2 lines of StochRsi from Green and Blue

    to light green and RED

    plus I need to change the thickness to medium or the next thicker setting.

    I have adjusted the formula and changed the colors inside of the efs..but the colors remain the same and I don't see a place in the formula to change thickness.

    when i pull up edit studies..it only allows me to change the color for both lines..not individually?

    Please post a new efs with the added changes or the ability to change them on my own..thanks!
    Attached Files

  • #2
    Hello notthemoma,

    Starting at line 15 on your study you will want to make the following chnages:

    Code:
        setDefaultBarFgColor(Color.green, 0);
        setDefaultBarFgColor(Color.red, 1);
        setDefaultBarThickness(2,0);
        setDefaultBarThickness(2,1);
    If that does not make the lines thick enough, try the following:
    Code:
        setDefaultBarThickness(3,0);
        setDefaultBarThickness(3,1);

    Comment


    • #3
      Variable Colors

      Is there a way to write the EFS so you can change the line properties later from the studies-properties window?

      Comment


      • #4
        kztd
        You can do that using the FunctionParameter Object
        Alex

        Comment

        Working...
        X