Skip to content

ChartFibonacciTimezones.Y2

property · ChartFibonacciTimezones · cAlgo.API

DesktopCLICloud

Gets or sets the value 2 on the Y-axis.

Environment behaviour

CLI — works differently. Created and kept with all its properties, but never drawn: the CLI displays no chart.

Cloud — works differently. Created and kept with all its properties, but never drawn: the cloud displays no chart.

Definition

double Y2 {get; set;}
chartFibonacciTimezones.Y2: float

Returns double

Examples

var timezones = Chart.DrawFibonacciTimezones("timezones", Bars.OpenTimes.Last(30), Bars.LowPrices.Last(30), Bars.OpenTimes.Last(25), Bars.HighPrices.Last(25), Color.Red);
timezones.Y2 = Bars.HighPrices.Last(25);
Print("Timezones Y2: {0}", timezones.Y2);
timezones = api.Chart.DrawFibonacciTimezones("timezones", api.Bars.OpenTimes.Last(30), api.Bars.LowPrices.Last(30), api.Bars.OpenTimes.Last(25), api.Bars.HighPrices.Last(25), Color.Red)
timezones.Y2 = api.Bars.HighPrices.Last(25)
api.Print(f"Timezones Y2: {timezones.Y2}")