try to plot Stochastics (8,3,3) , but it look different compare with TC2000
Author: ayc868
Creation Date: 7/1/2008 12:35 AM
profile picture

ayc868

#1
CODE:
Please log in to see this code.


is it correct?
profile picture

Eugene

#2
No. Change the first line as below:
CODE:
Please log in to see this code.


Reason:

Period precedes Smooth in WL4...
CODE:
Please log in to see this code.


...while in WL5 it's vice versa:
CODE:
Please log in to see this code.


profile picture

Cone

#3
There is no "correct" when it comes to custom indicators, but if you're comparing them there is "equivalence". Since it's very clear how you're calculating it in Wealth-Lab, why don't you find out how TC calculates it and then compare the calculations. That's where you'll find the difference.

Bravo Eugene. Incidentally, the Wealth-Lab Wiki has the extended definitions of standard and other indicators. When 5.1 is released, the Indicator dialog will link to the Wiki.