Forum

closing MT5 terminal using Python

mt5.initialize () Opens the MT5 terminal/platform if it was not already open # shut down connection to the MetaTrader 5 terminal mt5 . shutdown () Closes the connection I am looking for a way of closing/shutting down the MT5 terminal/platform

Exporting payment history

Is there a way of exporting my mql5 payment transaction history together with my balance and my account details (such as login ID, email and maybe password) (or any subset of this)? Not particular if it is a csv or text file or other. Is it possible through the mql5 web or maybe even through the MT5

iCustom for Heiken Ashi

I am looking for the Close of the Heinken Ashi. Thought I have everything right, but gives me the wrong value double HAClose; color HColor1 = Red; color HColor2 = LawnGreen; color HColor3 = Red; color HColor4 = LawnGreen; HAClose = iCustom ( 0 , PERIOD_M1 , "Heiken Ashi"

Switching between different Accounts

Hi Is there a way to toggle through different MT5 accounts using a mql5 script or EA? I would like to do that for 2 reasons: 1. to get the account balances from different MT5 accounts 2. close all open trades from different MT5 accounts Is there anyone that can help me. Thanks in advance

Charting

I have a file with Symbol, Price and Description which are read into dynamic arrays mySymbol, myEntry, myDescription I have written a script to open a new Chart for each entry: - Symbol of the Chart is determined by the element from mySymbol - Horizontal Line with the level from myEntry, name of