Script errors in WL editor
Author: ikx
Creation Date: 5/23/2012 4:13 AM
profile picture

ikx

#1
I translate my code fron WL 4 to 6 with the WScritTranslator but when I compile it within the WL 6.3 it makes me these errors,

Please help me:


46,8 = (Bar, Dup 1=0)
134,16 =(CreatePane)
134,32 =(-1)
134,37 =(-1)
135,17 =(CreatePane)
135,34 =(-2)
135,39 =(-2)

This is my code after translate in C#:

CODE:
Please log in to see this code.
profile picture

Eugene

#2
Could you show us the source code of this ChartScript? It appears short and clear enough for a manual translation.
profile picture

ikx

#3
Thanks Eugene.....script in WL 4:
CODE:
Please log in to see this code.

profile picture

ikx

#4

I changed and put these:
CODE:
Please log in to see this code.




and the errors on panel finish.
profile picture

ikx

#5
Now it gives me only one error:

82,3=====>>>>protected override void Execute.....





CODE:
Please log in to see this code.
profile picture

Eugene

#6
Try this:
CODE:
Please log in to see this code.
profile picture

ikx

#7
Thanks a lot Eugene.....
Could now ADD this exit/entry strategy??

CODE:
Please log in to see this code.
profile picture

Eugene

#8
Make sure you've read the WealthScript Programming Guide > Indicators > Stability of Indicators, because its point applies to your code.
CODE:
Please log in to see this code.
profile picture

ikx

#9
Thanks, Eugene....!!

Today I download the 30 gg. trial...for the WealthScript Programming Guide where I have to see??
profile picture

Eugene

#10
Under the Help menu.
profile picture

ikx

#11
Ah..ok...I'll study from today....


Please Eugene could you DELETE my/your WL code OR the POST??


Thanks Eugene and a Good day...
profile picture

Eugene

#12
No, I will not delete the code and will not take down the post. This is a public forum, and I'm not going to trash the results of my work that could be helpful to other forum members.

Please review an extract from our website's terms of use that you accepted when signing up for a wealth-lab.com account:
QUOTE:
By transmitting such User Feedback to Wealth-Lab, you are deemed to grant to Wealth-Lab a perpetual, worldwide, royalty-free, irrevocable, non-exclusive license (with rights to sublicense) to use any ideas, concepts, know-how or techniques contained in such User Feedback for any purpose whatsoever, including but not limited to developing, manufacturing and marketing products incorporating such User Feedback.
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).