- Search Energy EXCH
-
CodeMeister replied Oct 30, 2010Cannot Do — The simple answer is that you cannot reverse convert from MQL5 to 4 especially the functions that are unique and more capable. One simple example should illustrate my point. In MQL5 there is a feature for drop down lists of ...
any idea how to convert mql5 to mql4?
-
CodeMeister replied Oct 29, 2010Try This — The setup is the hard part. Adding SendMail() to your code is the easy part. Just put it near the call to Alert(). Be sure to check the journal tab for any errors.
Fractals indicator Alert
-
CodeMeister replied Oct 26, 2010Decompiled Code — You shouldn't be working on decompiled code and I don't think anyone wants to help.
why the EA only open order where the EA attached to the chart pair?
-
CodeMeister replied Oct 14, 2010How Desparate — How desperate are you? PM me with the right offer and I will consider.
Indicator Alert required
-
CodeMeister replied Oct 14, 2010Search — Search is available. Try something like "golden number".
Meta Trader 4 lines on whole number indicator?
-
CodeMeister replied Oct 14, 2010Try This — Metaquotes have completely messed up their file structure when it comes to Vista and Windows 7 compatibility. Fortunately MT5 addresses the problem properly. By for the present problem. The file was probably downloaded and now can't ...
windows 7 compiling problem
-
CodeMeister replied Oct 10, 2010Try This — Magic number is a bad way to handle manual trades because that assumes that every manual trade is to be handled in the same manner. Using the ticket number is much better in my mind because it gives you the opportunity to ...
How to use my EA to handle a specific trade that was opened manually?
-
CodeMeister replied Oct 9, 2010Try This — I don't think there is a function like IsTesting() or IsDemo(). You could do this with some extra coding by using a Global variable that stores the name of the EA and currency pair. Another EA could check for the existence of the ...
EA Running
-
CodeMeister replied Oct 9, 2010Several Ways — Go to the chart of the pair and look at the right hand corner. If there is an icon, thats for the EA. As the Window menu choice has a choice called "more windows" if you have lots of charts open. It will give you a listing of ...
EA Running
-
CodeMeister replied Oct 7, 2010Cannot Do — For a whole lot of technical reasons, MQL4 code can't be ported directly to MQL5. I went through the exercise myself with a very simple indicator and it took me more time to write the MQL5 code than the original MQL4. That will ...
Metatrader 4 vs Metatrader 5!
-
CodeMeister replied Oct 5, 2010Mail is Mail — MT4 doesn't control the routing of the mail. It sends it to the address in the configuration section which is usually a traditional email address. Several people have mentioned relaying from their primary address to a mobile ...
MACD indicator with email alert
-
CodeMeister replied Oct 4, 2010Confused — MQL4 (EA) is meant to work with the MT4 platform and not as a general purpose programming language. There are lots of other programming languages for that purpose. For your purposes, Excel has its own built in macro programming ...
.CSV Files Editing and Reading
-
CodeMeister replied Oct 3, 2010Confused — I think you are confused. My logic only applies to the active trading hours as per your original request. Any other problems are out of the realm of that request. So if you are making a new request for help, my suggestion is have a ...
start and stop times for indicators
-
CodeMeister replied Oct 2, 2010Try This — You can put the IsTimeToTrade() function anywhere before the start() function. Yes, call it like this: if (IsTimeToTrade() && UseAlert == true ). No it will not work with the example hour range you provided. I provided the basics, ...
start and stop times for indicators
-
CodeMeister replied Oct 2, 2010Left or Right — I always have a question in my mind when I see a claim like this. Were these paper trades (left side of the chart) or actual manually placed trades at the right side of the chart? There is a world of difference at least in my ...
Coder’s help needed - momentum scalping ea
-
CodeMeister replied Oct 2, 2010Try This — I chopped this code down to the basics so it may not work "as is", but any problem is minor I'm sure. Just call IsTimeToTrade() whenever an alert is to be sent to see if the timing is OK. extern int HourFrom=5; // hour extern int ...
start and stop times for indicators
-
CodeMeister replied Sep 28, 2010Does It Matter — Whether the EA is attached to the Renko chart or another should not matter in the least as long as it takes the trades correctly. Or did I miss something?
Renko Block Charts
-
CodeMeister replied Sep 26, 2010This isn't a project for a beginner. Even for somebody with a year's experience this would be a challenge. Find something easier to do and then later consider this project if Ninja Trader doesn't work out. Oh, and consider using MQL5 for this ...
tick-chart coding question
-
CodeMeister replied Sep 24, 2010Try This — This isn't easy as everyone seems to have a different idea of what constitutes a Swing High or Swing Low. The best I have seen from a coding point of view is Tom Demark's Trend Lines which connects the previous 2 Swing Highs/Lows. ...
Indicator to determine Swing high/low for Fibonacci Trading?