Search
futures io


Categories Help    

Search Results
Searching for entries matching median, looking in keywords for any words
Found 10 matching entries

Sort by

Entries
Multiple Moving Average Crosses (amaMultiMACross) 5 *
Version 2.2 March 8, 2020

The Multiple MA Cross indicator plots a fast and a slow moving average and colors the area between the two moving averages. Both the fast and the slow moving average may be selected from a collection of over 30 different moving averages.

The indicator is primarily designed as a trend filter to show whether the market is in an uptrend or in a downtrend. The indicator comes with two different trend definitions - cross and thrust. The trend is exposed as a double series and can be accessed via the NinjaTrader strategy builder or the market analyzer. Directly accessing the trend via the market analyzer requires a separately coded market analyzer column, which is not yet included with the install file.

Trend definition "MA Cross": The current trend changes to "uptrend" when the fast moving average crosses the slow moving average from below. The current trend changes to "downtrend" when the fast moving average crosses the slow moving average from above.

Trend definition "Thrust": The current trend changes from “downtrend” to “uptrend” with the first bullish thrust bar that plots above the upper moving average. A bullish thrust bar is a bar that closes above the prior bar’s high and has a larger range than the prior bar. The current trend changes from “uptrend” to “downtrend” with the first bearish thrust bar that plots below the lower moving average. A bearish thrust bar is a bar that closes below the prior bar’s low and has a larger range than the prior bar.

Moving averages available as fast and slow moving average:

- Adaptive Laguerre Filter
- ADXVMA
- Butterworth Filter
- DEMA
- Distant Coefficient Filter
- Double Weighted Moving Average (DWMA)
- Exponential Hull Moving Average (EHMA)
- EMA
- Gaussian Filter
- HMA
- Holt EMA
- Laguerre Filter
- LinReg
- Moving Mean TPO
- Moving Mean VWTPO
- Moving Median
- Moving Median TPO
- Moving Median VWTPO
- Range Weighted Moving Average (RWMA)
- Sine Weighted Moving Average (SWMA)
- SMA
- SuperSmoother
- TEMA
- Tillson T3
- TMA
- Triple Weighted Moving Average (TWMA)
- VWMA
- Wilder's Average
- WMA
- ZerolagHATEMA
- ZerolagTEMA
- ZLEMA

Applying the Multi MA Cross to indicators: The Multi MA Cross is designed to be applied to other indicators which may be selected as input series. However, some of the moving averages listed above will not support this feature. In case that a selected moving average does not support the feature the indicator will display an error message asking you to select a different moving average for the fast or the slow moving average. These are the moving averages that may not be selected when an indicator is chosen as input series: Mean TPO, Mean VWTPO, Median TPO, Median VWTPO, RWMA, VWMA, ZerolagHATEMA. These moving averages may only be applied to price.

Paint Bars: The MultipleMA Cross indicator comes with paint bars. The paint bars are colored according to the trend, where the trend maybe determined via the "MA Cross" or the "Thrust" option. The paint bars may be displayed without the indicator plots.


Category NinjaTrader 8 Indicators and More 
 
Suggest other entries I might like
Details: Multiple Moving Average Crosses (amaMultiMACross)
Category: NinjaTrader 8 Indicators and More 


January 8th, 2018
Size: 87.10 KB
Downloaded: 2684 times

Keywords: cross median movingaverage slingshot trend trendfilter
SuperTrend U11 (amaSuperTrendU11) 5 *
Version 2.3*) November 16, 2017

The SuperTrend indicator is an application of the concept of MAE (maximum adverse excursion), which was introduced by John Sweeney in the mid-nineties. It is a Stop-And-Reverse (SAR) indicator based on breakouts from a modified Keltner channel.

The SuperTrendU11 is an enhanced version of the original SuperTrend indicator that comes with the following modifications:

- You may select between 36 different moving averages for the baseline.
- The baseline is calculated one bar ago to avoid recalculating with each incoming tick.
- You may select from 4 different volatility measures - average true range, average range, residual mean absolute deviation and residual root mean square deviation
- Average true range and average range can be calculated from 30 different moving averages.
- All volatility measures are also calculated one bar ago.

In fact there is no point in moving a trailing stop towards the current price intra-bar. Therefore a trailing stop should always be calculated from the prior bar and not the last price.

