I took workshop 4_1 script and tested on 1.20 and 1.22.
Same script, same data, results are identical.
Now add just one line:

TakeProfit=4*ATR(100);

This changes everything: 1.20 is in big profit, 1.22 is in big loss?