- Search Energy EXCH
-
CodeMeister replied Jan 27, 2012Try This — In Strategy Tester it is possible to do this. Just click off the "Visual" option and select the date range desired. Once you start it up, you can pause the program, apply the pivot and continue.
How to change pivots when backtesting?
-
CodeMeister replied Jan 24, 2012Small Diff — Depends on how you define different rules. For instance, the AUDUSD should be traded during the Asian session and perhaps not during the European session. Same with the USDCAD during the US session and not the Asian. But really ...
Different Pair Different Rules? What's your say?
-
CodeMeister replied Jan 24, 2012Global Variables — Global variables are the usual way to do this. There is lots of documentation.
passing data between multiple TFs running the same indicator
-
CodeMeister replied Jan 21, 2012Try This — Determine the trend by looking at the chart and manually control the EA. There is no automated trend picker / forecaster.
How To Predict Trends & Counter Trends?
-
CodeMeister replied Jan 15, 2012MQL5 — MQL5 will handle this if my understanding of the documentation is right. It has mouse event handling capabilities.
How to stop text from being dragged or responding to the mouse?
-
CodeMeister replied Jan 14, 2012No Can Do — There is a very good reason the MetaQuotes people forced the output files to be placed in the experts folder. That was done for security purposes. Remember that MQL allows for the overwriting and deletion of old files. If not for ...
MT4: Multi Chart ScreenShot
-
CodeMeister replied Jan 13, 2012Try This — Hilight the rows you want. Right click in the area and choose copy from the menu.
MT4 - How to save Toolbox News Data in txt or csv?
-
CodeMeister replied Jan 12, 2012Up to Broker — Default comments are up to the broker. You cannot customize except in an EA or script at order entry time or by entering them manually.
how to add comments on MT4 Terminal
-
CodeMeister replied Jan 8, 2012Already Done — I remember reading about someone figured out how to do this about a year ago. To say the least it was complex and convoluted and I suspect error prone. From the comments, it appeared that a few others also managed to follow the ...
In mt4 can you run strategy tester for an EA on a custom offline chart?
-
CodeMeister replied Jan 8, 2012Try This — Here is the code I use. Remember to declare barStart as a static Datetime var.
Problem with Custom Indicator for EA use
-
CodeMeister replied Jan 7, 2012Memory — I remembered something else since my last post. Some people have claimed that the indicator reloading problem is caused by lack of memory. I don't know if this is true or not, because I only call iCustom() once per bar. I suppose if ...
Problem with Custom Indicator for EA use
-
CodeMeister replied Jan 6, 2012Try This — I have no idea how the indicator works or how the EA was designed to work. I know that others in the same situation have solved the problem by changing from every tick to once per bar mode. Technically its simple to do, the question ...
Problem with Custom Indicator for EA use
-
CodeMeister replied Jan 1, 2012No Can Do — MQL4 language prohibits this. Every language has rules and limitations and functional ones are more restrictive than general purpose ones. Put your code into an indicator - a new one or an existing one and it will work fine.
Using SetIndexBuffer in MT4 Script
-
CodeMeister replied Dec 29, 2011Try This — OrderSelect() with SELECT_BY_POS will give you the open and pending orders. You can track a particular order by using OrderSelect() with SELECT_BY_TICKET. If the OrderCloseTime() is not null, the order has been closed.
Help coding Pending Order Close
-
CodeMeister replied Dec 28, 2011Try This — The problem isn't with the calculation or MT4. You are displaying the answer with the default format which is 4 digits. Try DoubleToStr(answer, Digits) and you will see the right number of digits.
Coding help required
-
CodeMeister replied Dec 21, 2011Try This — Most people write a script to capture the incoming ticks and use a DLL to write them into shared memory or a pipe. There are a number of threads in this forum and codebase that discuss this and have code samples. I have seen ...
Communicating with an MT4 server
-
CodeMeister replied Dec 21, 2011CSV — There are a number of scripts around that do what you want by exporting data to CSV files. From there would be simple to put into SQL DB. I don't think anybody has done a one step program but it is possible.
Getting trade statements from MT4
-
CodeMeister replied Dec 18, 2011Already Done — Somebody wrote yet another one of this type of alerter complete with email about 3 or 4 months ago. Can't remember the developer and he hasn't been posting lately, so you will have to search.
Alarms for opening, closing positions and pending order
-
CodeMeister replied Dec 14, 2011Tools — Look for one of the close all scripts on this forum and attach it to hot key.
Software that automatically closes all open trades in just one click
-
CodeMeister replied Dec 14, 2011Hosed — It has been my experience that the problem is with the broker server and not on the client side. For instance, when I run two platforms side by side, one will go down and other keeps chugging along. When the connection is ...
MT4 Platform and Internet Connection Outages?