Hi coders, hope you can help a non-programmer myself ...
I have 2 strategies written in 2 EAs. Currently, I load the 2 EAs into 2 different charts but with different coded conditions (same magic), in other words, at any point of time, only one EA is trading and the other EA is in dormant state (both EAs are switching to each others), depending on the coded conditions. The problem now is running 2 EAs will increase my computer's CPU and memory, this is not a good idea. FYI, I plan to add another 2 more new strategies later (total of 4 strategies), I think my computer will get smoke sooner and later
I studied the https://docs.mql4.com/chart_operations , I think the ChartOpen, ChartApplyTemplate and ChartClose commands are suitable for me to save my computer's CPU and memory. To understand each of the chart command, I think I can understand 80% how to code it. However, to combine the 3 commands to work together, I don't think I can code it.
This flowchart picture tells you what I intend to achieve i.e. at any point of time, even if I have 100 different strategies, my MT4 terminal will only have 1 chart that loaded with an EA and will never happen > 1 chart, that's all. Hope you can help, thank you.
I have 2 strategies written in 2 EAs. Currently, I load the 2 EAs into 2 different charts but with different coded conditions (same magic), in other words, at any point of time, only one EA is trading and the other EA is in dormant state (both EAs are switching to each others), depending on the coded conditions. The problem now is running 2 EAs will increase my computer's CPU and memory, this is not a good idea. FYI, I plan to add another 2 more new strategies later (total of 4 strategies), I think my computer will get smoke sooner and later
I studied the https://docs.mql4.com/chart_operations , I think the ChartOpen, ChartApplyTemplate and ChartClose commands are suitable for me to save my computer's CPU and memory. To understand each of the chart command, I think I can understand 80% how to code it. However, to combine the 3 commands to work together, I don't think I can code it.
This flowchart picture tells you what I intend to achieve i.e. at any point of time, even if I have 100 different strategies, my MT4 terminal will only have 1 chart that loaded with an EA and will never happen > 1 chart, that's all. Hope you can help, thank you.