Questions tagged [metatrader5]

MT5 Client Terminal trading platform and MT5 Server are parts of the Client/Server infrastructure for Brokers to provide brokerage services for clients, who can access and trade on Forex, CFD, Commodities, Futures, DeFi and equity markets. Both manual ( discretionary ) and algorithmic trading styles are supported on MT5 Client Terminal, mobile-based and web-based trading with also built-in and/or 3rd party assisted back-testing analyses tooling available.

MetaTrader 5, also known as MT5, was launched as a new product-line, after well known MetaTrader 4 platform has reached a phase of core-platform re-engineering.

MT5 is an electronic trading platform widely used by online retail foreign exchange speculative traders. It was developed by MetaQuotes Software and released in 2005. The software is licensed to foreign exchange brokers who provide, often branded under their respective names, the MT4/5-Terminal software to their clients.

The software consists of both a client and server components. The server-side, multi-host components are run by the broker, typically as a colocated infrastructure as close as possible to their FX-market liquidity provider DataCenter, and the client software is provided to the brokers customers, which use it to see live streaming prices, charts and to place orders as well as manage their account.

MetaQuotes head of sales, Anthony Papaevagorou, has announced MetaQuotes no longer intends to issue upgrades to the MetaTrader 4 (MT4) in favour of further promoting only the MetaTrader 5 (MT5) as the MetaQuotes' sole, flag-ship product [ reported on 2016-11-15 ]

287 questions
4
votes
2 answers

Integrating the OHLC value from Python API to MT5 using MQL5

I have obtained the OHLC values from the iqoption and trying to find out a way to use it with MT5. Here is how I got the values: import time from iqoptionapi.stable_api import…
Jaffer Wilson
  • 7,029
  • 10
  • 62
  • 139
4
votes
1 answer

Getting prices of broker without MT4

I am trying to do some stuff in Forex with low latency. I'm currently using mql. But as far as I see MT4 terminal is very slow and I can't execute as fast as i want. I am guessing mt4 terminal getting the prices with some FIX message and sends…
mert
  • 88
  • 9
4
votes
2 answers

How to get an amount of open trades in MQL5

I want to get the amount of open trades in MQL5 on a demo account during strategy testing. PositionsTotal() and OrdersTotal() always return 0 even if there are open trades. The solution suggested here does not work. Any help will be appreciated.
Freek Nortier
  • 780
  • 1
  • 13
  • 27
4
votes
1 answer

Metatrader Plugin: what is it?

What is Metatrader plugin? I have seen the term in several promotions and articles. What was described in these articles was a species expert with inserts of libraries in other languages ​​(not MQL4 / 5).
user1749081
  • 63
  • 1
  • 5
3
votes
4 answers

MT5/Metatrader 5 connect to different MT5 terminals using python

I've got multiple python programs that connect to Mt5 terminal using the following code. # Establish connection to the MetaTrader 5 terminal if not mt5.initialize("C:\\Program Files\\ICMarkets - MetaTrader 5 - 01\\terminal64.exe"): …
usert4jju7
  • 1,653
  • 3
  • 27
  • 59
3
votes
2 answers

MT5 opening order returns "None"

I'm new and am trying to build a python bot for MT5. i tried to send a trade in MT5 over python, however it always returns "None". I've input all the required information, could it be because of decimal error? import os from datetime import…
Andy Quek
  • 51
  • 5
3
votes
1 answer

How to search for a candlestick pattern on multiple timeframes

I have an expert advisor that draws rectangle on a specifically defined bearish pinbar followed by a bullish candle. Please see the code below. It basically shows the rectangle on the timeframe displayed on the chart. How can I search for this…
TenOutOfTen
  • 467
  • 6
  • 14
3
votes
1 answer
3
votes
0 answers

Using MQL5 network functions on strategy tester

I want to receive data from metatrader and use them to do some process in another programming language, i can connect metatrader and my other script code with the network functions that mql5 has been provided but they don't work for testing on…
amin msh
  • 472
  • 5
  • 14
3
votes
1 answer

Create Client side socket (Winsock, MQL5, MT5) and Server side Socket using (NodeJS + Socket.io)

I have a windows server 2016 and I am trying to send data from Meta Trader 5 using EA to the specific port (777) in localhost and I am using NodeJS, Socket.io on the other hand to capture that data. I would like to pass data from MT5 to a…
Murlidhar Fichadia
  • 2,589
  • 6
  • 43
  • 93
3
votes
2 answers

MQL4 run EA on all symbols by adding to just one chart

In MetaTrader4 Terminal I write a simple alert EA I would like to run my EA on all FOREX Majors and FOREX Minors, I've got my code all done, but I want it to automatically run on all symbols in my [ Market Watch ] panel. Here is my code, it is very…
3
votes
4 answers

Install Metatrader 5 on Ubuntu 17.04

I try to install Metatrader 5, on Ubuntu 17.04 (64-bit). I get stuck, and need somebody to help me to solve this problem. I've installed wine-2.0.1, which is the latest stable version at the moment, and it's for 64-bit. Finally, after successfully…
MaxKing
  • 188
  • 1
  • 8
2
votes
0 answers

how to code multiple values of an indicator into new custom indicator?(MQL5)

Let's use MACD as an example. It has 2-3 values(1st for the MACD line, 2nd for the signal line, and 3rd if it has a histogram). I'm trying to incorporate those values into a new indicator. I figured I would need multiple buffers and SetIndexBuffer…
enterjcs
  • 21
  • 2
2
votes
1 answer

got retcode=10021 in python with MT5

I'm trying to create a trading bot that makes orders instead of making them manually from the MetaTrader5 App, I make the function below Note: BoS: Buy or Sell | sl: Stop Loss | tp: Take Profit | lot: Volume def MetaTrader_Order(symbol, BoS, price,…
2
votes
3 answers

Changing stoploss in metatrader5 with python using Metatrader5 library and nothing happens

I have this code for changing stoploss on opened order/orders in metatrader 5. When I run this code nothing happens even when my compiler print that, nothing is wrong. I have algotrading on so I'm not sure where is the problem. Here is source…
Kurina11
  • 95
  • 1
  • 3
  • 13
1
2
3
19 20