Login Page - Create Account

Support Board


Date/Time: Sun, 09 Feb 2025 04:12:21 +0000



[Programming Help] - TEA Indicator

View Count: 493

[2020-08-05 23:03:58]
arruga - Posts: 253
There is a TEA indicator in other platforms that I'd like to replicate in Sierra as it doesn't exist.
The core of the indicator is this:

MyVar = linreg(c-((Highest(H, lookback)+Lowest(L, lookback))/2
+ EMA(c,lookback))/2,lookback,0)

In Sierra there is a Liner regression channel and slope, but doesn't help, I need the linreg function, which deosn't exist

Trying to do it via a spreadsheet.
The function that I need is 'linreg', which defined as this; linreg = intercept + slope * (lookback - 1 - offset)

Intercept and slope are standard excel functions... In sierra, there's a slope function, but not intercept.

Could you provide advise on a workaround to get what I want in Sierra?

Thanks

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account