How to Display Label on DrawLine in PricePane?
Author: xayaraj
Creation Date: 2/14/2010 10:41 AM
profile picture

xayaraj

#1
In my PricePane, I would like to put the label like "Closed at 10:00AM" on horizontal line for the intraday close at 10:00AM. How do I do that? The DrawLabel, and DrawLine don't have the function signature for label input. For the DrawText, I need to know x, y coordinates. How can I get the x, y coordinates of the close price?
profile picture

Eugene

#2
The coordinates aren't needed - use AnnotateBar instead.

P.S. Just in case you need a convenient function for checking the bar's time: (scroll down to) How do I code a rule for time of the day?
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).