Programmatically alter an Expert Advisor's parameters

 

Hey,

as the subject says, I would like to change an Expert Advisor's parameters according to my account drawdown and market conditions.
I do not have the EA code as it is one developed by a third party and I added on my account with an *.ex4 file.

Is that even possible with MQL4?

Thanks for helping.

 
Your topic has been moved to the section: MQL4 and MetaTrader 4
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
 
Lorenzo Baldacci: as the subject says, I would like to change an Expert Advisor's parameters according to my account drawdown and market conditions. I do not have the EA code as it is one developed by a third party and I added on my account with an *.ex4 file. Is that even possible with MQL4?

No, not possible!

Instead, set the EA's parameters in its Properties dialogue box according to your requirements, and then save the resulting chart to a template file.

Then you can use the template file the next time, as all the EAs parameters are saved in it.