double Grosswin(){ int win=OrderProfit();
MT4: You can not use any Trade Functions until you first select an order.
if (cnt>0) for( i ;i<cnt ; i++)What is cnt? When is it set? Is it reset between your two function calls?
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 guys , hope you are doing well. i wrote a code that i'm currently using to calculate profit factor for a specific magic number:
I want this code to be calculated on all the magic numbers available in the terminal , i have a code that retrieve all the magic number in the terminal but i could not use it in my code