I'm wondering if it's possible to create a custom Input Parameter if one currently does not exit for an indicator in the Strategy Builder.
Could I code that in?
For example, for the 'N bars up' indicator, the 'Bars ago' field is not an 'Input series'; can I write NinjaScript code to make it an 'Input series' that is not hard coded so that I can change its value in the Strategy Analyzer?
Screenshot of Conditions screen for 'N bars up' is attached.
I found the following code in one of my .cs files for an Input that I created for 'Up Volume'; can I write such code to create an 'Input series' or 'Parameter'?
#region Properties
[NinjaScriptProperty]
[Range(0.1, double.MaxValue)]
[Display(Name="UpVolume1", Order=1, GroupName="Parameters")]
public double UpVolume1
{ get; set; }
Comment