Codes

Capture MouseEvents on Chart for MetaTrader 4

This set of functions enables one to capture mouse events on your trading chart. One can simmulate buttons to trigger actions in the EA

MiniVirtualAccount for MetaTrader 4

Running an EA in a virtual account

MySQL wrapper for MetaTrader 4

Wrapper for reading and writing to MySQL

Forum

Membrain NeuralNet

Hi All, I wrote a wrapper for membrain... http://www.membrain-nn.de/main_en.htm here the files for those how like to experiment with it. I haven't fully tested it yet. So any feedback is welcome Greetings, Russell -- fixed typo

simple mysql wrapper

Hi All, I wrote a small wrapper for fetching row and fields from MySQL. source and compiled dll in attachment. Futher more a mqh for including the goodies :)

What is your opinion on this backtest

What is your opinion on this backtest? Do you this it's stable enough as a base for further development. Now in this test it only trades short, with long trades turn on it still makes money, a bit less though. Any and all advise appreciated! Strategy Tester Report AlpariUK-Demo (Build 226) Symbol

[Solved] How to calculate margin while hegding

Hi, I'm trying to calculate the margin while hedging. In the code below I made an atempt to calculate the correct margin. The function works fine if there are only trades open in one direction. But it's totally off when the EA has trades open in both directions. Any help would be highly appreciated

referencing and dereferencing c++

Hi All, ok this is a bit off topic, but I know there are some good C(++) coders around on this forum. So i'll will give it a try any way. here the problem I'm having... Im importing a dll in MT with follow function in it. #import " some.dll " int MB_GetInputActRange ( int idx , double & pActMin

4 to 5 digits correction, 130

Hi All, I have this weird thing in my code, and I just can get my head around it... Ok i have a function handleOpenPositions() which should manage my trailing and stoploss. ( Ok where you See VirtOrder, just read Order) void handleOpenPositions(){ for(int i = VirtOrdersTotal(); i >= 0; i--){