---
id: "T:cAlgo.API.Indicators.DeMarker"
kind: "interface"
namespace: "cAlgo.API.Indicators"
url: "https://help.ctrader.com/ctrader-algo/references/Indicators/DeMarker/"
---

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

# DeMarker (interface)

The DeMarker is an oscillator that compares the most recent maximum and minimum prices to the previous period's equivalent price.

Environments: Desktop supported · CLI supported · Cloud supported.

## Definition

```csharp
public interface DeMarker
```

## Examples

C#:

```csharp
private DeMarker _deMarker;

protected override void OnStart()
{
    _deMarker = Indicators.DeMarker(14);
}

protected override void OnBar()
{
    Print("DeMarker: {0}", _deMarker.Result.Last(1));
}
```

Python:

```python
def on_start(self):
    self.deMarker = api.Indicators.DeMarker(14)

def on_bar(self):
    api.Print(f"DeMarker: {self.deMarker.Result.Last(1)}")
```

## Properties

- `IndicatorDataSeries Result {get;}` — Gets the resulting time series of the DeMarker calculation. [details](https://help.ctrader.com/ctrader-algo/references/Indicators/DeMarker/Result/index.md)

## Inherited members

- `ChartIndicator AddToChart()` (from StandardIndicator) [details](https://help.ctrader.com/ctrader-algo/references/General/StandardIndicator/AddToChart/index.md)
- `Symbol Symbol {get;}` (from StandardIndicator) [details](https://help.ctrader.com/ctrader-algo/references/General/StandardIndicator/Symbol/index.md)
- `TimeFrame TimeFrame {get;}` (from StandardIndicator) [details](https://help.ctrader.com/ctrader-algo/references/General/StandardIndicator/TimeFrame/index.md)
- `Bars Bars {get;}` (from StandardIndicator) [details](https://help.ctrader.com/ctrader-algo/references/General/StandardIndicator/Bars/index.md)

