- Search Energy EXCH
-
CodeMeister replied Jan 25, 2011It is not possible to do what you want with SendMail. This thread explains how to get around the problem. url
printing the charts
-
CodeMeister replied Jan 24, 2011Try This — This might work, but I haven't confirmed it. There is an EA on this thread that captures a chart and saves it to a file. The file is given an unique name based on the timestamp. For your purposes, you could run it in Strategy Tester ...
printing the charts
-
CodeMeister replied Jan 24, 2011Try This — Part of your request is easy and has already been done in this thread. url The email part cannot be done in MQL, but I am sure somebody has done this and you could find it on the internet.
automatic screenshots
-
CodeMeister replied Jan 24, 2011Can Do — The code in my other posting will do what you are looking for.
comments field code for ea or script
-
CodeMeister replied Jan 23, 2011Try This — I'm not sure I understand what you want to do, so I am guessing. OrderSend() has a comments field that will accept a string value. If the string is declared as extern, it can be changed at script run time. extern string ...
comments field code for ea or script
-
CodeMeister replied Jan 22, 2011Agree — The Hull is the best I have seen.
The difference between a MA and a non lag MA?
-
CodeMeister replied Jan 22, 2011Try This — I don't have much experience with it other than seeing it in others code, but I think I remember reading it could be used for both purposes. That makes sense if you need to vary the size according to the amount of data to analyze.
How to dynamically define an array
-
CodeMeister replied Jan 22, 2011Cannot Do — Arrays have to be declared with fixed sizes as in: Double EMA13[9]They can be dynamically re-sized by using ArrayResize() at some point later in the code. In your case, it would look something like: ArrayResize(EMA13, NumOfTestBar);
How to dynamically define an array
-
CodeMeister replied Jan 22, 2011ArraySort() — ArraySort() should do what you want unless its complicated. The explanation is in the online documentation.
Can MT4 sort a data array from largest to smallest?
-
CodeMeister replied Jan 22, 2011Not Quite — The problem is the way the forum editor handles code when its not enclosed in tags. The poster's original call is to the same indicator - but spaces were inserted on posting. This wouldn't happen with the use of code tags like so. ...
icustom indicator: help with this bit of code
-
CodeMeister replied Jan 19, 2011Assumption — The chain of events is a little disjointed - or perhaps that is just my head today - but I suggest that the latest updates are the source of the problem. Dropping back to an earlier version is the usual remedy, but that version ...
MT4 creating a long entry even when my EA is off. What's going on?
-
CodeMeister replied Jan 19, 2011Simplify — This doesn't seem to be a logic problem in the code to me unless the code was newly developed or recently changed. You didn't indicate when was the last update made to the code and when did the problem start appearing? Are you sure ...
MT4 creating a long entry even when my EA is off. What's going on?
-
CodeMeister replied Jan 17, 2011Try This — I like the Fractals indicator that comes with MT4. It repaints, but that is not a problem once you get used to it.
5/6 candle swing low swing high Indicator
-
CodeMeister replied Jan 17, 2011Try This — bool IsTimeToTrade() { bool OK = true; if (DayOfWeek() == 5 && TimeCurrent() >= StrToTime(TimeToStr(TimeCurrent(), TIME_DATE) + " " + FridayClose )) OK = false; if (TimeCurrent() >= StrToTime(TimeToStr(TimeCurrent(), TIME_DATE) + " ...
Code to close trade at end of day/week
-
CodeMeister replied Jan 16, 2011You're a Real Sweetheart — And the newest addition to my ignore list.
95%-98% win rate EA...need help to finish
-
CodeMeister replied Jan 16, 2011Amazing — I continue to find it amazing that people will ask others for assistance on nothing but some belief that have something worthwhile to offer in return. If you were to offer to come to my place and shovel my sidewalk, I might consider ...
95%-98% win rate EA...need help to finish
-
CodeMeister replied Jan 13, 2011Probably Cannot Do — You are attempting to uncover one of the mysteries of MT4. The CCI has no setting for the Price Type (Close, High, Typical, ...). I am pretty sure that it is hidden because the programmatic interface (iCCI()) has a ...
Export to Excel
-
CodeMeister replied Jan 11, 2011Recommend — That is not a simple question. The general guideline is not to risk more than 3% of the available account equity per position. You can pick any amount below that and be safe. The target profit has to be at least equal to the amount ...
Statistics of a good system?
-
CodeMeister replied Jan 11, 2011Try This — Rather than write one from scratch, why not use one that is already written? I have seen plenty of them in the Platform Tech thread. I haven't tried many, so I won't recommend a specific one. I believe they will all fail to be ...
Help Needed For Breakout Strategy
-
CodeMeister replied Jan 10, 2011Try This — An MTF fractal breakout indicator with alert already exists. It is in post #254 with an explanation of the inputs. url
Fractal Breakout needs alarm