bernd
bernd
Friends

Add friends via their profile or user search and you will be able to see if they are online

bernd
Added topic Bindings for python 2.6
Hello, i have a minimal example that will crash metatrader: #import "python26.dll" void Py_Initialize(); void Py_Finalize(); int PyRun_SimpleString(string code); #import int init(){ Py_Initialize(); PyRun_SimpleString("x=42"); Py_Finalize();
bernd
Added topic The hardcore quants amongst you might be interested in this:
With version 1.3 my mt4R.dll has finally reached production quality and is released under GNU GPL https://sites.google.com/site/prof7bit/r-for-metatrader-4 and some example code that illustrates how to use it can be found here
bernd
Added topic MQL4 -> R
I finally did it! attached is the dll along with its .mqh header and in the source zip is the dll source code
bernd
Added topic @metaquotes dev: strange zero division exception inside terminal.exe *after* start() is already done
[1332] exception C000008E at 004CBF22 in C:\Programme\BestDirectMT4\ terminal.exe Could it be that there is some uncaught zero division somewhere inside terminal.exe happening when calculating the y scale of the indicator window? I am having not much
bernd
Added topic Sleep() function wrongly documented in the mql4 reference
The Sleep() function documentation in the MQL4 reference currently reads: The Sleep() function suspends execution of the current expert within the specified interval . The Sleep() function cannot be called from custom indicators since they calculate
bernd
Added topic "shutdown by timeout" when switching timeframes -- solved: MT4 bug + workaround!
0.01% of you might be interested in the following: I had strange timeout problems one out of 10 times when switching between timeframes when one of my EAs was attached to the chart. This included every EA that makes use of the ofline_charts library
bernd
Added topic deadlock in start() during deinit(), mt4 freezing, kill it and lose any changes to chart objects
for the second time in a week I have managed to crash (freeze and kill) MT4 and when this happens I lose all objects that were drawn into a chart since it was started. The freeze happens during timeframe switching, something I do in start() seems to
bernd
Added topic unclickable text objects, strange behavior
Sometimes I work with text objects in the chart, for example in one of my EAs i have a text object that i can move around with the mouse and it will give me a profit estimation based on the position of the text object and write the result of the
bernd
Added topic creating a magic number
/** * create a positive integer for the use as a magic number. * * The function takes a string as argument and calculates * an 31 bit hash value from it. The hash does certainly not * have the strength of a real cryptographic hash function * but it
bernd
Added topic 5 digits detection
double pointsPerPip(){    string suffix = StringSubstr ( Symbol (), 6 );    int digits = MarketInfo( "EURUSD" + suffix, MODE_DIGITS);    if (digits == 0 ){       digits = MarketInfo(
bernd
Added topic indicators on visual backtest chart (order history?)
Hi, I have made an indicator that will monitor the order history and open orders list, extract some information from there, track changes and do some funny things with it (sending trade signals into an IRC channel for example). Now i have noticed the
bernd
Added topic Posting code snippets in this forum is almost impossible
Posting code snippets in this forum is almost impossible. Everytime I try to post code or answer a posting with code in the quotation it is pure luck when the formatting doesn't get messed up completely. formatted text 3 spaces now try to quote this
bernd
Added topic constant re-optimization - any success stories?
I have come across this https://www.mql5.com/en/articles/1467 The Article describes an approach to automated optimization. I'm currently experimenting with some strongly overfitting EAs and suspect they might be profitable for at least some short
bernd
Registered at MQL5.community
bernd
Added topic trying to embed the python interpreter -> crash
Hello, i have a minimal example that will crash metatrader: Code: #import "python26.dll" void Py_Initialize(); void Py_Finalize(); int PyRun_SimpleString(string code); #import int init(){ Py_Initialize(); PyRun_SimpleString("x=42"); Py_Finalize();