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

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

# DirectionalMovementSystem.DIPlus

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

## DIPlus

The Positive Direction Indicator (+DI) indicates upward trend movement.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

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

Python:

```python
directionalMovementSystem.DIPlus: IndicatorDataSeries
```

### Returns

`IndicatorDataSeries` — 

### Examples

C#:

```csharp
var dms = Indicators.DirectionalMovementSystem(14);
if (dms.DIPlus.Last(1) > dms.DIMinus.Last(1) && dms.DIPlus.Last(2) <= dms.DIMinus.Last(2))
    Print("+DI crossed above -DI: {0}", dms.DIPlus.Last(1));
```

Python:

```python
dms = api.Indicators.DirectionalMovementSystem(14)
if dms.DIPlus.Last(1) > dms.DIMinus.Last(1) and dms.DIPlus.Last(2) <= dms.DIMinus.Last(2):
    api.Print(f"+DI crossed above -DI: {dms.DIPlus.Last(1)}")
```

