Need to code new trading analysis algorithm

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 coded first you can code and back test according to condition and then you can create expert adviser 

to create go to Artificial intelligence -> create new expert advisor .