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));
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...
[Deleted]
hi Can someone please add an audio alert to this indicator for me. I have no idea about programming so I need someones help here. This is a simple indicator If someone can help then it would be greatly appreciated thank you jan.
Hi, I was trying to download from the history center USDJPY (M1) and had a problem with year 2004, it stopes at Feb 11, 2004. Anyone has an Idea? Eyal
[Deleted]
Hello everyonefor people looking to learn more about forex trading there is a special FREE 5 day forex course on offer from forexrepublic dot info starting from Monday 21st of June. You can either sign up for one of the days or all of the days. This will be a hugely informative course. This course...
hi i wanted more information off EA and Strategy Tester ? ( Strategy Tester Report explnation . and ea specification )
Is there any way to remember previous values for extern variables of an EA in N2Trader? in N2Trader, When a user attachs the EA to a chart, a windows is displayed that allows him to change values for extern variables defined in EA. The user can store this values by "Save" and "Load" them later....
Possible to Get Trade Signals from Compiled Indicator and Utilize it in an EA & Add Sound Alerts ?
(5)
Is it possible to Utilize Trade Signals from a Compiled Indicator to Utilize in an EA and perhaps Add Some Audible Alerts as well? Thanks to one and all for any assistance with this (< 8)
-
Hi AnyBody, Please help me to make RSI Break Indicator. 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 from R1, R2,....for Ressistance (Yellow Line) 2. S put on Valley and R put on Peak. S1 is first...
Hi there, I'm looking into calling the levels values (100% and 161.8%) of Fibo expansions. Again Fibo expansions not Fibo retracements. If not possible maybe someone would know how to calculate them. Thanks.
[Deleted]
Hello Everyone. Is it possible if we could hide stop loss and take profit values from Broker in an Expert Advisor? I would really appreciate if anyone could help in this regard. Thanks. SoberCanadian
Well no one did not believe it works )))) Yes there is one minus trade -0.i have one minus trade - -0.40 and it was closed at take)))) because there was a rush and asked the tech support why it happened, they said because of slippage))) but this is a fact)))) in 3 days i doubled my deposit )))) now
I need a Expert Advisor that trades GOLD and earn a fair profit. I tried "MasterMind" and several suggested EAs. but all of them fail to earn profit in "Strategy Tester". I don't know but maybe they need any custom configuration for earning profit in GOLD.
I have RSI diargam. How to get a value history of it? thanks!
0.01% of you might be interested in the following: I had strange timeout problems one out of 10 times when switching between timeframes when one of my EAs was attached to the chart. This included every EA that makes use of the ofline_charts library to plot equity curves and is relevant to all EAs...
[Deleted]
Hi all, the deinit() function has a time limit of 2.5 seconds, after which it will be terminated forcedly. Has any of you found a way to modify this time? It'd be a convenient to close all open trades, log everything and do some maintenance, but 2.5 seconds are not enough to do all that. thanks
Hey there, I am having a hard time to detect line crosses with MQL4. I need it to be as accurate as possible, as the human brain and eye detects it. I have tried many techniques but all of them don't do the job accurately and fast enough. For example see the picture below, where the three lines...
[Deleted]
I am wondering why a Moving ave. EA keeps buying 1 micro lot even after I change it to 1 mini lot? Can anyone help me with this. It has a decrease factor of 3 ? Also it is set to 1 microlot in the program inputs. Thanks
I really can't learn how to use EA If someone wont show me I'll never get it work.
[Deleted]
I did some searches on various websites with no results. I am trying to figure out if there is a way in MT4 to return the profit value of a specific pair. Exactly what the AccountProfit() returns, except only each individual pair's profit. Thanks

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.