namespace ClassLibrary1
{
public static class Class1
{
public static string Hello()
{
return "hello";
}
}
}
then I reference it in my Ninjascript, It seems like I can't do this at all
/// <summary>
/// This method is used to configure the indicator and is called once before any bar data is loaded.
/// </summary>
protected override void Initialize()
{ //
Class1.Hello();
Add(new Plot(Color.FromKnownColor(KnownColor.Orange), PlotStyle.Line, "Plot0"));
Overlay = false;
}
ofcourse i have the Using Directives and what not. Is this not supported or Am i doing something wrong?

Comment