If it is simple and if that indicators which you are using is available in tradescript then you can write code with it, for tradescript complete reference go to pi -> help -> tradescript help and check.
If it is simple and if that indicators which you are using is available in tradescript then you can write code with it, for tradescript complete reference go to pi -> help -> tradescript help and check.