Questions tagged [metatrader4]

MetaTrader 4 is an electronic client/server trading platform widely used by online retail foreign exchange speculative traders. Anthony Papaevagorou, head of sales at MetaQuotes, has announced MetaQuotes no longer intends to issue upgrades to the MetaTrader 4 (MT4) [ recently reported on 2016-11-15 ]

MetaTrader 4, also known as MT4, 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 the software to their clients.

The software consists of both a client and server component. The server component is run by the broker 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) [ reported on 2016-11-15 ]

437 questions
0
votes
2 answers

How to export currency exchange from metatrader?

I'm lookin for a solution, how to export currency exchange from metatrader (4 or 5) to web (json, csv, xml...) I saw that it is possible export to excel file.
jasne
  • 53
  • 1
  • 11
0
votes
1 answer

MQL4 - find the exact price and time for 2 MA crossover

I am trying to write MQL4 code to find the exact price and time for all the 2 MA (50 and 100) earlier crossovers that has already taken place in my MT4 charts. Would appreciate any pointers. Thanks,
XMarshall
  • 953
  • 3
  • 11
  • 23
0
votes
2 answers

Communicate from a C++ DLL to a running C# programm

I just implemented a C++ DLL into Metatrader 4. In this DLL, a function is occasionally called by Metatrader. This function gets values from Metatrader and should pass it a C# program which is already running. What's the proper way to do this? Thank…
user1956123
  • 45
  • 1
  • 10
0
votes
1 answer

MT4 calculations issue

In Mt4 you can generate a [Detailed Report] in Terminal by going to Account History->right click->generate detailed report Is it possible to do it not by client terminal?
user502967
  • 327
  • 1
  • 3
  • 13
0
votes
1 answer

HTTP Post MQL4 to php

This is a piece of code I am trying to use to POST a set of 13 parameter values from the MQL4 script to an external php script, named upload.php string headers = "Content-Type: application/x-www-form-urlencoded"; string data =…
champ2014
  • 1
  • 4
0
votes
1 answer

Script or Code to add/modify user accounts in Metatrader Manager

I would like to ask same question as Alberto Martin asked before here Script/Code to add/modify user accounts in Metatrader Manager I need to work with "Metatrader Manager"; i need to manage user accounts, thousands of them, so i need to program…
eli
  • 9
  • 1
0
votes
3 answers

Create MetaTrader4 DLL with VB.Net

I'm trying to create a DLL for MetaTrader4 with VB.Net. Most of the examples are in C++, but I know it can be done in VB.Net. I know it is a bit more tricky than C++. Can anyone point me in the right direction? something about defining MT4_EXPFUNC…
jlee88my
  • 2,935
  • 21
  • 28
0
votes
1 answer

MetaTrader4 close (crash?) on deinit() + dll threading on WinXP Mode Virtual PC

I have a native library built with Visual Studio 2012. Required project configuration properties: General / Platform Toolset = Visual Studio 2012 - Windows XP (v110_xp) C/C++ / Code Generation / Runtime Library = Multi-threaded…
Ogmios
  • 646
  • 7
  • 12
0
votes
1 answer

What does it mean if the icon beside my mq4 expert advisor is gray?

I have written an mq4 expert advisor: donat_chart_test. In MetaTrader4 I see that the icon beside it is gray. The expert advisor works fine. What does it mean if the icon beside the expert advisor is gray?
Donato Szilagyi
  • 4,279
  • 4
  • 36
  • 53
0
votes
1 answer

MQL4 - Multidimensional Array as Parameter in Function where is inserted a one-dimensional array

I supposed it would be much easier, but I cant use a two-dimensional array as parameter in a simple mql4 function and insert elements in it. I don't know where the problem is. I have a function declared like this: void insert_array_in_multi(double…
Alberto Martín
  • 439
  • 13
  • 26
0
votes
1 answer

Calling/Marshalling strings from c# dll to unmanaged code

I'm trying to call a c# function in a dll from an unmanaged 3rd party app - metatrader I have followed advice from Calling C# dll from unmanaged code however, the example about marshalling strings does not work. Note: I have successfully called…
0
votes
2 answers

Post Trades to IRC from MT4

I attempted to create my own small program to post my trades to IRC. I had trouble finishing the program. Then I found this program which essentially accomplishes what I'm trying to do. There are two problems: The first problem is, I just want a…
-1
votes
2 answers

how i get information from the indicator signs I used in mql4

I'm using an indicator in mql4 that gives me a sign to buy or sell, How can I write an expert and read it and perform my operations whenever this symbol is added? thanks
hosein
  • 1
  • 1
-1
votes
1 answer

my if condition in Mql4 is never established

in the below code if(sma5_after > sma18_after) never is true while this condition is repeated many times in the chart I use Mql4 in meta trader4 void OnTick() { if(iVolume(_Symbol,_Period,0)<=1) { sma5_befor =…
Alex
  • 1
-1
votes
2 answers

How can I select only the last closed order(s) on Metatrader 4?

Right now I select all history trades using a loop whenever there is a new history trade (onTimer handler with 1 second timer period): /* 3.) History Trades */ static int historyTradesTotal=0; …
JSRB
  • 2,492
  • 1
  • 17
  • 48