What I would personally do is set up a separate project, put your values into a comment so you can see what's happening on back test. then you can see what needs to be done.
@firima80 I don't know if you are using MT4 or 5 but if you use this on MT4 change the once per hour block, to a once per bar block set to 1h, just used it on MT4 and it wasn't counting the hours correctly.