Blessing Multipair EA

ForexClinic

My first thread in this forum, I am so excited...The idea for this EA started in another thread:https://www.forexfactory.com/showthread.php?t=792598Therefore this EA is based on the wonderful EA called “Blessing 3 v3.9.6.09”.The idea to try to build a multipair version came up in the above mentioned thread. After some brainstorming I began to like the idea. Though Blessing and multipair is kind of a contradiction. Blessing has so many parameters to finetune the EA exactly to your pair to trade, the time frame, your risk and and and.But anyway it might be worth a try to find some “global settings” that work well for all pairs. Just adjusted to the time frame and other global parameters (risk, broker and and and).What did I basically do?I took the latest source code from the original thread (“Blessing 3 v3.9.6.13”).… cleaned it from almost all display output… introduced a big struct that holds the variables for the pair to tradeThe start function is running a long “for to” loop over an array of the structs for the pairs to tradeI took out the hedge functiononly one and fixed magical number to be able to monitor the trades via a dashboard...moved the main part of the holiday check to the beginning of the start functionSounds simple but gave me some headache as the debug options for bugfixing in MT4 are really poor, compared to a “real” compiler.I can only perform backtesting with one pair at a time, which is not enough for a multipair EA. In realtime mode I can see whether it is working, but it is difficult to see if it is working in the right way.Enough words written: please take a look at the code and feel free to give feedback. There are for sure still many open points that I would love to discuss here in this thread.Especially when it comes to global settings (e.g. number of open trades) that might need to be moved into the struct.And please play around with different set-files to see which settings come close to “one size fits all” (thx Grand Wazoo). As a good starting point I can recommend the collection from Richard96816, that can be found in this post:

Mubashar Ahmad
09-02-2021
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum
Mubashar Ahmad
07-04-2021
sunt in culpa qui officia deserunt mollit anim id est laborum
Login First