[Deleted]
Can someone point me in the direction where I find information on how to modify multiple orders, where the TP of all open orders will be modified to the TP of the first order opened? Thanks!
[Deleted]
Could I draw trend or activate indicator with my parameter in expert? Thanks for your notice
Who is the Best MT4 Broker for testing? Who has the best data and MT4 installation for testing EAs?
How can I store the entry price for my OrderSend functions up until the bias changes? Entry for long: H1_Buy_Touch = "H1 Buy Touch"; (global variable) Entry for short: H1_Sell_Touch = "H1 Sell Touch"; (global variable) These biases can change on every hour as it is checked on ever new bar. Thing...
[Deleted]
Happy trading/coding everyone, Could someone please give me some directions as what happens with recent MQL4 updates/changes? I've been away from trading for a year and the last working code that I wrote July 2013 is now compiling with errors. there must be something I need to do or update in...
Hi All, i am trying to draw a dot in the Stop Loss Level, just to monitor where it is. I am calling this function i created to draw a yellow dot: void DrawDotSL(string objName, color col){ for(int i = 0; i < OrdersTotal(); i++) { OrderSelect(i, SELECT_BY_POS,...
//+------------------------------------------------------------------+//|Calibrate Open trade setups if they require it |//+------------------------------------------------------------------+void Trade_Calibration() { //Padding for the stop and padding for the...
Hello, I would like to report a possible mistake in the Standard Library, Array Class. In my editor, the following function is written in the ArrayDouble class as follows: int CArrayDouble::Maximum(const int start,const int count) const { return(ArrayMaximum(m_data,start,count)); } In the...
//+------------------------------------------------------+ //Moving Average Trailing Stop Function |//+------------------------------------------------------+ void MA_Trail(){ double ATR = iATR(NULL,60,14,1); double MA = iMA(NULL,60,MA_Period,0,1,0,1); double...
I am switching from partially closing on position to actually placing 4 positions with fixed take profit targets. I had the hassle of working out how to partially close a position just the once. Now I am stuck with moving all the trades to break even one the first trade hits its fixed profit target...
New article Regression Analysis of the Influence of Macroeconomic Data on Currency Prices Fluctuation has been published at mql5.com: Fundamental analysis is deemed incomprehensible by many. It is unclear how to carry it out, which parameters to take into account and which not to. Finding out the...
I wanted a method to [force] refresh/reconnect the login of the current user at a certain time everyday or on a certain time of a certain weekday every week. Is this possible from an mql4 function? If not, any ideas? I read this thread but was unsure if anything still applies to mt4 b600+ https...
Hi, I have following code: input string File_Name="DS_SYMBOL_INFO_SCRIPT.csv";input datetime StartDate=D'2014.09.09 09:00:00';input datetime EndDate=D'2014.09.12 09:00:00'; for(int i=StartDate; i<=EndDate; i+=86400) { double array_high[]; ArraySetAsSeries(array_high...
Hi, I bought an indicator which I don't have the source code. It works all fine and plots on the chart when to enter or exit. I am thinking to automate by writing an EA code so when indicator plots a but or sell signal on the chart it will open/close a position. I can use icustom if I know the...
//+----------------------------------------------------------------------+//| Delete Order function - If price closes above or below applicable MA |//+----------------------------------------------------------------------+void DeleteOrder() { for(int i=OrdersTotal()-1; i>=0; i--) { if(...
I have a situation with a broker's terminal where the broker will adjust the leverage on their end but it will not update visibly on the mt4 terminal. So my indicators and ea will continue to show the old leverage. I ended up re-logging in and then suddenly the indicators updated instantly with...
My sincere warning. Or just IMHO. Avoid. Siehe attached. H1 (does not matter, any interval as claimed), signals lag, in opposite direction, missing, irrelevant.
[Deleted]
Hi everybody ! Got an "array out of range" issue, and i don't understand what's wrong. If someone could help it would just be perfect ! A big big thaaaaaaaaaaaaanks ! double MemTop2[];double MemTop3[];double MemTop4[];double MemTop5[];double BarMemTop1[];double BarMemTop2[];double...
Hey all, Having some troubles implementing a lots management strategy. I'm basically just wanting to implement a risk per trade. I have a simple RSI EA that I'm trying to add it to. Found a code that looked simple enough, but I'm getting Error 4051 - invalid lots amount for OrderSend function. Any...
Dear community, A EA that I have playing with uses the iADX function. When I debug I have: iADX (NULL, ADXTime, ADXPeriod, ADXPrice, MODE_PLUSDI, 0) i.e. value of current +DX always returns a value. iADX (NULL, ADXTime, ADXPeriod, ADXPrice, MODE_PLUSDI, 1) i.e. value of previous +DX always returns a...
I have an indicator that increases CPU usage over time. At first less than 5%, some hours later 10%, and one day later it's at 50%. Any idea of what is causing it?
EA: when I change inputs EA doesn't start 2014.09.16 09:57:47.235 ExpChannel EURUSD ,M15: uninit reason 5 Someone else is experiencing the same issue
Добрый день. Хотелось бы узнать есть ли ограничение по колличеству знаков в комментарии ордера. Программа считывает новый ордер и если надо к нему открыть серию следующих то в комментарий к этим ордерам записывается комментарий ордера плюс номер ордера к которому открывается серия. До...
Hi, having long time problem understanding why I cannot find order in loop when looking for OrderOpenPrice. I have temporarly solved the problem by adding open price to comment but this is not solid solution. Please suggest how to solve this. (In below code OrderComment() is commented out) void...
doesn't return open price for all position, it is only give me the price for first position, what can i do for make it give me open price for all position which Ticket (1) I hope it's clear if(OrderSelect(1,SELECT_BY_TICKET)==true)_OOP_1 = OrderOpenPrice();
Hi, having problem with loop, when part of main order is closed, loop misses to find existing order information and by believing there is no order code shoots to open new order. Code should find highest Buy order and remove part of the profit. Overall is there a better/safer way to code loops. I am...
[Deleted]
Is it possible to earn with this? I am not sure this is spam or legit? If someone has some info about this he could reply. <link removed by moderator>
I can select last opened order using <decompiled code removed >. But I can't select first Ticket. I have tried more time but failed to do. Give me any suggestion please
I know a bit of programming. Now,mql4 & mql5 use same programming. So,I think I need learn about the OOP Programm. But I can't find on the OOP documentation.I found MT4's own include file. I think that these files are very useful. But can't the Document about these file. However,I have a...
[Deleted]
Hey guys, Ive got a little problem with my mql4 script. I wanted to detect the market for special candlestick patterns. So I wrote a code with a specific condition(1). To keep it easy and short, Ive declared period[x] with all the different timeframes and witha specific chart symbol(2). To check

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.