How to check the first order and orther orders in one candle

 

The first sorry for my English.

This is what i want: When the EA is running, in the one candle, I want the first order has Stop loss and Take profit = Stop loss, but the orther orders in this candle i want they have Take profit = Stop loss * 2.

Thank all :)

 
tvh168 :

The first sorry for my English.

This is what i want: When the EA is running, in the one candle, I want the first order has Stop loss and Take profit = Stop loss, but the orther orders in this candle i want they have Take profit = Stop loss * 2.

Thank all :)


And this is what i want....

showing you your attempt how you make it

 
You have only three choices: Search for it, learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem.