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

# Currency

## Definition

Indicates the currency configured for the **Master Instrument properties**.

## Property Value

A type of Currency which is configured for the current master instrument.

## Syntax

`Bars.Instrument.MasterInstrument.Currency`

## Examples

```csharp
if (Bars.Instrument.MasterInstrument.Currency != Currency.UsDollar)
{
    //Prints if the currency is not UsDollar and indicates what currency it is
    Print ("Warning: Instruments base currency is not UsDollar, it is " + Bars.Instrument.MasterInstrument.Currency);
}
```