Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1164

To post a new topic, please log in or register
Hello I have a code which puts up some vertical lines on the turning points in a chart. It works good in all time framesexcept in the H1. I just can’t understand why, any ideas please. Thanks
We continuously work on improving the MQL4.community website to make it even moreuser-friendly: The visitors of our website have long been enjoying "similar topics" that choose the nearest message “on the fly”, which allows them to locate replies to the broached subjectsassociatively. To...
H1 Chart Cannot Move Back 4 Me Plz Help Plz Help It's Stopped on Year 2004
In the OrderClose function you are able to define a lot size, then you would hopeto only partially close the orders as it works for manual orders. But it doesn't work. The order is closed only if the lot size is the total lot size(then why to have this extra parameter) So the solution is usually...
Hello, I'm trying to read values from a indicator, I need the current value and the "Current-1"value. I dont really understant the syntax of the command, let say iRSI(NULL,0,14,PRICE_CLOSE,0) is the value from the current tick? and to read the "current -1" isiRSI(NULL, 0,14,PRICE_CLOSE,1) ? I've...
I am trying to create an expert that imports an external DLL to connect to PostgreSQLor MS SQL Server Express. I found a library from SQLAPI++ that allows one to connect to any database; however,I can't get it to compile for the life of me. Can someone help me with the syntax (its currently more C++...
Hi, I have to add a trigger on a relationship from business. I can do it with the Businessmodule of Ematrix. Can anybody help me to do the same through an MQL query?
Hi All, I've created this post because I need programming help with my EAs. I think I've created a couple profitable ones, but they quickly tank because of overtrading. Usually the first trade of the day is profitable, but because conditions of the EA are still there, it opens more trades until...
For several days now my Strategy Tester does not work in MetaTrader. I have researchedthe problem and it seems that the data from the server is the problem so I havedownloaded the history again and I get the same problems. The statements beloware from the Strategy Tester's journal. Also when I look...
I'm working on this code fasterMANow = iMA(NULL, 0, 8, 0, 1, PRICE_CLOSE, 0); fasterMAPrevious = iMA(NULL, 0, 8, 0, 1, PRICE_CLOSE, 1); fasterMAafter = iMA(NULL, 0, 8, 0, 1, PRICE_CLOSE, -1); slowerMAnow = iMA(NULL, 0, 21, 0, 1, PRICE_CLOSE, 0); slowerMAprevious = iMA(NULL, 0, 21, 0, 1,...
Hopefully, someone might be able to help me with this. I'm trying the determine the index of the next available (blank) location in oneof the buffers (ExtMap_Indicator) created for me automatically in a custom indicator.The first time the start() function is called, the value returned by...
Hello With MQL4, I have always the same problem in general. Take a look at the followingcode: int start() {//---- if(AccountEquity()>2000) ShowMessageBox();//---- return(0); } void ShowMessageBox(){ Messagebox("This is the Messagebox"); } Problem is, as soon as the Equity is over 2000, the...
Elite E Services requires MQL programmers who are reliable, honest, prompt, andtransparent. We have a team of programmers but are always short it seems, we sometimeshave more projects than we can handle. We have a steady demand for EA programmingand the occasional request for more complex...
I am trying to write an EA that uses OrdersHistoryTotal and OrdersTotal...problemis, both of these keep returning 0 even though I am running these on the live mini-lotaccount I have been using for over 5 months. I can see the order history in theAccount History tab, but I get nothing in the EA. I...
Hi fellows, Is it possible for a broker to incapacitate or frustrate the activities of an EAinstalled on its platform by a client? if yes, how? thanks.
What is the difference in pips  between SL/TP and current price? Can I changeit?
Hi, Can you please show me the conceptual errors in the code below. My aim was to trytwo long patterns on a ADX, Stochastic and SAR basis. The matter is that - although the compilation returns no errors - no orders areprocessed/sent. Many Thanks in advice. SimonTrader P.S: MyADX_Celeste means ADX...
Hello all, Is it possible to use another computer language with MQL4? Something like using a DLL? Thks Paulo
Hello, I have been trading per 6 years. I want to learn how to programm my own strategiesand make them EA's, where should i start? Thanks HAD
Hi Folks I keep getting a 4051 error saying the OrderClose syntax is wrong. Can somebodyhelp me out? What would be the syntax to get this script working properly? invalid ticket for OrderClose function Error No4051 with Close SELL1...
Hi, I want to use custom indicator values for an expert advisor, I've tested andknow how to get the values in a simple chart with two indicators, but what shouldI use for the EA? I mean, should i use Visual Mode and drop there the indicator that set the globalvariables? or whot?
Hello, if you let a EA Script run in visualmode, which functions did you use forlive visualisation values from Variables. I have test that its possible with Comment(), but Alert() or Print() are not showeddirectly, just in the log files. How do you make it selfs, did you use object for that :-) ?
Hello, I have an indicator that needs to display about 30 data streams. I've gotten aroundthe 8 buffer limit by creating 5 indicators that each display a different numberof data streams. However, now I'd like to write something that will collect these individual indicatorsand make one "indicator"...
  Sound loop (1)
Is there a way to loop a sound till user do something?, I mean a sound loop untilluser click ok, if there is a way to know if alert window is open it could be donewith that, but i could find any info.
Hi, When I open a new M1 chart (with no history yet on disk), by pressing pageup I canretrieve some rate history from the broker. According the history center, about32768 bars can be downloaded this way. Where does this limit come from? I think this method of retrieving is different from downloading...
HOW TO GET THE SYMBOL OIL PRICE IN MT4 ?
I know I might be digging up old info but I really need it. I didn't find anythingexact about it with search. There is a way to get 99% quality backtest. It uses tick data. That data is thensaved and used instead of "every tick" model of the metatrader strategytester. Is tick data any better than...
MTF INDICATOR
  Rectangle (9)
Hi all, It is possible to use a rectangle fix at the window likewise a label? In other words,it is possible to use a rectangle with OBJPROP_XDISTANCE, and OBJPROP_YDISTANCE? Thanks a lot,,,
Hi, I just learn MT4 programming. I read alot many EA source code using counted_bars=IndicatorCounted(); I already read the documentation, there is no parameter in function IndicatorCounted,is very totally different like other function. The problem is How to deal with currency pairs which are...
1...115711581159116011611162116311641165116611671168116911701171...1244