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".
profile picture

GolfPlayer

#6
Hi Eugene!
I dicided to write here because my question hase some connection to the topic.

I've tried to install WealthScript Translator
Converter from WLD Pascal to WLD C#.

But my antvirus softwear (DrWeb) says it is infected by Trojan.Starter.2890.
Could you check it?
profile picture

Eugene

#7
profile picture

GolfPlayer

#8
It is a very strange situation:

It says nothing about installer file WealthScriptTranslatorSetup.exe

It doesn't like file WealthScriptTranslator.exe after an installation.

Look at the picture
profile picture

Eugene

#9
False positives are reality. Google's VirusTotal (actually, the AV engines it runs) is smart enough to scan inside archives and installers. Anyway, since WSTL is no longer supported you're on your own with it.
profile picture

GolfPlayer

#10
Thanks!
profile picture

Eugene

#11
Think nothing of it.
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).