I have been beating my head against a wall here and cannot seem to figure out the answer. I have been testing several EAs that work without error in the Strategy Tester. I opened a Demo account to test them live. In the demo, every time an order is supposed to execute, I get that "Error Opening...
Hi All, i am interested in getting customizable time from from 10 seconds to 50 seconds. Anyway to do this in MT4? Any help would be highly appreciated Thanks McGene
what is the proper way to make mt4 download more previous data from the broker ? Some people say just keep scrolling back but this isnt working for me my chart wont scroll back past december 12 2009 it stops right there in every timeframe.
[Deleted]
pls i would like my EA to be trading between 7p.m to 12p.m but i didnt work the way i expected below is the code used. extern string start="7:00"; extern string finished="12:00"; int start() { if (TimeCurrent()<StrToTime(TimeToStr(TimeCurrent(), TIME_DATE)+"...
[Deleted]
please how can i get GMT time becase i want my ea to be trading between 7pm(gmt+1) and 12am(gmt+1) thanks
Hi Guru, I want to make RSI Break Indicator, but i,ve problem abaout mq4 language. Could you show/teach me about it...??? It's the rules: 1. at window RSI 14, we create Support (S) and Ressistance (R)lines. start from S1, S2, ..... for Support (Red Line) & Start fromR1, R2,....for Ressistance...
[Deleted]
I have strategies that i use and i have converted it to EA but the problem is having is the news events i am a new baby in code writing .I am looking for a way in which i will makesure that my EA does not place order is the time for the release of the news events is lee than 15minutes. And i...
I was wondering if it is possible for someone to add pop-up & audio alerts and if possible email alerts also to this indicator for me please. I would greatly appreciate this, I have no idea about programming so I need someone assistance on this. Regards, Andrew
I'm working on a statistics indicator that shows the average range of different time frames. If I am looking at the 1hr chart and want to get the total number of bars on the daily chart to calculate the average, how do I do this? "Bars" only tells you how many bars are on the current chart. Any...
I have two indicators RSI(13) and RSI(42). if RSI(13)-RSI(42)>=10 is BUY...etc. How to code a EA do it. thanks a lots
Can anyone tell me why the line of code in G reen w orks, but when I try to multiply X by 0.25 ( Red Code) t hen my order does not get placed? double hh; double ll; double ll2; double X; //---- Set Variables hh=High[iHighest(NULL,0,MODE_HIGH,Entry,0)]; ll=Low[iLowest(NULL,0,MODE_LOW,Entry,0)]; X =
[Deleted]
Stuck in a problem for ( int i = 0 ; i < OrdersTotal (); i++) { if (! OrderSelect (i, SELECT_BY_POS, MODE_TRADES)) continue ; if (OrderSymbol() != Symbol ()) continue ; if (OrderMagicNumber() != MAGA) continue ; if (OrderType() == OP_BUY)DS= 1 ; The selector finds an order if
[Deleted]
Hello, Yesterday, on a live account and on a demo account (2 different brokers) my EA notified that isConnected() returns false. But price was updated and everything else looks ok. I had to shutdown/restart metatrader to get isConnected() returning true. Is there a bug on isConnected() in build 216
[Deleted]
In one of the articles (https://www.mql5.com/en/articles/1523, I came across this snippet of code... void TimeframeCheck(string Name, int Timeframe) {//----+ //---- Checking the correctness of Timeframe variable value if (Timeframe != 1) if (Timeframe != 5) if (Timeframe != 15) if...
Hello Traders, i have here a Scalper EA for EURUSD, you can buy it easy and save way over Shareit.com for just 50 USD, this is the Link: https://secure.shareit.com/shareit/checkout.html?PRODUCT[300388463]=1&DELIVERY[300388463]=EML&languageid=1&stylefrom=300388463¤cies=USD_EUR,USD If you want...
deadlock in start() during deinit(), mt4 freezing, kill it and lose any changes to chart objects
(9)
for the second time in a week I have managed to crash (freeze and kill) MT4 and when this happens I lose all objects that were drawn into a chart since it was started. The freeze happens during timeframe switching, something I do in start() seems to run into a deadlock, most often MT4 will timeout...
Hi, I try to get the Data shown in the Data Window, which pops up by pressing "Ctrl + D". I'm especially interested in the Highs, Lows, Close and Open at the current Mouse Position. Thanks in advance!
Hi! I just get started with MQL4 and at them moment I'm trying to access the timeseries. I wanna ask for the High, Low etc. of a specific bar. I do it like this: int i=1; int hour_bar=TimeHour(iTime("EURUSD",PERIOD_M1,i)); int min_bar=TimeMinute(iTime("EURUSD",PERIOD_M1,i)); Comment("Last...
Hi, I ren into a problem where the market touched a point, and coused for execution, but failed to send the new quote to the expert start function so I wasn't informed on that quote. Is there a way to overcome this problem? Thanks, Eyal.
[Deleted]
Hi, I found that this indicator is very useful & help me in manual trading, and now I would like to make an EA base on this indicator, but since I'm not a good MT programmer, I found some problem in getting some value from this indicator. I need to get a level value from: - Average_Pos_Power -...
New article Research of Statistical Recurrences of Candle Directions is published: Is it possible to predict the behavior of the market for a short upcoming interval of time, based on the recurring tendencies of candle directions, at specific times throughout the day? That is, If such an occurrence...
[Deleted]
hi, im writing a ea but dont know how to code this part, what i am trying to do is get a macd signal when the macd Signal sma line crosses the fast ema of the histogram, can some one help me with coding this please. thank you very much
Hi A simple and powerful strategy Account in two days $ 5,000 into $ 19,000
The Subject covers this: OrderOpenPrice( ) : Is this the Current Price of an Open Trade OR the Price that the Trade was Opened at ?
[Deleted]
I'm simply trying this: int Lo=Bid*10000;int Hi=Ask*10000;int Range=Hi-Lo;int Field[2][Range]; getting this error message: 'Range' - integer number expected if I can't initialize an array with another integer variable, is there a workaround?
Hi, I got a short question, hopfully not too simple for the experts here. I'm wanting to create a very simple EA for checking things. A stop an reverse system, so it is always either long or short (i.e. it has always exactly 1 open position). My code for the trading operations: int TicketBuy...
[Deleted]
Hi, I´m looking for an EA that works with the simples signal : cross of 2 moving averages (simple, or exponencial)....I ve tried to download many of the EA that are in the MQL4 community, but no one seems to work, because no orders are sent in my metatrader...Can anybody post this EA if possible?...
[Deleted]
After much trial and error I have come across a Great combination for signal entry. Recently I was able to get 15 of 19 winning scalp trades on the EUR/USD with this setup. I am just starting to learn the MQL4 language. Still have a ways to go to write a program or EA. Do have over 14 yrs. as a...
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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.