sum proft&loss

Posted By: tradingest

sum proft&loss - 09/29/18 16:47

Hi all,

I use this code to obtain the result shown here .
The function TradeProfit seems doesn't works.
Code:
for(open_trades)
{
	val += TradeProfit;

print(TO_WINDOW,"n %s - p&l = %4.2f",Asset,val);
}



If I want obtain the sum of all these cross how can I modify the code above?

Thanks in advance
Posted By: tradingest

Re: sum proft&loss - 09/29/18 18:43

resolved using TradeProfit
© 2024 lite-C Forums