When you import the install file to NinjaTrader, it will also install the following moving averages:

- Moving Median
- Moving Median TPO
- Moving Median VWTPO
- Moving Mean TPO
- Moving Mean VWTPO
- Adaptive Laguerre Filter
- ADXVMA
- Butterworth Filter
- Distant Coefficient Filter
- Double Weighted Moving Average (DWMA)
- Exponential Hull Moving Average (EHMA)
- Gaussian Filter
- Holt EMA
- Laguerre Filter
- Range Weighted Moving Average
- SuperSmoother
- Sine Weighted Moving Average
- Tillson T3
- Triple Weighted Moving Average (TWMA)
- ZerolagHATEMA
- ZerolagTEMA

It will also install debugged versions of MAX and MIN, as the in-built versions supplied with NT8 do not work correctly with Renko bars (RemoveLastBarSupported).

The SuperTrend U11 can be set to revert intra-bar or at the bar close. With default settings the stop line is only broken, when there is a bar close beyond the stop. The indicator further comes with paint bars and sound alerts.

The SuperTrend is a trend indicator, which can be used in various ways. It is best used as a trailing stop or as a trend filter. It can also be used as a stop-and-reverse indicator, but will only work as such in trending markets. Typically it will allow for profitable results while the market is trending and then give the money back in sideways markets.

Note: The SuperTrend U11 has the trend exposed as a public property. This property can be accessed programmatically. However, it cannot be currently accessed via the market analyzer. In order to access the Trend series via the market analyzer, a specific MarketAnalyzerColumn is required. The MarketAnalyzerColumn is not yet included with the install file, as it has led to freezes with NT 8.0.8.0. The bug has been confirmed by NinjaTrader developers and only fixed with the latest release NT 8.0.9.0. (issue #12054). The market analyzer column and sound files for the SuperTrend U11 will be available with a future update.

*) Unfortunately, the forum software always renames zip files to match the original file name. Therefore the zip file refers to a prior version of the amaSuperTrendU11. Be assured that the zip file contains the indicator version referenced in the headline.


Category NinjaTrader 8 Indicators and More 
 
Suggest other entries I might like
SuperTrend M11 (amaSuperTrendM11) 5 *
Version 2.0*) October 15, 2017

The SuperTrend indicator is an application of the concept of MAE (maximum adverse excursion), which was introduced by John Sweeney in the mid-nineties. It is a Stop-And-Reverse (SAR) indicator based on breakouts from a modified Keltner channel.

The SuperTrendM11 is an enhanced version of the original SuperTrend indicator that comes with the following modifications:

- The moving average has been replaced with a more robust median.
- The median is calculated one bar ago to avoid recalculating with each incoming tick.
- The average true range (ATR) is calculated one bar ago to avoid recalculating with each incoming tick.

In fact there is no point in moving a trailing stop towards the current price intra-bar. Therefore a trailing stop should always be calculated from the prior bar and not the last price.

This version of the SuperTrend can be set to revert intra-bar or at the bar close. With default settings the stop line is only broken, when there is a bar close beyond the stop. The indicator comes with paint bars and sound alerts.

The SuperTrend is a trend indicator, which can be used in various ways. It is best used as a trailing stop or as a trend filter. It can also be used as a stop-and-reverse indicator, but will only work as such in trending markets. Typically it will allow for profitable results while the market is trending and then give the money back in sideways markets.

Note: The SuperTrend M11 has the trend exposed as a public property. This property can be accessed programmatically. However, it cannot be currently accessed via the market analyzer. In order to access the Trend series via the market analyzer, a specific MarketAnalyzerColumn is required. The MarketAnalyzerColumn is not yet included with the install file, as it has led to freezes with NT 8.0.8.0. The bug has been confirmed by NinjaTrader developers and only fixed with the latest release NT 8.0.9.0. (issue #12054). The market analyzer column and sound files for the SuperTrend M11 will be available with a future update.

*) Unfortunately, the forum software always renames zip files to match the original file name. Therefore the zip file refers to a prior version of the amaSuperTrendM11. Be assured that the zip file contains the indicator version referenced in the headline.


Category NinjaTrader 8 Indicators and More 
 
