Announcement

Collapse
No announcement yet.

Drawing a dot above a moving average value for every bar

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

  • Drawing a dot above a moving average value for every bar

    Hello,

    I want to show a trailing stop above a moving average with green dots.

    How can I do that?

    I tried this drawShape( Shape.CIRCLE, high(0) , Color.green );

    but it puts the dots at the top of the screen.

  • #2
    sunman4008,

    What you'll want to use is the drawShapeRelative function. The second argument (yValue) give you more control on where the shape will be placed on the charts.

    AveryH
    eSignal Support

    Comment

    Working...
    X