I am using the MAX indicator. It takes a selector Func<. However, with Yahoo data my data is of type Yahoo and not BaseData. How do I define a selector that returns the High value from the Yahoo data?

I figured out how to create the selector function but getting it to use the right data still eludes me. I'd really appreciate any help you can provide.

I'm using the generic Yahoo data importer class that comes in the example.

Ignore the double <<. I only had to do that so the types would show up on this page.

Current code is:
Func< high = delegate(Yahoo data)
return data.High;
max = MAX(symbolStock, lookBack, Resolution.Daily, high);
Which throws error:
Argument 4: cannot convert from 'System.Func<' to 'System.Func<'