elanin:
Guidance needed as I cannot figure out code for looking at total profit value for specific orders in order pool.
Looks like my piece of code is too far off..can someone push me to right direction
Try . . .
sProfit += OrderProfit();
int Total=OrdersTotal(); double bProfit=OrderProfit(); double sProfit=OrderProfit();You can't call OrderProfit() unless you do a OrderSelect first.
ho, dont forget to calculate OrderSwap() & OrderCommission() 2

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
Guidance needed as I cannot figure out code for looking at total profit value for specific orders in order pool.
Looks like my piece of code is too far off..can someone push me to right direction