I added a bool method to Parameters in my UserDefinedMethods.cs file.
private bool iShowOnly = false;
[Description("")]
[GridCategory("Parameters")]
publicbool ShowOnly
{
get { return iShowOnly; }
set { iShowOnly = value; }
}
Since UserDefinedMethods.cs is public it shows in Parameters for all indicators. I only want to use it with a couple of indicators not all of them. Is there a way to restrict to which ones?
Btw - I can't put the code just in the indicators I need because the methods I use are coded and referenced in the UserDefinedMethods.cs file...
Thx
Irvin
Comment