I have an old indicator that works fine in NT 6.5 but when I tried to import it it would not let me import and said
"Import failed. The NijaScript archive file may contain duplicate method names that already exist on your pc or there is a required file missing on either your PC or in the import archive"
So I copied the indicator file into the indicators folder directly and then opened it to complie it and got three CS1501 errors saying "No Overload for method 'DrawText' takes '11' arguments."
The code with errors in is as below.
privatevoid TDSetupDrawText(string strText, Color colorColor, int intFontSize)
{
this._intObjectCount++;
DrawText(this._intObjectCount.ToString(),
false,
strText,
0,
this._dsYLocation[0],
colorColor,
new Font(FontFamily.GenericSansSerif, intFontSize, FontStyle.Bold, GraphicsUnit.Pixel),
StringAlignment.Center,
Color.Transparent,
Color.Transparent,
0);
this._strSetupTags.SetValue(this._intObjectCount.ToString(), _intSetupCount-1);
}
#endregion
Many thanks
Mark
Comment