New article A DLL-free solution to communicate between MetaTrader 5 terminals using Named Pipes is published at mql5.com: The article describes how to implement Interprocess Communication between MetaTrader 5 client terminals using named pipes. For the use of the named pipes, the CNamedPipes class...
Hi, I'm new in coding and have the following problem : EA opens ticket #1, doesn't fix stoploss but fixes takeprofit. Then it closes #1 and opens ticket#2 and then displays unknown ticket # 1 to ordermodify function... here is the code : Buy : if (Order == SIGNAL_BUY && ((EachTickMode &&...
[Deleted]
I need help with creating a EA for these parameters: When the price range trades from under the MA to over the MA, and the first bar that has a low lower than the previous bar ; at that point I would like a green arrow or some symbol alerting me for a possible buy. The inverse is the same for the
I am interested in the following question: how to choose the best balance between quality and quantity when optimising an EA . Here are some examples to make it clear what we are talking about: 1. The highest profit. However, the number of trades is not very high. It has a very large drawdown %: 2
[Deleted]
I've found that when I complete an order I can drag it from the Account History tab onto my chart and it will plot it showing the start, stop, and take profit, stop loss values; it's very cool. But I want my orders to automatically be plotted like this. Any way to do this? Thanks Z
My broker does Not show the options for trading currencies such as USD/SGD__USD/CNY__USD/HKD or USD/RUB etc.. Is it because these currencies are Not main stream OR is it just my broker?
Is it just me or has anyone else noticed there seems to be a problem with the search ? There is a wealth of information on this forum but whenever I try to search for information on something it barely returns any relevent results, maybe one or two if I'm lucky and then a string of totaly unrelated...
I'm using the 225 version, and I have found that sometimes MT is showing the wrong profit on a currently opened trade, just after opening a trade I can see either 0 or -1 (2 being the spread) in pips. Even more, in my EA I calculate the profit from the actual order (it's not denominated in USD)
I have adapted a code to indicate crossovers of RSI and a moving average of RSI on the main chart window. However, I cannot figure out why all of the buffers are being displayed, rather than just the crossover signals. If you look at the attached image, you will see that all of the highs and lows...
[Deleted]
Hi, everyone second try, the previous post will be deleted. Well, here's my problem: I am bad at programming and I have this indicator (see attached file), which I would like to automate for trading with. So I was hoping some of you guys out there can help out. Here's what I want to happen when I...
Lets have a little fun shall we :). Ok, It's obvious I feel comfortable on this forum because it's an Automated Trading Driven outfit. I know allot on un-registered traders visit this forum thinking "is this for real" about automated trading. What I'm trying to gather is How-Much automation is
Hello mql4 experts, I am trying to put a rectangle on a 5 min chart based on the start and end times of a 15min chart trend line. The code used is shown below. The active chart when the indicator is inserted is the 5min. Based on my understanding that object names are unique, I try to get the...
hi,,, please how to make this expert run only from 9:00 am to 11:00 pm thanks //+------------------------------------------------------------------+//| This MQL is generated by Expert Advisor Builder |//| http://sufx.core.t3-ism.net/ExpertAdvisorBuilder/...
[Deleted]
hello i am a beginner in mql4 language i want to analyse macd signal bars is it possible to do this with a loop function like " for" to know if the bars are increasing or decreasing thx
-
HI, I composed a simple EA to send e-mail alert on MA crossover. However, instead of one e-mail, it sends out many e-mail. HEre is the snapshot. I put the EA in H1 chart Here is the source code . Hope you all can help find out what is the root cause...
[Deleted]
Hi could anyone give me information about this indicator or a resource guide about it? thanks in advance mrpimsler
hi,, please i wanna add this line to my expert if time=23,then close all opening positions
[Deleted]
Hello All, Does anybody know what does the "mode" parameter in iCustom mean? iCustom ( string symbol, int timeframe, string name, ..., int mode, int shift) Thank you
I have basic skills in programming. Basically when I trade manually by visual interpretation I will scan multiple bars (varying time intervals) on the same time frame (e.g. 15min) for patterns in price (e.g. High/Low). However the number of bars scanned are never fixed. So my question is what is...
[Deleted]
please i have been having problem with the platform am using it keeps on crashing and i do not know what could be the caused of it. I do not know if anybody too is experiencing such problem .it crashes when i load my EA on it and it was not like that before. Please kindly assist me. thanks.
[Deleted]
Dear all, I need your help on developing a code for controling the number of existing positions openned. NOT ALL just the negative ones. I have a sample code that limits the number of open trades/positions but this one considers all positions and not just the negative positions. The code is: "bool
Below is my favorite order-send with time-stamp code. This code works well in back-tests and demo-testing which doesn't have allot of broker re-quoting. Would this code survive re-quoting situations? I'm concern because when I OrderSend, I place a Time-Stamp on the variable assuming that the order...
Hi is it possible to load an idicator from an expert advicer or an expert Adviceer from a custom indicater thank peter A
It must be late and I can't find it. It's in an indicator, that when loaded on a chart, it works fine. But when I call it from an EA I get Zero Divide. note: I have called this from 9 other EA's. Each call gives me the same result in the Journal for Strategy Tester. Here's the code call in the EA:...
B"H Hello, What are the limitations on the volume of an opened order? (i.e. the "volume" argument of the "OrderSend" function) Thanks, Yan
[Deleted]
I need to return 2 results from one function . I can seperate them and creat one function for each result I need, but it's a lot more code and makes other things more complicated. Is this possible with MT4
[Deleted]
Hi all in this forum. I've been trading for some years now and have a few ideas for an EA I want to investigate. Is there anyone in this forum living in Sydney that is maybe a computer programmer, or knows how to write code for MT4? Cheers Paul
As many do, I have multiple demo accounts on the go at once. Lately I've been having problems with them crashing, so have been removing & reinstalling them etc. I have a 'Multi-Account' MT4 client which gives one a single, centralized view of the current state of all of the multiple accounts; but...
[Deleted]
I find in the documentation I can execute a script from inside a custom indicator. However, I am unable to find examples showing how this is done. If anyone can provide insight into how to do this it would be very much appreciated. Some code snippets would help. Thanks in advance.
Hola soy nuevo en esto. y pues desde luego me apasiona lo que es la elaboracion de sistemas automáticos, pues me seria de gran ayuda si me ayudaran a desarrollar un sistema con Redes Neuronales. o si fueran tan amables de enviarme papers, documentos. o textos dónde pueda ayudarme me seria de gran

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.