- Search Metals Mine
-
7bit replied Jun 28, 2010still short. targeting the magenta line: image
Trading the anti-grid with the snowball EA
-
7bit replied Jun 25, 2010now write a function, call it log() that takes a string and a double argument, does the conversion and concatenate it all to a debug message, then you can conveniently use it as a replacement for Print() in the following manner: log("value of foo", ...
DLL c++ any examples ?
-
7bit replied Jun 24, 2010You can use my python binding to directly call python functions from mql without doing the ugly file workaround. You can also start new python threads that do the nework IO in the background.
Oanda automation scripts
-
7bit replied Jun 24, 2010As usual they seem to do it wrong whenever there is something that can be done wrong, even if it is a hundred times more complicated to do it wrong than right. For IM services there is a protocol that is already standardized and does not cost any ...
Oanda automation scripts
-
7bit replied Jun 24, 2010Please from here on no more postings in this thread that mention the word "hedging".
Snowballs and the anti-grid
-
7bit replied Jun 24, 2010This must be answered by somebody who knows C++. There should be functions for such conversions in the standard libraries, you just need to use the documentation to find out which ones and how to use them. If you are new to such low level ...
DLL c++ any examples ?
-
7bit replied Jun 24, 2010I would do "printing" from the DLL via OutputDebugStringA() (this is from the Windows API, exported by kernel32.dll) You can then just use a tool like DebugView (SysInternals) to view this output in realtime or filter it or log it to disk.
DLL c++ any examples ?
-
7bit replied Jun 23, 2010here in this forum is a thread with some examples in Free Pascal (use the search function). You should be able to adapt everything that is written there to C++ since both languages are essentially doing the very same things just with a bit different ...
DLL c++ any examples ?
-
7bit replied Jun 23, 2010Here are a few examples, they are incomplete, just to illustrate how it looks like. login: Func login() _IENavigate ($oIE, " url ") $oForm = _IEFormGetObjByName($oIE, 0) $oUsername = _IEFormElementGetObjByName($oForm, "Username") $oPassword = ...
Oanda automation scripts
-
7bit replied Jun 23, 2010use the description field of the line, not the name see above it will add the stopped positions if it continues. Do you use a FIFO broker? They mess around with your stoplosses and manipulate them, it should stop only one stoploss at a time, not all ...
Snowballs and the anti-grid
-
7bit replied Jun 23, 2010I am waiting for the next down time to see whether the web interface is also down when this happens. Since I have switched my automation from using the oanda applet to using the web interface I have not seen any oanda downtime anymore (I have the ...
Oanda automation scripts
-
7bit replied Jun 22, 2010this one was initially started as a long (the dark red vertical line) but then a few hours later reversed to short (much too early again). I then wanted to take profit at 1.22 but lost my patience today. I paused it after crossing breakeven, then ...
Trading the anti-grid with the snowball EA
-
7bit replied Jun 22, 2010you can buy, sell and close trades, I'm not sure about pending orders (you can cancel exiting ones but I haven't seen an option to place new ones, but I also didn't search for it) Of course you can. It's jut a bit more complicated. It will redirect ...
Oanda automation scripts
-
7bit replied Jun 22, 2010you might be interested in oanda's mobile phone interface url this is a very simple WAP2 website, plain html, easy to script. AutoIT has functions to remote control an InternetExplorer instance and directly access the DOM of the loaded website to ...
Oanda automation scripts
-
7bit replied Jun 17, 2010I have thought about this too but not yet made any experiments. It might be indeed a bit tricky to get this working. Lazarus can be set up for cross compiling beween different architectures. As far as I know (i have not done it myself, I have only ...
Creating Metatrader DLLs with Lazarus / Free Pascal
-
7bit replied Jun 17, 2010Problem is: I have no idea what percentage of dayly ATR would be optimal for every trader, I don't even know if the optimal value can be derived from atr at all. The following might not exactly be what you are looking for but I have done the ...
Snowballs and the anti-grid
-
7bit replied Jun 16, 2010euro will retrace. It started breaking trend lines. I reversed my long to short (was at level 1) image
Trading the anti-grid with the snowball EA
-
7bit replied Jun 16, 2010yes, you have to carefuly select the starting point. maybe the tip of a triange formation on the H4 or dayly timeframe, a big move must be imminent. bigger distances only make it slower and more boring to trade, the properties of the system stay ...
Trading the anti-grid with the snowball EA