can you help me?

 

Hello and sorry by my bad english.

I am looking for a script that close all open positions and delete pending orders when the total proffits of open orders be positive.

I am trying to find this type of script but i can´t find it.

Is possible somebody help me?

Thank you.

 
verano1972:

Hello and sorry by my bad english.

I am looking for a script that close all open positions and delete pending orders when the total proffits of open orders be positive.

I am trying to find this type of script but i can´t find it.

Did you look in the Code Base ?
Reason: