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 ]

387 questions
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
  • 558
  • 5
  • 11
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,144
  • 4
  • 32
  • 50
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
  • 411
  • 11
  • 25
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
0 answers

Detecting New Objects on Chart in MQL4

I am aware of the various Object Functions. https://docs.mql4.com/objects But is it possible to detect a NEW object the very instance it appears? Examples would be new supply and demand zones. Thanks.
Michael
  • 9
  • 2
-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; …
Jonas
  • 1,633
  • 1
  • 6
  • 28
-1
votes
1 answer

How do I get the TimeFrame for an open order in MT mq4?

I'm scanning through the order list using the standard OrderSelect() function. Since there is a great function to get the current _Symbol for an order, I expected to find the equivalent for finding the timeframe (_Period). However, there is no such…
not2qubit
  • 10,014
  • 4
  • 72
  • 101
-1
votes
2 answers

MT4 - Place buy and sell limits at certain time

I would like to use Meta Trader 4 Expert Advisor to code a trading strategy. However, I could not find such function in MT4. A similar function in Python would be datetime.datetime(year, month, day, hour, minute, second). Essentially I want to do…
Idonknow
  • 137
  • 1
  • 2
  • 12
-1
votes
1 answer

Fibonacci retracement (line missing)

I have mql4 programming code of MT4 terminal's tool of Fibonacci Retracement. It automatically draws accurate % lines on chart regardless of type of financial instrument. The problem with the first code, which I am entirely copy pasting below, is…
Puppy00
  • 1
  • 1
-1
votes
1 answer

send message from metatrader4 to telegram bot in python

I am working on automating the trade signals generated in metatrader 4. Idea is to encode the buy/sell signals into message and send to a python telegram receiver code which will decode the message and take appropriate action (like placing orders…
-1
votes
1 answer

How to import data from mql4 (metatrader) to r in order to automate?

To work with the data and time series of the financial market in real time, most of the brokers that offer the platform metratrader allows the download of historical data of the pairs and indexes; This process is done manually to create a csv file.…
-1
votes
1 answer

MS Azure Closes Applications down when Disconnecting RDP

I reckon my applications close down whenever my Azure VPS is disconnected (click the "X" at the top of the screen - NOT logging off). I have my MetaTrader programme running and not every trade is being executed whenever my pre-determined conditions…
user9118621
  • 85
  • 1
  • 1
  • 8
-1
votes
1 answer

MetaTrader Terminal [ History Center ] section: missing data within the platform?

I have recently downloaded MT4 & MT5. In both of these platforms where the historical data section should be ( in the dropdown of the tools section ), it is missing in both and I cannot seem to find a way to access this function. It just doesn't…
joncreek
  • 11
  • 1
1 2 3
25
26