Why cant you run multiple MT4's?

Aug 02, 2019 at 10:44
668 Visa
9 Replies
Medlem sedan Feb 20, 2019   4 inlägg
Aug 02, 2019 at 10:44 (redigerad Aug 02, 2019 at 10:46)
The title says it all... even with the a great setup like I9-9900K & plenty of ram & ssd drive ... im not able to run +12 mt4's (8 charts per terminal) without any indicator or expert.

It runs but some terminals take a while when im switching. Or dont respond for a while.

I was woundering what is the biggest bottleneck? Its definatly not my CPU, its at 25% , ram at 24% , disk at 1% ... or my Network adaptor. Maybe its windows? (I also tried optimizing it with the max bars in history/Max bars in chart. Deleting my history, using Affinity/assign cores)

Any inside would be greatly appreciated.
Medlem sedan Aug 02, 2019   11 inlägg
Aug 02, 2019 at 12:04
Why do you need to run 12 MT4? That is a huge amount. You know that you can have different profiles on mt4 and can then switch between them
Medlem sedan Feb 20, 2019   4 inlägg
Aug 02, 2019 at 12:30
BallyLemur posted:
Why do you need to run 12 MT4? That is a huge amount. You know that you can have different profiles on mt4 and can then switch between them

It will be to install an EA on it. Just testing now how many mt4's i can run. Trading on 30 pairs, 4 timeframes each. Want to be able to use an 8 monitor setup. (2 x pairs + 4x timeframe = Per mt4) but it looks like even running basic mt4 with the charts loaded without any indicator my mt4 just is sluggish or doesnt respond , especially when there is a lot of volatility.

I wanne know what my bottleneck is, cause its not my setup or internet. So it must be something software related (mt4) or windows.
Medlem sedan Feb 22, 2011   4862 inlägg
Aug 02, 2019 at 18:34
I run 32 Mt4 on 1 server without single issue.
Though I use optimized mt4 setup
Medlem sedan Jan 05, 2016   1189 inlägg
Aug 02, 2019 at 19:37
Actually it IS your setup, if I am understanding what you are saying properly....

30 pairs X 4 time frames each = 120 instances of your EA

Now if you run that on 12 instances of your MT4 application on each terminal......

120 EA instances X 12 MT4 terminals = 1400 total EA instances running

Also, if you are running those on a VM (Virtual machine)... heh... good luck with that.
Not going to properly work. It's too heavy of a load.

If it were me, I rewrite the EA to only require one instance per physical terminal and use MTF (multiple time frame analaysis) and perform multiple currency pair analysis as well.

Do it this way, will reduce the 120 instances per terminal down to only 1 instance per terminal.

Also... Don't run multiple terminals connecting to the same account if that is what you are trying to do, you could end up with a problem with connection issues to the broker.
If it looks too good to be true, it's probably a scam! Let the buyer beware.
Medlem sedan Feb 20, 2019   4 inlägg
Aug 04, 2019 at 06:41 (redigerad Aug 04, 2019 at 06:43)
Professional4X posted:
Actually it IS your setup, if I am understanding what you are saying properly....

30 pairs X 4 time frames each = 120 instances of your EA

Now if you run that on 12 instances of your MT4 application on each terminal......

120 EA instances X 12 MT4 terminals = 1400 total EA instances running

Also, if you are running those on a VM (Virtual machine)... heh... good luck with that.
Not going to properly work. It's too heavy of a load.

If it were me, I rewrite the EA to only require one instance per physical terminal and use MTF (multiple time frame analaysis) and perform multiple currency pair analysis as well.

Do it this way, will reduce the 120 instances per terminal down to only 1 instance per terminal.

Also... Don't run multiple terminals connecting to the same account if that is what you are trying to do, you could end up with a problem with connection issues to the broker.

Small misunderstanding, let me rewrite it again. This is what i need:

14 MT4 terminals. On each MT4 terminal 2xPairs x4 timeframes (per pair) . So in total 112 charts. Per terminal 8 charts x 14 terminals=112 Charts in total


Also i 'stress' tested the PC with 18 terminals and 8 charts per terminal with all the MT4 indicators (X2) available and it runs without an issue. So i guess the coding in the EA is the bottleneck, It hasnt been updated since the December update. The only conclusion i can come to is that the mt4 update in december 2018 screwed up the code... i think.
Medlem sedan Jan 05, 2016   1189 inlägg
Aug 04, 2019 at 19:25
Do all 112 charts have the same EA running on them?

How many indicators on each chart?

Total number of EA instances in total = ???
Total number of indicator instances in total = ???

I'm guessing the EA need to be optimized to use MTF and Multiple currency analysis.





If it looks too good to be true, it's probably a scam! Let the buyer beware.
Medlem sedan Feb 20, 2019   4 inlägg
Aug 05, 2019 at 07:53
Yes same EA, working with Magic numbers & Underlying coding.

Total number of EA instances in total = 112
Total number of indicator instances in total = 224 (2 custom indicator for each chart to find entry point) + 112 (Custom controlling indicator that shows the trades/lots/tradelvl's/Hedges/marginlvl/balance/equity... etc running on that chart) , 336 in total.

The EA is supposed to work on MTF , because i can set the amount of Underlying trades i can take in the same pair on different timeframes.

For example: i use USD/CAD 5M / 15M / 30M / 1H timeframe , I can set if how many trades i want to trade into the pair.

Thats the setup. Also side note it hasnt been updated since the december build. So i was thinking its more Expert related then setup related.

Medlem sedan Jan 05, 2016   1189 inlägg
Aug 05, 2019 at 10:53
Geoffroy posted:
Yes same EA, working with Magic numbers & Underlying coding.

Total number of EA instances in total = 112
Total number of indicator instances in total = 224 (2 custom indicator for each chart to find entry point) + 112 (Custom controlling indicator that shows the trades/lots/tradelvl's/Hedges/marginlvl/balance/equity... etc running on that chart) , 336 in total.

336 (EA & Indicators) is considerable processing.




Geoffroy posted:
The EA is supposed to work on MTF , because i can set the amount of Underlying trades i can take in the same pair on different timeframes.

For example: i use USD/CAD 5M / 15M / 30M / 1H timeframe , I can set if how many trades i want to trade into the pair.

Thats the setup. Also side note it hasnt been updated since the december build. So i was thinking its more Expert related then setup related.



By using PROPER multiple time frame analysis, your EA shouldn't need to be loaded 112 times.

It is fairly simple to query any of the available timeframes from within your EA, you don't need to load it 112 times, You would only need to load it once per currency pair and have an input for the EA to determine which time frames to use. You should also be able to assign a specific Magic Number to each time frame as well.

Here is a link to the MQL4 documentation.
https://docs.mql4.com/

Here is a link to the Book.
https://book.mql4.com/



If it looks too good to be true, it's probably a scam! Let the buyer beware.
Medlem sedan Apr 18, 2017   920 inlägg
Aug 30, 2019 at 17:32
Hello mate; what’s the update? Are you now using the 12 mt4 trading account? Or till now no solution?
Logga in / Registrera dig to comment
You must be connected to Myfxbook in order to leave a comment
*Kommersiell användning och skräppost tolereras inte och kan leda till att kontot avslutas.
Tips: Om du lägger upp en bild/youtube-adress bäddas den automatiskt in i ditt inlägg!
Tips: Skriv @-tecknet för att automatiskt komplettera ett användarnamn som deltar i den här diskussionen.