could someone tell me (with example if possible) how to custom the int.MaxValue with or without variables please?
For example with internal variable:
private int MyMaxValue = 10;
Changing int.MaxValue with variable, strategy return error "static no-static" method..
[Range(1, int.MaxValue)]
[NinjaScriptProperty]
[Display(Name="N. Contracts", Description="The number of contracts to trade", Order=1, GroupName="Setting Strategy")]
public int Contracts
{ get; set; }
Many thanks!
Comment