Linear Regression Intercept Slope Color - futures io
futures io



Linear Regression Intercept Slope Color


Discussion in Tech Support

Updated
    1. trending_up 749 views
    2. thumb_up 1 thanks given
    3. group 1 followers
    1. forum 11 posts
    2. attach_file 6 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

Linear Regression Intercept Slope Color

(login for full post details)
  #1 (permalink)
 fiddlinground 
Salt Lake City Utah USA
 
Experience: Advanced
Platform: Ninjatrader
Trading: ES
 
Posts: 17 since May 2018
Thanks: 1 given, 1 received

Hi,

Could someone help me add Rising and Falling colors to the Ninjatrader 8 Linear Regression Intercept indicator?

thanks,
David

Attached Files
Register to download File Type: zip LinRegInterceptColors.zip (3.1 KB, 3 views)
Started this thread Reply With Quote

Journal Challenge April 2021 results:
Competing for $1800 in prizes from Jigsaw
looks_oneMaking a Living with the Microsby sstheo
(620 thanks from 61 posts)
looks_twoSalao's Journalby Salao
(162 thanks from 29 posts)
looks_3Learning to Profit - A journey in algorithms and optionsby Syntax
(115 thanks from 27 posts)
looks_4Deetee’s DAX Trading Journal (time based)by Deetee
(94 thanks from 30 posts)
looks_5Maybe a little bit different journalby Malykubo
(53 thanks from 32 posts)
 
Best Threads (Most Thanked)
in the last 7 days on futures io
I finally blew up an account
124 thanks
The Crude Dude Oil Trading System
85 thanks
Spoo-nalysis ES e-mini futures S&P 500
65 thanks
The tiyfTradePlanFactory indicator
31 thanks
Building a Crypto Mining Rig
19 thanks
 
(login for full post details)
  #2 (permalink)
 forrestang 
Urban Samurai
Chicago IL
 
Experience: None
Platform: Ninja, MT4, Matlab
Broker: CQG, AMP, MB, DTN
Trading: E/U, G/U
 
forrestang's Avatar
 
Posts: 1,239 since Jun 2010
Thanks: 306 given, 950 received

If you just want to color based on the rising/falling conditions w/o having to code anything, you can use THIS TOOL referenced by @Sylvester17. The tool is HERE.

You can color any indicator with plots with it.

Reply With Quote
The following user says Thank You to forrestang for this post:
 
(login for full post details)
  #3 (permalink)
 fiddlinground 
Salt Lake City Utah USA
 
Experience: Advanced
Platform: Ninjatrader
Trading: ES
 
Posts: 17 since May 2018
Thanks: 1 given, 1 received



forrestang View Post
If you just want to color based on the rising/falling conditions w/o having to code anything, you can use THIS TOOL referenced by @Sylvester17. The tool is HERE.

You can color any indicator with plots with it.

Thanks for the suggestion...

I watched the video and see how it works. The problem is I want to use it on a 500 tick chart using a 1000 tick data series on the same chart so it is better if I could have the code in the Linear Regression Intercept?

Started this thread Reply With Quote
 
(login for full post details)
  #4 (permalink)
 forrestang 
Urban Samurai
Chicago IL
 
Experience: None
Platform: Ninja, MT4, Matlab
Broker: CQG, AMP, MB, DTN
Trading: E/U, G/U
 
forrestang's Avatar
 
Posts: 1,239 since Jun 2010
Thanks: 306 given, 950 received


fiddlinground View Post
I watched the video and see how it works. The problem is I want to use it on a higher time frame so it is better if I could have the code in the Linear Regression Intercept?

Did you configure the input?

Watch that video at the download link, he explains how to configure the input in the first 30 seconds or so. That would be the easiest way to get an understanding.
2021-03-15_085058

Reply With Quote
 
(login for full post details)
  #5 (permalink)
 fiddlinground 
Salt Lake City Utah USA
 
Experience: Advanced
Platform: Ninjatrader
Trading: ES
 
Posts: 17 since May 2018
Thanks: 1 given, 1 received


forrestang View Post
Did you configure the input?

Watch that video at the download link, he explains how to configure the input in the first 30 seconds or so. That would be the easiest way to get an understanding.
2021-03-15_085058

I watched the video and see how it works. The problem is I want to use it on a 500 tick chart using a 1000 tick data series on the same chart so it is better if I could have the code in the Linear Regression Intercept?

Started this thread Reply With Quote
 
(login for full post details)
  #6 (permalink)
 forrestang 
Urban Samurai
Chicago IL
 
Experience: None
Platform: Ninja, MT4, Matlab
Broker: CQG, AMP, MB, DTN
Trading: E/U, G/U
 
forrestang's Avatar
 
Posts: 1,239 since Jun 2010
Thanks: 306 given, 950 received


fiddlinground View Post
I watched the video and see how it works. The problem is I want to use it on a 500 tick chart using a 1000 tick data series on the same chart so it is better if I could have the code in the Linear Regression Intercept?

