- Search Metals Mine
-
4xCoder replied Nov 25, 2008There's no easy way to do that. The only way to do it is to get a custom indicator written that creates an offline chart for USD/EUR.
how to invert a chart ?
-
4xCoder replied Nov 20, 2008Funds generally depend on the country of operation, US based is in the 7 figures. Software, there are two routes. One is Metatrader server from Metaquotes, the other is to roll your own using programmers to develop. I think FXCM may also license ...
Anatomy of a forex broker?
-
4xCoder replied Nov 18, 2008As long as you can run your terminal 24/5, you can collect ticks history using url Then building this indicator would be pretty straight forward.
Project for Coder/Programmer
-
4xCoder replied Nov 14, 2008Good for you, hopefully it'll make you some pips. Yes, the code basically packs 4 characters (of 8 bits) into an int (32 bits) for passing to the Read and Write calls. The reason for that is I couldn't get strings to work directly with the calls, so ...
Named Pipes for MT4
-
4xCoder replied Nov 14, 2008What error code is it returning when it fails to open an order? Also, are they market orders or stop/limit orders? If it's stop/limit orders, check that you're not opening to close to the current price. Metatrader won't open orders (or place stops) ...
problem with simultaneous orders
-
4xCoder replied Nov 10, 2008Yes it took quite a bit of work. x |= y is the same as x = x |y and does a bitwise OR of x and y. x << y is a shifts x left by y bits. So 1 << 8 is 256. You can read up more about both of them here: url
Named Pipes for MT4
-
4xCoder replied Nov 10, 2008Rather then hijack Semar's thread, I started a new one here with the pipes snippets: url
backtesting on c++/vb
-
Named Pipes for MT4
Started Nov 10, 2008|Platform Tech|71 replies
Somebody asked about doing Named Pipes from MT4 to communicate with another program, so here ...
-
4xCoder replied Nov 9, 2008.NET Dlls (both C# and VB) use a different file format then unmanged C++ dlls. MT4 expects to find the later. To call a VB.NET DLL, you need to add a shim layer in C++ that exports the functions you want to call. Do a goolge search on calling .NET ...
backtesting on c++/vb
-
4xCoder replied Nov 5, 2008If it's possible, it would require some very tricky programming using the Windows API. MT4 doesn't have any calls for doing it directly, so it would have to be hacked together, probably using dlls.
Adding Custom Indicator to the Metatrader Toolbar
-
4xCoder replied Nov 2, 2008I think the problem is the "else" before if(OrderSelect(iTicketSell, SELECT_BY_TICKET,MODE_TRADES)). With the else, you'll only check the sell side if the buy side orderselect fails, which will only happen if the buy order failed. Remove the else ...
whats wrong with this piece of code?
-
4xCoder replied Oct 26, 2008If you're opening one order for each tick, then your logic for limiting orders may not be working. It's also possible you are exiting right away, then opening a new position on the next tick. Without seeing the logic, I can't guess as to what the ...
back testing tick by tick problem
-
4xCoder replied Oct 22, 2008The only way I can think of is to use a symbol set. If you right click on the symbol window, do a show all, then do a Sets>Save As and create a new symbol set with all the symbols. These live in the MetaTrader\SymbolSets folder. The files themsevers ...
Obtain a list of the symbols in MT4
-
4xCoder replied Oct 21, 2008Here's a good description of how you handle setting indicator values on old bars: url You can read the whole book here: url
Programming Newbie. Please Help.
-
4xCoder replied Oct 14, 2008Open the Tools>History Center. Select one pair. Click on the Download button in the bottom left. You'll get data from Metatrader going back to 1999 for 1 minute and longer for other timeframes. Repeat for other pairs.
Which MT4 broker has the most amount of backtesting data?
-
4xCoder replied Sep 6, 2008No No, only quotes. The easiest way to do this is to use the ML4 File commands to write a .csv file. Your software can read the file to get the info. For more details, url
Pushing MT4 DDE to its limit
-
4xCoder replied Jun 24, 2008It's possible if you can write MQL4 code. Take a look at the file Heikin Ashi.mq4 in your MT4 experts\indicators folderfor a start.
how to color signal bars?