Open - low buy or sell script

Dear sir
plz generating code for intraday basis
today open price is 300,when ltp down to 295 generating alert from my marketwatch
what is the code for buy &sell

For the above condition you will not get price alerts on market watch, but you can use "create scripted alert"s in pi for the same, the tradescript code for price alert indicator is already available in expert advisor page , check this Link