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

# IsRemoveLastBarSupported

## Definition

Determines if the bars type can use the **RemoveLastBar()** method when true, otherwise an exception will be thrown. Bar Types which use remove last bar concepts CANNOT be used with **Tick Replay**, and as a result Tick Replay will be disabled on the UI when **IsRemoveLastBarSupported** is set to true.

This property is read-only, but may be overridden in a custom bar type.

## Syntax

`IsRemoveLastBarSupported`

## Property value

A **bool** determining if the BarsType can remove the last; default value is false.

## Examples

```csharp
// allows RemoveLastBar() to be called
public override bool IsRemoveLastBarSupported { get { return true; } }
```