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

# IsFalling()

## Definition

Evaluates a falling condition which is true when the current value is less than the value of 1 bar ago.

## Method Return Value

This method returns true if a falling condition is present; otherwise, false.

## Syntax

`IsFalling(ISeries\<double\> series)`

## Parameters

| Parameter  | Description                                                                        |
| ---------- | ---------------------------------------------------------------------------------- |
| **series** | Any **Series\<double>** type object such as an indicator, Close, High, Low, etc... |

## Examples

```csharp
protected override void OnBarUpdate()
{
   // If the 20 period SMA is falling (in downtrend) go short
   if (IsFalling(SMA(20)))
       EnterShort();
}
```