if (Close[0] > HiLoOfTimeRange(6, 30, 6, 50).TheHigh[0])
{
EnterLong(1, "");
}
but I get this message when compiling the first time:
"NinjaTrader.Strategy.Strategy.CurrentDayOHL() " is a 'method', which is not valid given context.
How can a Wizard-generated code have a compiling error? Any fix?

Comment