| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Engulfing Outside bar https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=158 |
Page 3 of 8 |
| Author: | gaheitman [ Sat Dec 17, 2011 10:00 pm ] |
| Post subject: | Re: Engulfing Outside bar |
Apparently I skimmed your original message too quickly. Did you think ending your post by calling us rude was going to motivate us to roll up our sleeves and help you out? As for whether or not the act of building an EA for free for someone can be considered rude or not, I'll leave that to the individual to decide. I believe the first post accurately credits the OP at FF with the idea and also makes it clear that he/she as well as the entire community at FF is welcome to have a copy of it once we've worked through most of the bugs. George |
|
| Author: | kenfen [ Sun Dec 18, 2011 12:00 am ] |
| Post subject: | Re: Engulfing Outside bar |
Actually...I would just like to point out that beyond the Warning...its the first SENTENCE that gives the credit! What a bizarre post to have to reply to, George! As a matter of interest, can anybody definitively point to a source that can legitimately claim trading Engulfing Outside Bars as "their" invented strategy? Been around for many, many moons, me thinks. |
|
| Author: | SteveHopwood [ Sun Dec 18, 2011 12:11 am ] |
| Post subject: | Re: Engulfing Outside bar |
Leaving aside the replies already posted, further down George's post 1 he writes this: "Sharing with FF Feel free to upload the EA to FF, once we've achieved a level of stability. " Ok, so not quite the same as directly contacting him, but not a lot of point in telling the FF thread originator about the EA until we know for sure it works as intended. |
|
| Author: | garyfritz [ Sun Dec 18, 2011 2:48 am ] |
| Post subject: | Re: Engulfing Outside bar |
Back to the EA... Since I'm still incompetent in MQL and since I trust Tradestation's backtesting a lot more than Empty4's, I knocked out a quick system in TS to backtest this idea on 5 years of data. My first attempt looked promising. I tested it on daily data, i.e. looking for reversals on a daily level. (I run it on intraday bars to make sure I know whether the market peeks out of the high or the low first.) Not all pairs made money, but many of them did. Then I added a few things and "improved" the logic. And then most pairs lost money. I kept working on it and extended it work on different timeframes -- M30, H1, M90, H2, etc. That worked MUCH MUCH better, except the average trades are very small. Most pairs only average 2-4 pips per trade, before spread or commission. I get the best results on most pairs with H3 and H5 bars, but it varies. It's not real stable. I experimented with TP and SL values. TPs don't seem to help much at all -- it does about as well if you just close at the end of the next bar. SLs helped a little, but not significantly. I also tried entering "early." E.g. say the previous bar's high/low are H and L. Normally you would look for a break of H, then sell at L. If I want to go 10% early, I'd look for a break of L+0.90*(H-L), then sell at L+0.10*(H-L). That helped a little, maybe 5% or so, but nothing dramatic. The win% on this system is surprisingly low, 45-55% or so. I expected that a reversal would generally follow through, but there are MANY cases where it touches the high, reverses and touches the low, and reverses again to take it to a loss. I can't think of a good way to increase the edge. I've played around with the triggers and entries and none of them work all that great. The market just stumbles around every which way and it's hard to capture it with something simple. George, I think you're implementing this as a multi-symbol EA, and that can't be backtested, right? Did you get it working in single-symbol mode long enough to try backtesting it? I'd like to confirm that we get the same results. |
|
| Author: | Alpenkorps [ Sun Dec 18, 2011 4:03 am ] |
| Post subject: | Re: Engulfing Outside bar |
I still believe this strategy holds great potential. I am backtesting different settings. I am yet to reach a conclusion or find the best settings .. just sharing the recent discovery. ![]() TF 15, SL 20, TP 10, MinBarSize 10, no BE Test result of 2011 (Jan-Nov) Smilee89 at FF suggested using H4 with very high SL, his backtest shows a very good win ratio. I am working to find a good setting on smaller TF because thats how I feel more comfortable. My initial effort on H1 failed .. If anyone can get good results on H1, please share with us. |
|
| Author: | gaheitman [ Sun Dec 18, 2011 4:23 am ] |
| Post subject: | Re: Engulfing Outside bar |
The version posted is single currency, single time frame. I decided I needed a little more confidence we have something worth pursuing before investing the time to make it multi-currency/multi-time frame. Alpenkorps requested a version with a simple martingale lot size multiplier. He's verified it works as expected, but I have not published yet. The multiplying is optional, of course. George |
|
| Author: | gaheitman [ Sun Dec 18, 2011 4:26 am ] |
| Post subject: | Re: Engulfing Outside bar |
That is a pretty curve. |
|
| Author: | gaheitman [ Sun Dec 18, 2011 4:42 am ] |
| Post subject: | Update |
Added a simple martingale position sizing multiplier at the request of Alpenkorps. Settings from the EA: Code: Select all The indicator display has also been updated to indicate the size of the next trade under the lots setting. EA is in the first post. George |
|
| Author: | kenfen [ Sun Dec 18, 2011 5:19 am ] |
| Post subject: | Re: Engulfing Outside bar |
Although I haven't traded for a few weeks...when I do...engulfing bars play a big part in the bread I earn (although I rarely eat bread) for my family..(although I only have nephews). Enough bollocks... A couple posts ago, I asked, could someone pin-point an origin of Engulfing Outside Bars? Its SOOOooooo simple....logical to trade and code...that it was actually THE first EA I ever coded...on my own. I named it...Engulf! Anyway... There's another fella knocking around here with a "Sup Dem 2" inclusion...Ribelo...I think his name is? If these two are combined...extremely powerful (cautious)! |
|
| Author: | garyfritz [ Sun Dec 18, 2011 6:20 am ] |
| Post subject: | Re: Engulfing Outside bar |
In my testing, I'm seeing runs of as many as 13 losing trades. I wouldn't use a Martingale with my money. But I'm only seeing around 50-60% wins. If you're rarely seeing runs of losses, maybe I've implemented something wrong. What win% do you get? I am doing this: * Assuming I'm running on M15, I look at the H and L of an M15 bar. * I only trade if the H-L is greater than a specified minimum. * If the market breaks the previous M15 bar's High, I place an order to sell at the previous M15 bar's Low. * If the market hits the short entry, I place an order to buy (stop and reverse) at the previous M15 bar's High. * I exit any trade at the end of the M15 bar, and do it all again. * I also add TP and SL if desired. Is that what you're testing? Are you testing on a 15-minute period using M15 bars? If so, can Empty4's System Tester tell if you hit the high or the low first? I test M15 using M1 bars to make sure I know which happened first. Here's an example trading 60-minute "bars:" ![]() I also get a pretty equity curve with TF 15, but the average trade is less than a pip. I don't think your actual account equity curve would look like that. H1 with 20pip min bar works OK for me. The equity curve looks OK but only if you don't include any costs. Average trade for EURUSD is about 1.25 pip. H4 is a loser for me. If Smilee89 is getting good results with that, I must have something wrong. |
|
| All times are UTC | Page 3 of 8 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|