NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Sunday May 26th at 12PM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Indicator Development

Indicator Development Support for the development of custom indicators using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 02-08-2012, 08:49 PM   #1
Fritz
Junior Member
 
Join Date: Aug 2009
Posts: 5
Thanks: 1
Thanked 0 times in 0 posts
Default Plot a line for change of slope for Regression Channel

Hi,

I have been working with the Regression Channel (RC) indicator and wondering how difficult it is to modify it as I am not a programmer. Currently you can only view the RC during live bars and not in back testing. I am wondering if it is possible to mark or plot on the chart, the slope "changes", only 3, flat, rising, falling. Either with a horizontal line, say a black line for flat, then if the slope moves from flat to rising printing a green horizontal line at the first bar close up, then when flat again it would print a black horizontal line at first closed bar flat. Another possible option would be to change the chart back ground color for each change of slope. I have been doing this manually on several indicators and multi- time frame and has been interesting to watch when they all get lined up together but hard to keep up with. Also open to other suggestions to accomplish this if another indicator exists.

Appreciate everyone's time, thanks

Fritz
Fritz is offline  
Reply With Quote
Old 02-09-2012, 02:06 AM   #2
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
Default

Welcome to our forums here - perhaps this post by Harry can provide you a starting point for your custom works in this area?

http://www.ninjatrader.com/support/f...99&postcount=3
NinjaTrader_Bertrand is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linear regression Slope lgarcia3 Indicator Development 12 08-29-2012 02:02 PM
Find the 'slope' on regression channel photog53 Indicator Development 4 06-02-2011 09:09 AM
An array for least squares regression line slope tinkerz General Programming 2 04-27-2010 09:34 AM
How to Change Line Color on Plot uprz23 Version 7 Beta General Questions & Bug Reports 2 11-16-2009 10:02 AM
Linear Regression Channel Slope jvracing General Programming 10 08-29-2008 07:01 PM


All times are GMT -6. The time now is 05:12 PM.