NexusFi: Find Your Edge


Home Menu

 



Categories Help    






Search Results
Searching for entries matching regression, looking in keywords for any words
Found 16 matching entries

Sort by

Entries
dpLRLWP3 NT8 5-18-2026 5 *
You are familiar with my dpLRL (Linear Regression Line) and that's the line in the picture. I wanted to something to tell me what a different period linear regression line was doing, so I decided to create some 'wallpaper' (the background) to show me. In the picture, the LRL is a smoothed 34 period. The wallpaper is a 21 period. When both are in agreement, you can see the results for yourselves. Add any other indicators that you think will help, and you have your set-up. Simple yet effective. Try it out and see if it helps. As always, leave a comment if you like it or hate it. Either way, they help the next version be better.

Best,
Dave P.


Category NinjaTrader 8 Indicators and More 
 
Suggest other entries I might like
Details: dpLRLWP3 NT8 5-18-2026
Category: NinjaTrader 8 Indicators and More 


May 18th, 2026
Size: 7.69 KB
Downloaded: 59 times

Keywords: background linear regression wallpaper
dpStochRSI NT8 3-4-2026 5 *
What was that old BASF commercial tag line? "We don't make the things you love, we make the things you love better." That's what I hope I accomplished with this little beauty. I took the original StochRSI and added some visual enhancements, then I added a second instance of it and made it my Trigger Line. I was very pleasantly surprised how darn well it worked for generating actionable signals.

Look at the screenshot. The green and red stars are the signals generated. Ok, 'so big deal' you say. And I'd say you're correct. As a stand-alone indicator, it's actually really good, but we want more than good. So the other line on the chart is my old reliable dpLRL (Linear Regression Line) indicator. So how to use them together? Wait for the StochRSI signal star to paint and then wait for the dpLRL's 'tab' (see arrows) to paint. When price closes on the far side of the line, consider the trade. Use the 'validation line extension' (those red and green horizontal thick line segments) to see if price is respecting the StochRSI's signal. If it is, even if it is a couple bars later, then consider entering at that point. Works on all bars and timeframes.

As always, feel free to give helpful feedback, positive or negative. It's the only way things get better.


Category The Elite Circle 
 
Suggest other entries I might like
Details: dpStochRSI NT8 3-4-2026
Category: The Elite Circle 


March 4th, 2026
Size: 10.47 KB
Downloaded: 322 times

Keywords: linear regression rsi signals stochastics dplrl
dpLRL 5 *
This is my take on the linear regression line. I think I've made it a bit more useful, but you will be the judge of that. The plotted object 'line' has three parts: the linear regression line, the warning tab, and the shadow.

The actual linear regression line fills the area between the shadow or outside boundary lines. The 'tab' (see arrows in picture) is the linear regression line, but it's painted to reflect that price is closing in the opposite direction of the linear regression. In effect, this gives a 'heads-up!' warning that price is weakening in its trajectory. As you see in the picture, the tab appears when price is no longer in agreement with the direction of the LinReg. The shadow is simply the outside border of the full line. Change the color and/or thickness of it to better see the line on light or dark charts.

The indicator will load with a relatively thick line, but everything is is adjustable. The period is set to 50, but I use 25 on my charts. Again, you'll decide how you want to use it.

As always, Mr. Phelps, should you or any of your team be caught or killed, the secretary will disavow any knowlege of your actions.
Then again, you can always get me at [email protected].

Please leave a comment. It's the only way I know if anyone finds this stuff useful. Thank you.


Category The Elite Circle 
 
Suggest other entries I might like
Details: dpLRL
Category: The Elite Circle 


March 26th, 2025
Size: 3.49 KB
Downloaded: 633 times

Keywords: linear regression reversals
Regression Channel (amaRegressionChannel) 5 *
Version 1.1 September 9, 2018

The Regression Channel already comes as a NinjaTrader default indicator. However, the NinjaTrader default indicator comes with a few limitations, which are adressed by this indicator:

- The default indicator calculates the regression channel from the last bar loaded by OnBarUpdate(). When the chart scrolled back horizontally, the regression channel remains in its future position until it drops out of the chart.
- The default indicator does not allow for calculating the linear regression channel a few bars ago and then project the channel lines forward until the current bar.

This version of the indicator has the two issues addressed:

- The regression channel is calculated from the last bar shown on the chart and will adapt its position accordingly when you scoll back the chart horizontally.
- You may enter an offset and calculate the regression channel a few bars ago. The regression channel will then be extended until the last bar shown on the chart.

Repainting behavior: All regression channels - whether linear or polynomial - belong to the class of repainting indicators. All regression channels are retrofitted to the selected lookback period. The repainting can be easily observed with this indicator when scrolling horizontally. The indicator comes with an option to display the regression bands. The regression bands show the trace that the regression channel has painted on the chart without repainting any prior bars.

Public DataSeries: The indicator comes with four additional public DataSeries that can be accessed via the strategy builder.

- Normalized slope - This is an output which returns the slope in synthetic degrees. The slope has been normalized by dividing it by the square root of the average true range and then applying the arctangent.
- NormalizedChannelWidth - This series returns the normalized channel width around the regression line and may be used as a measure of non-directional volatility.
- RegressionTrend - The regression trend holds the value + 1 for an upsloping regression line and -1 for a downsloping regression line.

