sportbuf3 wrote: Now we know you are a real coder, as there is no perfect setup, or probably ever will be.
A quick question about the method, it sounds like you are looking for a trend and then sticking to it. Do you have any recovery positions worked-in, hedge, grid ? etc etc, as it sounds your EA will be appropriate for US traders too.
cuz
Cuz,
Over several years trying to figure out how to develope a profitable EA of when to buy or sell in FOREX, I came to the conclusion that there are many strategies that work sometimes, and none that work all of the time. I conclude that the reason for this is that you are always trading a trend, but it could be a 4H or 1D or 1W or 15M or 5M trend that you are in. That sounds easy since a trend is a trend! But the problem is that if you trade based on 4H trend, it is also in a 15M trend which may be exhausting or reversing. Then your entry is too late into the 15M where it turns on you before realizing any profits. On the flip side, if you trade a 15M trend and it is also in a 1H trend, you get stuck in too many drawdowns or consolidations where the 1H trend changes from retracement into main trend direction leaving you with sudden change and losses in the 15M trend. Of course there is aways high TF consolidation that ping-pongs you into loses with lower TF. Ex: In a 1H consolidation and you trade a 15M trend. By the time the 15M trend shows a trend, you are at the top or bottom of the 1H consolidation where the both 15M and 1H reverses against you. The long and short is that I don't think that you can develope an EA on Empty4 that can analyze all time frames to compare and identify all time frames to ensure accurate entries since when you trade with a trend you are also always trading against another trend. (The tend is your friend only if you have picked the right trend! Identifying who is really your friend is the trick for succes.)
Based on the above (and to get to answering your questions) I decided to pick a single long term TF to trade with and enter against all other short TFs (my choice was combo of 1H and 4H). This came about after noticing when I entered a trade on lower TF based on all indicators saying BUY, that the market would actually reverse the opposite direction. This led me to notice that when all 15M TF aligned as a SELL trend start, that actually it was the end of retracement for the 1H or 4H TF. My EA strategy is based on the 4H/1H being in the retracement stage of its trend, and 4H/1H signals aligning for trend change (or in consolidation) and either the 5M or 15M signals indicate exit their trend which is opposite the long TF main trend. I have found that if the 1H is in a main BUY trend, that within 2-3 ticks when the 15M indicators say SELL, it is actually time to BUY. Entering the 15M trend (against long 1H trend) is recipe for lossing, so that should also equate to the opposite being a recipe for winning...right? Knowing that trends generally move in 3 steps, I know that I have 6 profitable steps with the 15M TF going with the 1H TF (or 18 steps with 5M). There are 9 profit steps of the 15M TF in the 1H trend, but it takes the 3 steps of the 15M TF to make the 1st step of the 1H to allow indicators to signal 1H trend. So... once the 1H or 4H takes its first step, my EA enters with a combo of 5M and 15M moves in the opposite direction and continues this for 6 steps (15M) or 18 steps (5M) and stays in the trend until the long trend exhausts.
While the above is the foundation of the trading system, it includes many other factors (indicators) as confirmation or entry timing. I have found that RSI, AO, and even MACD are not reliable. The problem with MACD is same with trend scenerio above where the (12,26,9) entry on the 15M is actually reversal where another TF is ready to move back into its main trend. But I have found value making an indicator that combines all TF into a MACD indicator which can assist with entry confirmation based on the 1H main trend where the 15M is strong in the opposite direction. I also have identified oversold/overbought points, not with RSI, but average max PIP moves per TF step. I coded an indicator which shows these levels and once price touches the line it is high probability (90%+) that drawdown will occur. I use these points as exits and I will not allow entry in direction of low TF trend when price is above/below those lines. In the past price would be above these max/min points when my 15M trends signaled entry and then price would move against me 1 tick after I entered the trade. By identifying these max/min points in a 15M trend I know realize that is time to enter opposite the 15M in the direction of the 1H or 4H main trend (where 1H/4H has recently been moving against its main trend).
Anyways... sorry to ramble on and hopefully I haven't been confussing. But the above is a brief description of my EA strategy. Grids = Kind of with my max/min PIP indicator. Baskets = no, but I have noticed when a currency moves up in a pair, that other pairs with that currency follow the same trend. Hedging = No. Multiple orders closing out in profit stages = yes. SL points = Yes and No. I do not use pice points but instead I use different SL method with a special indicator to avoid the SL hunting broker criminals from "spkining" me out of my trades. Limited TF/sessions = My EA is currently set for all sessions, but my plan was to limit entry (and exits) to only certain busy sessions. I haven't added that criteria yet and I was pleasantly surprised that my EA seems to work well regardless of session. I contribute this to the fact that my primary trend is the 1H and 4H TF. MAs = big part of strategy. I previously came to the conclussion that MAs were a waste since they only tell you after the fact the direction of trend. But I learned that if you pick a long TF (1H or 4H) and go with its MA and trade against lower 15M/5M TFs MA, then you are entering as price is begins a new leg of the long TF trend.
Thats all for now, but I will definately keep you in the loop as my new EA testing continues. It may be a winner... or it may be a wiener!