- Search Energy EXCH
-
CodeMeister replied Nov 16, 2011Try This — MQL4 gets really bothered about the evaluation order of multiplies and divides, so you have to help it. FPIbuffer[i] = ((aVar/bVar)/cVar);
Anyone can check this code pls?
-
CodeMeister replied Nov 16, 2011Try This — It is not on the drop down list, but you can type it into the entry box and MT4 will remember it as the default for future trades. You have to type in 0.1, not 0,1.
Can't trade 0.1 lots in MT4!? Help!
-
CodeMeister replied Nov 15, 2011Try This — You will have to change the variable names to match your code. This is from working code. fastEMA1 = iMA (NULL, 0, FastEMAPeriod, 0, MODE_EMA, PRICE_TYPICAL, 1); fastEMA2 = iMA (NULL, 0, FastEMAPeriod, 0, MODE_EMA, PRICE_TYPICAL, ...
Need Coders to help make an EA to place one trade per MA cross
-
CodeMeister replied Nov 14, 2011Very well put. And despite the fact that I have several dozen EAs that are failures, I expect to write another successful one some day.
Can be automated trading be profitable?
-
CodeMeister replied Nov 14, 2011Magic Number — Each trade placed by an EA has a magic number. Sometimes it is hidden and sometimes it is a user setting. It was intended for the purpose you want, but MT4 made it hard to view. If you hover the cursor on the Comments field you ...
EA trade notification?
-
CodeMeister replied Nov 13, 2011Not So — I have an EA that has been profitable for 18 months. Accordingly to the people who gave me the idea (such kindness exists on these forums) for it, it had been profitable for the 2 years prior as well. Lately the brokers seem to have ...
Can be automated trading be profitable?
-
CodeMeister replied Nov 11, 2011Yes, It Can — I'm not sure what it is you talking about. Back testing an indicator using Strategy Tester is simple to do. Calling an indicator from an EA is possible with iCustom(). SetIndexBuffer is not used in EAs or scripts, only in ...
Showing indicators during backtesting
-
CodeMeister replied Nov 11, 2011Play With It — Are you sure that you have Live Trading enabled? Did you check the Journals tab for errors? If you don't know how to run an EA, this is not the place to be asking questions. Take a tutorial or go to the Rookie forum.
MACD EA needed
-
CodeMeister replied Nov 10, 2011No — No thank goodness, even daily is too frequent for me.
Looking for Email/Balance/Equity/Time EA
-
CodeMeister replied Nov 10, 2011Broker — My brokers (CMC Markets, FXDD) send something like this to me every day.
Looking for Email/Balance/Equity/Time EA
-
CodeMeister replied Nov 10, 2011Try This — Assuming you have done an exhaustive search for this EA, MT5 has an EA auto builder feature to handle simple EAs like MACD. Your broker probably has a demo available for download or visit the MT5 web site.
MACD EA needed
-
CodeMeister replied Nov 10, 2011Try This — How about 3 months of documented (say MyFXBook) trades to prove the concept? Then maybe consider an EA.
Looking for Bollinger Band with .8 std dev. for MOBO
-
CodeMeister replied Nov 9, 2011Why? — What you call military time which is what you should get used to using. It is much more useful than AM/PM. I'm sure there's some kludgey method to do what you want, but why bother?
Need help formatting some text
-
CodeMeister replied Nov 8, 2011Try This — There are two indicators in MT4 you can use. Bands will allow you to enter fractional deviations like .8. I believe that otherwise the results are the same as the BB indicator, but I have not tried it in the last year. Worth ...
Looking for Bollinger Band with .8 std dev. for MOBO
-
CodeMeister replied Nov 8, 2011Don't Do It — You are headed for a world of hurt. Unless you are absolutely convinced MQL4 can't hack it for whatever you are attempting, you will spend a lot of effort to achieve an unsatisfactory result. Not only do you have to write code ...
INDI/EA that works outside MT4
-
CodeMeister replied Nov 7, 2011Try This — I don't know if somebody wrote something to this, but I don't recall seeing a posting recently. Anyway the approach I would take if I wanted to do this is find a general purpose utility that captures web page table data and outputs ...
Please, How can I get News Calendar in a Excel form?
-
CodeMeister replied Nov 6, 2011Works Fine — I ran it on the 15M and 1M and it works fine for me. I don't have the same Heiken Ashi indicator that you do; instead I used the delivered MT4 one. So, I guess you should either use the delivered one or if you have the source code ...
2 TF Heiken Ashi Indicator
-
CodeMeister replied Nov 6, 2011Errors? — What TFs are you using? What values are you getting? Any errors in the Experts tab? I'm not sure how well this will work using the current bar. You should be using the previous bar which is much better for these kinds of calculations.
2 TF Heiken Ashi Indicator
-
CodeMeister replied Nov 5, 2011MQL5 — If you wrote your indicator in MQL5, I believe you could achieve what you want to do unless I misunderstand the documentation. It might be possible in MQL4, but I don't know how to do it.
drawing an indicator in the background?
-
CodeMeister replied Nov 3, 2011Suggestion — I doubt if I or many other on this forum could improve on the code in the linked article. I didn't review it in depth, so there may be a small detail I missed. But as a starting point, it is good enough. I don't think you have a ...
How to get 2-dimension array to file and than get back it [MQL4]