I recently switched from NT7 to NT8 and I must say that the transition when it comes to NinjaScript is not easy.
I successfully coded a 200+ lines indicator in NT7 but in NT8 even the most basic code (although it compiles OK) produces nothing.
Could a kind soul please tell me what's wrong with the following snippet?
Thanks so much.
protected override void OnBarUpdate()
{
if (High[0] < High[1]);
Draw.ArrowUp(this, "MyUpArrow" + CurrentBar, true, 0, Low[0] - 3 * TickSize, Brushes.Black);
PlaySound(NinjaTrader.Core.Globals.InstallDir + @"\sounds\Alert1.wav");
Comment