Automatic buy and sell signal

Dear sir,
 Thanks for your support.....

kindly please tell me how could i execute the following trade using EAS
1. xyz script is trading at 100
2. i want to buy it when it crosses 102 (that is above [email protected])
3. And at same time i want to put Target of 104 after the 2 has been executed
4. And Stop Loss of 101 after 2 has been executed

& same opposit for shorting

As per the above query you can use

and what about stop loss sir., if certain price crosses for buy it will generate signal, how should is set simultanius stop loss signal