CAN ANYBODY modify this script to work like this CCI(14) period buy sell on certain levels

 
need modification

I have a script but doesn't work as i want
 can anybody modify this script like
if the a lines crosses 100 up (buy) and once it gets reverse and crossed 100 (close) 
if the a line crosses - 100 down (sell) and once it gets reverse and crosses -100 (close)
i have attached a jpeg image which shown what i actually want.
 i am also attaching a script. the only changed required is buy and sell condition.
 
Thanks 

Files:
cciea.mq4  54 kb
 
hirdesh: can anybody modify this script like ...
Lots of people can. Since there are no slaves here, you have only three choices: Search for it, learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt and the nature of your problem.
Reason: