- Search Energy EXCH
-
CodeMeister replied Aug 19, 2012Not Enough Info — There are many reasons why an EA may not work and you haven't given us enough info to figure it out. The first thing to check is if you have EAs enabled for MT4. That is under the Options choice of the Tools menu. Make sure ...
Help with installing EA
-
CodeMeister replied Aug 19, 2012Try This — There are scripts that allow you to do this. They export the historical data from MT4 into a .CSV file which can be loaded into Excel. Do a search of this forum for "history" and I think you find one.
Account history to excel
-
CodeMeister replied Aug 16, 2012Odd — That is an odd request. I have never seen one like that. You could try using a pips away value of -5 and see if that works. I never tested that, but perhaps it will do what you want. Edit: I was a bit tired when I wrote this. I did put ...
Alert to sound X pips AWAY from an MA
-
CodeMeister replied Aug 10, 2012Explanation — The way you are proposing to do it would cause problems because of leap years. Just reuse the same calculation for every year, should not be too hard.
Can we define start/end of year as datetime variable?
-
CodeMeister replied Aug 10, 2012Useless — Unless it is used with a fixed spread broker it would be useless. Come to think of it, why would you need one for a fixed spread broker? The problem is there is no way of calculating historical spreads short of capturing every tick ...
Spread history indicator
-
CodeMeister replied Aug 8, 2012Try This — I haven't actually done it, but have done similar things. Just find the datetime value for Jan 1st of the following year and subtract 1 (second) from the answer to give you the end of the previous year. Or find the start of day of ...
Can we define start/end of year as datetime variable?
-
CodeMeister replied Aug 3, 2012Not Going To Do — I thought you had the basic skills of programming. What you are attempting is far too much for a non programmer. My explanation wouldn't make any sense and I don't intend to write a tutorial.
MT4 store values into Global Variables
-
CodeMeister replied Aug 3, 2012Try This — Global Variables are very easy to use. What you are trying is possible but requires some planning to avoid problems with the shortcomings of Global Variables. First of all, you need to come up with a good naming scheme if you intend ...
MT4 store values into Global Variables
-
CodeMeister replied Aug 3, 2012Try This — I think your concern about losing the connection at the precise moment that causes the problem you describe is a little over blown. You can set any Hot Key to a script for instant execution. Whether it works faster than double ...
Script to place Stoploss automatically
-
CodeMeister replied Jul 26, 2012Sorry to not have caught this post before - I usually respond much quicker than this. Yes the TF for the MA calculation is in minutes and this will allow you to use a TF different from the chart it is attached to. It will only close trades for the ...
EA - That uses MA for SL
-
CodeMeister replied Jul 25, 2012Not So — You can choose to keep things private.
live trading performance and statistics on real time
-
CodeMeister replied Jul 24, 2012Try This — MyFXBook has on line analyics for what you want. You can analyze by EA (magic number) and it is customizable. I believe there are other similar online analytical tools as well, but I am not familar with them.
live trading performance and statistics on real time
-
CodeMeister replied Jul 23, 2012Try this — Shut down MT4 and restart it. That usually clears up problems like this. Might have to reboot, if that doesn't work.
Alerts on MT4
-
CodeMeister replied Jul 19, 2012Avoid — Like the plague. Certain loser.
Very Profitable System - Roi system
-
CodeMeister replied Jul 15, 2012Try This — First let me say, I did not load your indicator into a chart. The problem I have found with most unbelievable indicators is that they repaint the chart - that is why they are unbelievable. They are also useless in an EA. Some ...
Incorporating Damiani_volatmeter v3.2 into EA
-
CodeMeister replied Jul 4, 2012No — Not that I know of.
MT4 - How to save Toolbox News Data in txt or csv?
-
CodeMeister replied Jun 28, 2012Try This — Loop through all the open trades with OrderSelect() followed by a call to OrderLots() and add up the total.
Counting lot sizes in mq4
-
CodeMeister replied Jun 25, 2012Try This — I guess nobody feels like taking this one, so I will. I am not going to produce working code, but rather explain how to approach the problem. Right now you have the High value you desire. In order to get the BB value at the same ...
Coder Question: High value BBand
-
CodeMeister replied Jun 23, 2012Kind Of — Some of the MQL5 features will help in learning Java, but of course Java is a much richer language and more complicated. For someone who knows Java, learning MQL5 would be comparatively easy.
MT5 - ready for prime time?
-
CodeMeister replied Jun 23, 2012Yes — MT4 is just about the easiest programming language to learn that there is today. Today's modern languages like Java and C++ are much harder to learn than say C and Pascal. Similarly, MQL5 is tough because it is more sophisticated has ...
MT5 - ready for prime time?