Why doesn't my EA open any type of orders in the strategy tester?

Hi guys, I'm new and still starting out, I'm trying to launch this EA code in MQL5,

but although I don't have any type of error, when I try to test this EA in my strategy tester, it doesn't open any orders.

Can some good soul help me? thank you very much.

Below I share my code

Improperly formatted code removed by moderator. 


Your topic has been moved to the section: Expert Advisors and Automated Trading — Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893

Please EDIT your post and use the CODE button (Alt-S) when inserting code.

Code button in editor

Hover your mouse over your post and select "edit" ...