Template for an EA

 

Does anyone have some sort of readymade code or template for an EA that they are using every time they make an EA?

I’m not interested in the ‘logic’ of the EA, but some code taking care of the 4/5digits brokers issue, Normal broker/ECN/STP brokers issue, SL, TP, TS, Slippage, maybe some trading time and code in the EA so it can be back tested with the strategy tester and maybe more.

 

Templates to create EAs and Indicators:

- some good templates are here;

- templates with some new codes are here.

- Programming Modules with many programming functions are here.

- function of "mql4 code": thread with codes.

 
newdigital:
Templates to create EAs and Indicators:

- some good templates are here;

- templates with some new codes are here.

- Programming Modules with many programming functions are here.

- function of "mql4 code": thread with codes.

Thank you very much newdigital!

Reason: