> 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.

# Advanced - Custom Plot Colors via Thresholds

## Custom Plot Colors via Thresholds Overview

In this advanced level tutorial we are going to build a custom indicator which is a ROC variation and paints one color above the zero band and another below. This indicator will show you how to use the concept of plot thresholds.

* [Set Up](/developer/desktop-sdk/guides/educational-resources/developing-indicators/advanced-custom-plot-colors/set-up8)
* [Entering Calculation Logic](/developer/desktop-sdk/guides/educational-resources/developing-indicators/advanced-custom-plot-colors/entering-calculation-logic5)
* [Compiling](/developer/desktop-sdk/guides/educational-resources/developing-indicators/advanced-custom-plot-colors/compiling5)
* [Using](/developer/desktop-sdk/guides/educational-resources/developing-indicators/advanced-custom-plot-colors/using5)