Comment on Managing your Script
Srinivas,
In algoZ you will need a strategy to buy or sell. Buying at a particular price is not a strategy like what you have mentioned.
algoZ is for technical analysis strategies, as such what you have mentioned cannot really be coded. There has to be a reason to buy and sell.