please see the two attached screenshots - it´s the same strategy, just one time showing the MQ4 code and one time showing the "Pseudo Code". As you´ll notice, the "Pseudo Code" does not resemble the entry rules correctly, but luckily the MQ4 code is correct.
I´ve also underlined that one time "0.5" is shown for entry and "0.50" for the exit. Just being picky ;-)