NexusFi: Find Your Edge


Home Menu

 





Regression Channel not plotting correctly


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Fat Tails with 8 posts (24 thanks)
    2. looks_two ShruggedAtlas with 4 posts (3 thanks)
    3. looks_3 watrader with 4 posts (0 thanks)
    4. looks_4 Big Mike with 1 posts (2 thanks)
    1. trending_up 6,403 views
    2. thumb_up 29 thanks given
    3. group 1 followers
    1. forum 16 posts
    2. attach_file 9 attachments




 
Search this Thread

Regression Channel not plotting correctly

  #11 (permalink)
 watrader 
Stuttgart, Germany
 
Experience: Master
Platform: NinjaTrader
Broker: IB
Trading: ZB, EUR, ES
Posts: 106 since Dec 2010
Thanks Given: 68
Thanks Received: 44


Fat Tails View Post
Would like a few people to test, whether it works correctly. I will then update the Regression Channel indicator in the download section.

Hi FatTails
thanks for your efforts.
Could it be possible to chose between linear and standard regression?
Thanks
Walt

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Trade idea based off three indicators.
Traders Hideout
Cheap historycal L1 data for stocks
Stocks and ETFs
REcommedations for programming help
Sierra Chart
About a successful futures trader who didnt know anythin …
Psychology and Money Management
How to apply profiles
Traders Hideout
 
  #12 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103


watrader View Post
Hi FatTails
thanks for your efforts.
Could it be possible to chose between linear and standard regression?
Thanks
Walt

Could you please explain what you call standard regression?

I only know the term "Standard Regression" in the context of the Capital Asset Pricing Model, which would be a special case of linear regression applied to protfolio returns. Otherwise I do not know the term.

Reply With Quote
  #13 (permalink)
 watrader 
Stuttgart, Germany
 
Experience: Master
Platform: NinjaTrader
Broker: IB
Trading: ZB, EUR, ES
Posts: 106 since Dec 2010
Thanks Given: 68
Thanks Received: 44



Fat Tails View Post
Could you please explain what you call standard regression?

I only know the term "Standard Regression" in the context of the Capital Asset Pricing Model, which would be a special case of linear regression applied to protfolio returns. Otherwise I do not know the term.

Thanks. Sorry- I meant, if it's possible to set the regression channel with or without standard deviation. See pic.

Attached Thumbnails
Click image for larger version

Name:	eSig Regr Channel.png
Views:	178
Size:	25.5 KB
ID:	44789  
Reply With Quote
  #14 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103


watrader View Post
Thanks. Sorry- I meant, if it's possible to set the regression channel with or without standard deviation. See pic.

What I assume is that eSignal has two ways of calculating the regression channel

(a) calculate the linear regression line and plot it, then add and subtract a multiple of the standard deviation to draw the channel
(b) calculate the linear regression line and plot it, then draw the lines in such a way that the resulting channel connects
to the price bars, without cutting into them

In case (b) the trend channel is constructed by using the maximum of the vertical distances of the highs from the regression line to draw the upper channel line, and the minimum of the vertical distances of the lows from the regression line to draw the lower channel line. The channels will be typically asymmetrical.

Is that what you look for? Replacing the standard deviation with a Max/Min approach?

Reply With Quote
Thanked by:
  #15 (permalink)
 watrader 
Stuttgart, Germany
 
Experience: Master
Platform: NinjaTrader
Broker: IB
Trading: ZB, EUR, ES
Posts: 106 since Dec 2010
Thanks Given: 68
Thanks Received: 44


Fat Tails View Post
What I assume is that eSignal has two ways of calculating the regression channel

(a) calculate the linear regression line and plot it, then add and subtract a multiple of the standard deviation to draw the channel
(b) calculate the linear regression line and plot it, then draw the lines in such a way that the resulting channel connects
to the price bars, without cutting into them

In case (b) the trend channel is constructed by using the maximum of the vertical distances of the highs from the regression line to draw the upper channel line, and the minimum of the vertical distances of the lows from the regression line to draw the lower channel line. The channels will be typically asymmetrical.

Is that what you look for? Replacing the standard deviation with a Max/Min approach?

Yes that's it . Thanks for clearifying.

Reply With Quote
  #16 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103


watrader View Post
Yes that's it . Thanks for clearifying.

OK, that can be coded as an additional option. It is not difficult as you would just add another formula as an alternative. I do not have the time to do it this week though.

Reply With Quote
Thanked by:
  #17 (permalink)
 watrader 
Stuttgart, Germany
 
Experience: Master
Platform: NinjaTrader
Broker: IB
Trading: ZB, EUR, ES
Posts: 106 since Dec 2010
Thanks Given: 68
Thanks Received: 44


Fat Tails View Post
OK, that can be coded as an additional option. It is not difficult as you would just add another formula as an alternative. I do not have the time to do it this week though.

I think it is an additional improvement for your regression channel. Take your time. Thanks again.
Walt

Reply With Quote




Last Updated on July 27, 2011


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts