Roni Lenhardt:
If coding is the only way
If coding is the only way
Coding is the only way
Roni Lenhardt:
is there a tutorial I can follow
is there a tutorial I can follow
Look at this site and try to answer that question yourself.
If you're going to code, you should at least be able to google.
Also, you are on a site dedicated to MQL programming. Among other things, there is a book, articles and a forum. So your question about whether there are programming tutorials is strange.

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
Hello there!
I'm currently running dozens of EAs in a real account. They're working just fine, but I notice some EAs perform better historically when they go long or short.
I don't want to set them to work only for long or for short positions. The reason is that if I do that, they will go only one direction more often than the backtest says is best.
So a solution I thought is: if it is an EA that works best when it goes long, I would set it to go long with a lot size of 0.05 and to go short with a lot size of 0.01, for example, and vice-versa.
I'd like to know if there's a way to set different lot sizes for long and short positions other than using code. If coding is the only way, is there a tutorial I can follow?
I'm using a third party software to generate strategies. I select the best ones to run on Demo accounts and the best ones on the Demo account to run on the Real account.
I have access to the code and can modify it as I wish.
Thank you in advance