So you want a 1000 tic LRI displayed ONTO a 500 tic chart?

Reply With Quote
 
(login for full post details)
  #7 (permalink)
 fiddlinground 
Salt Lake City Utah USA
 
Experience: Advanced
Platform: Ninjatrader
Trading: ES
 
Posts: 17 since May 2018
Thanks: 1 given, 1 received


forrestang View Post
So you want a 1000 tic LRI displayed ONTO a 500 tic chart?

Yes, in panel 1. I just add two data series to the chart, add them both to Panel 1 and change the input series on the LRI..

Started this thread Reply With Quote
 
(login for full post details)
  #8 (permalink)
 forrestang 
Urban Samurai
Chicago IL
 
Experience: None
Platform: Ninja, MT4, Matlab
Broker: CQG, AMP, MB, DTN
Trading: E/U, G/U
 
forrestang's Avatar
 
Posts: 1,239 since Jun 2010
Thanks: 306 given, 950 received


fiddlinground View Post
Yes, in panel 1. I just add two data series to the chart, add them both to Panel 1 and change the input series on the LRI..

This can be done also with that indicator....

I do not mean to discourage you wanting to code it, I was just suggesting this as a way to not have to code antyhign, which if that is the case you can do that also.

But I figured Id point it out.

But if you want to do it, you can add a second data series to your chart of 1K tics like I have. Then apply the plot to that second series. You can then shrink the bottom panel where you can't see it anymore(2nd pic).

Both averages are shown. The orange is the standard one on 14 periods. The colored one is based on the 1K tic chart of 14 periods with the rising/falling conditions

2021-03-15_090456


2021-03-15_090710

Reply With Quote
 
(login for full post details)
  #9 (permalink)
 fiddlinground 
Salt Lake City Utah USA
 
Experience: Advanced
Platform: Ninjatrader
Trading: ES
 
Posts: 17 since May 2018
Thanks: 1 given, 1 received


forrestang View Post
This can be done also with that indicator....

I do not mean to discourage you wanting to code it, I was just suggesting this as a way to not have to code anything, which if that is the case you can do that also.

But I figured Id point it out.

[/IMG]

Okay, I figured it out and have it on the chart now. That works nice. It is a nice indicator. thanks!

Started this thread Reply With Quote
 
(login for full post details)
  #10 (permalink)
 fiddlinground 
Salt Lake City Utah USA
 
Experience: Advanced
Platform: Ninjatrader
Trading: ES
 
Posts: 17 since May 2018
Thanks: 1 given, 1 received



forrestang View Post
This can be done also with that indicator....

I do not mean to discourage you wanting to code it, I was just suggesting this as a way to not have to code anything, which if that is the case you can do that also.

But I figured Id point it out.

But if you want to do it, you can add a second data series to your chart of 1K tics like I have. Then apply the plot to that second series. You can then shrink the bottom panel where you can't see it anymore(2nd pic).

Both averages are shown. The orange is the standard one on 14 periods. The colored one is based on the 1K tic chart of 14 periods with the rising/falling conditions

I like this Color The Plot indicator. The indicator would not let me erase the Label and I commented this code out:
//if (Input is Indicator)
//Name = "CTP+"+Input.ToString(); // To show on chart "CTP+indicator" used

The problem is that also erased the name of the indicator in the Indicator Panel

Any suggestions on how I can fix that and also be able to erase the Label?

thanks,
David

Started this thread Reply With Quote
 
(login for full post details)
  #11 (permalink)
 forrestang 
Urban Samurai
Chicago IL
 
Experience: None
Platform: Ninja, MT4, Matlab
Broker: CQG, AMP, MB, DTN
Trading: E/U, G/U
 
forrestang's Avatar
 
Posts: 1,239 since Jun 2010
Thanks: 306 given, 950 received


fiddlinground View Post
I like this Color The Plot indicator. The indicator would not let me erase the Label and I commented this code out:
//if (Input is Indicator)
//Name = "CTP+"+Input.ToString(); // To show on chart "CTP+indicator" used

The problem is that also erased the name of the indicator in the Indicator Panel

Any suggestions on how I can fix that and also be able to erase the Label?

thanks,
David


2021-03-15_132832

Reply With Quote
 
(login for full post details)
  #12 (permalink)
 fiddlinground 
Salt Lake City Utah USA
 
Experience: Advanced
Platform: Ninjatrader
Trading: ES
 
Posts: 17 since May 2018
Thanks: 1 given, 1 received


forrestang View Post
2021-03-15_132832

That is perfect. I missed that when looking at the settings.

thanks!

Started this thread Reply With Quote


futures io Trading Community Off-Topic Tech Support > Linear Regression Intercept Slope Color


Last Updated on March 15, 2021


Upcoming Webinars and Events

NinjaTrader Indicator Challenge!

Ongoing

Journal Challenge w/$1,800 in prizes!

May 7

The Cold Hard Truth: Maybe I Am Not Good Enough w/Chris Gray @ Earn2Trade

Elite only
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), info@futures.io
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