ooples / OoplesFinance.StockIndicators

Largest C# stock indicator library with over 750 to choose from and easiest to use with abilities such as making an indicator out of any other indicator or using any moving average with any indicator.
Apache License 2.0
214 stars 55 forks source link

Keltner channel calculation appears to differ significantly from Trading View for the same input #30

Open Codepoet77 opened 1 year ago

Codepoet77 commented 1 year ago

While testing I noticed a significant difference in the Keltner Channel calculation that is produced by this library when compared to what I see displayed in Trading View using what appears to be the same input and was hoping to get some clarity on why that may be.

An example of this is AAPL on 2023-01-27. The Keltner upper band in Trading View is 144.91. The Keltner Channel Upper Band produced by this library is 152.8937. The default inputs used by the CalculateKeltnerChannels method seems to the same as the input used in Trading View.

Please let me know if you need any more info.

image

ooples commented 1 year ago

I could use some help in researching the differences with this output so I can figure it out if you don't mind.

Franklin

On Sun, Mar 26, 2023 at 11:33 PM Codepoet77 @.***> wrote:

While testing I noticed a significant difference in the Keltner Channel calculation that is produced by this library when compared to what I see displayed in Trading View using what appears to be the same input and was hoping to get some clarity on why that may be.

An example of this is AAPL on 2023-01-27. The Keltner upper band in Trading View is 144.91. The Keltner Channel Upper Band produced by this library is 152.8937. The default inputs used by the CalculateKeltnerChannels method seems to the same as the input used in Trading View.

Please let me know if you need any more info.

[image: image] https://user-images.githubusercontent.com/2936200/227833927-8c8cc1ca-d269-46a0-a603-6bee2ea8b1b3.png

— Reply to this email directly, view it on GitHub https://github.com/ooples/OoplesFinance.StockIndicators/issues/30, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXO4ZNV57ECS3YPAKZ3DCLW6EDAJANCNFSM6AAAAAAWITY7FE . You are receiving this because you are subscribed to this thread.Message ID: @.***>