- Search Energy EXCH
-
CodeMeister replied May 24, 2010Imagine — One day you will look at what you have posted here and wondered how could I have been so unreceptive to somebody else's ideas. Its just a matter of time.
MT4 - Time values in backtesting / detect end of bar
-
CodeMeister replied May 24, 2010No — If you don't understand, I can't explain.
MT4 - Time values in backtesting / detect end of bar
-
CodeMeister replied May 24, 2010Won't Work — Won't work in forward testing either.
MT4 - Time values in backtesting / detect end of bar
-
CodeMeister replied May 24, 2010Try This — Values sent to the server must be precise; ie. no trailing decimal digits. You need to normalize the values such as NormalizeDouble(Bid+30*Point, Digits).
please please help going mad
-
CodeMeister replied May 24, 2010Pipsmark — I wrote an indicator called PipsMark about 6 months ago. It does everything except #5. Just do a search on this forum for it.
MA alert when distance by x pip
-
CodeMeister replied May 23, 2010What a Mess — I have been busy cleaning up somebody else's mess myself and had to stay focused on that until I got it done. Right now, I am exhausted from the effort, so I will have to pass rather than say something I will regret later.
Converting a String into Known Variable
-
CodeMeister replied May 23, 2010Try This — Well, I still can't figure out what you want to do. But if improved code clarity is your goal use #define constants as your array indices as in: #define IX_HIGH 3;
Converting a String into Known Variable
-
CodeMeister replied May 23, 2010Never Heard of This — I can't tell if you are trying to do a macro substitution or some other kind of preprocessing of the source code? Do you intend to read the .MQ4 and parse out the variables from the program declarations and then write out ...
Converting a String into Known Variable
-
CodeMeister replied May 22, 2010What's The Point — What's the point of writing code that works most of the time and is certain to fail when conditions don't suit the logic? But I guess that would probably be no different than 90% of the code that is found on the ...
MT4 - Time values in backtesting / detect end of bar
-
CodeMeister replied May 22, 2010There Is No "end of bar" — This seems like about the 20th time I have replied to this kind of posting. My answer is always the same. In MT4 it is impossible to detect the last tick in a bar until the new one opens. It actually ...
MT4 - Time values in backtesting / detect end of bar
-
CodeMeister replied May 21, 2010FRWC 2 Announcement — I was sent a notification of the beginning of the submission of EAs for the second robot championship. Actually they were 2 weeks late as submissions began on May 6th and I seem to remember they were accepting submissions ...
Forex Robot World Cup?
-
CodeMeister replied May 20, 2010All Ticks — I think you are using the Control Points option. If you chose All Ticks mode, you should see the numeric value. 50% is quite high in my experience, I don't know if it is very good, but I suspect not. Bars in test1097Ticks ...
MT4 Strategy Tester - some information needed
-
CodeMeister replied May 20, 2010Try This — if (SignalSH==true && Bid>fmplp) || (SignalLG==true && Ask<fmphp) = is assignment, == is comparison
can someone look at this statement
-
CodeMeister replied May 20, 2010Wish I Could — I wish I could this and as far as I know nobody else can. I have spent several months trying. The computer cannot match a trained pair of eyes to do things like this.
Can some one help me modify this buy/sell indicator?
-
CodeMeister replied May 19, 2010Try This — There are several threads on a new gadget called One Click. I don't use it, but I did look at it and it probably does most of what you want. Plus its free. Just look at the last day's postings and you find it.
Code my order creation script.
-
CodeMeister replied May 19, 2010Try This — Go to the Tools > Options dialog in MT4 and go to the Events tab. You will see a field called Alert and the file name associated with it (probably alert.wav). Click the down arrow and select any sound file on the list. You can add ...
Change alert sound in MT4?
-
CodeMeister replied May 19, 2010iTime() — I think I understand the question. It is easily done with iTime(). It is almost the same thing except using iTime() instead of Time[0]. This allows you to specify another TF and / or another currency pair.
Modify Script to become an EA
-
CodeMeister replied May 19, 2010Who Are You — So we are supposed to just accept every stupid, frivolous request that somebody dreamed up?
At least money forces someone to think before writing. 
If you want advice on programming / technical matters, ...I Have Zig Zag Non Repaint Indicator!! A Programmer Needed To Optimize It!
-
CodeMeister replied May 18, 2010Try This — I have never tried expiration orders as my broker doesn't allow them. But I try MarketInfo with MODE_EXPIRATION. Again some brokers may not set this field even if they allow expiration orders. Maybe someone else can jump in and give ...
Modify Script to become an EA