I want to add a 2nd input series to a generic indicator which calculates the difference between two input series generically.
If adding in the indicator code via:
/// <summary>
/// 2nd input series.
/// </summary>
[NinjaScriptProperty]
[Display(Name = "Input series 2", Description = "", GroupName = "Data Series", Order = 0)]
public ISeries<double> Input2 { get; set; }
... within the property dialog I cannot select input series (drop down box is empty), like it is provided for the default input series (drop down box let me select input series/indicator).
How can I realize this in the indicator code?
Thanks
Frank
Comment