Fill the array, then look for the maximum.
Like I said, it gives me maximum. I need to get 5 maximum profit, not one
Any ideas?
This topic was answered just 2 days ago. Don't you read the forum?
- 2020.12.17
- www.mql5.com
Don't answer if you can't/won't help. I'm already getting maximum number, I just want to get second maximum.
I don't even know why this forum exists. Did I requested full indicator for free? No! Just a little help ...
Thanks anyway
-
This forum exists to help people. It does not have slaves working on your beck and call.
-
Help you with what? You haven't stated a problem, you stated a want. Show us your attempt (using the CODE button) and state the nature of your problem.
No free help 2017.04.21Or pay someone. Top of every page is the link Freelance.
Hiring to write script - General - MQL5 programming forum 2018.05.12We're not going to code it for you (although it could happen if you are lucky or the problem is interesting).
No free help 2017.04.21
Like I said, it gives me maximum. I need to get 5 maximum profit, not one
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello, I'm trying to get 5 best profits from my last 1000 closed trades. I wrote code which almost gives me what I want.
I think I'm doing somethin wrong in Arrays. It only gives me 1 highest profit and prints 5 times. How can I fix it?