It's not necessarily a good idea to start learning Wealth-Lab 6 scripting with the help of WealthScript Translator. It's unsupported, and it's a pain to extend its output code because "pure" WealthScript doesn't mix up good with WSTL-interprted code.
Next, why use Excel if almost anything can be achieved right in Wealth-Lab (just ask)? For example, what you've been doing is essentially plotting the rate of change, isn't it? Then you could start with a tried design pattern and fine tune it to your needs (again, just ask):
Indicators | How to Plot ROC of multiple symbols on same chart