Codes

Show Number Consecutive Heiken Ashi Candles for MetaTrader 4

Many consecutive Heiken Ashi candles of the same color often indicate a soon and harsh trend reversal. This indicator shows the number of consecutive same color candles. So you can see overbought and oversold situation at first glance

Spread Indicator for MetaTrader 4

This Indicator shows the current pair's current spread in the upper left corner

Forum

MT4 instance limit

Dear traders and MT4 support, currently, I am running many MT4 instances on one pc. However, there seems to be a limit of the instance count.: For me, I can only start 18 MT4s. What's the reason for this and can it me changed? Neither my RAM nor my CPU is anywhere near its maximum. best regards

EA Programming

hi fellow traders, since I didn't find any forum rules which forbid this kind of offer I am gonna post it. However, if Admins consider this to be inappropriate just remove the thread. I've been trading quite a while (a few years) and been programming EAs and indicators (and other programs for even

forming of Forex group

Hi fellow traders and programmers, recently I have been evolving the idea of creating a Forex team. Finally, concrete plans have formed and I managed to fit this idea into my schedule. What I am imagining is the following: We form a group of 4-5 people including both programmers and traders. In

activate chart window

Hi, how to active / put focus a chart window if another is activated? Solutions with WindowHandle () and ShowWindow() or SetFocus() didn't work for me, may be you can help. Thanks for your help. best regards, Daniel

custom messagebox

Dear traders and programmers, currently I am using MessageBox () to interact with the user. To distinguish different kinds of messages I want to use a particular background color for each message. The buttons are fairly simple though, I just plan on using one big OK-button. How to create

mql4 in german?

hi, are there any plans to offer mql4.com in German? I could translate pages from English to German

detailed statement

hi, when publishing my statement via FTP it's really not that detailed(it doesn't even show the Comment on each trade which is shown in account history!). I saw someone who had a REALLY detailed statement on his FTPserver (included detailed stats on each currency pair etc.). I searched for s acript

detach EA

Hi, what I wanna do is make an EA really stop itself, i.e. detach itself from the chart. How does that work? Is it even possible? If not, how to close the chart window it has been attached to? I tried to use SendMessageA(), couldn't get it to work though. best regards, Daniel

combine advantages of EA and script

Hi fellow traders and programmers, since I know this forum to be an awesome place to develope ideas I post this here. I want to combine the advantages of EAs (like sticking to a chart even after restart of MT4 or changing of TimeFrames etc.) with those of a script (running independently from

Setting of `DllConfirm=foo` not working?

Hi, today I learned about setting the preferences of MT4 in a config.ini, this is really awesome! And it really works! ;) The only thing which I cannot get to work is `DllConfirm`. When changing this key's value it's simply ignored! It just takes the input of the last setting manually made by the