logo

Convert Setting File From MT4 to MT5

Avatar
  • updated

Hello Community,

I have created this script in Powershell that converts a setting file from Metatrader 4 (MT4) to Metatrader 5 (MT5).

Open cmd.exe and execute this

powershell.exe -file ".\Convert_MT4_to_MT5.ps1" CP-EURUSD.set

Convert_MT4_to_MT5.ps1

Avatar
Ulises Cune

New version that supports up to version 2.49 Final Release


powershell -ExecutionPolicy Bypass -File "CommunityPowerEA_Convert-MT4_To_MT5-gui.ps1"

Console Version:

CommunityPowerEA_Convert_MT4_to_MT5.ps1

Gui Version:

CommunityPowerEA_Convert-MT4_To_MT5-gui.ps1


Avatar
Ulises Cune

New version that supports up to version 2.49.3

Console Version:

CommunityPowerEA_Convert_MT4_to_MT5.ps1

Gui Version:

CommunityPowerEA_Convert-MT4_To_MT5-gui.ps1

Avatar
Ulises Cune

New version that supports up to version 2.48

New parameter:

CL_CloseOnProfitAndDD

PartialClose_CloseProfitItself


Console Version:

CommunityPowerEA_Convert_MT4_to_MT5.ps1

Gui Version:

CommunityPowerEA_Convert-MT4_To_MT5-gui.ps1


Avatar
Ulises Cune

New version that supports up to version 2.47


New parameter:

UseOnlyOpenedTrades


Console Version:

CommunityPowerEA_Convert_MT4_to_MT5.ps1


Gui Version:

CommunityPowerEA_Convert-MT4_To_MT5-gui.ps1


Avatar
Ulises Cune

New version that supports up to version 2.45

Console Version:

CommunityPowerEA_Convert_MT4_to_MT5.ps1


Gui Version:

CommunityPowerEA_Convert-MT4_To_MT5-gui.ps1


Avatar
Andrey Khatimlianskyi
Quote from md mijanur rahman

Dear Sir, 

I am saying not the set files converter. I am saying mt4.ex4 to mt5.ex5 EA converted

Thanks,

---

CP EA for MT5 can be found here — https://www.mql5.com/en/market/product/48493

Avatar
md mijanur rahman
Quote from Ulises Cune

Hello Community.

I have created a version with Window to make it easier to use and to be able to convert multiple files with one click.

Simply drag the files to the window and press the button

GUI Version (v2.1)

Convert-MT4_To_MT5-gui.ps1

Console Version (v1.3)

Convert_MT4_to_MT5.ps1

Dear Sir, 

I am saying not the set files converter. I am saying mt4.ex4 to mt5.ex5 EA converted

Thanks,

---

Avatar
Ulises Cune

New version that supports up to version 2.38

The following options were added:

  • Oscillators_TF
  • AllowHedge
  • Pending_DisableForOpposite
  • GlobalTakeProfit_OnlyLock
  • UseVirtualTP
  • AntiMartingail_AllowTP
  • AllowBothMartinAndAntiMartin
  • PartialCloseHedge_MainToMain
  • PartialCloseHedge_BothWays
  • Oscillators_UseClosedBars
  • Oscillator2_UseClosedBars
  • Oscillator3_UseClosedBars

Console Version:

CommunityPowerEA_Convert_MT4_to_MT5.ps1

Gui Version:

CommunityPowerEA_Convert-MT4_To_MT5-gui.ps1
CommunityPowerEA_Convert-MT4_To_MT5-gui_run.bat

Avatar
Ulises Cune

Hello Community,

I have added support for version 2.35 which has the new options

MACD2

DTrend


I leave the repository where you can always find the latest version of this script.

https://github.com/ulises2k/CommunityPowerEA_Convert_MT4_to_MT5

GUI Version (v2.6)

CommunityPowerEA_Convert-MT4_To_MT5-gui.ps1

Console Version (v1.6)

CommunityPowerEA_Convert_MT4_to_MT5.ps1


Avatar
Ulises Cune

New boolean value added

ZZ_Reverse

Tester setting the default value is 0 and the Profile setting value is false. This and all similar values are converted to false for MT5

GUI Version (v2.5)

CommunityPowerEA_Convert-MT4_To_MT5-gui.ps1


Console Version (v1.5)

CommunityPowerEA_Convert_MT4_to_MT5.ps1