- Search Energy EXCH
-
CodeMeister replied Jan 10, 2011Try This — The best(?) tutorials are on the MT4 site, but require an understanding of the peculiar language and explanations of Ruslish. After that self learning is the next step. The best way to learn to program is by programming. Scripts are ...
What is the best MQL Training ?
-
CodeMeister replied Jan 10, 2011Impossible — You supplied the executable, not the source code(MQ4). Looks like someone's proprietary code - you need to contact that person.
Some help if possible - adding BE
-
CodeMeister replied Jan 8, 2011Try This — This is easy to do if you have the source code and basic coding skills. Just make each text object co-ords relative to each other and have the origin and separation as user inputs.
how to add text label to an indicator
-
CodeMeister replied Jan 7, 2011Try This — You should have included the OrderSend() or OrderModify() calls where the problem is happening; now we have to guess. My guess is that you are sending a pip value to the server and not a price value. Something like OrderPrice - ...
Ordersend 'error 130' - problems
-
CodeMeister replied Jan 1, 2011Not for Newbies — I have tried to use a ladder interface in the past and like Steve just didn't get it. MT4s primitive entry system is much better than the sophisticated be all end interfaces. I doubt if the retail forex industry would have ...
Ladder interface
-
CodeMeister replied Jan 1, 2011Try This — That is determined by you. Read the documentation and try a few examples - that can be done quicker than posting a question here. I am not going to look up the documentation and quote it here; but I know it is very clear how it ...
Exiting Trades on iLowest and iHighest
-
CodeMeister replied Dec 30, 2010Another Way — I wasn't completely satisfied with my earlier answer. Here is another way of thinking about repainting. The current bar is constantly updating the Low, High and Close values with new values. The only value that doesn't change is ...
What does it mean when Indicators repaint?
-
CodeMeister replied Dec 29, 2010Try This — You only need to check the condition once per bar - at the opening of the new bar because you are checking for a crossover of the previous bar. So you don't need a While loop. A simple If condition will be sufficient and won't even ...
while loop in EA causes 100% CPU
-
CodeMeister replied Dec 29, 2010Not Price Action — You seem confused about Price Action. Just so that others don't get the wrong idea, I am going to point out that what you are talking about is not price action - just indicators. I doubt what you trying to do can be coded ...
Binary profiling of candlesticks
-
CodeMeister replied Dec 25, 2010This is Good — This is a lot of folklore about repainting indicators on FF in general and in this thread in particular. The posting I am quoting seems to be the best and simplest answer. Once you understand indicators, you will know that the ...
What does it mean when Indicators repaint?
-
CodeMeister replied Dec 22, 2010OrderSelect() is used to find the new order. You didn't use the select by ticket option, so you should find every open order with the magic number. The magic number is unchanged, so your logic should find it. I guess you have to put in Print() ...
Order Modify error
-
CodeMeister replied Dec 22, 2010Confirm — In demo and real money conditions, the new order opened is different as you noted. But you can't predict the number assigned to the new order. It will not be the next sequence as you noted in Tester. I think your code will handle it, ...
Order Modify error
-
CodeMeister replied Dec 22, 2010Try This — On the Insert menu choice is one called Rectangle. Just place you cursor on one corner of the desired zone and drag to the opposite corner. You can change colour on the Objects menu.
How do you draw a zone?
-
CodeMeister replied Dec 20, 2010Not Quite — I don't understand what you are trying to do, but I took a guess. That is always harder than writing the code. Glad you found my answer useful.
Triggering Limit/Stop orders on Candle closes instead of Ticks
-
CodeMeister replied Dec 20, 2010Errors? — There is nothing obviously wrong with the code. Which leads to the obvious question, did you check the MT4 journal for errors? Was a "buy.csv" file present in the folder? How many times has this happened? Once? Twice? More?
Passing data from one MT4 client to another
-
CodeMeister replied Dec 20, 2010Seems Good — What you are proposing seems to be best utilizing the resources for their intended purposes. I am sure you will learn things along the way that may require some tweaking, but your approach seems reasonable to me.
Named Pipes for MT4
-
CodeMeister replied Dec 20, 2010Try This — If all you want is raw tick data, it seems to me the best approach is through DDE. It is built in with the MT4 platform, so that saves on effort. I haven't used myself except in Excel, so I don't know how reliable/stable it is. It ...
Named Pipes for MT4
-
CodeMeister replied Dec 20, 2010Try This — I think I understand the question, but I'm not sure of the context. I will assume that you are using an EA to manage the trade. Instead of doing tick by tick trade management, you should do it bar by bar. Instead of sending the ...
Triggering Limit/Stop orders on Candle closes instead of Ticks
-
CodeMeister replied Dec 19, 2010Difficult — Trend detection is one of the hardest challenges in automated trading. Even the best ones cannot come close to a human's ability to identify a trend. The automated ones typically are late to detect the trend and stay in it too long ...
Non-Profitable EA's & Valuable Information...