Questions tagged [metatrader5]

Trading platform to provide brokerage services in Forex, CFD, Futures and equity markets.

211 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
  • 11
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
  • 427
  • 3
  • 13
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 Z m u d a
  • 4,882
  • 3
  • 40
  • 36
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
  • 230
  • 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
  • 6,237
  • 7
  • 46
  • 100
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
  • 129
  • 8
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
  • 6,237
  • 7
  • 46
  • 100
5
votes
3 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…
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
  • 6,237
  • 7
  • 46
  • 100
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
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
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
  • 427
  • 3
  • 13
3
votes
2 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
  • 105
  • 6
3
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
  • 129
  • 8
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,269
  • 2
  • 31
  • 73
1
2 3
14 15