Need for code below this

Simple intraday trading Code Needed can any1 code developer pls help me
Below this my requirements
My criteria’s are
BUY SIGNAL
If market OPEN at 8700 and will not go DOWN side excatly 10 points(8690)
BUY signal will comes at market (OPEN PRICE) 8700
Target1 18 points
Target2 17 points
Target3 10 points
Stoploss willbe 10 points BELOW the open price
SELL SIGNAL
If market OPEN at 8700 and will not go UP side excatly 10 points(8710)
Sell signal will comes at market (OPEN PRICE) 8700
Target1 18 points
Target2 17 points
Target3 10 points
Stoploss willbe 10 points ABOVE the open price

whenever the price go up or down above the condition signal 'll automatically generate

you can use price alert indicator available on expert advisor page and can generate alerts by defining the prices, you can check this Link