You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
How did you come to choose to trade these pairs? A random drawing, or based on strategy?
EURUSD for the spread, the other three were pretty much random.
EURUSD for the spread, the other three were pretty much random.
Got it!
Do you think it's a good idea to have this EA trade all available pairs? Instead of the 4,5,6 pairs that I'm testing with, or the 4 that you are testing with.
Got it!
Do you think it's a good idea to have this EA trade all available pairs? Instead of the 4,5,6 pairs that I'm testing with, or the 4 that you are testing with.
I think you should run it on the EURUSD. Have you looked your results, is one other pair performing better then the rest? If so use that one two.
New code:
New code:
I merged my lastest code into your code. I added the following:
A stack feature, if you want to trade 1 position just set stack to 1, the default is 5 in the code. DistanceApart is the distance between trades, if you change the default, which is 5 to 15 your win percentage will go up to 40-45% on a 5 stack
An AllowTradingHours bool to regulate which hours your EA trades. You can check the setting on one of the reports I am going to put up. I ran a bunch of tests those hours seamed about the average for best hours to trade for this EA.
I implemented your reversal code. I did a fast hack job just to do a quick test, If the 30 || 60 was 2 STD's then reverse the trades. Results were horrible. You may want to tweak that and run more tests. You can turn that off with your bool. Also, check to make sure I coded that right! I did it as an afterthought in a few minutes when I read this post again. To answer your final question, I don't think this make much sense in your case, but test it for yourself.
Added a bunch of code to deal with closing open and pending orders because of the stack feature.
Feel free to toss it, change it, make it better etc. I'm going to attach the code to this message, I'll put up some of the result. EURUSD seamed to be the best one I tested. You may want to pick another pair and do some testing on it see if you can get good result with another pair.
Here are some of the results from tests I ran. These were 9.5 month runs StandardDev was ON here, poor results. Also all runs were $1,000 and using fixes 0.02 lot(s).
Here are the results with StandardDev OFF
This was the code you attached with the same lotsize that I tesedt the other runs with.
finally the besst win % could get.