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

# PropagateInstrumentChange()

## Definition

In an **NTWindow**, **PropagateInstrumentChange()** sends an Instrument to other windows with the same Instrument Linking color configured.

* A public Instrument property must be defined in order to use **PropagateInstrumentChange()**, as in the example below.
* A public Instrument property must be defined in order to use **PropagateInstrumentChange()**, as in the example below.
* For a complete, working example of this class in use, download framework example located on our [Developing AddOns Overview](/developer/desktop-sdk/guides/educational-resources/addon-development-overview/developing-add-ons).

## Examples

```csharp
// IInstrumentProvider member. Required if you want to use the instrument link mechanism on an NTWindow.
public Cbi.Instrument Instrument
{
   get { return instrument; }
   set
   {
       // Process logic related to switching instruments, such as:
       // Unsubscribe to subscriptions to old instruments...
       // Subscribe for the new instrument...
       // Change the value displayed in an Instrument Selector in the NTWindow...
       // Update the tab header name on AddOnFramework to be the same name as the new instrument...
       // etc...

       // Send instrument to other windows linked to the same color
       PropagateInstrumentChange(value);
   }
}
```