You can see in the workshop 6 how to optimize each currency pair. Look what is different in your script and there is then the bug.