PDA

View Full Version : EA for multiple timeframes and pairs?



pkoxs8906
01-22-2015 10:47, 10:47 AM
Hi all!

I have a question about using an EA on multiple timeframes and multiple currency pairs. I have been developing and testing an EA for a while now, and it seems to work quite well on pretty much all currency pairs and also on three different timeframes that I#8217;m interested on. EA is now made to work just on a one pair and one TF, so I have been optimizing live testing it separately on every chart. But, since it#8217;s method is quite strict, it trades quite rarely. And because of this, I would like to use it with all 28 pairs I#8217;m using, and with 3 different TF#8217;s for every pair, that is 84 charts in common. And of course it is not so easy to manage 84 different charts in MT4#8230;

So my question is; how would you solve this problem? Would you develop an EA that opens trades on multiple pairs, on multiple time frames, or even both of them (= 1 EA instance for all 84 pairs)??

Pros/cons I can see for these options are:

EA that trades on all timeframes, but just for one pair:
#8211; Still 24 charts open
#8211; Every pair should still be optimized separately
I can still visually check from a chart if the trade was taken on a right time, same indiors can be seen on all TF#8217;s on a chart

EA that trades on all pairs, but just on one timeframe:
Only 3 charts open, one for every TF
Optimization could be done for all pairs at once
#8211; Trades cannot be visually confirmed from a chart (or they can, but only for the pair that EA is attached on) quite a big risk for errors

EA that trades on all pairs and all timeframes:
Just one chart open, easy to manage
Optimization could be done for all pairs and all timeframes at once (if wanted)
- Trades cannot be visually confirmed at all from a chart (or they can, but only for the pair TF that EA is attached on) quite a big risk for errors

Any comments?

حنيف عقيلة عاقلة
08-04-2023 10:57, 10:57 AM
Thanks Sym, but if I understood correctly you are talking about error handling, right? What I meant is that I would like to always visually check from the chart that every trade was opened closed with exactly the correct parameters, i.e. my EA does not have mistakes regarding the indior parameters etc. I want to SEE every trade on a chart, and confirm WHY it was taken. And this is why I actually don't have any trading rules on EA, but they are all counted on my own indior that draws everything to the chart. So I can basically trade my system...
Yes, I was talking about error handling... I apologize but I can't understand your point. Pheraps because I don't know your system... I can't understand why you need visual confirmation.
https://www.forexdrop.com/attachments/1594391323.png If the system works, works well with or without visual confirmation!!!! Have a nice day

pkoxs8906
08-04-2023 12:18, 12:18 PM
Thanks Sym, but if I understood correctly you are talking about error handling, right? What I meant is that I would like to always visually check from the chart that every trade was opened closed with exactly the correct parameters, i.e. my EA does not have mistakes regarding the indior parameters etc. I want to SEE every trade on a chart, and confirm WHY it was taken. And this is why I actually don't have any trading rules on EA, but they are all counted on my own indior that draws everything to the chart. So I can basically trade my system manually as well. And the indior just writes to one of it's buffers if trade should be opened, and EA just checks that buffer.

حنيف عقيلة عاقلة
08-04-2023 13:39, 01:39 PM
T...is there any way to visually confirm that the trades that your EA did are actually correct, i.e. there isn't any bugs on your EA?
Yes, there is! Every single trade must be checked and confirmed by the EA. If anything goes wrong the EA writes an ALLERT MESSAGE on the screen... it can be done. The EA also needs to understand what happened, why, and take countermeasures. Good luck

حنيف عقيلة عاقلة
08-04-2023 15:00, 03:00 PM
Hi AlliumPorrum I'm working to a similar project that involves 7 pairs and 5 TFs. It just works on one windows pretty well. For BT it's necessary to optimize 1 pair at time, but it can be done. So I can't see you concern...
https://www.forexdrop.com/attachments/1594391323.png

pkoxs8906
08-04-2023 16:20, 04:20 PM
Thanks for your comment, sym! I know that *might* be better to test every pair at a time, but there is also a big risk for a curve fitting failure this way. I'd prefer a method where I try to find best possible setting for all pairs in common, and after that I also check that how it works on every separate pair. If exactly the same settings work for every pair, I think that there is way less risk for the curve fitting. Anyway; if your EA uses 7 pairs and 5 TF's for each of them, is there any way to visually confirm that the trades that your EA did are actually correct, i.e. there isn't any bugs on your EA?