I have this indicator. It is writing order info on chart. I want to turn this indicator into an EA that will close that order when i click on text. Is there a way to do this, any help will be appreciated.. int OnInit() {//--- return(INIT_SUCCEEDED);
All - I have an .EX4 indicator I've purchased that I'd like to build an EA using. I'm using iCustom, which I've never had problems with before, but this has really thrown me. Firstly, there are 18 values generated (I thought you could only have 8 based on the buffers), and secondly, the values I
Hello everyone, I'm looking for a check function, So the EA checks if a trade of the symbol is already open and if its open already then dont open a second one. I use the Orderstotal() at the moment but then i cant open more trades from different symbols. if(RSIValue<23 && OrdersTotal()<1){ int...
Hello every body, How areyou, I need your helps please .I cant use English so correctly, that's why ,I use thegoogle translation service. I'm sorryif you find some errors. I am abeginner in programming, I just studied the language mql4. I am training to create some functions, I want toprogram a very...
How can i set date in a live trade while using mt4
hi I use TimeZone indicator ( attached) it shows all time correctly but when I put Time Minute for New York it didn't change color to Lime source code is : if (TimeHour(TimeLocal() + ((- 5 - timezone) * 3600)) >= 8 && TimeHour(TimeLocal() + ((- 5 - timezone) * 3600)) < 17 &&
Hello, Several errors appear because of the new configuration mt4, I show them to you: //START INITIALIZATION //********************************************************************************************************** int init() { //confirm that "Allow DLL imports" tick box is checked...
[Deleted]
Hi all, Severeal days ago, I had written about getting values about MACDMomentum Indicators. I couldn't get any answer by them. I really need your help. I doenload an indicator called MACDMomentum Indicator on mql5.com. It draws MACD Value, Signal value, and Momentum_Smooth value on the chart as an...
hi, i have been preparing my own mt4 software for 1 year. now its almost ready. i have some questions but mql support is like non existent, we are prompt to ask community so here we go: 1. when offering expert advisor/indicator, can i as seller limit the demo mode? because strategy tester for my ea
Hi all am running this code on strategy tester AUDJPY, to confirm if the symbol is valid, the code tries to make a request Using marketinfo and if the return value is > 0, then the symbol is correct. It works properly on live but it doesn't work on tester. Is there a workaround for this?int
Hello! I am new to coding but trying to create and indicator that alerts me when specific stuff happens. I want A to happen at timeframe H4 while B to happen at timeframe M30. Is there a way to specify timeframes in the EA? I have searched google and this forum but didn't manage to find anything
Hello, I am in the process of developing an Excel spreadsheet that analyzes 17 currency pairs and outputs "buy" or "sell" signals. The signals are based on multiple conventional indicators (MACD, RSI, CCI, MA's, BANDS etc) that I have hard coded into the spreadsheet and use the Solver Add-in for
Hi All This is my first post and I'm new to all this. I am looking into Expert Advisors in Mt4 and created a simple script (see below). However, when I run it the RSI value shown as a comment on the chart just seems to stay at e.g. 10 and not move at all - see attached screenshot Is there something
I am trying to debug an indicator and no matter what I do, I cannot access a protected class variable: m_savetag is clearly accessible from the also protected function which I debug, but I get not result. This is the function, same time while debugging
Hello I want to access all MT4 futures during back testing. (Like FXCM platform) Is it possible to install test server and run prices with custom speed and connect to a account the server
[Deleted]
Hi everyone, im new at coding and still have not managed to get many things right. I keep receiving the error code 138 and ive heard a refreshrates() would fix it but im assuming there is something wrong with my brackets or maybe something else. Here is my code can anyone find why the strategy...
Build: 1260 Its caused by an indicator, which works perfectly on its first start, and the error occurs when the timeframe is changed. Its not using any DLLs, no external libs, and the same code works without problems in MT5. I had this already in the past and it was solved by MetaQuotes, so I doubt
I tried bringing up multiple charts in the same platform but since OrderSelect() does not use a MagicNumber, when it is true for one pair, it is true for all pairs, so I tried the following: for(int i = 0; i<2; i++) switch (i) { case 0: { ChartClose(0);
This indicator is supposed to simply display two horizontal lines at high/low of the bar designated by StartHH and StartMM each day. As soon as I load it on a chart, it locks MT4. I took an existing indi I wrote that displays horizontal lines at support/resistance to make this indi, the original...
Good day gurus, pls am trying to design a signal indicator but seems not giving desire result. It only shows the arrow on the chart, it doesn't popup alert at current price. //--- indicator settings#property indicator_chart_window#property indicator_buffers 2#property indicator_type1
Hi guys, I'm a newbie on mt4 so I fell sorry if I'm bothering you with silly questions. My problem is that two of my graphs (eur/gbp & usd/jpy) don't display correctly when I switch from 4h to 1D and 1W timeframe. As you can see, the graphs lose every reasonable parameter on vertical scale and
Currently, i'm trading FX using the MT4 program. It is currently trading using computers and mobile phones. The WTI price shown on the screen now seems to be different from the price shown on Invest.com. Would you please tell me what is right? And if you find a problem, I want you to fix it
Hi All, In the last couple of days the emailing from the Metatrader platform has stopped working for me. Every time my EA tries to send an email I got a 'failed' message and this happens even when I try to send a Test message. Automatic emailing has been working well on 2 different accounts with 2
Hi all, I'm looking for EA for MT4 like this: open BUY when colse green candle close BUY & open SELL when close red candle etc. illustration showwing what I mean :) Maybe You known where i find EA like this? Than You guys for help and sorry for my English :)
Dear experienced traders, I'm using EA via MQL5 VPS. When we run EA, we need to open charts. Does charts affect to the MT4's performance? How many charts if I opened would slow down the performance of MT4? Thank you in advance and best wishes, Sky
Hi All, Can someone please explain when I close a successful trade it takes so long to actually close. I try closing 4 or 5 times to take my profit and by the time if finally closes its not for the same figure that I originally closed for. Can anyone explain why. Im a newbie at this and would like
Hello, is there a way to get push notifications to my mobile that doesn´t require the use of a VPS? since i can´t have my computer running all day... Thanks in advance
hi I write an expert that I want in this expert it shows chart current period I wrote below code that if I select M1 time frame it shows M1 in: if(PERIOD_CURRENT==PERIOD_M1) { Comment("M1"); } but it doesn't show any thing can any one help me? Best regards Neda
Dear experienced traders, Do you know any method to find out the biggest spread at the past in MT4? Maybe in the historical data or something. Thank you in advance and best regards, Sky
I am experiencing an issue. When I place the EA on my chart it buys or sells even when it should not. after the initial trade it makes imeadiatly when its placed on the chart, it begins running normal. I have a poor internet connection here and if I lose connection and then it comes back it will

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.