Convert a WL4 script to WL6 strategy
Author: jolly2121
Creation Date: 5/15/2019 12:01 PM
profile picture

jolly2121

#1
Hello everybody! I hope I am in the right subforum, if not give me a hint please where to post this.

My problem is: I have a script that I ran back in 2008 or something in WL4 if I remember right - now I am on a trial for WL 6 because I want to trade more again. I just pasted my old script into the script from code window, however I get tons of errors when compiling.

Can anyone help? Thank you very much!
profile picture

jolly2121

#2
For clarification: I have them in a text file, I am not a great programmer tho and just pasted the text into a new Code-Strategy window, after compiling I am getting all the errors.
profile picture

Eugene

#3
Welcome aboard.

QUOTE:
just pasted the text into a new Code-Strategy window, after compiling I am getting all the errors.

It's by design. Check out this FAQ for explanation and a how-to: Will Wealth-Lab Developer 6.x recognize my chartscripts?

To add to what the FAQ suggests, you're on your own with the script conversion but if you purchase a Wealth-Lab 6 license we might try to help provided that the script isn't too long and doesn't contain complex $Includes.
profile picture

jolly2121

#4
Hello! Sorry for the welcome and the quick reply!

The link is dead for me, could you maybe check the URL?

The majority of errors I get are CS1040 and CS1012.

Thank you very much!

profile picture

Eugene

#5
QUOTE:
The majority of errors I get are CS1040 and CS1012.

Please read the FAQ and it should clear up your questions and concerns.

QUOTE:
The link is dead for me, could you maybe check the URL?

No way, it's your browser. See post #17 for troubleshooting suggestions:

Is Wiki down?

I already knew exactly what you mean but next time please be more detailed than saying "the link is dead" or "it doesn't work".
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).