2 successful experts from 2 pinescript strategies - converted to .mq4 - not opening orders on Strategy Tester

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi guys. These 2 experts are inspired on 2 "pine script" successful strategies.
I did it in MT4 and the problem on strategy tester is always the same (despite 0 errors and 0 warnings).
Am I missing something?
I leave the both files attached.
I can also share the tradingview pine editor code with you.
Many thanks for your help.