I hard coded bar period as 1000. in timer.
SetWaitableTimer( AB_timer , &start_now, 1000, NULL, NULL, false ); // Bar period hardcoded by Josh1
I use the bar period to decide whether to create 1 sec or 1 min candles
Though it did not work on my laptop.