Hello everyone,
I am trying to login to my webpage using mql4. My friend have said that my website uses tricky system with some hash number.
I know nothing about server communication so he has provided me a PHP code which logins successfully. Can somebody explain how to transfer it to mql4? Or...
Hi All
This is very very hard to test and I can't seem to find any documentation on it.
I'm wondering if ChartEvents are queued (synchronous) or are asynchronous? For example, lets say I have two indicators which are sending custom chart events to a third indicator. If the first 2 indicators send...
Is it possible to write programs or scripts like expert advisors to be run at the server or meta trader manager side ?
If so, could you give me some initial information on how to get started, which tools to use and where to read the documentation intended for this purpose?
Recently, a broker...
HI I want to show one of these parameters of expert advisors properties on the chart, but I don't know which function or parameter can to use on my expert. please help me. long only short only long & short
Why does it mean it has 85% maximum drawdown?
I don't see it on the chart? The green and blue lines are going up
How do I implement a for-loop with 'break' and 'continue' in OpenCL. The examples in the articles provided do not show this.
I ask you then this thing, in short, I want that when a particular order is closed because it reached its Take Profit, another specific pending order is closed.
An example, if I buy in the market to 0.6400 and put Take Profit at 0.6500, well this is the first order (1).
Well the same time I place...
Hi,
I would like to place a sell stop as on picture below:
I have this loop below to find last up and last down ZigZag indicator but I don't want to place a pending order on the first up or down ZigZag, what is wrong into my loop?
int limit2=1; for(int p=1;p<=limit2;p++) {...
Some of these bots are just pure magic in the demos even at just 1:50 margins. I don't believe it. Please explain what's going on here.
I want to set condition when moving average crossed UP. enter Buy with 20 point above current price. and it should not enter if current price is more than 100 Point above Crossed Price. for example: for Gold FastMa crossed SlowMA at $1250. Entre buy at 1250.20 but does not enter if the price was
I got the code from ICoff at forexfactory i wanted to take out the stop loss settings in it and have it just close op on opposite candle
It will open buy orders but not sell orders on sell orders i get error 130 Invalid stops...
hi guys,
I lost my EA code, is there any way to recover it ?
I just have blank page !!
the result is left for me only. :(
Bars in test5023Ticks modelled9946Modelling qualityn/aMismatched charts errors0Initial deposit10000.00Spread20Total net profit-605.89Gross profit4559.98Gross loss-5165...
Hi, I am considering offering a signal but how can there be protection for the signal going to one account and not being copied to another account. Also with the signal what information can also be sent? I am thinking about messages or alerts, comments, etc?
hello everyone...
I'm newbie and need help on probably very simple logic...
how do you describe bullish and bearish candle in mql4 language?
UpBarr = bullish candle;
DwBarr = bearish candle;
Thank you..
Hey folks, I have my EA running on a VPS and it's using max CPU. I deleted everything. Then I added back my indicators one at a time, monitoring the CPU. It was fine until I adde the EA. For each currenty pair I added, it took up about 12-15% CPU. Is this common for EA's? I've read that an "open...
Hi all, given 5 closed orders in HISTRORY. means OrdersHistoryTotal(); returns 5. Now Order select by index and SELECT_BY_POS,MODE_HISTORY MODE_HISTORY seems to depend on Terminal TAB settings of History, e.g. time period, but also others?? Question: How does index in Order_Select now adress these
[Deleted]
I got this code from the mql4 programming book.
Can someone please explain to me why there is an addition of one in this line of the code 'One_Farm=One_Farm*(1+Perc_day/100)' and a subtraction of 1 in this one 'One_Farm=One_Farm*(1-Perc_exit/100);'
int start() //...
Hi Guys
I'm having a bit of a problem with testing my EAs. I can run tests on the four advisor's that come with MT5, but when I use the wizard to make my own or use a downloaded EA, from MQL5 codebase, the strategy tester wont place any trades.
Has anyone else had this problem. What should I...
Disclaimer: I am NOT A CODER!
I have a trading system and an EA that I've had developed for distribution with a password/account number compilation.
BUT....I want to add this EA to the MQL5 marketplace.
Mods mentioned adding custom indicators as resource files? And they gave me a link to the...
Hello,
One thing I can't get my head around with MQL, is changes to broker server times (e.g. for daylight savings) and the impact on MQL functions and expert advisors.
I have several EA's that only trade at certain times of the day. I limit the trade times using either TimeCurrent(), or Hour()...
Hi,
I'm wondering if MaxLots = 10 means that only 10 can be purchased totally or is it possible to purchase 2 * 50 ?
I've tried on a demo account and I can add others lots of 10 to my position. So not sure about that
I have been testing some EAs on the Strategy Tester.I have used data (1M) from Alpari, FXDD, and Dukaskopy.Max Bars in History and Max Bars in chart were set to max 9s and the system defaulted to its maximum value.No mismatched errors and Quality 90% in all of them.I was expecting differences but...
[Deleted]
Hi, why SymbolInfoDouble() shows 0 for ask and Bid with all symbols?
string Prices(){ int total = 1; total = SymbolsTotal(0); string all = "Time,Open,High,Low,Close,Volume,Ask,Bid|||"; for(int i=1;i<total;i++) { string s = SymbolName(i...
Ifrequently find that my MT5 EA is not performing correctly because auto tradingon tools/options/auto trading has been un-ticked by the system. Is there anyway I can write code into my EA that would make sure auto trading was alwaysturned on when it runs?
Dear coders,
I'm trying to improve my Martingale EA, by adding a new SL method. Namely the x candle low for long trades, and for short trades the x candle high.
If the previous trade was a winner, the EA will calculate the lotsize with this formula:
lotsize = ((Risk_per_Trade/100.0) * money )...
Hello everybody, seems like since build 950 terminal.exe does not respect provided configuration file as argument which results in several issues: 1. no possibility to start mt4 in preconfigured state 2. no possibility to run EA backtests in batch mode (automatically) Can anyone confirm this...
Hi, I've been toying with the Graal 2 Ea from this article, https://www.mql5.com/en/articles/1413 and back testing gives different results from Everytick and Open Price.
I was wondering if someone would be able to code in a parameter to only work and modify the orders for a new bar or Open price.
I trade by an EA. In experts & journal tabs, it shows that there was a trade opened with a certain ticket number. But when I checked it in trade tab and account history tab, there are no opened / closed order for that ticket number. Is it possible, as I figured out that 3 minutes later after the
Hi Guys,
I'm beginner trying to code my first EA, however I met some problem that may beyond my knowledge.
I'm buiding an EA to open position at predifined space. It worked out only the second trade is opened based on the predifined space. Others just open, could anybody show me where is the...
[Deleted]
hello, someone know an EA that can schedule stop of all EA running? So we can decide for example to kill EA and/or close orders, the day with market mover news.
Ideal is have something like a calendar where indicate run/stop preferred days
Thank you so much
Gianluca
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.