Hello, Could you please help me why my orders are opened more than 0.1 on every hour as I would like to have actually ? Plus, the codes do not open order on every hour sometimes. Why do you think this happens ? Thank you. #property copyright "Copyright 2015, MetaQuotes Software Corp."#property...
I have the push notification from my indicator doing OK few days ago but recently the message not send to me without reason! I try to check my Meta ID and it is correct, and I do the 'TEST' button and the message delivered well to my mt4 android phone (instantly), however the message from indicator...
[Deleted]
In today's markets when you swim among the sharks it is essential to wear the right gear. Here at Capital One Forex we give you the trading platform that the sharks themselves use! Meta Trader 4 is a trading platform that is considered to be the friendliest and most sophisticated in the world,...
[Deleted]
Hi, As we know in MT4 if you create a new order, the comment can be modified. But if you already hold one order, the comment can't be modified again. I hope the comment can be modified too for the holding order. As you know, some times we create a new order firstly, then modify the stop limit and...
Hello all, I'm trying to build an indicator that alerts me every time the indicators OBV, MFI y CCI intersect as shown in the image below in the blue squares: The problem that I have is that indicator OBV always has different values when it touches the other two indicators, so I can't condition it...
Hi coder/traders, I was hoping we could start a thread that highlights ways to write code that use less clock time/resources.. If there is a thread already that exists, then my apologies, have not found it yet.. There are a couple questions that maybe someone can help with.. First, is it quicker...
Hi all, I was about to launch a question concerning an issue I am getting at the time of running the strategy tester, the message is the following: Tester cannot calculate prices. The actions I am taking is to download tick data from DAX index, from Dukascopy, the EA is running with another assets...
I am creating a function to 'push' a value in to an array so that when I call the function like: ArrayPush(Double <VALUE>, Double <ARRAY>) This function will move all of the values in the array along one entering <VALUE> at [0]. The question is this: Is it possible in MQL4 to NOT declare data types...
Hi, while a function can be exited with return(), how can I exit a void function after a certain condition is met and I don't wanna execute the remaining code in the function? Thanks!
Hi , what code syntax do i use if i simply want to count the number of times the top fractals appear over 50 bars for example? Just to count
Would someone help me with some code to return total open chart count?
I have an EA which is working on the DOW on my demo account. I have just started it today and the index seems to gone through the trigger points but I see no trade. Can anyone assist as to why this is? Yes, I have set the EA to ''allow live trades"'. It is based on the M5 time scale. Its on MQL4 J
[Deleted]
Hi, Quite recently I finished a "previous" version of an EA. I say "previous" because my idea was to use the Optimization process of MT4 to optimize the parameters. However, now, thinking about it I am wondering if this will be usefull or a waste of time. Because for Optimization I would use past...
Hi, I closed a trade. So the function OrderSelect( Ticket , SELECT_BY_TICKET, MODE_HISTORY ) returns TRUE as expected. I suppose closed trade can only be found on MODE_HISTORY not on MODE_TRADES. But why OrderSelect(Ticket , SELECT_BY_TICKET, MODE_TRADES) returns also TRUE ....?...
[Deleted]
int Ticket, BUY;bool opened=0;//+------------------------------------------------------------------+//| Expert tick function |//+------------------------------------------------------------------+void OnTick() {//BUY=iRSI(NULL,60,3,PRICE_CLOSE...
In the code below I'm trying to count upto 36 bars then find the ratio of bull candles to bear candles and returns to log. But, the code returns 1 all the time. Ive tried + and % they work the way they are supposed to but not /. I cant see why this is? void OnTick() { static int barCount...
New article Price Action. Automating the Engulfing Pattern Trading Strategy has been published on mql5.com: This article describes a process of creating an Expert Advisor for MetaTrader 4 based on the Engulfing pattern, as well as the pattern recognition principle, rules of setting pending orders...
To determine what is the total closed trade, "OrdersHistoryTotal" is used. To determine what is the time of the last closed trade, "OrderCloseTime" is used. In the History tab, how to determine the last closed (or any closed) trade symbol (eg; usdcad or usdjpy or eurusd etc...)
I am writing my first EA (again!). I am trying to simulate an existing MT4 indicator so I can confirm my calculations are correct. So I am trying to calculate the ichi-moku calculations for Hourly and Daily in one EA and compare my results to the packaged MT4 one. My issue issue is, when running my...
[Deleted]
Has anyone found a good way to generate the code for an EA that you can trust on a live account? I have tried a couple of the "EA builders" but the indicators they offer are pretty limited and I am not sure how robust the code is. Any suggestions on which tools to use or am I just going to need to...
hello i want to write a two line iside a Button like => Bid+"\n sell" i tray to use "\n" and it not working ButtonCreate(0,"Button_buy",0,10,20,x_size,y_size,InpCorner,Bid+"\n sell",InpFont,InpFontSize, InpColor,"clrRed",InpBorderColor,InpState,InpBack,InpSelection,InpHidden...
[Deleted]
The expectation of last week’s meeting of the Federal Open Market Committee (FOMC) was enormous, however once more it seems as though the dovish influence on the committee have been underestimated. In focusing on “international developments” the market will take this to be a focus on the China...
Is there a way how to protect the Expert Advisors (EA) in MT4? e.g. When EA is open/modify in the MT4 platform, a password will pop up.
[Deleted]
This kind of problemgenerally occurs when you have recently activated the Google AuthenticatorVerification and there is also a requirement of setting up the2-Step-Authentication in your Gmail Helpline Phone Number account. For this, you need to visitthe link after getting this job done, you also...
i can use ordersend to enter trades in metatrader 4. if i enter the dow etc, the trade is not executed. any advice?
Hello All, I need to use SendFTP function in script. I am getting error of 4033. (cannot open file). Kindly suggest me something Thanks in advance
friends,What should I modify this code so that the open operation on the signal , is closed at the close of the candle ? I do not want to use TP and SL ! I'm still learning to program !I thank anyone who can help me! #property copyright ""#property link ""#define MAGIC 30015//---- input...
hello all , I need help with code to make the EA open one deal per day , even the deal was closed , just one deal per day ??? and thanks in advance
Hello guys, I have trouble with requoting error. Sometimes happens, not under our controls. But my problem is how to handle the error? Usually after OrderSend, every Expert Advisor stops until the server responds. But what happens when the server responds with Requote error? Does the script is
Hello, I need to know how works MT4 server when there requoted order. When there is requoted order, the order request stay in the MT4 server. But meanwhile this server receive more order requests. My question is how MT4 server proceed the orders: first in first out ? or there are some other logic
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.