Skip to content

TradeWatchTab.IsBalanceBarVisible

property · TradeWatchTab · cAlgo.API

DesktopCLICloud

Get / set the visibility of balance bar for the tab.

Environment behaviour

CLI — not supported. Available to plugins only, and plugins cannot run in the CLI.

Cloud — not supported. Available to plugins only, and plugins cannot run in the cloud.

Definition

bool IsBalanceBarVisible {get; set;}
tradeWatchTab.IsBalanceBarVisible: bool

Returns bool

Examples

var tab = TradeWatch.AddTab("My Tab");
tab.IsBalanceBarVisible = false;
Print("Balance bar visible: {0}", tab.IsBalanceBarVisible);
tab = api.TradeWatch.AddTab("My Tab")
tab.IsBalanceBarVisible = False
api.Print(f"Balance bar visible: {tab.IsBalanceBarVisible}")