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
15
votes
2 answers

How to use CopyRates() to search and filter through several timeframes for Bullish Engulfing pattern

I am trying to use CopyRates() to search for a bullish engulfing candlestick pattern (bearish candle followed by a bigger bullish candle) on several timeframes (all timeframes H2 to M10 within an H4 bullish candle after it closes). I read the…
SuperHueman
  • 165
  • 15
11
votes
2 answers

Unable to install MetaTrader5

I could not install MetaTrader5 by: pip install MetaTrader5 I got the following error: ERROR: Could not find a version that satisfies the requirement MetaTrader5 (from versions: none) ERROR: No matching distribution found for MetaTrader5 Knowing…
Yazen WAKED
  • 133
  • 1
  • 5
9
votes
2 answers

How to properly close an opened order? (can't pass a ticket number to "position" when sending an order)

I want to open an order, no problem with that, but if I want to close this order, I need the ticket number, ticket that I can't write manually, it will be given after the order is opened. From the documentation, I've got this: but I can't pass…
edward
  • 596
  • 1
  • 4
  • 11
9
votes
7 answers

Could not find a version that satisfies the requirement MetaTrader5

I am trying to install a python package MetaTrader5 using the command python3 -m pip install MetaTrader5 and I have even tried pip install MetaTrader5 But it throws the following error ERROR: Could not find a version that satisfies the…
Fashil
  • 175
  • 2
  • 8
9
votes
2 answers

How to connect MetaTrader with a Node.JS?

I'm building a system, based on Node.JS, to connect with MetaTrader and to process all action like link account, open, close trade order... But I still have not found out the way how to connect with MetaTrader in Nodejs. Can you give me a solution…
8
votes
1 answer

How to find the largest number of times a candlestick pattern appears within 2 hours to 15 minute timeframes

I am trying to search figure out how to search for a pattern within a range of timeframes. Obviously, it is likely that the pattern would occur several times based on the timeframes, that’s why I’m particularly interested in the largest number of…
TenOutOfTen
  • 467
  • 6
  • 14
7
votes
3 answers

Call Metatrader MQL4/MQL5 function from imported DLL

I would like to call MQL4 or MQL5 function from my own imported DLL in Metatrader. Is it possible?
Michal Zmuda
  • 5,381
  • 3
  • 43
  • 39
6
votes
1 answer

How to tell when 3 Moving Averages cross within a duration of 4 candles or less

I've been working with 2 Moving averages crossing which is quite straight forward. I want to add a third to the mix and I'm trying to figure out to check for this occurring within 4 candles or less. For two moving averages I was using the…
IronThrone
  • 242
  • 1
  • 10
6
votes
0 answers

Converting native function of MQL5 to GPU using OpenCL

I have written a function in MQL5 for creating an indicator. Here I am attached the indicator file. Here is the OnCalculate() of the indicator: int OnCalculate(const int rates_total, const int prev_calculated,const int begin,const double…
Jaffer Wilson
  • 7,029
  • 10
  • 62
  • 139
5
votes
1 answer

Initializing metatrader in python

I am trying to use the Metatrader library to extract market data and build algorithms. The first lines to get started with this library just don't work import MetaTrader5 as mt5 mt5.initialize() These lines of code always return an output of False…
5
votes
1 answer

Converting mql4 EA to mql5

I have been trying to figure out how to change my MQL4 code to MQL5. So far I've been able to change the RSI and MACD conditions and SendOrder() but there's a lot, like the ModifyOrder() and CloseOrder() amongst other stuff that I've not been able…
BBNN
  • 139
  • 1
  • 9
5
votes
1 answer

How to make OnCalculate() function in Custom Indicator use GPU in MQL5 / OpenCL?

I have created an Indicator using MQL5. After Profiling, the program I read that 99% of my CPU is used by my OnCalculate(). Here is my function: int OnCalculate( const int rates_total, const int prev_calculated, …
Jaffer Wilson
  • 7,029
  • 10
  • 62
  • 139
4
votes
0 answers

Grpc notifications from server to client

I work in a fin tech company that develops trading systems using Meta Trader Manager Api implemented in C#, we have our own process that hides the meta trader dependencies and exposes server to client and client to server operations to other systems…
4
votes
1 answer

Close position from MT5 Python API not working

I'm trying to close an existing position in MT5 from Python but MT5 always claims an 'Unsupported Filling Mode'. I tried all possible filling modes but always get the same result. Same, if I omit the filling mode in the request. I also tried to…
hoga
  • 111
  • 5
4
votes
0 answers

How can I draw Fibonacci Retracement from one Zigzag point to the other

I have made an EA that simply displays the ZigZag indicator line. Please see the code below. I would like to add a Fibonacci retracement (as seen in the image link below) from the drawn one end to the other of the ZigZag in the opposite direction.…
BBNN
  • 139
  • 1
  • 9
1
2 3
19 20