[Deleted]
Gentlemen, I'm beginning to lose faith in EAs, or myself :(. Wrote a lot of variants. Mostly on the pound on watches. I use muwings , stochastics and hourly analysis. I use annual history for writing and optimization. Expert Advisor enters the market an average of 2 times in 3 days. Everything is
[Deleted]
I've spent the last couple of days trying to learn MQL4 and programming a simple system, but have run into a problem I am unable to figure out. I get 'Unknown ticket for OrderModify' when trying to modify an order with the following code: " if (reversal_long(valid_bars_limit)>reversal_point_lo ng) {
I have been mod-ing the EA "10points 3" but I have one problem. I Would like for it to open the buy and sell trades independently. if one sets the extern max trades to 4 and the the EA opens a buy trade. and the pair falls and it opens all 4 buy trade and the direction changes it now cannot open a...
[Deleted]
Hallo, Folks, I do not know anything about programming, but I saw years ago a good indicatorcalled Bull-Indicator in some programms. This indicator just counts the last 10 bars and adds the bars. For each plus-barthere will be a 1 added, otherwise nothing. If the indicator was higher than 7 or...
[Deleted]
Vaky58 Please somebody to help me with info step by step where to create the new subfolder / file/ databank....? I am a newby and can'tperform the alpari's forex data to different time intervals for back testing!!!
[Deleted]
I’m a total newbie when it comes to MetaTrader 4 so I could use some understanding :). I’m trying to helpsomeone who uses MetaTrader 4 and wants to place orders through InteractiveBrokers, using IB API. From what I’veread on the forums, there is no public API for MT4 but apparently there is some way...
in log window, there are too many information, I want clear the contents in log window, and only diaplay my own newest informationproducted by Print(....) function, so I can distinguish my own info more easyly. how to clear log window? control by MQL code ! if not, suggest that MT can add a new...
[Deleted]
Firstly thank you to DxdCn for his help. It took a while to work out where and how to use the log file, however I now have it. I am a real novice and have been running around in the dark for quite a while. If your also a real beginner then the following may assist. The problem is I am never sure
[Deleted]
I have this function in start...IT DOES NOT FIRE !!! - Its on a EA, with all common EA properties clicked on ! - Tick action from chart occured during this time frame. Why does it not send an email. The OK Variable is there to make sure it ony sends an email once, and not on everytick ! void...
[Deleted]
Hi,,, how r u every body?? i want a code for encoding indicator?? and making expired date for use it?? thank u,, Kind Regards,, GMO,,
Hello ! Where I can get this indicator ? Mass Index. Thanks in advance. PipeTrader Trade to live and Live to trade!
Hi all traders! Hope everyone is ok. I have been looking and researching the Forex Market now for about 5 years and i am still learning. Throughout this time i have been developing systems and ways of gaining tose lovely pips. So over the matter of time i have found three indicators; 1. EMA @ 75 2
[Deleted]
Why does the following INDICATOR CODE draw only a horizontal line on the main CHARTwindow. If I change the price registers CODE (O,H,L,C)for example e.g. From Low[7] to Low[pos+7] it draws a graph, However it shifts the indicator forwardapprox 16 bars Regards Peterg int start() { int...
[Deleted]
Frustration does not begin to explain a beginner position I gather this Forum Is for ("Experts" to impress other "Experts").There's no ego trip in helping a beginner. I have asked 2 questions (1) How to plot beyond the current bar. The reply is 6 words or so. No explanationsno guidance, just use...
[Deleted]
Is there a simple EA available that would allow me to enter all my orders, any currencypair (long & short) and also allow me to set either/or a profit target, trailstart and trail amount? It would also be good if it had an alert that could be generated after the profithad been taken. Thanks fxgrm
[Deleted]
I am trying to test multiple pairs and once a signal occurred on one pair, an orderis sent. I use MA as entry signal, so instead of writing iMA (which I need 5 MAs for onepair) on each individual pair, I use this code to switch between pairs. string currency;int ss; if(ss == 0) currency =...
When I run the following code within an EA on the MT4 Strategy Tester, it worksOK. But, if I use Visual Mode, Error 4059 on ordersend attempts. 4059 is "Functionis not allowed in testing mode". Why does this code run OK in normal Strategy Test, but not in visual mode. Buy code:...
With 3 Bar TrailingStop, I need ideas to code this: 1. Buy Trailing Stop - Set 1 pip below lowest bar in previous 3 bars excludingInner Bars. Inner Bar is when one bar's high and low are within previous bar highand low. If this happens, exclude this bar and go back 1 more bar. Wackena
We resume the development of MetaTrader 4 Mobile Smartphone Edition (SE). Let us remind you that MetaTrader 4 Mobile - a mobile terminal for PDA Pocket PC - is being used at the moment in MetaTrader 4 Platform. For it to operate, a PDA+mobile phone with GPRS or a communicator are usuallyutilized....
[Deleted]
I want to have a variable that I can tell the EA to only put 1 Pending or 10 Pendingsin at 1 time. I am talking about positions NOT Lots. Right now it puts 1 pendingin But if the Current Price is at the High or Low it puts about 8 positions in.I want ONLY the number I program to be put in. This EA...
Please help to modify this Indicator . I'm blind about programing, so please helpme out . I need to have alert whenever the line of RSI hit 90 or hit 10 from fix scale 0- 100 or it could be an option. The point just having alert without anycombinewith other indicator. I try to delete the rest of...
[Deleted]
Hi, I wondered if those of you out there regularly programming EA's would mind sharingwhat your opinion is on the above topic heading? Is C or C++ more useful to you to know before starting to code mql? Benefits and disadvantages of both? If you were going to start coding mql and did not know C...
[Deleted]
Hello could someone please help me with this. I can't understand. I'm developing a expert working with MA but I only want to open a trade if theADX is above a certain level. I tried several ways to put that condition for entering trades and all of themsomehow make that the expert never opens any...
[Deleted]
I have purchased tick data and am using your csv2fxt conversion script, 2 issueshave arisen. 1. Once I converted the 1st tick data file I placed the resultant 1 minute hstfile into the history directory to view the visual results of the conversion -Each 1 minute tick was a flat line whereby O H L C...
[Deleted]
Hi, When You go F7, you see the input box for the EA showing all the extern variables. How does one place in those input box EA extern variables a text message to remind me what some of the inputs are for variables/ Like extern int Period = 1; extern string Test 1 = daily, 2 = weekly, 3 = monthly;
Hello. I have used by some time the VTtrader due to the facility that it has for people with little knowledge on programming, as it is my case. But because that platform is much very slow, at the moment I am migrating my chart configurations towards the MT4, that of step is saying, seems to me an
[Deleted]
Hi, All, I quite new to this forum and would like assitance in programing this concept taken from http://www.tradingmarkets.com/.site/stocks/commentary/editorial/The-Improved-R2-Strategy.cfm Apparently its 84% accurate when applied to stocks but Iam sure this concept is universal Please reply to...
Hello, I thinks my problem must already many before me have had. I rent at present a Windows V-servers with approx. 320 MB main memories, but itpasses that ever more frequently the program MetaTrader 4 brings the server forfalls. I do not point as I it to change can, but I point that it because...
[Deleted]
Hi MQL4 and fellow traders, I am about to purchase Tick data that I wish to import into MT4 for back testing. The supplier I wish to purchase from is offering the data in ASCII data format which they feel is compatable with MT4. I have ensured that the timestamp of the data will be the same as that
[Deleted]
Hi, Probably a stupid question,but............ Could somebody tell me how to define Stoploss as 2/3 of the 7 day average dailyrange. Thanks, Ed.
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.