Skip to content

DonchianChannel.Middle

property · DonchianChannel · cAlgo.API.Indicators

DesktopCLICloud

Gets or sets the middle of the highest high and the lowest low of the period.

Definition

IndicatorDataSeries Middle {get; set;}
donchianChannel.Middle: IndicatorDataSeries

Returns IndicatorDataSeries

Examples

var donchian = Indicators.DonchianChannel(20);
Print("Middle Value = {0}", donchian.Middle.LastValue);
donchian = api.Indicators.DonchianChannel(20)
api.Print(f"Middle Value = {donchian.Middle.LastValue}")