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

# RoundDownToTickSize()

## Definition

Returns a value that is rounded down to the nearest valid value evenly divisible by the instrument's tick size.

## Method Return Value

A **double** value.

## Syntax

`Instrument.MasterInstrument.RoundDownToTickSize(double price)`

## Parameters

| Parameter | Description                             |
| --------- | --------------------------------------- |
| **price** | A **double** value representing a price |

## Examples

```csharp
//Takes the last 3 closes, divides them by 3, and rounds the value down to the nearest valid tick size**
Value[0] = Instrument.MasterInstrument.RoundDownToTickSize((Close[0] + Close[1] + Close[2]) / 3);
```