- Search Energy EXCH
-
CodeMeister replied Sep 17, 2011Completely Agree — I completely agree with both Paul and RR. Metaquotes is not trader oriented which is probably why Strategy Tester is so weak and it is time to upgrade their platform to bring it out of the nineties. Tying yourself to old ...
MT4 Strategy Tester Computer Hardware Bottleneck
-
CodeMeister replied Sep 16, 2011Try This — Put a define statement in the first part of the program, like this. #define PERIOD_M3 3 I'm not sure if the program will run properly, but it will compile and give you a chance to check things.
Problem with off line charts
-
CodeMeister replied Sep 14, 2011Mess Things Up — This sounds like a good way to mess up your head for a long time. Years ago I remember taking a trade to within 2 pips of the reversal. After that I started to try repeating that with every trade. In my mind a losing trade was ...
Max and Min price reached in every trade Indicator / EA
-
CodeMeister replied Sep 13, 2011Try This — Not sure what you meant by security warning; you should be very specific. I can't imagine its a Excel version problem. Anyway, I will take a guess. In MT4, DDE has to be enabled. You do this on the Options menu choice under Tools. ...
DDE link to Excel 2007 problem
-
CodeMeister replied Sep 5, 2011Not Right — You shouldn't do easy unless it is the correct way.

Quick fix for simple problem. Thank you : )
-
CodeMeister replied Sep 4, 2011Try This — I haven't actually coded what you are asking for, so I am not going to attempt a quick bit of code that may or may not work. Here is the approach I would take. Use DayofWeek() to determine today's value. Monday is 1 so if today is ...
Quick fix for simple problem. Thank you : )
-
CodeMeister replied Sep 4, 2011Try This — int iTP = MathRound(TP,0);
MQ4 - How to draw vline x to right of highest bar
-
CodeMeister replied Sep 1, 2011Try This — Think of the problem in slightly different terms. Think of XP vs Vista or Windows 7. I am sure that the EA works as it should and the file is there. But unless you install MT4 in the proper directory, it is difficult to see files in ...
Saving data?? (FxPro v Oanda)
-
CodeMeister replied Sep 1, 2011Still Down — Both MQL4 and MQL5 still down for me. Hard to remember exactly, but I think it is more than 48 hours now.
Metaquotes site and server down 24 hours
-
CodeMeister replied Aug 31, 2011Reliability — Reliability and redundancy (failover) aren't concepts that I associate with Metaquotes. I think most of us realize that this situation was largely preventable by most prudent companies.
Metaquotes site and server down 24 hours
-
CodeMeister replied Aug 24, 2011Try This — Good discussion here. url
Screen capture when trade placed
-
CodeMeister replied Aug 23, 2011Get A New Broker — I don't know what games they are playing or if they are just incompetent, but there is only one thing to do. Get another broker.
MetaTrader demo question
-
CodeMeister replied Aug 22, 2011Try This — What you are attempting to do is not easy because of the way MT4 handles trades. Looping seems to be a waste of resources to me, but until MT5 is available, I don't know any other way. I recently did something like this and sent out ...
why can't I see recently added trades
-
CodeMeister replied Aug 18, 2011No — You seem to have a good grasp of the situation and have provided the answer to your question. No there isn't a way to do it with the MT4 platform. A script or EA could handle this for you if you have the coding skills. You could try ...
MT4 Buy Stop at Bid instead of Ask
-
CodeMeister replied Aug 18, 2011Try This — Don't refer to objects as indicators. They are two different things. Objects will be deleted by Deinit() if it contains ObjectDelete() logic. That is fairly standard. One way I saw it done was to keep the values (price, time) as ...
Keep plotted lines on TF change?
-
CodeMeister replied Aug 18, 2011Not Clear — OK, so you are plotting vertical lines when a certain event happens on a chart. I don't use lines, instead I use arrows and symbols. For the sake of argument, we can use Fractals as an example. The Fractals on one TF are not the ...
Keep plotted lines on TF change?
-
CodeMeister replied Aug 18, 2011Last Try — We are obviously disconnecting somewhere because your image would indicate you are looking for the High[n], where n is the index of the bar. I am only going to make one other attempt and let someone else take over. Do you mean the ...
Help Needed With Simple EA Code
-
CodeMeister replied Aug 18, 2011Misunderstanding? — Indicators don't "keep" lines, they calculate them. So an MA on a 5M is not kept when switching to the 15M and vice versa. Perhaps you are referring to some sort of MTF (multiple time frame) indicator that you have seen ...
Keep plotted lines on TF change?
-
CodeMeister replied Aug 18, 2011Try This — I must be tired to have missed that. But I'm still not sure exactly what you are after. The previous candle is indexed 1 the current one is 0. Therefore the highest point is High[0]. It would help to post an image if its any more ...
Help Needed With Simple EA Code
-
CodeMeister replied Aug 18, 2011Try This — This is as about as simple as it gets. This will look at the current and previous bars high/lows. Not sure why you used iHigh instead of High because you were looking at the chart's pair. int nbars = 2;// or whatever double ...
Help Needed With Simple EA Code