MQL4 and MetaTrader 4 - page 1611

The other day we launched the beta version of Sergei Kovalev's (SK. ) online book on MQL4 programming. https://book.mql4.com/ru For now only Russian version works, but we will try to translate it to English and Chinese If you have any comments about the book, please let us know
[Deleted]
I would like to create an EA that will open a sell position every time RSI crosses from over 70 to under 70, and opens a buy position every time it crosses from below 30 to above 30. In addition would need to place Take profit and stop loss. Any Ideas?
I am new here so Hi Everybody !!! I thought MQL4 would be easy form my but not . First indicator and an incomprehensibleissue for my. I want to create an indicator which will show "1" if today close priceis greate then yesterday close and and vice versa "-1" if today closeprice is smaller then...
Hi can one have more than one retrun statement in a routine? the return statmets arenested in conditional "different scope" blocks. thanks
ObjectSetText("text_object","Hello",10,"Arial",Red); Using ObjectGet, I can retrieve the ObjectSetText string name: "text_object" How can I retrieve or return the words or value for the string text "Hello"? Thanks
[Deleted]
Hi Everyone, I have installed several EA with same account for purpose of multiple trade simultaneously.But they still trade one by one. Who can tell me why and how to multiple tradeon different EA simultaneously? Thanks.
[Deleted]
I'm making a basic indicator that shows the HOURLY and FOUR-HOURLY highs and lows. The highs were easy. I figured out an even easier way of doing it afterwards (becauseby looking at it you'll know I'm an idiot) but I left it this way. As far as the lows go, The Hourly Low will not store into the...
[Deleted]
I have opened my account, transfered funds, and completed all paperwork I've beenasked for. No email has been reponded to in the last week, no further instructionhas been given to complete the process, and I have quite a few thousand dollarssitting in La La land doing nothing!!! I email them with no...
Hello, I was asking the same question on other topic, but this time I try to be more specific. Is there any way to catch (record) MT4's activity (such as alert, or other notification)using an external application? or maybe can we use a stand alone MQL4 script to do this? Just attach it to...
hi everyone, my system is heavily dependent on Moving Average Crossovers. I'll need an mql codeto alert me through sound and email,when there is a crossover on my charts, cananybody help out with that or has anyone done anything close before? please i ama newbie, some help will do a great deal....
[Deleted]
Hello, I am new to coding in general and I was hoping somebody could explain somethingto me. I'm sure you are familiar with the script below, and I understand it's purpose,but; Can please somebody tell me what the return(-1) in this following statement does:I know that the return|(-1) terminates the...
[Deleted]
Please, I need the help of every one. I am currently writting an EA, during whichset of multiple pending orders will be placed. I also needs to delete these multiplepending orders if some other conditions are met before the pending orders are taken.Please, how do I do so. ZECCO - potential...
[Deleted]
I wrote the simplest of indicators (see below). It basically overlays the pricecurve I selected (via PRICE_OPEN, PRICE_CLOSE, PRICE_HIGH, PRICE_LOW) over thebar chart on the chart window. To my surprise, PRICE_OPEN maps to the Low end ofthe main bar, OPEN_CLOSE maps to Open bar on the left side of...
Hello, Where can I find documentation on MetaTrader 4 language. For example, order functions. Thanks, Miguel
[Deleted]
I have written my first expert advisor. It doesn't seem to be working. There isa COMMENT statement that should be putting something in the upper left hand cornerof the chart. It is not. It did the last time I loaded the EA onto my chart. Nowit isn't. Is there some kind of setting in MetaTrader 4...
[Deleted]
Hi, I am new to writing scripts on MQL4 and have met some problem can someone help me pls :) 1) I tried assigning Ask to a variable example named Checkprice , what i want is that moment Ask price into the variable only, but it ended up tying Ask into Checkprice. example: if(Ask>Checkprice) {
[Deleted]
Hi, I'm using a W2k Server with terminal services to have several "terminals"with MetaQuotes client terminal. The problem is: executing the client terminal from diffrents user accounts, theaccount for trading is the same. how can I resolve this "problem" sb.forex
Equivolume Charting Revisited The article dwells on the method of constructing charts, at which each bar consistsof the equal number of ticks. Author: Andrey Khatimlianskyi
[Deleted]
Does anyone know if there are any trading platforms that support Mac OS
[Deleted]
Is it possible to display a 15M Stochastic in a 1Hr Chart? This would be really helpful and allow me to not have to switch back-and-forth between 2 charts. Also, I would like to do the same thing with the Williams % indicator - show a 15M Williams in a 1Hr chart. Any help that anyone can offer would
[Deleted]
Hi, I'm quite a newby, so I was wondering if there's a best practise to augment historyin data centre. Could someone post me a link to Alpari History Database if it isneeded? Thank you, SA
I've heard that we can't close our trade's volume partially using an EA, is it true? For example, we enters the market with 2 lots, after certain price we want to closeit partially (1 lot), and left the rest 1 lot in the market. I know we can do itmanually, but is it possible to do that using an EA...
[Deleted]
I would like to - but know not how to draw short lines, i.e triangles, flags, pennants,etc on an MQL4 chart. Could a benevolent and knowledgeable person please assist ? Thanks from Down Under Herschy
[Deleted]
Hi, I read the articles related to ZigZag, and traded it, still i have problemswith creating an expert from it. If someone with better knowledge could help, I would be grateful. Below I attached a sample free-to-modify ZZ ea.
[Deleted]
i wrote one expert advisor. can anyone tell me how to make that i don't need to go directly into expert advisorto change conditions or values. i would like to make some pop up window where i will put mu values so i don't touchmy expert advisor live. it is something like mt4 has when i want to set...
[Deleted]
Hello. I am trying to create a script/program that I can run on my MetaTrader program.However I know very little on what to do. I want help setting up a trading systemthat I developed. Can anyone help? I will be happy to explain to anyone. Thanks.....
[Deleted]
IS IT POSSIBLE THAT EXPERT ADVISOR CAN CALL SOME OTHER PROGRAM WHERE I CAN PUT SOME DATAS AND THEN EXPERT ADVISOR IS USING THAT DATAS FOR HISWORK. I MEAN WHEN I START MY EXPERT ADVISOR CAN HE CALL SOME EXE FILE AND WORK WITH IT. THANKS
Is it possible to use an EA to disable trading in MT terminal? Let's say you have 2 MT terminals, in 2 locations. 2 traders login from 2 locations.Location A has an EA running that disables trading from location 2, manual or EA. Possible? If so, how? Joe Gelet Elite E Services www.eesfx.com
[Deleted]
Hi, is there a way to specify in EA that a certain action (open order, close order)is performed provided some conditions are fulfilled but ONLY after the candlestickof the given time frame closes? I am working with Heikin Ashi candlesticks and want to enter the market upon acertain color of it....
  Matlab.Data  (1)
Hello, Is it possible to get historical data of EUR/USD into Matlab from MetaTrader? If I took daily data from MetaTrader for EUR/USD from 01/01/2007 to 20/01/2008is it possible from Matlab to update my data to today's date? Thanks, Miguel