Market Open Price Buy /Sell condition

Dear friends,

Please create some codes to buy or sell stock for the following condition.
Ex:-
EQ-NSE-SBIN
Previous close price : 300.45
Market Open Price : 304.00
High : 310.35
Low : 303.30
Close : 308.00

In this condition I want to buy the STOCK when Market Open Price (304) goes up by 1% = 307.04
Buy.
Sell when 307.04 goes up 0.5%= 308.57.
Stop loss when 307.04 goes down 0.5%=305.50

I want to use this on few other share but percentage I want to change according to the share

Please note I want to buy the shares on percentage based move please code it in percentage based move.

Thanks & Regards,
Shoan Rebeiro

.

yes you [email protected] or call 7025438843