Skip to content

IIndicatorsAccessor.CyberCycle

method · IIndicatorsAccessor · cAlgo.API.Internals

DesktopCLICloud

The Cyber Cycles Oscillator is an indicator designed by John Ehlers, it is used for isolating the cycle component of the market from its trend counterpart.

Definition

CyberCycle CyberCycle(double alpha)
api.Indicators.CyberCycle(alpha: float) -> CyberCycle

Parameters

Name C# type Python type Description
alpha double float CyberCycle Alpha

Returns CyberCycle — CyberCycle

Examples

var cyberCycle = Indicators.CyberCycle(0.07);
Print("Cyber Cycle: {0}, trigger: {1}", cyberCycle.Cycle.LastValue, cyberCycle.Trigger.LastValue);
cyberCycle = api.Indicators.CyberCycle(0.07)
api.Print(f"Cyber Cycle: {cyberCycle.Cycle.LastValue}, trigger: {cyberCycle.Trigger.LastValue}")