i'm trying to implement something that seems like it should work but it wont

namespace NinjaTrader.Strategy
{
public class MyTestStrat : Strategy
{
protected override void Initialize()
{
PT_DelegateTest test = new PT_DelegateTest();
test.Evaluate = delegate() { return true; };
}
}
}
public class PT_DelegateTest
{
public delegate bool Evaluate();
}

Comment