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
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