GannLevel.IsVisible
property · GannLevel · cAlgo.API Since 5.6
DesktopCLICloud
Defines if the level is visible.
Definition
bool IsVisible {get; set;}
gannLevel.IsVisible: bool
Returns bool
Examples
var gannFan = Chart.DrawGannFan("gannFan", Bars.OpenTimes.Last(30), Bars.LowPrices.Last(30), Bars.OpenTimes.LastValue, Bars.HighPrices.LastValue, Color.Blue);
foreach (var level in gannFan.GannLevels)
level.IsVisible = level.Ratio == 1;
Print("Only the 1x1 Gann ray is visible now");
gannFan = api.Chart.DrawGannFan("gannFan", api.Bars.OpenTimes.Last(30), api.Bars.LowPrices.Last(30), api.Bars.OpenTimes.LastValue, api.Bars.HighPrices.LastValue, Color.Blue)
for level in gannFan.GannLevels:
level.IsVisible = level.Ratio == 1
api.Print("Only the 1x1 Gann ray is visible now")