NexusFi: Find Your Edge


Home Menu

 





Painted Linear Regression Indicator


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one essiar with 1 posts (0 thanks)
    2. looks_two brevco with 1 posts (2 thanks)
    3. looks_3 zeller4 with 1 posts (9 thanks)
    4. looks_4 Quick Summary with 1 posts (0 thanks)
    1. trending_up 5,411 views
    2. thumb_up 11 thanks given
    3. group 4 followers
    1. forum 3 posts
    2. attach_file 3 attachments




 
Search this Thread

Painted Linear Regression Indicator

  #1 (permalink)
 essiar 
austin
 
Experience: Intermediate
Platform: nt
Broker: AMP/Rithmic
Trading: CL, TF, 6E, NQ
Posts: 27 since Sep 2009
Thanks Given: 0
Thanks Received: 1

I've been using the colored linear regression indicator in NT 6.5 and base a great deal of my trading on it. Lin_Reg_Color_Paint is the name. The first version repainted so someone revised it to not repaint. Then I started using it in NT7 and it repaints multiple times sometimes. Even at slightly different angles so there are times that you actually can see three colors at one point. I love this indicator and if anyone is familiar with it and knows if there is a version out there for NT7 - OR - if they know how to alter it to work a bit better in NT7, please let me know. I've attached the original version. Thanks!

Attached Files
Elite Membership required to download: _Lin_Reg_Color_Paint_v01.zip
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
MC PL editor upgrade
MultiCharts
ZombieSqueeze
Platforms and Indicators
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
What broker to use for trading palladium futures
Commodities
Quant vue
Trading Reviews and Vendors
 
  #3 (permalink)
 zeller4 
Orlando Florida
 
Experience: Intermediate
Platform: NT8
Trading: CL, NQ, ES, RTY
Posts: 477 since Jun 2009
Thanks Given: 1,416
Thanks Received: 404


Here's a new version for NT7 using the new "PlotColors" feature. Please let me know if there are any issues.

Good Trading.

Kirk

ps, I removed the underscore "_" at the beginning of the filename so it won't be found near the top of the list any longer.

Attached Files
Elite Membership required to download: Lin_Reg_Color_Paint_v02.zip
Reply With Quote
  #4 (permalink)
 brevco 
Denham Springs, LA
 
Experience: Advanced
Platform: Amibroker / Ninja Trader
Broker: Mirus Zenfire
Trading: TF 6E NQ
Posts: 194 since May 2010
Thanks Given: 259
Thanks Received: 187

Hello,

Since this thread is referencing the Linear Regression I thought it would be the most appropriate place to post this.

Attached is the code I copied and pasted from other sources. My intention is to create arrows with alerts when the linear regression line changes color (not when price closes above/below the LR line). I believe I've accomplished that because I am not getting any error messages, but the problem is....it is plotting an arrow on every candle.

I would also like to be able to select "true/false" for audible alerts but do not know how to include that in the code.

Can someone please help me with the alerts and the code so that I do not get multiple arrows? (You can probably tell I am no programmer and this is my first attempt with Ninja script.)

Thank you,
Evelyn

Attached Files
Elite Membership required to download: LinRegColorAlert.zip
Reply With Quote
Thanked by:




Last Updated on May 3, 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