- Experts: ManualTradeOnStrategyTester
- Martingale EA
- Elite indicators :)
Your question is not about programming, but about trading. Programming is the process of implementing a solution according to strictly formalized requirements specifications. And you ask whether you need more complex position management logic. That is, you are asking what should be in the requirements specification, not how to implement it.
Your question is not about programming, but about trading. Programming is the process of implementing a solution according to strictly formalized requirements specifications. And you ask whether you need more complex position management logic. That is, you are asking what should be in the requirements specification, not how to implement it.
I took a bottom-up approach in making an EA, there were no requirements to begin with, and no blueprint. I started with basic signals, and then added more and more logic to recover loss trades. To be honest, I never take a top-down approach with projects, it's not usually how I work. But not having years experience in this field of automated trading, you can imagine that I would have needed to experiment starting from the basics.
I took a bottom-up approach in making an EA, there were no requirements to begin with, and no blueprint. I started with basic signals, and then added more and more logic to recover loss trades. To be honest, I never take a top-down approach with projects, it's not usually how I work. But not having years experience in this field of automated trading, you can imagine that I would have needed to experiment starting from the basics.
I just emphasized that your question is about trading, not programming.
I have experience programming EAs, but I have no opinion on your question. I know how to program a strategy, but I don't know how to come up with a profitable strategy (before programming it).
By the way, customers in the freelance section often ask the developer's opinion about whether the strategy will be more profitable if this or that thing is added. Guys, this is very naive of you. I am convinced that a person who knows how to make a strategy profitable will not take freelance orders as a developer.
Simplicity is the key to good programming and profitable trading, both of them.
I have decades of experience in programming and every time I realize code is getting over complicated, I rethink the whole think and start from scratch, it won't work otherwise.
I have not enough experience about trading, I think you've never learned enough in this field, yet I realized that simple strategies are the most likely to work: one entry trigger, a filter and a good exit strategy most of the time work better than having plenty of indicators and complicated position management.
At least this is my experience.
Simplicity is the key to good programming and profitable trading, both of them.
I have decades of experience in programming and every time I realize code is getting over complicated, I rethink the whole think and start from scratch, it won't work otherwise.
I have not enough experience about trading, I think you've never learned enough in this field, yet I realized that simple strategies are the most likely to work: one entry trigger, a filter and a good exit strategy most of the time work better than having plenty of indicators and complicated position management.
At least this is my experience.
Keep it simple. We're just trading here, it's been done for many years with candlestick charts, and for all of eternity without. I can go to the store right now, trade my USD for bread, wait for bread prices to go up, and sell bread for USD. Just did a trade right there.
Plus more complexity makes it harder to find the problem. If you took (just for argument sake) a random bot with a SL of 50 and a TP of 50. It doesn't make money? Well there's only two things to optimize and find the problem. But if you added recovery methods, grid systems, martingale, etc. well now you got 100 things to diagnose. Good luck figuring out where the problem is.
I've made hundreds of EAs, if I consider each iteration (adding/changing rules) the number of EAs I've made are in the thousands.
I've learned that anything that is too simple will probably not work, for example finding a magic combination of known indicators crossing each other or certain values. This approach have been made millions of times by millions of people.
But I've also learned that making something too complex is not worth it. One recent project that I made, I would run the EA on several forex pairs, but before any trade was made, it would check the correlation with running trades on other pairs before entering the trade. And if the trade lost money, it would record the loss on a variable and find a uncorrrelated pair where it would try to recover the loss (it would record how much each pair had to recover and would change it/pass to other pairs on some occasions). It also had many filters, rules, etc. It was so complex that it had literally thousands of lines of code.
I worked on that EA for months. In the end, while it made money, the final profit (monthly growth) was not worth it... it's like 3% or 4% per month. I'm still using it, but to be honest, we are trying to make EAs that make more money than investing in stocks (or something like that). If it has a growth that is comparable to safer investments, it makes no sense.
My advice is to keep it simple, but not too simple. You need to be creative on your approach, think of something that is not available on the internet. Most ideas publicy available are either completely wrong or just work if you trade manually (where you make the final decision to trade or not based on current market conditions - volatility/news/etc).
I've made hundreds of EAs, if I consider each iteration (adding/changing rules) the number of EAs I've made are in the thousands.
I've learned that anything that is too simple will probably not work, for example finding a magic combination of known indicators crossing each other or certain values. This approach have been made millions of times by millions of people.
But I've also learned that making something too complex is not worth it. One recent project that I made, I would run the EA on several forex pairs, but before any trade was made, it would check the correlation with running trades on other pairs before entering the trade. And if the trade lost money, it would record the loss on a variable and find a uncorrrelated pair where it would try to recover the loss (it would record how much each pair had to recover and would change it/pass to other pairs on some occasions). It also had many filters, rules, etc. It was so complex that it had literally thousands of lines of code.
I worked on that EA for months. In the end, while it made money, the final profit (monthly growth) was not worth it... it's like 3% or 4% per month. I'm still using it, but to be honest, we are trying to make EAs that make more money than investing in stocks (or something like that). If it has a growth that is comparable to safer investments, it makes no sense.
My advice is to keep it simple, but not too simple. You need to be creative on your approach, think of something that is not available on the internet. Most ideas publicy available are either completely wrong or just work if you trade manually (where you make the final decision to trade or not based on current market conditions - volatility/news/etc).
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use