Dear forum?

Can somebody explain how to transfer/code multiple regression equitation obtained in Matlab to ST?
These eqiotations have the following format (example)

predicted value = x+y*bollinger band (upper)-z*MACD average...etc

These can be quite complex, with many variables but simple example would suffice.
Can somebody show how to code this simple equitation as indicator?

Indicator = 1.25 + 0.28 * bollinger bands (upper band) (200 moving average, 2 standards deviations)