Although the simple test line:
Draw.TextFixed(this, "tag1", "Test text", TextPosition.TopRight);
compiles fine in an Indicator type, it will not compile in a BarTypes type, even when using the same Using declarations.
The same line in a BarTypes gives the error:
CS1502 (the method has some invalid arguments)
CS1503 (indicating that the 'this' key word cannot be converted from NinjaTrader.NinjaScript.BarTypes.xBars to NinjaTrader.NinjaScript.NinjaScriptBase)
I cannot find anything in the NT8 manual on this.
Is there a work-around for this ?
And how can I find out which other methods may / may not work when compiled in different file types ?
Many Thanks

Comment