- Search Energy EXCH
-
CodeMeister replied Dec 15, 2009Try This — RR seems to think highly of this one. I have never used it as it doesn't fit my style. url
EA - That uses MA for SL
-
CodeMeister replied Dec 15, 2009Answer — Based on no similar requests of this nature I have decided not to do it. I have been watching the postings and most requests of this nature have been for MA crossovers and I think there are plenty of those EAs already.
EA - That uses MA for SL
-
CodeMeister replied Dec 14, 2009Backtesting Artifact — I have noticed the same thing in backtesting. MT4 models CurrentTime so in all likelihood, it will return the same value every time it is called at a certain point in your code. If Srand is seeded with the same value, it ...
MathSrand(TimeCurrent()) produces the same random numbers
-
CodeMeister replied Dec 14, 2009Try This — I think this is what you are looking for. See post #10 for the code. It is simple to use and has gotten positive feedback. url
Manage Open Trades with Custom EA
-
CodeMeister replied Dec 12, 2009Pretty Good Effort — I think your approach is good. I didn't check your code for correctness as that takes a lot of testing. I like the use of the Bool variables Bar4bear and Market4High because they are simple and understandable. My only ...
how to code this
-
CodeMeister replied Dec 12, 2009Candlesticks Are Not PA — Candlestick patterns are used by some people who call their trading style price action. Others use price action systems without candlestick patterns and rely on support and resistance and MAs. Others do a combination. ...
I need some clarification on some strategies ...Candlesticks and PA
-
CodeMeister replied Dec 12, 2009Dealer — You are a retail trader who deals with the wholesaler - your brokerage. The answer for FX is pretty simple - the broker or the dealer your broker refers your account to. These days on the stock exchange it is not so clear as to ...
Difference between stock and FX in terms of liquidity (Noob question)
-
CodeMeister replied Dec 11, 2009Try This — I'm not real sure I understand your question, but I will take a chance. I think you want to identify a pattern of bars. I have done this a number of times for things like a 2 bar reversal and an inside bar. I always start with a ...
how to code this
-
CodeMeister replied Dec 8, 2009I Don't — Well I didn't say that I use them. Mostly I see these used by others, especially the 20. I trade on the 15 TF so I use 5, 10 and 20.
most popular MA
-
CodeMeister replied Dec 8, 2009Stock Market — This is the explanation I heard from a very experienced trader. Things like MAs are done that way because that is the way they have always been done. What he meant was that a lot of FX traders were former stock market traders ...
most popular MA
-
CodeMeister replied Dec 8, 2009Try This — I calculate a pips factor variable (pf) in the Init function and multiply any pips value by this. pf will be either 1 or 10. This method has the advantage of being able to run on both 4 and 5 decimal place systems which some other ...
The Easiest way to convert EA from 4 to 5 decimals
-
CodeMeister replied Dec 8, 2009Not Really — You could try search for "crossover" but probably most will trigger alerts or entries.
Need help on EA for closing trade only
-
CodeMeister replied Dec 7, 2009This Should Do It — This worked for me: Low[ArrayMinimum(Low, SetupBars, 0)]
need help for counting bars back
-
CodeMeister replied Dec 7, 2009Don't Trade the News — There are many posts on this subject and I don't think any experienced traders recommend trading the news until an hour or so after. Here is one the better ones to understand the situation you are putting yourself into. ...
Buy & Sell Stop & limit
-
CodeMeister replied Dec 7, 2009Try This — This is a very simple easy to use EA. It will close all or part of an open order once it crosses the specified MA. url
Need help on EA for closing trade only
-
CodeMeister replied Dec 7, 200930 Pips Not Too Bad — The agreement with your broker (reputable ones anyway) contains a "best efforts" clause. This means that during times of high volatily, they will try their best to fill your stops and pending orders, but the results are ...
Is this Broker's Error ? or just Me ?
-
CodeMeister replied Dec 4, 2009Typical Academic Software — Meant to be a proof of concept not a commercially ready piece of software. Besides, bugproofing is just grunt work.
Potential new machine learning style software.
-
CodeMeister replied Dec 2, 2009Date Arithmetic — I subtract the rounded opening time from the current bar time and divide by the period multiplied by 60 seconds. So this gives the difference in seconds divided by the number of seconds in the bar. Simplified example: ...
close trade after n bars
-
CodeMeister replied Dec 2, 2009A Few Comments — This competition fascinates me and I am looking forward to be a participant next year. I have been following this year's progress. The organizers have certainly been challenged. They changed the rules at the last minute - ...
Forex Robot World Cup?
-
CodeMeister replied Dec 2, 2009Did You Make The Cut — RR, just curious if you made the cut and what userid you are competing under?
Forex Robot World Cup?