Question about EA

 
I have an EA to ride trends on Nasdaq.

Let's say that EA opens 6 trades.

Trades will be closed by the EA all at the same time.

My question is:

Once the 6 trades are closed, can the EA be coded to know if one of that trade reached for example 500 pips profit?

Because once 500 pips are reached, the EA must apply another rule. But this rule must be applied only if one of the trade closed has reached 500 pips profit.

Can be that trade be identified by the EA?

Thanks in advance for your answer.
 
Keldrilh: I have an EA to ride trade on Nasdaq. Let's say that EA opens 6 trades. Trades will be closed by the EA all at the same time. My question is: Once the 6 trades are closed, can the EA be coded to know if one of that trade reached for example 500 pips profit? Because once 500 pips are reached, the EA must apply another rule. But this rule must be applied only if one of the trade closed has reached 500 pips profit. Can be that trade be identified by the EA? Thanks in advance for your answer.

Yes, an EA can scan the trade history and identify the exact profit (or loss), be it money value, or in ticks, points or pips.