I've created a custom indicator that allows quite a fair bit of user-input parameters. The thing is, most of it is visual related stuff like Start Time / End Time to draw Vertical Line, Text Color, etc.
Is there a way I can prevent the NT compiler from including those parameters in the indicator's constructor?
Example, constructor looks like this:
public myIndicator myIndicator(double decimalPoint, int fontOffset, string fontName, int fontSize, FontStyle fontType, int numberOfBars, int opacity, int startTime, int endTime)
{
return myIndicator(Input, decimalPoint, fontOffset, fontName, fontSize, fontType, numberOfBars, opacity, startTime, endTime);
}
public myIndicator myIndicator(double decimalPoint, int numberOfBars)
{
return myIndicator(Input, decimalPoint, numberOfBars);
}
-Nick

Comment