- This topic has 4 replies, 3 voices, and was last updated 1 month ago by .
- You must be logged in to reply to this topic.
Does Optuma have the Moving Linear Regression line?
if not, is there something similar?
We have the Trailing Linear Regression tool which draws the regression line over the last X bars on a chart:
We also have the Linear Regression Slope tool that calculates the slope of the line, so when it’s above zero the slope if positive:
If these are not what you require please provide a screenshot of what you are looking for.
Also, don’t forget that you can search for our tools either in the Tools menu of the software, or our online KnowledgeBase.
Thanks for your quick response, Darren.
I have checked the “Trailing Linear Regression” and the “Linear Regression Slope” indicators but is not the same.
The Moving Linear Regression is a moving average substitute. Please see image below
Pink line 270 period, Green line 90 period, Black line 30 period, Blue line 10 period.
Is it possible to convert the Linear Regression tool into a moving average with a script?
Thanks for your help.
We also have the Linear Regression Intercept tool:
Not sure if you got this sorted Raul, but I managed to put this together to get a Moving Linear Regression
For a 30 period use this in a SHOWPLOT:
var1 = LRSLOPE(BARS=30);
var2 = LRINT(BARS=30);
Change out the 30’s for 10, 90, 270 etc
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
|cookielawinfo-checbox-analytics||11 months||This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".|
|cookielawinfo-checbox-functional||11 months||The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".|
|cookielawinfo-checbox-others||11 months||This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.|
|cookielawinfo-checkbox-necessary||11 months||This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".|
|cookielawinfo-checkbox-performance||11 months||This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".|
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.