CustomBar.High
property · CustomBar · cAlgo.API Since 5.3
DesktopCLICloud
Gets high price of bar.
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
public double High {get;}
customBar.High: float
Returns double
Examples
var bar = new CustomBar(Server.Time, 1.1000, 1.1050, 1.0980, 1.1020, 1500);
Print("Bar range: {0}", bar.High - bar.Low);
bar = CustomBar(api.Server.Time, 1.1000, 1.1050, 1.0980, 1.1020, 1500)
api.Print(f"Bar range: {bar.High - bar.Low}")