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

# CS1061

The following **CS1061** error code information is provided within the context of **NinjaScript**. The examples provided are only a subset of potential problems that this error's code may reflect. In any case, the examples below provide a reference of coding flaw possibilities.

## Error Code Explanation

This error can occur when you try to use a method or access an exposed property that does not exist for your particular object.

Please check the methods and exposed property available for your particular object.

## Error Description #1

**'NinjaTrader.Indicator.CurrentDayOHL'** does not contain a definition for **'CurentOpen'**

```csharp
// Erroneous Sample Code - CurrentDayOHL()’s property is 'CurrentOpen' not 'CurentOpen' (typo)**
double value = CurrentDayOHL().CurentOpen[0];
```

```csharp
// Resolution Sample Code - 'CurrentOpen' property available  
double value = CurrentDayOHL().CurrentOpen[0];
```