MQL4 and MetaTrader 4 - page 1524

[Deleted]
sI have been experimenting with various self-constructed EAs, but I cannot seem to get them to open at the beginning of a new bar (whatever time frame I use), after a trade has closed. Could someone point me in the right direction to where I could obtain the necessary code, so that a new trade opens...
[Deleted]
  Help Coding  (5)
Hi forum! I started learning MQL4 now but it's not easy at the beginning. I am not a programmer, the syntax seems to be pretty complex for me. Therefore I want to know if somebody could give me a very short code just for my orientation. The indicator should only place horizantelly in a window and...
[Deleted]
Hello My question seems very simple, but I'm in doubt about the answer. If we have number of pips of profit or loss at the end of trade and also we have open and closing prices and also we have volume of trade in base currency using OrderLots()*MarketInfo(OrderSymbol()...
[Deleted]
Hi everyone, I am very new to MQL4 programming and I would like to seek guidance from all of you. I am using FXDD's MetaTrader4 as my platform. I am passing an OrderSend() function and I get error #4019. ERR_CANNOT_CALL_FUNCTION 4019 At calling of an imported function, it was found out that dll or...
Ticks & TimeFrame. Hello, I read the interview with Yuri Gorez and they talk about the differences in attaching the EA to one or the other TimeFrame. As I understood it, the higher the TimeFrame is, the less ticks you have so the EA is running not so often? I haven't noticed that. Is it really so?...
Hi! After I start my EA, I would like to monitor the open orders with it. If some of them takes profit, I would like the EA to reopen it with the same parameters. So I have to ask information from the last closed order in the Account History. How can I get hese information? Which function can I use?...
[Deleted]
can anyone tell me how to make sure my EA only takes 1 trade per day. Its a daily strategy EA but makes more than 1 trade per day but all I want is for it to take 1 trade and then wait until the next daily candle opens before it takes another trade.
[Deleted]
I'm sure this question have been already answered in the forum, but couldn't find it. I've found how to write it in a .csv file, using TickCollertor. It is possible to draw them in the graph in order to get a Tick Time Frame? Thanks in advance!
I was working with FileHistory and opened file with FILE_READ|FILE_WRITE combination. It appears that at first writing to the file file gets extended, but as soon asFileRead... is made extending file becomes impossible, that is when writing tothe end of the file 0 bytes gets written and last error...
[Deleted]
I am a new comer. How can I get the values of every tick in the M1 chart? Can anyyone with his kindness help me?
[Deleted]
Hello Folks, i want to get Data from the Datawindow (specielly from an Indicator). I know the Function iCustom() but in my skript it takes to long til the data are back. I think there shoud be a way to get the data direct from the actually chart or from the data-window. Sorry for my bad english....
[Deleted]
Needing education on wat happens when partial lots close done. why i need is IF do above and cannot find newly created order in trade pool - it could mean is client/server issue that EA must wait for clearance ie, Sleep() and then inspect trade pool again,...? u see? if orderclose is 'seen' as ONE...
Hello everybody, I’m performing forward testing to several EAs in a computer running Vista . It appears that when the windows' screen saver is activated, MetaTrader Terminal becomes less reactive to incoming ticks. I’ve noticed this symptom for several times, because whenever I approach the computer
[Deleted]
Hello All, I'm looking for a programmer to build custom Fibonacci retracements based on the zigzag indicator. I'm also looking to automate a trading system around this so an EA is also required. Would like to disclose the EA privately. Thanks!
Is there a way to save historical quotes into ascii by some mql4 facilities, I am aware of the the history center in MT4 and the export button, but I'd like to have it scripted? thx
Hi Programmers! I would like to ask your help for Backtest of my Expert Advisor. The currency of my account is USD. The Backtest runs on a 1 minute EURGBP chart. These different currencies are the resultant of my problem. My EA opens a trade with 1 lot and 100 points stop loss and take profit levels...
[Deleted]
HI there basically i am new and i want to automate my trading, so how do i learn the MQL are there any good tutorial sites
[Deleted]
  No orders  (2)
We are having an issue with an EA. When I attach it to my terminal it works great. When I send the compiled ex4 to a friend it does not open any orders at all. We both use the same broker for the demo accounts. Thanks
[Deleted]
How do I email an indicator to someone else? Is there a way to export the files or something
Hi, when I use this command : ObjectGetValueByShift("MTRL", 1); I get error codes like: 4008: not initialized string or 4205: object coordinates error but what does that mean? Is there something to initializes before using this instruction. (I have created the TrendLine "MTRL" manually) Is...
I need 864000 bars for 1M( 1 month of data) time frame on every paris for my Expert to work corectly, I can get the history just pressing page up on the select pair, but because I need for every pair I wrote the faloowing expert to force the download of data, but it does not work, any sugestions....
On the website of the Automated Trading Championship 2008,an article Reporting the Seventh Week (10-16 November) has been published. The seventh week made some changes in the top ten. What is unchangeable is the position of a Participant from Russia Gorez - he is still on the first place. His Expert...
[Deleted]
Hi All: my error is stupid: invalid trade volume in my code, i tried both this 2: OrderSend(Symbol(),OP_BUY,0.01,Op,Slippage,Sl,Tr,SetupStr,0,0,Green); OrderSend(Symbol(),OP_BUY,lotMM,Op,Slippage,Sl,Tr,SetupStr,0,0,Green); for the Lot, I changed it from 1.0/1.00/0.1/0.01/0.001/0.0001, but failed by...
[Deleted]
  Danamic Sl  (2)
hi all attached my EA how can i fix the SL which will update every cahnge in SAR level i mean that the sl will update every time the SAR level is change thanks
NOTE: Looking for someone to give a price on code modifications for this script. 1. Need orders in proper sequence - Increment in the proper order. 2. If stop/trailing stop/take profit is hit, all TRADES - live and pending are closed. 3. Looping sequence starts at the original LOTS size and begins...
[Deleted]
[Deleted]
  hello  (1)
Can u pls send me the EA?im really interested in it.pls send to lukcruz@gmail.com
I have a question on where to get the statistical reports that are used in the Championship Trading, ie. https://www.mql5.com/go?link=https://championship.mql4.com/2008/users/Gorez/reports Is there a mq4 that puts them into a csv that then can be imported into excel, or does there exist a mq4 that...
Hi, I have simple problem with my code.I need work with prices close[1]-low[1] ; open[0]-close[0] etc... How can I do it? An example: I will go long when open[1] - low[1] > as 20 pip. double OPEN1 = iOpen(NULL,60,1); double LOW1 = iLow(NULL,60,1); Isignal =(OPEN1 -...
I tried to use the icustom function to call heiken_ashi_smoothed into day trader expert. it failed to compile, am sure something is wrong . i am confused with whole thing. if someone can help me, attached is the indicator.Then my work trying to produce a better expert. some body please helpout!!