Need to code new trading analysis algorithm

I’m a new user on Pi. Can a trading analysis method, not given in the software be coded and then be applied to all the trade scripts?

If yes,

please tell me how to do so?

yes, it can be done for that you need to code the condition in tradescript , back test it and then can be used for create script alerts ,scanners or you can create new expert advisor .