/MetaTrader-5-and-4-Tools

Indicators and EA Snippets for MetaTrader 5

Primary LanguageMQL5

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