Mismatch Error and Trailing Loss

 

I am a beginner in EA programming and i recently developed an EA <Deleted> but my worry is the mismatched errors it's reporting in some currency pairs, sometines it can be as high as 5,000. Please how do i correct this

Secondly, when i run the backtest on different mt4 platforms from different brokers i noticed that the trailing loss works on some platforms and doesn't work on others. How do i solve this problem so that it work smoothly no matter the platform.

Thanks in advance.

Reason: