Custom indicator fails to load on main chart but loads successfully in strategy tester

 

Something strange happening. I'm attaching my EA to the main chart

but it throwing error saying cannot load custom indicator 4802

It runs perfectly on strategy tester with no issues

I've searched the forum but can't find a similar problem.

Below is the attachment of the EA and indicator

TDI auto is the EA

TDI the Indicator

I'll really appreciate your help

Executable files removed by moderator.
Files:
TDI_auto.mq5  38 kb
TDI.mq5  18 kb
 
If you want to discuss your indicators, then provide source code files, not executable files which will be removed.
 
Fernando Carreiro #:
If you want to discuss your indicators, then provide source code files, not executable files which will be removed.

I'm so sorry I uploaded executable. Thought I copied source files on my phone