I have just written my first EA and have done some back testing which looks promising and am running it on a demo account with one broker. I have heard that EA's can perform differently at different brokers so have opened another demo account with a different broker. I have placed the EA and its...
[Deleted]
Hello, i have problem with magic number. I need use 2 diferent EA on the same pair. If i use only one EA, the magic number is set on 0 and EA work right. But for 2 EA, i must set diferent magic number. But, if i set the magic number under real price (for example: 1), EA only sell. If i set the...
Hello fellow MQL4 fans :), I am fairly new to the Meta trader and MQl 4, but allready liking a lot if I see al the possibilities! Wondering if anyone might help me out with the following.....selected the ADX indicator and trying to put a Moving Average ( MA) true the ADX indicator..... So trying to...
[Deleted]
Does anyone know where to find a spread differential indicator. Tradestation has a custom feature that will take the difference of 2 currency pairs. If GPBUSD = 1.5669 AND EURUSD = 1.3616, the indicator will return a value of .2053. Is such an indicator available. Any help would be greatly...
Hi people i have problems to set in this EA the MAXOPENTRADE function. Because i want to open some positions at once instead only one. Someone could insert that function for me? Thanks in advance...here is the code extern double stopLoss = 50; extern double lTakeProfit = 20; extern double...
[Deleted]
Hi All: We have DEMA, TEMA, AMA and etc on MQL4 Code Base but not the Double Weighted Moving Average which I think is very useful as well. Can someone shed some light on coding this Double Weighted Moving Average? In addition to that, I not so sure about the calculation phase but is the Linear
I wanted to quickly delete all trades - whilst testing. I am testing on several different charts so thought I could have a simple EA to close all records. If I run (the code below) on a non related chart then it doesn't delete any orders - producing errors 4107 and 129 If I run the EA on the chart...
some friends of mine started a group named : "dealing desk online scamming brokers goodbye !" please join up, spread the word and let us take these guys down !
Hi there, this message appears could not launch the compiler in mega editor when i try to start expert advisor. macd sample does not work. what to do? thanks for help
Hi All, Has anyone of you written a strategy in MQL4 on the basis of accumulation/distribution strategy? Best regards, Sqbi
Hi Guys, I am looking for a function or variable that will find the current profit (daily or other) of the the current account. The AccountProfit() gives only the open trade's profit and I would like to get (into the EA) the total profit of the account. Thanks, James
[Deleted]
Need help! my EA working well when there is no other floating trade, but if there is any other floating order (manually make entry) and even not same pair with which pair I attached my EA, my EA only will open order but cannot close or trailing or lock profit, can help me to see what is wrong in my...
[Deleted]
Is the idea in the topic doable in anyway and if so, how? Note, that I'd like the buffers to be drawn to 2 different windows (1 being the main one) however if it's completely impossible, I can resort to line or symbol drawing. Thanks in advance, FC.
[Deleted]
hi guys, I have a doubt with aroon indicator...... Those who know how aroon works can please guide me how aroon ( 30 day) has gone below 0 in gold daily chart in last few bars.
[Deleted]
I need your help. .. I am a newbie and I have written an EA which works fine on the demo account. Today I used a real account and I took error 4051 and no trade was placed, while at the same time, the EA was placing trades on the demo account... any help???
Hello! Does anybody know how to write step trailing stop? It must move SL every x pips and not every tick. Example: +10 profit --> SL=OrderOpenPrice, +20 profit --> SL=OrderOpenPrice+10, ... Thanks!
[Deleted]
Can anyone assist to convert the indicator attached to EA. Thank you!
This is an EA that I used and made some money with it (300.00USD on a 1000.00USD account in 2 months), free to use, the only problem is that needs to be optimized regularly. Try on demo first.
Hello we start a contest, how i can show the real time result of the this contest on the website? we have the username and password for all Account Participants and want show the contest result on the website please help me Thanks
[Deleted]
I am somewhat new to trading and have been successful using a basic IT Cross strategy. I have posted a chart below for further reference. However, I have never been very good at math. This strategy uses zero math skills. The furtherest I made it was pre calc. How much does math play a roll in...
[Deleted]
Please look at this chart and let me know if you agree with a sell near the arrow. It is on Daily Chart on EUR/USD. I am thinking about taking trade from expert who posted it but want to see what others think first.
[Deleted]
Hi everyone, I hope you are all well and I'll jump straight to my problem. I have the following line of coding that is giving me issues: bool TradeTimeOK=true; if(DayOfWeek()==5 && Hour()>15 || DayOfWeek()==6||DayOfWeek()==0 && Hour()<14) TradeTimeOK=false; And it is this part of the...
Below is the error message after I've tried start the robot. Has anybody any idea?
[Deleted]
I need some text file.... where I have every movment .... for example rate of eur\usd is 1.4232 and this price change to 1.4233 then 1.4232 then 1.4231 then 1.4230 then 1.4231.... in text file: 1.4232 1.4233 1.4232 1.4231 1.4230 1.4231 Can someone help me with this
I have the following code below, but i cannot get to work. Can anyone see what's wrong? Everytime we have a new bar i want an alert to pop up if it's an inside bar, but it pop up evertime we have a new bar and not only when we have aninside bar....
In backtesting, I have the problem that if I try to send an order with a large stop loss (SL) and/or a large take profit (TP) value (eg. value of 9000, as illustrated by the code below) then the system rejects it and doesnt open it (not all the time though bizarely). If I send it with a lesser value...
[Deleted]
Following EA is one I downloaded somewhere and I modified the Money Management part of it. Before it took a percentage of the account balance, but now I modified it to calculate max drawdown based on the stoploss that yu set. Now, I use a broker with fractional pips, so 200 pips is really 20 pips....
hi members ! my problem is that i copied over mt4 from my windows vista laptop to my new windows seven laptop. I get critical error warning msg when running strategy tester and in the text it still thinks it is running on vista, even after i uninstalled and reinstalled many times. any advice welcome...

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.