MQL4 and MetaTrader 4 - page 1509

Hi, I am looking for any MQL4 programming books which I can either download or buy. I have tried to download Sergey Kovalyov's book in English, but it always appears with an error. Any help would be appreciated. I used to program in the past in Assembler and C,C++, but am rusty. Thank you, Robert...
[Deleted]
Hey Folks! I make 100% returns every month using my 3 different Expert Advisors - Click the link below to see the statement: http://www.forexfundas.com/performance/prem.htm I would like to participate in EA Championship. What is the procedure? I am confident that i can compete with the other...
[Deleted]
I can use some help on creating an OrderModify in EA. I am using a buystop as an entry, but would like to modify with the new entry. Currently EA is creating another BuyStop. //Buy if (Order == SIGNAL_BUY && Ticket > 0) { OrderSelect(Ticket, SELECT_BY_TICKET, MODE_TRADES);{...
Hi, I've looked through many of the programs in the Code Bank and all that I've looked at have NO COMMENTS in them to teach beginners how to program in MetaTrader. There is the book (see link above) but it starts teaching by talking about variables and types etc. What I really want is an overview of...
[Deleted]
I've only just started in the forex market a few weeks ago and have written quite a few EAs in the last few weeks. Discovered a problem last night with one of my EAs. I have the same EA performing on 4 different symbols under the same MIG demo account. Everything normally goes smoothly (I do use the...
Anyway to suppress the logging of Indicator messages in MT4 in the Experts and Journal? Thank you
[Deleted]
Hi all, I'm successfully running MIG's MT4 build 208 on Virtual PC (Win XP Professional SP3) on my PowerBook G4. It actually runs very well indeed. And all of my EAs run fine when compiled on build 208 and run on a real PC with build 220. The reason that I am running build 208 is that terminal.exe...
[Deleted]
"Interview with Stanislav Starikov: Features of New MQL5 " Dead or Alive? or just plain DOA I simply ask as why waste energies posting IF staff not interested, yes?
[Deleted]
I'm writing an EA that's based on several indicators, now am I best writing it like this if(IndicatorA>=x && indicatorB=y && indicatorC<=z) { OrderSend(Symbol(),OP_BUY,Lots,Ask,Slip,Ask-SL,Ask+TP,NULL,16180,0,Green) } Or the other way I though was int BuySignal=0; if(ImdicatorA>=x) {
[Deleted]
I have been testing EA's for 5 years now, every way every time and every currency pair. I have yet to find an ea that actually works. Out of all the EA's on code base there is one that I have done some modifications to however I'm no guru programmer and need some help tweaking it further. In manual...
new MT 4 Build 220 released, but when compling mq4 files, only products ex4 and log file with 0 length, and then auto-delete those 0 length ex4 file. what's wrong with it ?????
[Deleted]
I have active EAs and indicators simultaneously on 16 charts and have the publisher (ftp) option properly configured. However, minutes after I start the terminal, I notice this error in the journal: Publisher: error when building the report 'C:\Program Files\Interbank FX Trader 4\profiles\statement...
[Deleted]
Hi all, Another newbie here. I have a problem with this EA i am trying to code. It is in two parts and i can code the seperate parts but putting them together is beyond me at this point. Part a is a ma cross. Part b is the Highest high 20 periods before the cross. Same as Lowest low. Can anyone give...
[Deleted]
Need Helpin Closing, Touch me Up
[Deleted]
1). Could someone make/DRAW an ARROW OR DOT at the end . whenever new fibo line comes up/drawn on the chart window, 2). also when ARROW/DOT DRAWN at the end of new fibo line, could someone make sound alert . here i am attached fibo code, pl, see attachment if someone hasbeen already done this...
[Deleted]
Could someone make an ARROW OR DOT at the end of new fibo drown. es up on the chart I would like it to sound an alert. Many thanks in advance
I built a multi-currency EA out of purely theoretical interest. I did not even suspect that it would not behave exactly as it was supposed to in theory. Because it acts incorrectly, i.e. it sells when the price is falling and closes short (i.e. buys) when the price is rising. As a result, it
[Deleted]
Hello Experts, I am relatively new in using expert advisors, and I need your help in learning it better. I am trying to learn how to use custom indicators in EA. I downloaded a custom indicator "parabolic_sub.mq4" from this site. I copied it to my experts/indicator folder and I compiled it. When I...
  newbie questions  (2)
Two questions 1. Is there any way to ‘double out’. If I have a position of buy 2 Is there a way to sell 2 and close the buy at the same time ? 2. Is there any way to set by default the stop loss ? Preset at 20, 40, pips etc. or 10$, 20$, 40$ etc
[Deleted]
  HULL -o  (1)
Scriptor, is there a way to autotrade using your Hull_O_H_L_C indicator. Awesome indicator on the 1 hour chart.
[Deleted]
hello, please help me create an ea with 5 and 6 ema trailing stop stop loss take profit thank you
[Deleted]
Hi, I'm a newb to MQL4, but know Perl fairly well. I wanted to look at creating a learning algorithm. I can do this pretty easily w/ perl & mysql, but not MQL4 yet. Is there a way to feed data from MQL4 to perl and then to MySQL, or does all coding have to be done only in MQL4? Thanks, Newb
Hi, I would like to know if 2 different EAs can be run on the same currency pairs in separate chart windows in the same live account. Thank you, Robert photojournalist10@gmail.com
[Deleted]
I haven't seen a good EA on sale that follows good trading rules. If I were to create one, who would be interested in sponsoring me AFTER the EA is complete and tested and working well? Also, should we keep it only between a few people? It might not be a good idea to release a good EA to a crowd....
  Modify an order  (7)
Hy, Could you please help me to find a solution. I am working actually on an EA and would like to introduce a request to change the SL & TP limit according to the evolution of the market. You'll find below my request detailed but it seems that there's one more problem i can't fix. Any help is
[Deleted]
Hi, I have the below formula and would like to translate it to MQL4. Would you pls help me? . hmmessage P { margin:0px; padding:0px } body.hmmessage { font-size: 10pt; font-family:Verdana } MACD MS Look Ahead I a:=12;b:=26;x:=2/(1+a);y:=2/(1+b); top:=Mov(C,b,E)*(1-y)-Mov(C,a,E)*(1-x); {C required
  Loss Calculating  (1)
Hi I want to calculate recent loss value in my ea how can i do this? i have an idea but it did not work
[Deleted]
Hi, I just try to make Ea, but I make some mistake, I hope someone in this forum can help me to revise it. My problem is in exit or Closing, I want to close not only by StopLoss and TrailingStop, but also by Indicator, when the indicator triggered Exit signal I want to Close. and back to return(0);...
Hi All, I have encountered a problem during writing EA, anybody could enlighten me? Problem in displaying 2 value from the same indicator with different period setting. Second value always display 0. double Demark_Test(){ double Demark1 = iDeMarker(NULL,PERIOD_M5,14,1); double Demark2 =...
[Deleted]
HELLO HOUSE, DOES ANYONE KNOW HOW TO CODE THE TECHNICAL/FUNDAMENTAL ANALYSIS OF THE FOREX MARKET????????? ....I HAVE BEEN TRYING TO ANALYZE THE TECHNICAL TRENDS AND WOULD LIKE TO CODE IT AUTOMATICALLY. CAN I EVER ACHIEVE THAT?