Add(OtherCustomIndi());
however, i need to pass arguments in it. The source of `OtherCustomIndi` is:
#region Properties
[Browsable(false)]
[XmlIgnore()]
public DataSeries Bullish_upper_Line
{
get { return Values[0]; }
}
[Browsable(false)]
[XmlIgnore()]
public DataSeries Bullish_lower_Line
{
get { return Values[1]; }
}
[Description("")]
[GridCategory("Parameters")]
public bool Use_Different_timeframe
{
get { return use_different_timeframe; }
set { use_different_timeframe = value; }
}
[Description("")]
[GridCategory("Parameters")]
public int Different_timeframe
{
get { return different_timeframe; }
set { different_timeframe = Math.Max(1, value); }
}
so, when I do :
Add(OtherCustomIndi(true, 24));
it fails.
In what order I should pass arguments? how should i modify the source of that indi, i cant understand... Does [Gridcategory] tag means, that is only those properties can be set from outside? and what is the order? does [Browsable(false)] tag makes other properties to be ignored in sequence?

Comment