Want to change a script?

 

How, and were to change the moving average script. do you know it . Calculate open position area and the " check for open orders conditions" and " check for close order condition. there is a loop there,but I do not know this program style. some help would be help full.this looks a little like c++?

Thank you

Longtradermo

 
What is your question?
Reason: