How do I calculate the remaining seconds in the current bar, so I can pass that number to the Alarm function preventing it from rearming until the next bar starts?
Alert("Alert", NinjaTrader.Cbi.Priority.High, "", @"C:\Program Files\NinjaTrader 6.5\sounds\kramgolf.wav", (remaining seconds), Color.White, Color.Black);
Comment