Hello, I just bought an Expert Advisor on the market here for MT4. However when I click on `Install on the terminal'. I see this message in MT4: `MQL4 Market: failed to get of info product [404]` I am running BDSwiss Global MetaTrader4 on a Mac. Hope someone can help me, if you need more info, just...
Hi! For background info, my MT4 build is Version:4.00 Build 1170 (20 Dec 2018) across all my PC devices. I have a problem equipping EA on one of my PC. It keeps saying 'EA' is not expert and cannot be executed. I was using this EA since long ago and this problem seemed started after 31 March.. But...
Hi, I know that there is a mql4 function of: SignalUnsubscribe() My understanding of this function is that it actually cancels the subscription entirely; so, if you wanted to start the same signal back up 1 day later you'd have to pay the full month's subscription fee a second time. Is this...
Hi All, While I'm not entirely new to coding I'm no pro either. I'm trying to code an EA that trades based on a basic Donchian Channel strategy, where I place a buy order when the price closes above the upper band, and closes that order when it touches the middle band. The short will open when the...
Hi, I import all currencies live price data from MT4 to Excel. Despite The other currencies show price, no problem, but EURJPY currency show me as "N/A" value. I try this formula in Excel to import prices; ='MT4'|BID!EURUSD . This formula work all currencies but EURJPY not. What can be problem...
I have a few EA and indicators that depend on several libraries and include files. Is there a way to make a sort of batch build file to compile all of them instead of manually build within MetaEditor?
Is it possible? If possible, what is the shortcut key (It is not "Shift + F12" as said in some topics)? Thanks.
Hello, I left a stop loss on over the weekend, the starting price when the market reopened was well above my stop loss. Rather than go I g me my stop loss price at cash out I was given the very high price that the market reopened at. My friend on the same trade was given his stop loss price though....
Hello Guys. :) I found an ea that's working nice, it has option open pending order (buy stop and sell stop) before news in time I set it, and cancel a pending order that was not trigger. The problem is, when the order is trigger there is no option to close automatically an opened order, and I would...
Hi, I wrote a DLL and it works fine on my desktops(Windows 8.1/10). But when I put it on a widows server where I have some MT4 running, there will be an "2019.03.18 11:50:01.646 Cannot load 'C:\Users\Administrator\AppData\Roaming\MetaQuotes\Terminal\2665AF226528B3E5842XXXXXXXXXX\MQL4\Libraries\my...
Recently my computer crashed,I fixed it but didn't completely reinstalled Windows 7. Now when I click File>Open Data Folder nothing opens;everything else works even on my MT5 platform but not on MT4 . Does anybody know why ?
Hi! I heard a lot of cases that old styled EA with old styled coding language are having trouble to run on MT4. Below for example that is in the new form: OnStartOnInitOnTick etc.. Does anyone have a list of such old styled code that were disabled since last MT4 update? I have few EAs having...
Hi there, I am trying to learn the coding of MetaEditor4. I have an EA from my friend and I am trying to learn each lines one by one. Currently EA doesn't place as many trades as it did, and I found the reason was because of TimeStart code in OrderSend, below is the relevant coding of the packet: On
How is it possible to get the digits of the symbol from Order Select? The order select will be selecting more than just the symbol. I have one method I don't know if I can trust The point is to use the order open price to find the digits. for(int iOT=0; iOT<OrdersTotal(); iOT++){if(!OrderSelect(iOT...
Or knows how to fix this error? I can’t commit any code since yesterday.
//+------------------------------------------------------------------+//| Mcgee's indicator.mq4 |//| McNilly Goshomi |//| mcnillygoshomi@gmail.com...
I am trying to pass a 2 dimensional double array to a C++ DLL without much luck. Is it actually possible to do this? The errors I am getting is "Cannot find 'ProcessFFTW' in DLLTest1.dll" and "FFTW_DLL Test 1 EURUSD, M1: unresolved import function call" This is the C++ code #include "stdafx...
Hello guys I'm writing an oscillator that calculates the percentage of bull candles for a certain period, but I noticed that it draws the line up to a certain point, someone is kind enough to help me? Thank you
Hi guys, i want your help for installing the custom indicator in mt-4.I know the normal procedure about how to install the indicator in mt-4 is go to C Drive- >Program Files - >MT-4 folder -> MQL4 folder - Indicators folder and add indicator there and after that restart the MetaTrader.Thats i was...
I'm trying to create an indicator panel in MT4 - never have done that before. I've done a couple of indicators in the past, but simplistic. Specifically I wish to show in an upper quadrant the current ATR(x) for multiple selected pairs all at on a Y time frame (ie, all 4 hour) in terms of pips. Does
void Log_On_Chart(string labelText, color labelColor) { int file_handle = FileOpen("abc.txt", FILE_READ|FILE_WRITE|FILE_TXT); if(file_handle != INVALID_HANDLE) { FileWrite(file_handle, labelText + "\n"); FileClose(file_handle); } else PrintFormat("Failed to open %s file...
Hi There, Is there a link where tells the update from old version of MT4 to new version? Because my EA which coded previously doesn't work well since there was an update. I had to re-code it but my EA doesn't function well (placing trade) as it used to.. Can anyone help me please? I am very...
Hi all another riddle, At the moment I am using an MT4 Client Terminal and DDE server is enabled. With EXCEL 2007 I can run Using the command : ='MT4'|BID!EURUSD I get 1.14745 ='MT4'|BID!AUDUSD I get 1.53659 ='MT4'|BID!GBPUSD I get N/A Please note: That GBPUSD is updating in my MT Client Terminal
I've been looking all over the forum and codebase for a local trade copier that closes the last trade before opening the next but only of the current type (buy or sell). Can someone point me to one if you are familiar or share code? Thank you
I'm putting together an EA, I'm testing this indicator "SMI" https://www.mql5.com/en/code/7203. For some reason after I read the first 2 values I get a maximum double value "2147483647.0", I've attached a screenshot of the Journal window which shows this. I'm not sure whether this is my code or the...
I have found the above thread while looking for some help. I would like to be able to compare the last two moving average cross prices (slow MA). How would I be able to change the methods shown in this thread to be able to do this? https://www.mql5.com/en/forum/216386 The methods seem to only get...
Hello! Where should I put an .hst file. I have a GBPUSD 1M file thats about 500mb. I put it in the history folder but nothing happens when I load up MT4. What am I doing wrong
double a=iBands(NULL, 0,20,2,0,MODE_LOW,1,1) double b=iBands(NULL, 0,20,2,0,MODE_LOW,1,2) if ( iClose (NULL, 0,1)>a&&iClose(NULL, 0,2)<b)
I have two questions: 1. Is it possible to programmatically control allowing trades? 2. In strategy tester, is it possible to select exact starting time of testing? Thanks.
I want to ask you the proper way to get a object (in example a Button) repositionate after changing the size of the chart. Thanks

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.