Re: Timmy's Expert advisor service
Posted: Tue Apr 10, 2018 7:19 am
Hello Dear Timmy;
First of all, I apologize because I can't speak English well!
I need tow functions:
1)A function that calculates the amount of profit or loss of last N open orders:
Is it possible to help?
Thank to all of you for the great work.
First of all, I apologize because I can't speak English well!
I need tow functions:
1)A function that calculates the amount of profit or loss of last N open orders:
Code: Select all
double LastNorderProfit(int N , int typeOfOrder)
{
...
return(SumOflast_N_orderProfit)
}
==================
[color=#0000BF]2) A function that close last N orders.:[/color]
void CloseLast_N_order( int N,int typeOfOrder)
{
...
}
===================
Thank to all of you for the great work.