---
id: "P:cAlgo.API.Indicators.AverageDirectionalMovementIndexRating.DIPlus"
kind: "property"
type: "T:cAlgo.API.Indicators.AverageDirectionalMovementIndexRating"
url: "https://help.ctrader.com/ctrader-algo/references/Indicators/AverageDirectionalMovementIndexRating/DIPlus/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# AverageDirectionalMovementIndexRating.DIPlus

Member of [AverageDirectionalMovementIndexRating](https://help.ctrader.com/ctrader-algo/references/Indicators/AverageDirectionalMovementIndexRating/index.md).

## DIPlus

The Negative Direction Indicator (-DI) indicates downward trend movement.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
IndicatorDataSeries DIPlus {get; set;}
```

Python:

```python
averageDirectionalMovementIndexRating.DIPlus: IndicatorDataSeries
```

### Returns

`IndicatorDataSeries` — 

### Examples

C#:

```csharp
var adxr = Indicators.AverageDirectionalMovementIndexRating(14);
if (adxr.DIPlus.Last(1) > adxr.DIMinus.Last(1))
    Print("+DI is above -DI: {0}", adxr.DIPlus.Last(1));
```

Python:

```python
adxr = api.Indicators.AverageDirectionalMovementIndexRating(14)
if adxr.DIPlus.Last(1) > adxr.DIMinus.Last(1):
    api.Print(f"+DI is above -DI: {adxr.DIPlus.Last(1)}")
```

