ExpertAdvisor within ExpertAdvisor .. nested EA

ExpertAdvisor within ExpertAdvisor .. nested EA

Manage alerts

Loading saved threads...

Daniel Kaufmann · External communityPost link
External question — Stack Overflow Stack Exchange Author: Daniel Kaufmann Original post: https://stackoverflow.com/questions/77337218 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. I have an MT4-EA but no code of it. The EA is working fine - but sensitive to news... So, my idea would be to create a new EA that just watches news. and reference the other EA inside the new one. when news get active i just want to disable the other EA and when its over to resume it. is this somehow possible? or another idea? can i referenve another ea to run within another including their input values? tried not much yet... im looking for ideas to solve this issue before creating tons of code... ANSWER: ... found a solution Its not possible to "control" another EA - but.. You open, close a chart by using a template. other EA can be applied and chart saved as template. the other EA can then just open/close the chart with template. long id = ChartOpen("EURUSD",PERIOD_H1); ChartApplyTemplate(id, "TemplateName.tpl");
Quote
Report
Mark SdS · External communityPost link
External answer — Stack Overflow Stack Exchange Author: Mark SdS Original post: https://stackoverflow.com/a/77339002 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. Based on the last suggestion in this thread maybe you could have one EA keeping an eye on a newsfeed and creating files with instructions that can be read by the second EA. Plz keep us updated if any progression!
Quote
Report

Post Reply

Quoted from Forex.com.bd-Editorial External question — Stack Overflow Stack Exchange Author: Daniel Kaufmann Source score (net votes, not local likes): 0 Original post: https://stackoverflow.com/questions/77337218 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. I have an MT4-EA but no code of it. The EA is working fine - but sensitive to news... So, my idea would be to create a new EA that just watches news. and reference the other EA inside the new one. when news get active i just want to disable the other EA and when its over to resume it. is this somehow possible? or another idea? can i referenve another ea to run within another including their input values? tried not much yet... im looking for ideas to solve this issue before creating tons of code... ANSWER: ... found a solution Its not possible to "control" another EA - but.. You open, close a chart by using a template. other EA can be applied and chart saved as template. the other EA can then just open/close the chart with template. long id = ChartOpen("EURUSD",PERIOD_H1); ChartApplyTemplate(id, "TemplateName.tpl");

Cancel quote

Checking account access…