Thank you, Jcl.

One question I have is regarding the function ExitTime = 1. Does it close the position at the Close of the present Bar?