I have a lot of lines in the parameters of a 3rd party indicator and I want to clean it up by not showing in the parameters the constant values that never are changed. I did in some indicators in the variables what I need so that they are working but I don´know yet how to do from the properties to simple variables without getting error messages. When I have in the properties eg
private double _LevelsRetryInterval = 60;
[Description("Retry Interval (in seconds).")]
[GridCategory("A. Operation Parameters")]
[Gui.Design.DisplayNameAttribute("1.3. Retry Interval")]
public double RetryInterval
{
get { return _RetryInterval; }
set { _RetryInterval = Math.Max(1, value); }
}
what do I have to write in variables please so that it is used with the default value in the indicator without appearing in the parameters.
Thank you
Tony
Comment