> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.ninjatrader.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.ninjatrader.com/_mcp/server.

# CandleOutlineBrush

## Definition

Sets the outline Brush of a candlestick.

## Property Value

A **brush** object that represents the color of this price bar.

## Syntax

`CandleOutlineBrush`

You may have up to 65,535 unique `CandleOutlineBrushes` instances, therefore, using [static predefined brushes](/developer/desktop-sdk/guides/educational-resources/working-with-brushes) should be favored. Alternatively, in order to use fewer brushes, please try to cache your custom brushes until a new brush would actually need to be created.

## Examples

```csharp
// Sets the candle outline color to black
CandleOutlineBrush = Brushes.Black;
```

You may have up to 65,535 unique CandleOutlineBrushes instances, therefore, using [static predefined brushes](/developer/desktop-sdk/guides/educational-resources/working-with-brushes) should be favored.  Alternatively,  in order to use fewer brushes, please try to cache your custom brushes until a new brush would actually need to be created.