Suggest other entries I might like
Details: SuperTrend M11 (amaSuperTrendM11)
Category: NinjaTrader 8 Indicators and More 


October 20th, 2017
Size: 15.15 KB
Downloaded: 832 times

Keywords: atr averagetruerange median sar supertrend trailing trailingstop
Moving Median (amaMovingMedian) 5 *
Version 2.0 October 15, 2017

The Moving Median is a central tendency which is calculated over a sliding window of price bars or indicator values. The median is the numeric value separating the higher from the lower half of the data set built from the input series over the selected window.

The moving median is a non-linear FIR (finite impulse response) filter that can be used like a moving average. Compared to all standard moving averages, it is a more robust central tendency, because it is less sensitive to outliers.

The moving median over a lookback period N is calculated by writing the last N values of the input series to an array, sorting the array and selecting the middle value of that array.


Category NinjaTrader 8 Indicators and More 
 
Suggest other entries I might like
Details: Moving Median (amaMovingMedian)
Category: NinjaTrader 8 Indicators and More 


October 20th, 2017
Size: 2.47 KB
Downloaded: 430 times

Keywords: median moving movingmedian statistics
Moving Mean, Median and Mode - TPO & VWTPO 5 *
Exported using NT Version 7.0.1000.14

Moving averages are widely used as tools in technical analysis. They come in all variations and colors. The simple moving average can be considered as a moving mean of the close values of a series of price data. Many other indicators are weighted moving averages, which are also applied to the close values.

However, there are other measures for statistical distributions, which are usually neglected. This includes the median and the mode.

Also most moving averages are only calculated from the close values, where as open, high and low are neglected. Why ignore information which is already contained in the price data?

This package includes a TPO mean, a TPO median, a TPO mode (calculated from high and low points of price) and a VWTPO mean, a VWTPO median and a VWTPO mode (calculated from both price and volume data). TPO and VWTPO indicators do not use the open value and the close value, but both assume that the volume is evenly distributed over the range of a price bar. Although this information is mostly incorrect, it is still a better approach when compared to the traditional solution of calculating indicators exclusively from the close values.

Here is a description of the six indicators:

Moving Mean (TPO):

This indicator can be considered as a range weighted moving average that uses the bar center (high + low)/2 as input series. Usually wide range bars have a higher volume than narrow range bars. This makes sense giving them a higher weight. When a breakout occurs, the MovingMean (TPO) will adapt faster than a traditional SMA. Compared to a SMA the lag is reduced when volatility increases, but it is lagging more when volatility decreases.

Moving Mean (VWTPO):

This indicator is identical to the VWMA, when the bar center (high + low)/2 is used as input series. It is pretty similar to the TPO mean, but uses real volume instead of approximating it via the range. The properties of this indicator are similar to the TPO mean, but it should be slightly more accurate.

Moving Median (TPO):

