Painted Linear Regression Indicator - NinjaTrader | futures trading

Go Back

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader

Painted Linear Regression Indicator
Started:January 27th, 2011 (11:45 AM) by essiar Views / Replies:3,118 / 3
Last Reply:May 3rd, 2011 (06:42 PM) Attachments:3

Welcome to

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike

Thread Tools Search this Thread

Painted Linear Regression Indicator

Old January 27th, 2011, 11:45 AM   #1 (permalink)
Elite Member
Futures Experience: Intermediate
Platform: nt
Broker/Data: AMP/Rithmic
Favorite Futures: CL, TF, 6E, NQ
Posts: 27 since Sep 2009
Thanks: 0 given, 1 received

Painted Linear Regression Indicator

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
Register to download File Type: zip (6.1 KB, 75 views)
Reply With Quote

Old January 27th, 2011, 11:46 AM   #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.


Old January 27th, 2011, 09:59 PM   #3 (permalink)
Elite Member
Futures Experience: Intermediate
Platform: NT7
Favorite Futures: CL, NQ, NG
Posts: 449 since Jun 2009
Thanks: 1,342 given, 376 received


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

Good Trading.


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
Register to download File Type: zip (6.5 KB, 313 views)
Reply With Quote
The following 8 users say Thank You to zeller4 for this post:

Old May 3rd, 2011, 06:42 PM   #4 (permalink)
Elite Member
Arvada, Colorado
Futures Experience: Advanced
Platform: Amibroker / Ninja Trader / TOS
Broker/Data: Mirus Zenfire
Favorite Futures: TF 6E NQ
Posts: 194 since May 2010
Thanks: 259 given, 185 received

Linear Regression Color Alert


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 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,

Attached Files
Register to download File Type: zip (5.9 KB, 93 views)
Reply With Quote
The following 2 users say Thank You to brevco for this post:

Reply > Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > Painted Linear Regression Indicator

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

NinjaTrader 8: Programming Profitable Trading Edges w/Scott Hodson

Elite only

Anthony Drager: Executing on Intermarket Correlations & Order Flow, Part 2

Elite only

Adam Grimes: Five critically important keys to professional trading

Elite only

Machine Learning Concepts w/FIO member NJAMC

Elite only

MarketDelta Cloud Platform: Announcing new mobile features

Dec 1

NinjaTrader 8: Features and Enhancements

Dec 6

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unscented Kalman Filter & Exponential Linear Regression Slope Big Mike The Elite Circle 34 June 13th, 2016 01:24 PM
Linear Regression Alerts brevco The Elite Circle 16 November 26th, 2015 04:35 PM
Linear Regression Reversal Indicator zeller4 NinjaTrader 10 November 18th, 2011 10:08 PM
Colored regression indicator lost Doppio NinjaTrader 2 July 29th, 2011 12:18 AM
Linear Regression Reversal Indicator shodson The Elite Circle 2 September 17th, 2009 11:06 AM

All times are GMT -4. The time now is 01:07 AM.

Copyright © 2016 by 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.
no new posts

Page generated 2016-10-27 in 0.08 seconds with 20 queries on phoenix via your IP