OmniTrader Professional Forum OmniTrader Professional Forum
forums calendars search
today this week
 
register logon control panel Forum Rules
You are currently browsing as a guest.
You should logon to access more features
A Self-Moderated Community - ALL MEMBERS, PLEASE READ!
Vote for Members who contribute the most to your trading, and help us moderate content within the Forums.


  Current location        Thread information  
OmniTrader Professional Forum
OmniLanguage Discussion
Linear Regression Channel - Example Code
Last Activity 1/29/2018 8:23 AM
30 replies, 12180 viewings

Jump to page : 1 2
Now viewing page 2 [25 messages per page]
 
back reply
Printer friendly version

^ Top
jb

Legend
100100100252525
Posts: 384

Joined: 6/6/2006

User Profile
 
Subject : RE: Linear Regression Channel - Example Code
Posted : 1/15/2011 2:57 PM
Post #17884 - In reply to #12185

Hi Jim I have made a stripped down to bare essentials version of your indicator. I would like to post this in a new thread are you happy for me to do that? It appears to work fine albeit that I must issue a health warning that the looping parts of jims code are not in my repertoire. and what is more in 20011 the plotprice bug seems to have gone. I hope that you could give it the eye over and I am wanting to developed from it but would like to talk about that in a new thread Best Regards John B
^ Top
Jim Dean

Sage
20001000100
Posts: 3105

Joined: 3/13/2006
Location: L'ville, GA

User Profile
 
Subject : RE: Linear Regression Channel - Example Code
Posted : 1/15/2011 3:36 PM
Post #17885 - In reply to #17884

Sure John feel free. Maybe it would be helpful to include a link in your new thread, back to this one, so if folks want the full orig example they can find it easily.
^ Top
jb

Legend
100100100252525
Posts: 384

Joined: 6/6/2006

User Profile
 
Subject : RE: Linear Regression Channel - Example Code
Posted : 1/15/2011 4:34 PM
Post #17886 - In reply to #12185

Thanks Jim I will post it the new thread in a moment

^ Top
W.B. van Glabbeek

Veteran
10025
Posts: 132

Joined: 8/31/2010
Location: the Netherlands

User Profile
 
Subject : RE: Linear Regression Channel - Example Code
Posted : 1/19/2011 1:55 PM
Post #17910 - In reply to #12185

Jim,

Because JB highlighted your Linear Reg indicator again, I started to look into it again.

Now I'm wondering, the indicator output is "slope".

If I would use Bar length 100 and EndBarsAgo 0,
would this be the same value as with LinReg_Slope(100)?

Thanks,
^ Top
Jim Dean

Sage
20001000100
Posts: 3105

Joined: 3/13/2006
Location: L'ville, GA

User Profile
 
Subject : RE: Linear Regression Channel - Example Code
Posted : 1/19/2011 5:20 PM
Post #17915 - In reply to #17910

Sorry I just don't have time now to re-examine that code from quite a while back. I'm hip-deep in trying to get this Dynamic Optimization study group rolling.
^ Top
W.B. van Glabbeek

Veteran
10025
Posts: 132

Joined: 8/31/2010
Location: the Netherlands

User Profile
 
Subject : RE: Linear Regression Channel - Example Code
Posted : 1/20/2011 12:53 AM
Post #17921 - In reply to #12185

No worries, I thought you might know from THE back of your head.

I'll run some tests tests and figure it out.

I'd love to help you out on your testing project, but I don't own SW yet.

Good luck.
Jump to page : 1 2
Now viewing page 2 [25 messages per page]
back reply

Legend    Action      Notification  
Administrator
Forum Moderator
Registered User
Unregistered User
E-Mail this thread to a friend
Toggle e-mail notification


Nirvana Systems
For any problems or issues please contact our Webmaster at webmaster@nirvsys.com.