Arbubu / Profile
Friends
Requests
Add friends via their profile or user search and you will be able to see if they are online
Outgoing
Arbubu
Added topic EA to run just once a day
I'd like to test a strategy to run only at 6 every morning. I think I can do it with the timer OK, but it's still incredibly slow to test, maybe half an hour to do a month.. Can I do something to speed it up? Here's the code I have: int OnInit()
Arbubu
Added topic EA causes metatrader to crash.
My EA has started causing the platform to crash. I don't think I've made any susbstantial changes to it, but suddenly it does it every time. I also get message under the Experts tab of the platform that the EA file is corrupted. However it compiles
Arbubu
Added topic Ask price indicator
My broker varies spreads on a market that I'm interested in. I'd like to have an indicator that shows the historic Ask price. Can I access historic Ask prices, or will I need to keep a record of them myself? Does such an indicator already exist
Arbubu
Added topic Layout settings not saved
When I close MetaTrader and reopen it the layout settings have all been reset to default ones. So the toolbars, for instance, all appear on separate lines. I don't like that, it takes up a lot of space, so I have to drag them all back to the same
Arbubu
Added topic Objects Disappearing
Objects keep disappearing from my charts. I think, but I'm not certain, that it only happens when I close and restart MetaTrader. It is the case for trendlines that I add with my EA, for trendlines that I add manually and for the little arrows that
Arbubu
Added topic Control when I'm asked for manual confirmation of a trade.
Is there any way that I could arrange to be asked for manual confirmation when my EA wants to enter trades but not when it wants to close them
Arbubu
Added topic Comment in Close Order dialogue box.
In the dialogue box that comes up to close an order there's an entry entitled "Comment". Is there any way for my Expert Advisor to put an entry in here? I can do it for opening orders with the Comment parameter of OrderSend(), but there's
Arbubu
Added topic Maintaining continuity across platform termination and EA recompilation.
I've got an EA which opens a trade for me and sets a target level which it monitors. It closes the trade when that level is approached and certain other criteria are reached - so it's not as simple as setting a take profit on the trade. I use the EA
Arbubu
Added topic Curly Bracket Management and Indentation
Are there any tools available for helping with setting indentation correctly and allowing an EA writer to see which curly braces are closing which earlier braces (e.g. through using the same colour as in Excel)? I spend a lot of time thinking this
Arbubu
Added topic Volume indicator does not show volume at all.
I noticed that the volume indicator figures that I had are very different from those of colleagues of mine who get theirs from yahoo. So I called up my broker who said that in fact what the indicator shows is the number of updates, or number of
Arbubu
Added topic JordiPalazon
Just so anyone who comes along later is aware, I did some work for Jordi Palazon de Andres in response to this post https://www.mql5.com/en/forum/132143 and haven't been paid. It was quite a bit of work and all had to be done in Spanish. He admitted
Arbubu
Added topic Determine whether EA is in tester mode.
How can I tell if my EA is running in the Strategy Tester or in realtime data? When I run it for real my EA adds lines on the chart and activates individual windows when trades look propitious - I think it would be inefficient for it to do this if I
Arbubu
Added topic Buy stops and sell stops not opening trades in tester
I have an EA that places a buy and a sell stop order at the start of the test. It does this successfully - I can see them in the Results and on the Chart and there are no errors in the Journal. But when the relevant prices are hit, nothing happens
Arbubu
Added topic Scan through all symbols
Suppose I want to run a scan through all markets available with my broker to look for favourable trades. Say I want to look for any stocks that have reached a yearly minimum. Can I do that with MQL4? I note that the technical indicator functions all
Arbubu
Added topic Flashing the icon in the status bar.
Anyone have code to get the metatrader icon in the Windows status bar to flash? I think you need FlashWindowEx but there's a fair bit to it, so if someone's already done this in MQL4 it would be a great help if I could have the code! Thanks
Arbubu
Added topic Two-dimensional array.
I'm trying to use a two-dimensional array, but I think I'm doing something wrong. My (global) declaration is: int LastExTime[2,4]; The problem is that LastExTime[1,1] keeps getting reset to zero and I'm sure it's not me doing it in code. I really
Arbubu
Added topic REASON_CHARTCHANGE
1. Why is it necessary for an EA to deinitialize and reinitialize if I change the timescale of a chart? I see no reason for this, and it doesn't help me. 2. If it is necessary, can I supress the messages that are shown in the Experts tab regarding
Arbubu
Added topic Convert to Integer function
Is there a function to convert a Double value to an Integer? In another language I've used I think it was called "CInt". At the moment I'm defining an integer and assigning the Double value to it, but it would be simpler if I didn't have to
Arbubu
Added topic Expert Advisors - selecting a chart.
If you've got several charts open , can an Expert Advisor cause the chart that it applies to to be selected? So if all your charts are maximised, the one that it selects will be the one that is displayed. Would be useful if this can be done
: