circle
Draws a Circle using a center point and a second point that sets the radius. Great for spotlighting reaction zones around pivots, news candles, or any area you want to keep an eye on. You can softly fill it and optionally show a small label.
Syntax (one line)
circle(centerPoint, edgePoint, styles?)
Parameters
centerPoint (PricedData) · Center of the circle (time & price).
edgePoint (PricedData) · Any point on the circumference; distance to centerPoint becomes the radius.
styles (CircleLineToolOverrides) · Visual and label options:
backgroundColor(RGBAColor | BaseColors) · Fill color inside the circle.bold(boolean) · Make label text bold.color(RGBAColor | BaseColors) · Circle outline color.fillBackground(boolean) · Turn the fill on/off.fontSize(number) · Label font size.italic(boolean) · Make label text italic.linewidth(number) · Outline thickness.showLabel(boolean) · Show a small label on the circle.textColor(RGBAColor | BaseColors) · Label text color.
Return Value
(string) · The drawing ID of the created Circle.
Example
What this does: Every 48 candles, drops a circle around a recent pivot. We keep the fill subtle and display a small label. All styling stays in one const style.
Tips
Use a meaningful pivot for
centerPointso the circle frames real market reactions.Keep fills subtle (higher transparency in
backgroundColor) so candles remain visible.Try different radii by moving
edgePointto nearby highs/lows to fit the local structure.
Warning
Very small radii can be hard to see; pick an
edgePointthat creates a circle large enough to be useful.
Good Practice
Reuse a few color presets (e.g., blue for watch zones, orange for news areas) so circles are instantly recognizable.
Keep labels short (1–2 words) to avoid clutter.
Last updated