Trying to port linreg function in tradingview to C# #1084
phivanloi
started this conversation in
Help and support
Replies: 1 comment
-
Someone help me. How to correctly calculate the linreg function of trading view or its calculation formula |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently I'm trying to port an indicator from tradingview Pine to C#. But I'm having difficulty with the linreg function in tradingview and can't find a corresponding function with the Stock.Indicators library.

I'm currently trying to use the GetSlope function and then get the value
Intercept + Slope * (Length - 1 - 0) also fails.
Hope someone can assist.
i am trying to port the following indicator to c#
https://www.tradingview.com/script/nqQ1DT5a-Squeeze-Momentum-Indicator-LazyBear/
Beta Was this translation helpful? Give feedback.
All reactions