Announcement

Collapse
No announcement yet.

formula modification

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

  • formula modification

    if (frGraphic == "T") { // does the user want to plot the alert
    offset = 0.4 * atrStudy.getValue(ATRStudy.ATR);
    drawShapeRelative(0, TB[0] - offset , Shape.CIRCLE ,null , Color.red , Shape.BOTTOM | Shape.ONTOP);
    }

    In the above - How do I make the " CIRCLE " larger " ??


    In the below - how do i make the "Red " line wider ?? ( heavier )

    = 0.3 * atrStudy.getValue(ATRStudy.ATR);
    drawLineRelative( oPP1.Bar - 1, oPP1.Price + offset , oPP1.Bar + 2, oPP1.Price + offset, PS_SOLID, 3,Color.red, oPP1.Label);
    // reset the high/low prices and their bar numbers

  • #2
    David
    Shapes cannot be resized. You may want to see this thread for a solution that uses drawTextRelative.
    To make the line thicker change the number 3 after PS_SOLID to a higher value
    Alex

    Comment

    Working...
    X