This is a simple EA test code I made for adapting Candlepatterns.mqh found at https://www.mql5.com/en/code/291.
It has also another desired translation inside: The news template found at https://www.mql5.com/en/code/19138.
Although it is not totally translated to MT5 as I am using MT4orders.mqh. Remember you must add MT4orders.mqh inside your include folder.
You can use it straight away as it works pretty nicely or you can add more indicators. Either way, enjoy.
// CORRECTED. I have also hidden Hanging Man and Hammer because the slight variation may open new trades but you can use it if you uncomment the lines.
an in-place comparison sortMQLUnit - Unit Tests Framework For Complex Expert Advisors
This unit test frameworks eases the development of unit tests for more complex expert advisor programs. The MQL5 developer can test single components. The test framework starts the strategy tester so that there is test data available if required. I am using the framework to do test driven development (TDD) on my MQL5 programs.