Hello all, I’ve created an EA trading the 4HR and Daily charts, very successful number on all pairs over the past 5 years. (Image 1388625658-clip-496kb.png) I would like to incorporate a trend filtering system into the EA and would like to know what folks might think would be the best way to go? I already have an EMA filter but feel there might be better ways to do it.
If it ain’t broke, why fix it? It is quite possible that your filter will produce worse results because what you are asking for is very difficult to automate. I gave up trying to write one and continued with using my trusty eyes.
Things can always be improved upon… I don’t want to change the logic of the EA, just apply some extra confluence to the trades. Also thought of a possible filter using S/R lines. There are several pre-packaged s/r indicators out there, does anyone know if it’s possible to take an indicator from one developer and implement it into coding for another’s EA?
In line with what CodeMeister wisely posted, why don’t YOU be the filter?
Draw a trend line on the chart, and let the EA find it. You see the trend climbing, draw an up line, and set the EA to trade the direction of the line it finds on the chart only.
Best of both worlds. Your eyes helping your automation.
The point of the EA (for me) is to remove myself, emotions, over analysis from the trading equation… I have a very simple price action based system, based off Pin Bar breakouts of inside bars… I just want to enhance it a little… without forcing myself into the equation…
The want to “enhance it a little” is forcing yourself into the equation.
It’s already some trigger you’ve seen, just mechanized now.
How would looking at a longer time frame chart and simply drawing a line in a given direction be forcing yourself into the equation any more? It’s simply giving it another point of confluence. You wouldn’t be telling it when to trade.
Five years of successful trading suggests to me that everything is just fine, but that’s the view of an outsider. Not many can achieve that kind of record.
Hello barebud, I can’t help you, but interested in the argument. What do yuo mean with “trend filtering” and “EMA filter”?
Is it about equity management?
Thanks
I currently use a variable EMA as a trend filter for the EA, if the EMA of the candle PRECEDING the signal candle is higher than that of the signal candle, then a SHORT is allowed… and the opposite for a LONG. The value for the EMA is a user defined parameter which the EA optimizes.
I’m wondering about other ways the EA could verify and approve only setups that are favor of the over all trend…