- Search Forex Factory
- 7bit replied Jan 8, 2012
This is strange. Unfortunately I don't use this sma example or anything that is directly derived from it myself, I only wrote it as an example (by simplifying some some other existing code I have) and I did not thoroughly test the result of this. ...
- 7bit replied Dec 21, 2011
I cannot see any errors in your screen shot. Where do you see errors? Errors would have red icons next to them and compilation would not succeed. Also these warnings in your screen shot are written in plain english, so it should be obvious what they ...
- 7bit commented Oct 29, 2011
Are these the same Cititech analysts who recommended to long GBP/CHF two days before it dopped another 1000+ pips? Are these the same analysts wo recommended to buy USD/JPY two days before it broke the range and started making fresh all time post ...
- 7bit replied Oct 15, 2011
This time its different ;-)
- 7bit commented Oct 8, 2011
I have a huge eurchf long (big profit alredy) still open, I even added to it during the last weeks :-) This could become the best trade I ever made. I also have a smaller USDCHF long and my target for this is 1.0000 Their intervention tactics seem ...
- 7bit replied Oct 3, 2011
I'm sure someone here will be able to post a short 5 line (or so) script that you can drag from the navigator window onto the chart (or bind to a key) that will create a new trend line object starting at the close of the last bar and extending ...
- 7bit replied Oct 2, 2011
You can do this without external scripting. You can write MQL4 scripts that do such small tasks and bind them to keys directly within MT4. For example you could write a script that opens a buy position and bind it to Ctrl+B and another script that ...
- 7bit replied Sep 21, 2011
Maybe you should ask these kinds of questions on the support forums / mailinglists for the compiler you are using, there you will most likely find the C++ gurus who know this compiler inside out and can explain you every detail about how it works ...
- 7bit replied Sep 20, 2011
It seems you are trying to wrap something more complicated. Probably not everything that this dll exports can be used from mql4 or would even make sense (at least not in the exact same way how it would be used from C++). Functions that return ...
- 7bit replied Sep 20, 2011
"because this may create dependency loops in the DLL load order." In this simple case (my python binding) this problem can not arise. But it is true that caution is needed and only simple and self-contained things are done inside DllMain() because ...
- 7bit replied Sep 20, 2011
[quote=M_j;4969179]hi 7bit, a small question: is the BOOL Apientry DllMain somewhat similar to what you did in you Pascal dll. with initialization PyStatus := 0; LoadPyDll(); finalization UnloadPyDll(); end. Yes, its called from within exactly that ...
- 7bit replied Sep 20, 2011
You only need it if you need to hook into the loading/unloading etc. Otherwise all it does is to return true (which means "success") and the same empty default function (that just returns success and does nothing else) should be installed ...
- 7bit replied Sep 20, 2011
This bug happens only when running an EA in the strategy tester. There it forgets to FreeLibrary() the dll that has been loaded with #import after the strategy test is ended. Each run of the tester will leave the reference count increased by one. It ...
- 7bit replied Sep 20, 2011
You make a wrapper dll (like you did) that wraps every function into a stdcall function or you use mt5/mql5 which can (from what have read 2 years ago¹) directly import cdecl functions. There is no way to use them directly from mql4. ______ ¹ I have ...
- 7bit replied Sep 18, 2011
These are not errors, they are "warnings". Its the stupid compiler which is warning about essentially nothing. Its background noise. Unfortunately there is no way to turn them off (which is slightly annoying). You can safely ignore them.
- 7bit replied Sep 18, 2011
You need to use the 32 bit compiler (download the 32 bit IDE, it contains the 32 bit compiler), MT4 itself is a 32 bit application and can only load 32 bit dlls. If you used the 64 bit version of Lazarus/FPC it would produce 64bit binaries by ...
- 7bit replied Sep 18, 2011
It cannot start the RTerm.exe, make sure the path in extern string R_command is correct (the version number changes from time to time), check it very carefully and if R is installed and the path is correct it should work.
- 7bit replied Sep 18, 2011
q1: yes. Write to the .hst file and then send a fake tick to the opened chart window to update it. should work. q2: the spread is handled somehow differently. To set a diffferent spread for backtesting you have to disconnect MT4 from the internet so ...
- 7bit replied Sep 18, 2011
This is an interesting idea. The way the dll is designed (a simple flat C-like interface) it should be easy to use it with a lot of other languages that can interface with native DLLs. The structure that is used is the one that is dictated by how a ...
- 7bit commented Sep 7, 2011
And regarding all this "safe haven" nonsense talk that can be seen all over the place lately: just a reminder: "safe haven" does NOT mean what should a forex speculator play next week to make maximum short term profit, "safe haven" means were do I ...