Trade script works at scanner, how can i buy or sell there. As my strategy

Yes, tradescript works in pi scanners , if you want to scan the list of selectes stocks of both buy and sell , you have to run two scanners