Support Board
Date/Time: Sun, 23 Feb 2025 17:34:04 +0000
Post From: Ehlers Even Better Sine Wave
[2022-06-15 06:36:48] |
SC Support Tom - Posts: 450 |
WRT Post #5: I have just uploaded the documentation for this study. You can find it here: Even Better Sinewave Indicator The logic of the study is faithful to the code in Post #1. The problem is that you should not use n = 2. This is because, when n = 2, the smoothing constant (alpha1) is equal to -1. This means that the High Pass Filter HP is equal to 0 for all values of sc.Index. So when n = 2, the values of HP are random garbage that are only equivalent to 0 up to floating point precision. I have made a note of this in the documentation. |