Page 1 of 3

Fix: MT4 keeps closing or crashing after loading

Posted: Thu Jul 12, 2018 3:29 pm
by Jimmy
Fix: MT4 keeps closing or crashing after loading

A common problem with MT4 is it will enter a loop of closing itself once opened and connected. You don't need to re-install your MT4 or delete your data folder, all you need to do is remove one file called "Community.ini" in the Config folder.

Open your MT4. Just before it closes itself you'll have just enough time to quickly click on FILE and click on OPEN DATA FOLDER.
Once you're in your data folder, open your CONFIG folder.
Inside your CONFIG folder, delete the COMMUNITY.INI file.
Restart your MT4 client and it will no longer close itself once loaded!

Re: Fix: MT4 keeps closing or crashing after loading

Posted: Fri Jul 20, 2018 10:36 pm
by friend4you
That file is not viewable in editor. Is it really needed?
Mostly it helps if mt4 crashes after restarts to rename the currently used profile in datafolder /profiles. Often it is enough to delete the biggest (often corrupt) chartXX.chr in your last used profile. After restart choose another profile.
So save your profile more often with other names or make backups of mt4 (all older mt4 chart data is in folder history, you will miss old candles or have gaps in chart if you loose this data as the broker server has only last x candles to load.

Re: Fix: MT4 keeps closing or crashing after loading

Posted: Wed Sep 05, 2018 11:08 pm
by FrancoisT
I am not sure, is this a good idea to delete something from "config" folder :) If I saw such issue, I will prefer to reinstall the platform :) It takes 10 seconds. However, I have tried many platforms, but didn't experienced such issue yet. Probably it will be good to test, if after deleting the file, the platform will work properly as well :)

Re: Fix: MT4 keeps closing or crashing after loading

Posted: Wed Sep 05, 2018 11:15 pm
by Jimmy
FrancoisT wrote: Wed Sep 05, 2018 11:08 pm I am not sure, is this a good idea to delete something from "config" folder :) If I saw such issue, I will prefer to reinstall the platform :) It takes 10 seconds. However, I have tried many platforms, but didn't experienced such issue yet. Probably it will be good to test, if after deleting the file, the platform will work properly as well :)
Re-installing the platform does not work. The only way to do it is either completely wipe your MT4 folders and start with a fresh install or simply delete the "Community.ini" file and save the trouble of having to re-install and install everything (plus lose your charts etc). The "Community.ini" file is useless anyway.

I've been doing it for the past 2 years now and it hasn't affected my live trading.

Re: Fix: MT4 keeps closing or crashing after loading

Posted: Thu Sep 06, 2018 2:00 am
by friend4you
FrancoisT wrote: Wed Sep 05, 2018 11:08 pm I am not sure, is this a good idea to delete something from "config" folder :) If I saw such issue, I will prefer to reinstall the platform :) It takes 10 seconds. However, I have tried many platforms, but didn't experienced such issue yet. Probably it will be good to test, if after deleting the file, the platform will work properly as well :)
To me my tip worked several times on several operating systems. Usually a chart file is invalid.

Re: Fix: MT4 keeps closing or crashing after loading

Posted: Wed Mar 03, 2021 4:41 am
by mlawson71
Thank you for that detailed explanation, Jimmy!

Re: Fix: MT4 keeps closing or crashing after loading

Posted: Mon Nov 15, 2021 2:13 am
by KAESER444
Jimmy wrote: Thu Jul 12, 2018 3:29 pm Fix: MT4 keeps closing or crashing after loading

A common problem with MT4 is it will enter a loop of closing itself once opened and connected. You don't need to re-install your MT4 or delete your data folder, all you need to do is remove one file called "Community.ini" in the Config folder.

Open your MT4. Just before it closes itself you'll have just enough time to quickly click on FILE and click on OPEN DATA FOLDER.

Once you're in your data folder, open your CONFIG folder.

Inside your CONFIG folder, delete the COMMUNITY.INI file.

Restart your MT4 client and it will no longer close itself once loaded!
Thank you Jimmy. This worked

Re: Fix: MT4 keeps closing or crashing after loading

Posted: Wed Nov 24, 2021 3:06 am
by mlawson71
I've had this problem with it in the past, thank you for that explanation! It was super frustrating having to deal with it. :(

Re: Fix: MT4 keeps closing or crashing after loading

Posted: Wed Jan 19, 2022 5:28 pm
by Swiss_cheese
A very handy tip! Great to know

Re: Fix: MT4 keeps closing or crashing after loading

Posted: Thu Jan 20, 2022 9:46 pm
by Krunal Gajjar
Thanks Jimmy for solution, it even speed up the terminal, however file Community.ini appears again when i restarts...
Do i have to remove every day for smooth running of terminal ?