Skip to content

peterthomet/MetaTrader-5-and-4-Tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f68dd1b · Jan 18, 2025
Jun 24, 2017
Nov 19, 2021
Sep 8, 2024
Nov 19, 2021
Sep 11, 2021
Sep 13, 2018
Sep 8, 2024
May 21, 2024
Jan 4, 2025
Mar 12, 2020
Mar 12, 2020
Jan 13, 2025
Jan 2, 2024
Nov 19, 2021
Nov 19, 2021
May 19, 2024
Apr 9, 2019
Sep 13, 2018
Feb 8, 2019
Jun 24, 2017
Apr 15, 2019
Jun 3, 2024
Jan 18, 2025
Mar 12, 2020
Mar 12, 2020
Dec 12, 2023
Jun 24, 2017
Feb 17, 2024

Repository files navigation

Indicators and EA Snippets for MetaTrader 5


⚠️ MT4 abandoned. Only the code for MT5 is up to date and gets further updates.


Some MT5 indicators and tools I use for my trading. Feel free to contribute improvements and let me know your ideas.

My major developments are the Trade Manager, a Currency Strength indicator and a Pivot Points indicator. A special facility allows for up to 20 times faster backtesting of currency strength related strategies. A SQLite database is used to build up a store of currency strength data. This database can then be used for backtesting with the Trade Manager, or any other tool, without time consuming calculations.

For those who want to install everything in one shot, I have added a zip file of my entire MQL5 content. Just install a new MT5 terminal and replace the folder MQL5 with the content of the zip file. In options, charts, set max bars to 1000000, some tools need this.




Trade Manager Keys

Ctrl Activates and Deactivates the Command Mode

Keys in Command Mode:

1 Open a Buy Trade
3 Open a Sell Trade
5 Activate/Deactivate Hard Single Break Even Mode
6 Activate/Deactivate Soft Basket Break Even Mode
8 Activate/Deactivate Close Basket at Break Even
0 Close all Trades
, Decrease Trade Volume
. Increase Trade Volume
A Decrease Stop Loss
S Increase Stop Loss
D Decrease Take Profit
F Increase Take Profit
X Toggle Currency to open Buy/Sell Bag (7 Trades)
Y Reset open Buy/Sell Bag to current Pair
V Toggle View of opened Trades by Pairs or Currencies
L Toggle Lipstick (Drawings of Asia Range and NY Open)

Shift Activates and Deactivates the Single Trade Management Mode

Keys in Single Trade Management Mode:

A Decrease Stop Loss
S Increase Stop Loss
D Decrease Take Profit
F Increase Take Profit
G Activate Previous Trade
H Activate Next Trade



MT5 uses the key codes not the characters. The characters listed here are based on this QWERTZ keyboard layout. If your keyboard layout is different, be sure you use the same keys, not the corresponding characters.


QWERTZ Keyboard Layout



Trade Manager Sample, Setup a Basket with balanced Risk



Trade Manager Aggregated View and Close of Trades



Trade Manager Add Pending Orders with Drag and Drop and Proper Risk



Forex Currency Strength Analysis Tool



Seconds Charts for MetaTrader 5



Synchronized Chart Scroll and Session Marking for MetaTrader 5



Trade Copier Service for Trade Manager for MetaTrader 5