Market Analyzer Columns: The indicator comes with three separately coded market analyer columns which allow for displaying normalized slope, normalized channel width and the regression trend on the market analyzer.


Category NinjaTrader 8 Indicators and More 
 
Suggest other entries I might like
Trigger Lines (amaTriggerLines) 5 *
Version 1.3 September 17, 2017

The Trigger Lines indicator is composed of two lines. The leading line is a linear regression indicator (LinReg). The lagging line or signal line is an exponential moving average (EMA) of the leading line.

This indicator comes with two different options for identifying and uptrend or downtrend:

Trigger line cross: When the leading regression line crosses above the signal line, this is the beginning of an uptrend. Vice-versa the indicator signals a downtrend, as long as the leading line remains below the signal line.

Thrust bars: An uptrend is detected via an upthrust bar that closes and has a median above both trigger lines. A downtrend follows a downthrust bar that closes and has a median below both trigger lines.

The second trend definition adapts faster to changing market conditions, but also produces a higher number of false signals. The trend can be shown via paint bars. The indicator further comes with sound alerts that will signal a trend change.


Category NinjaTrader 8 Indicators and More 
 
Suggest other entries I might like
Details: Trigger Lines (amaTriggerLines)
Category: NinjaTrader 8 Indicators and More 


October 30th, 2017
Size: 11.42 KB
Downloaded: 1978 times

Keywords: ema exponential linreg regression triggerlines trigger
Center of Gravity / Polynomial Regression Channel / Belkhayate COG 5 *
This is the Belkhayate COG (Center of Gravity) indicator. Also known as a polynomial regression channel with 3 std deviations and many other names. I transported this code directly from here.

If anybody has any useful information regarding the usability of the indicator I'd appreciate the feedback. The fact that it repaints takes a lot away from it, but here it is in case someone has use for it!


Category NinjaTrader 8 Indicators and More 
 
Suggest other entries I might like
Raff Regression Channel 5 *
This Indicator is the Raff Regression Channel or RRC. Some credit needs to be given to FatTails as I used his regression channel that painted bars as a starting point. You can find his code here:

https://nexusfi.com/?view

For more information on the Raff Regression Channel I suggest StockCharts.com here:

https://stockcharts.com/help/doku.php?id=chart_school:chart_analysis:raff_regression_chan

Let me know what you think, as feedback is always welcome.

Cheers,

SodyTexas


Category The Elite Circle 
 
Suggest other entries I might like
Details: Raff Regression Channel
Category: The Elite Circle 


April 22nd, 2014
Size: 3.05 KB
Downloaded: 609 times

Keywords: channel regression rrc raff
Trigger Lines 5 *
Exported using NT 7.0.1000.15


This is a simple implementation of the trigger lines which can be used as a trend filter. The trigger lines are composed of a linear regression indicator (LinReg) and a signal line, which is calculated as the exponential moving average (EMA) of the linear regression line.

When the LinReg indicator crosses above the signal line, it is considered bullish, if it crosses below, it is considered bearish.

The indicator allows to select a color for bullish and bearish conditions and shades the area between the trigger lines.

Default values used for the periods are 80 for the LinReg indicator and 20 for the EMA.

Update January 13, 2011: Indicator speed improved.
Update August 25, 2012: Algorithm for draw area improved to work with COBC = false.
Update October 5, 2013: Indicator code modified to allow for correct coloring when the plot is shifted.


Category NinjaTrader 7 Indicators 
 
Suggest other entries I might like
Details: Trigger Lines
Category: NinjaTrader 7 Indicators 


August 25th, 2012
Size: 7.91 KB
Downloaded: 4006 times

Keywords: ema linreg regression triggers triggerlines
Regression Channel V2 5 *
Exported using NT 7.0.1000.6

This indicator is an enhanced version of the NinjaTrader Regression Channel Indicator.

The indicator calculates the same values for the linear regression as the default NinjaTrader indicator does, but uses a modified Plot() method.

If you scroll the chart horizontally, this indicator will display the regression channel for the last bar painted on the chart, while the NinjaTrader indicator always displays the regression channel for the last bar of the data base.

To understand how it works, just put both indicators - the NinjaTrader default indicator and this indicator - on your chart and scroll horizontally, and you will notice the difference.

Update July 23, 2011: Indicator updated to work with non-equidistant bar spacing, as used by multi-series charts.


Category NinjaTrader 7 Indicators 
 
Suggest other entries I might like
Details: Regression Channel V2
Category: NinjaTrader 7 Indicators 


July 23rd, 2011
Size: 3.19 KB
Downloaded: 2504 times

Keywords: channel regression trendline
Linear regression line
Here is a linear regression line for MT5.

If somebody could improove it to become a Trigger line. Only the Exponential moving average have to be plot with the linreg line. It could be done with Costume moving average, which has the option (Previous indicators data). But it would be better if it would be coloured trigger line like in Ninjatrader.


Category MetaTrader 5 Indicators 
 
Suggest other entries I might like
Details: Linear regression line
Category: MetaTrader 5 Indicators 


July 1st, 2011
Size: 4.46 KB
Downloaded: 73 times

Keywords: line linear mt5 regression
 



 
Category
 




© 2026 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 - Downloads - Top