Missing and unsupported functions: LinearRegPredict, PeakNum etc.
Author: abdo2222
Creation Date: 9/22/2010 6:25 PM
profile picture

abdo2222

#1
Distinguished guests

When I turn indicators of the issuance of Wealth Lab 4 to 6 Wealth Lab noted that there is a bug in the conversion processes because there are things it is supported by the issuance of Wealth Lab 4, and are not supported in Wealth Lab 6 such


· LinearRegPredict, LinearRectPredictSeries: not supported

· PeakNum, PeakNumSeries: not supported

· TroughNum, TroughNumSeries: not supported

Also, some features that were present in the issuance of Wealth Lab 4 has become non-existent in the Wealth Lab 6
Like
· SetColorScheme: Not supported


What is the solution and alternative especially for items mentioned in this topic as the most important indicator of my depend on these things

Best regards
profile picture

Eugene

#2
* LinearRegPredict is indeed not supported and not available in WL6. It's a function that peeks into the future that should never be used in ChartScripts, only in PerfScripts. To stress once more: you can not use this function in an indicator!

* PeakNum, TroughNum - these functions were dropped as excessive, I believe. When programming in WL5/6, you can easily have these data points through Peak/Trough. While I can't think of a workaround in WSTL-produced code, you can accomplish what they were doing by manually coding in C#. For instance, these examples show you a couple of design patterns: Wyckoff spring setup, Trading Divergences.

* SetColorScheme - not available, use the available functions to customize your charts
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).