OptimizationDoubleParameter.Max
property · OptimizationDoubleParameter · cAlgo.API Since 5.9
DesktopCLICloud
Gets the inclusive maximum of the range.
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 Max {get;}
optimizationDoubleParameter.Max: float
Returns double
Examples
var parameter = new OptimizationDoubleParameter("TakeProfitPips", 10, 50, 5);
Print("Range maximum: {0}", parameter.Max);
parameter = OptimizationDoubleParameter("TakeProfitPips", 10.0, 50.0, 5.0)
api.Print(f"Range maximum: {parameter.Max}")