Input Parameters
Modify your indicators or strategies behavior using a set of Input parameters
Last updated
Was this helpful?
Was this helpful?
[InputParameter("First text", 1)]public string firstText;[InputParameter("Second text", 2)]public string secondText;[InputParameter("Third text", 3)]public string thirdText;[InputParameter("Boolean")]public bool boolean;[InputParameter("Integer")]public int intNumber;[InputParameter("Double", 0, 0.00001, 10, 0.00001, 5)]public double doubleNumber;[InputParameter("Symbol")]public Symbol symbol;[InputParameter("Account")]public Account account;[InputParameter("Date")]public DateTime dateTime;[InputParameter("Color")]public Color color;[InputParameter("Simple price types list", 1, variants: new object[]{ "Close", PriceType.Close, "Open", PriceType.Open, "High", PriceType.High, "Low", PriceType.Low, "Typical", PriceType.Typical, "Median", PriceType.Median, "Weighted", PriceType.Weighted})]