A statistical median calculated from all data points of all bars contained within the lookback period. Compared to a standard median calculated from the closes (also see here: https://futures.io/download/ninjatrader-7/indicators/829-download.html?view ), it should give a better approximation of the statistical median of the entire price volume distribution. The median is the most stable of the three statistical measures and probably the most representative as well.

Moving Median (VWTPO):

This indicator is similar to the TPO median, but should give an even better approximation of the the statistical median of the price volume distribution.

Moving Mode (TPO):

The indicator shows the price with the highest occurence over the lookback period of the indicator. As the price volume distribution of the single price bars over the lookback period is unknown, there can be a significant error in any estimation. Unlike the median, the mode is not self-correcting in a way that errors cancel out. It should therefore be used with prudence. However, this indicator will still yield far better results than the Pearson formula, which should only be applied to unimodal distributions.

Moving Mode (VWTPO):

The indicator shows a better accuracy than the TPO mode, but still suffers from its inherent instability.


Category NinjaTrader 7 Indicators 
 
Suggest other entries I might like
Details: Moving Mean, Median and Mode - TPO & VWTPO
Category: NinjaTrader 7 Indicators 


August 6th, 2013
Size: 17.15 KB
Downloaded: 1307 times

Keywords: mean median mode statistics tpo vwtpo
SuperTrend M11 5 *
Exported using NT Version 7.0.1000.11

Please download the new Supertrend U11 (Universal), which allows to calculate the stop line from median, mode and 27 other moving averages.

This is a new implementation of the TradeStation SuperTrend indicator for NinjaTrader 7. The SuperTrend indicator is an application of the concept of MAE (maximum adverse excursion), which was introduced by John Sweeney in the mid-nineties.

The SuperTrend M11 is particularly stable and has a few advantages over other SuperTrend indicators:

It uses a moving (statistical) median of the arithmetic mean (High + Low)/2 of the bars instead of a moving average. The (statistical) median is known to be more robust than any average.

It calculates both the Median and the ATR (average true range) 1 bar ago, whereas the original SuperTrend indicator takes the ATR and moving average of the current bar. If you use the current bar's ATR, the current bar's breakout is partly measured against its own range. This is particularly true, if the ATR period is short.

Accessing the trend: The indicator comes with a BoolSeries that holds the trend. This BoolSeries can be accessed by other indicators or automated strategies.

Reverse Intra-bar = false: This is the default setting of the indicator. A logical signal will be generated when the close of the signal bar has taken out the stop line. The position may be reversed at the open of the next bar. The paint bars will only change colors for the bar after the signal bar. The arrow will be also plotted for the entry bar.

Reverse Intra-bar = true: This is an unusual setting for the SuperTrend. The signal will be generated with the first tick that has plotted on the other side of the stop line. In this case the position may be reversed intra-bar for the signal bar. Paintbars and arrows will already plot for the signal bar.

Paintbars: The indicator has an option to display the current trend via paintbars. Downclose bars are filled, upclose bars are hollow. For the upclose bars an opacity can be selected for better visibility.

Arrows: The indicator has an option to display trend changes via an arrow.

Sound alerts: The indicator will alert to trend reversals and potential trend reversals. A potential trend reversal occurs when price touches the stop line intra-bar prior to the confirmation by a close on the other side of the stop line. The sound files are included with the indicator install file. Please unzip and copy them into the program files (x86)\ NinjaTrader 7\ sounds directory or whatever directory is used by NinjaTrader to store the sound files.

Comparison between SuperTrend M1 and SuperTrend M11:

The SuperTrend M11 calculates both the average true range and the median 1 bar ago. This results in a considerable saving in CPU load, if you use the indicators in CalculateOnBarClose = false mode. The SuperTrend M11 does the median calculation only once per bar, while the SuperTrend M1 recalculates it with every incoming tick. If you use the indicator with CalculateOnBarClose = true setting, you can also continue to use the SuperTrend M1. There will be no significant difference in performance.

Changed formula: The Supertrend M11 will give slightly different results, when compared with the Supertrend M1. If you want to reproduce the settings of your Supertrend M1, you should use the same value for the ATR period and the ATR multiplier, but reduce the value for the median period by 1. The result will still not be identical. Also for both indicators a minimum size for the ATR values has been imposed, the ATR may not be smaller than the ticksize. This is only important for lower timeframes during low volatility and prevents the SuperTrend from changing the trend too often.

SuperTrend M1: The indicator package contains an updated version of the SuperTrend M1. However, I recommend to switch to SuperTrend M11.

Update August 10, 2011 : Visual design improved. The new indicator version can also be called by other indicators and strategies.
Update May 23, 2012: Entirely recoded version, which uses Median and ATR 1 bar ago to avoid recalculation with every tick. Sound alerts added that trigger intra-bar and which can be used on replay. Smaller improvements added.
Update May 24, 2012: Bug removed, upclose candles were not plotting properly.
Update June 30, 2012: New SuperTrend U11 "Universal" released, this is a new indicator - see link for more information
Update October 2, 2012: Indicator simplified. Trend state can no longer change intra-bar.
Update October 3, 2012: Indicator now allows for displacement. BoolSeries modified for accessing the trend. Trend change intra-bar is possible with option reverse intra-bar and COBC = false.
Update March 5, 2013: Arrows now plotting one bar earlier for the option Reverse intra-bar = true.


Category NinjaTrader 7 Indicators 
 
Suggest other entries I might like
Details: SuperTrend M11
Category: NinjaTrader 7 Indicators 


March 6th, 2013
Size: 229.56 KB
Downloaded: 11514 times

Keywords: atr averagetruerange median movingmedian supertrend
SuperTrend U11 5 *
Exported using NT Version 7.0.1000.11

This is a new implementation of the TradeStation SuperTrend indicator for NinjaTrader 7. The SuperTrend indicator is an application of the concept of MAE (maximum adverse excursion), which was introduced by John Sweeney in the mid-nineties. The SuperTrend can be viewed as a trailing stop and changes direction, when the trailing stop is taken out.

The SuperTrend U11 calculates both the baseline and the offset 1 bar ago, as did the SuperTrend M11. This is to reduce CPU load and avoid feedback loops.

Accessing the trend: The indicator comes with a BoolSeries that holds the trend. This BoolSeries can be accessed by other indicators or automated strategies.

Reverse Intra-bar = false: This is the default setting of the indicator. A logical signal will be generated when the close of the signal bar has taken out the stop line. The position may be reversed at the open of the next bar. The paint bars will only change colors for the bar after the signal bar. The arrow will be also plotted for the entry bar.

Reverse Intra-bar = true: This is an unusual setting for the SuperTrend. The signal will be generated with the first tick that has plotted on the other side of the stop line. In this case the position may be reversed intra-bar for the signal bar. Paintbars and arrows will already plot for the signal bar.

Paintbars: The indicator has an option to display the current trend via paintbars. Downclose bars are filled, upclose bars are hollow. For the upclose bars an opacity can be selected for better visibility.

Arrows: The indicator has an option to display trend changes via an arrow.

Sound alerts: The indicator will alert to trend reversals and potential trend reversals. A potential trend reversal occurs when price touches the stop line intra-bar prior to the confirmation by a close on the other side of the stop line. The sound files are included with the indicator install file. Please unzip and copy them into the program files (x86)\ NinjaTrader 7\ sounds directory or whatever directory is used by NinjaTrader to store the sound files.

Comparing Supertrend U11 to Supertrend M11:

The SuperTrend U11 is a generalization of the SuperTrend M11.

-> The SuperTrend M11 uses the moving median of the arithmetic mean (High + Low)/2 one bar ago and adds/subtracts a multiple of the average true range one bar ago.

-> The SuperTrend U11 allows you to use the median as above , but instead you can also calculate the baseline from a selection of other indicators. These are the options available for the baseline

- a moving median
- a moving mode
- an ADXVMA
- a 2-pole Butterworth filter
- a 3-pole Butterworth filter
- a DEMA (double exponential MA)
- a DSMA (double simple MA)
- a DTMA (double triangular MA)
- a DWMA (double weighted MA)
- an Ehlers filter
- an EMA
- a 2-pole Gauss filter
- a 3-pole Gauss filter
- a 4-pole Gauss filter
- a HMA (Hull MA)
- a Holt EMA
- a Linear Regression indicator
- a LLMA (phase set to 0)
- a SMA
- a 2-pole Supersmoother
- a 3-pole Supersmoother
- a TEMA (triple exponential MA)
- a TMA (triangular MA)
- a TSMA (triple simple MA)
- a TWMA (triple weighted MA)
- a VWMA(volume weighted MA)
- a WMA (weighted MA)
- a ZeroLagHATEMA
- a ZeroLagTEMA
- a ZLEMA

While the SuperTrend M11 uses the average true range as an offset, the offset for the SuperTrend U11, can be selected as

- a moving average (or median, mode) of the simple range
- a moving average (or median, mode) of the true range
- the standard deviation

The added options will not slow down the indicator, as the selection becomes effective, when the indicator is added.

You can reproduce the SuperTrend M11 with the SuperTrend U11, if you apply it to the arithmetic mean (Median in NinjaSpeak) and select "Median" for the baseline, "EMA" for offset smoothing and "True Range" for offset type. However you need to take into account that the ATR uses Wilder's exponential smoothing (smoothing constant k = 1/n) which is different from the EMA (smoothing constant k = 2/(n+1)). For example an offset period of 8 for the SuperTrend M11 will produce a smoothing factor of 1/8 and translate to an offset period of 15 for the SuperTrend U11.

Update July 3, 2012: ADXVMA option for baseline added.
Update July 5, 2012: Bug removed - Butterworth, Gauss and Supersmoother Fillter did not use the specified baseline period.
Update August 17, 2012: Old version of ADXVMA replaced with new version.
Update August 31, 2012: Ehlers filter updated.
Update October 2, 2012: Indicator simplified. Trend state can no longer change intra-bar. Gaussian and Ehlers filters updated. Mode removed from options.
Update October 3, 2012: Indicator now allows for displacement. BoolSeries modified for accessing the trend. Trend change intra-bar is possible with option reverse intra-bar and COBC = false.
Update March 5, 2013: Arrows now plotting one bar earlier for the option Reverse intra-bar = true.

For the last three updates you also need to update Bollinger Universal & Keltner Universal, if you have them installed. Please remove old versions of those indicators first.


Category NinjaTrader 7 Indicators 
 
Suggest other entries I might like
Details: SuperTrend U11
Category: NinjaTrader 7 Indicators 


March 6th, 2013
Size: 285.67 KB
Downloaded: 7686 times

Keywords: atr averagetruerange median movingmedian supertrend trailingstop
NonLinear Moving Averages collection 5 *
Attached is a collection of 7 NonLinear Moving Averages and their functions for easy use in backtesting. Every indicator also contains an option to color the line to signal up and downtrends, and the user can specify these colors.

This pack include the following moving averages:
  • KAMA (Kaufman Adaptive Moving Average),
  • VIDYA (Variable Index Dynamic Average),
  • MAMA (MESA Adaptive Moving Average),
  • Ehlers Filter,
  • Median-MA Difference Filter,
  • FRAMA (Fractal Adaptive Moving Average),
  • NonLinear Laguerre Filter.
If you want to import a specific indicator, uncheck the other ones while importing them in MultiCharts.


The example screenshot just shows one nonlinear moving average to give an idea.


Source: John Ehler's presentation 'Building Trading Systems on NonLinear Filters' at the TradeStationWorld 2005 Expo.


Category MultiCharts 
 
Suggest other entries I might like
Details: NonLinear Moving Averages collection
Category: MultiCharts 


January 22nd, 2012
Size: 49.54 KB
Downloaded: 433 times

Keywords: ehler fractals frama kama laguerre ma mama median movingaverage nonlinear vidya
Ehlers Collection for NT 7 5 *
Exported using NT Version 7.0.1000.3

This is a collection of various filters by John Ehlers outlined in his books "Rocket Science for Traders" and "Cybernet Analysis for Stocks and Futures".

The following indicators are included:

- Adaptive Cyber Cycle
- Adaptive CCI
- Adaptive Center of Gravity
- Adaptive Laguerre Filter
- Adaptive Relative Vigor Indicator
- Dominant Cycle
- Dominant Cycle Oscillator
- Hilbert Sinewave Oscillator
- Hilbert Transform 2
- Instantaneous Trend
- Laguerre Filter
- Laguerre RSI
- Median Indicator
- Smoothed Adaptive Momentum

This collection of Ehlers indicators was originally submitted by Piersh. I have simply ported the indicators to NinjaTrader 7.


Category NinjaTrader 7 Indicators 
 
Suggest other entries I might like
Details: Ehlers Collection for NT 7
Category: NinjaTrader 7 Indicators 


February 20th, 2011
Size: 35.71 KB
Downloaded: 2708 times

Keywords: adaptive cci centerofgravity cybercycle dominantcycle filter hilbert laguerre median momentum rvi sinewave transform trend
Moving Median 5 *
Exported using NT Version 7.0.1000.3


Besides the average there are other statistical measures to describe the behavior of a sample of n values. One of these measures the median, which is the numeric value separating the higher half of the sample from the lower half of the sample. In case that the number n of the values of the sample is even, the median is defined as the mean of the two middle values.

The median is statistically more robust than any average, as it does not take into account outliers or black swans. A moving average can be replaced with the moving median for many purposes.

This indicator calculates the moving median by writing the last n values to an array, sorting the array and selecting the middle value - or in case that n is even, the two middle values of the sample.

The NinjaScript method GetMedian() is not used, because it is flawed.


Category NinjaTrader 7 Indicators 
 
Suggest other entries I might like
Details: Moving Median
Category: NinjaTrader 7 Indicators 


February 13th, 2011
Size: 2.12 KB
Downloaded: 957 times

Keywords: median movingmedian
 


 
Category
 



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, 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.