MQL4 and MetaTrader 4 - page 1663

[Deleted]
Hi all Is there any way to plot a number of indicators on the screen and then write ascript within an EA/Indie that will acquire values of chosen indicators for a particularbar/candle? That would save me dissecting 3 indies to combine them into one withinthe actual script. I hope the question...
  The "Grinder"  (8)
This is a very simple system, it works on all major pairs, probably on others, too. 5M bars are best, 15M work well but not as profitable. This has been backtested extensively using Amibroker but not on a Forex platform as there is not yet an EA. Here are the rules (working this system manually you...
Of course, fooling the tester is no easy task, but I succeeded too. ... Let's take a look at the results of my system
[Deleted]
OK ive been having issues with the strategy tester it just alll out stopped workingfor me. In addition I kept getting a live update alert and it wouldint connect.So I downloaded the platform again. Dropped all my old experts back into the expertsfolder and nadda, nothing, zero, zilch. The old...
[Deleted]
Hi anyone here. can point me how from the below call fuction in above? like int start() { xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx in here below call above to fuction thank for someone profersion egt520
Hello! I tried to use that code ReadFromFile.mq4 from 'Working with Files. An Example of Important Market Events Visualization' but it dose not work. Where to place taht file week.txt ? Does someone is using that code? If so please give me the clue. Boogie
[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) {
  Anti-Martingale  (20   1 2)
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]
  Bull-Indicator  (7)
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,,
  MASS index  (7)
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]
  Indicator Shift  (6)
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]
  Forum help  (1)
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...