DeMarker
interface cAlgo.API.Indicators
DesktopCLICloud
The DeMarker is an oscillator that compares the most recent maximum and minimum prices to the previous period's equivalent price.
Definition
public interface DeMarker
Namespace: cAlgo.API.Indicators · Group: Indicators · Implements: StandardIndicator
Examples
private DeMarker _deMarker;
protected override void OnStart()
{
_deMarker = Indicators.DeMarker(14);
}
protected override void OnBar()
{
Print("DeMarker: {0}", _deMarker.Result.Last(1));
}
def on_start(self):
self.deMarker = api.Indicators.DeMarker(14)
def on_bar(self):
api.Print(f"DeMarker: {self.deMarker.Result.Last(1)}")
Properties
| Name | Description |
|---|---|
ResultDesktopCLICloudIndicatorDataSeries | Gets the resulting time series of the DeMarker calculation. |
Inherited members
From StandardIndicator: AddToChart, Symbol, TimeFrame, Bars