Close all when profit is reached

Posted By: tradingest

Close all when profit is reached - 09/03/18 06:32

Hi all,

If I want close all trades opened with sum of profit reach is 100 €. Is it possible?

How can I do it?

Thanks
Posted By: tradingest

Re: Close all when profit is reached - 09/03/18 17:22

Someone can you help me?
Posted By: AndrewAMD

Re: Close all when profit is reached - 09/03/18 19:04

Read these:
http://zorro-project.com/manual/en/winloss.htm
http://zorro-project.com/manual/en/fortrades.htm
http://zorro-project.com/manual/en/trade.htm
Posted By: tradingest

Re: Close all when profit is reached - 09/03/18 20:24

Thanks,

But you can write me the correct function word whether possible?
Posted By: AndrewAMD

Re: Close all when profit is reached - 09/03/18 20:40

Too busy, sorry. whistle
Posted By: tradingest

Re: Close all when profit is reached - 09/06/18 19:24

Hi Andrew,

my code is:

Code:
if(ProfitOpen = 100)
	for(open_trades)
	{
	  What is the function to close all trade, long and short opened?	
	}



can you help me?

Many thanks in advance
Posted By: AndrewAMD

Re: Close all when profit is reached - 09/06/18 19:31

exitTrade(ThisTrade);
© 2024 lite-C Forums