OrderTotal Help ?

 
.
 
  1. Learn to code or pay someone.

    We're not going to code it for you (although it could happen if you are lucky or the problem is interesting.) We are willing to help you when you post your attempt (using CODE button) and state the nature of your problem.
              No free help 2017.04.21

  2. The code was written to only trade on the current symbol — the code is already correct. Put it on other symbols to trade them.