Note: If you find bugs, have feature requests, or anything else, post in THIS thread.
IMPORTANT: Read before install. This is an Average DAILY range indicator, so you MUST have at least the number of days you are setting your ADR to compute an ADR. This includes weekends that don't have data. So if it does not work, MAKE sure you have enough days loaded. E.g., if you are trying to display a 14-day average, but only have 10 actual days of data(excluding weekends), the indicator will return a null value(∞).
------------------------------------------------------------
This indicator will display an ADR on your screen. It will also display projections of that ADR as the day progresses.
As the range is extended, the lines will adjust until the ADR is achieved... The lines will then LOCK in place, change color and remain FIXED for the rest of the session. The image attempts to show this.
The lines produced are projections, NOT predictions. The lines are simply the result of subtracting the ADR from the CURRENT daily High to plot the LOW projection, and the opposite to plot the HIGH projection. This is why the lines will adjust and shrink as the range expands.
Setting "AutoScaleLines" to true, will autoscale so that the lines are always in view on your chart. I.e., this will shrink the bars.
The on-Screen text should be self-explanatory, but the label of "complete" simply describes the current day's range as a percentage of the ADR. E.g., a value of 50% tells you the CURRENT day's range is 1/2 the ADR.
You can either on-screen display, lines or both.
The indicator will update in real-time, on each tic.
Note, installing this indicator will create a folder in your indicators called "BTMM", that's where the indicator will be.
->UPDATE(26Nov2020): V2 of Indicator. Added new Parameter called Last-Bar SmartFit. This parameter will push the ADR(the lines) to the LOD(Low of Day) or HOD(High of Day), on the LAST bar in the session. This will occur when the ADR is NOT achieved on that day.
It works by putting the range on whichever came FIRST(LOD or HOD). THis is mostly visual, as I like to see visually, by how much the ADR was missed. Mostly just an easier way to see historical data. This adjustment will ONLY occur on the LAST bar of the session.
THIS image below attempts to explain what the new parameter is doing.
Many thanks to JonnyBoy who has converted the range bar marker "jtRangeMarker_N7" to NT8.
For range bars only. This indicator plots the maximum high or minimum low of a forming Range Bar. The plots disappear as soon as a new bar forms or the current bar has filled its required range. Draws a box around the current candle that indicates how much further a bar would have to move before the range is exhausted and new bar begins to paint.
The general idea was to better clarify both entry and exit points.
So I created a combination Bollinger Bands and Pivot Points indicator, but utilizing the MIN and MAX functions in order to eliminate the smoothing that comes with Bollinger Bands. By doing so market fluctuations are (for me at least) more clearly defined.
Though I mostly use range bars other bar types also work well.
It is not unusual for me to "turn off" the bars themselves by making them transparent. Much less distracting clutter on the screen and I like things simple.
However, early on it is best to leave the bars visible in order to fully understand the various patterns created by the indicator. Whether in chop or a trending market certain patterns quite often become obvious. And those patterns repeat time and time again.
The Multiple Keltner Channels are a generalized version of the Keltner Channels.
Standard Keltner channels are built from a simple moving average (SMA) and two channels lines above and below. The two lines above and below are drawn at a distance from the center line, a distance which is a multiple of the simple moving average of the ranges of the past N bars.
The generalized concept has the SMA replaced with any of 30 moving averages. The volatility measure used to calculate the distance of upper and lower line from the center line can be derived from an average range (AR) or average true range (ATR). You may select different lookback periods for the moving average that serves as the center line and the moving average which is applied to the range or true range.
The Multiple Keltner Channels come with an additional smoothing option for center line and channel lines. The additional smoothing is obtained by further smoothing all plots with a 3-period simple moving average (SMA).
Moving averages available for calculating the center line:
- 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 Median
- Moving Median TPO
- Range Weighted Moving Average (RWMA)
- Sine Weighted Moving Average (SWMA)
- SMA
- SuperSmoother
- TEMA
- Tillson T3
- TMA
- Triple Weighted Moving Average (TWMA)
- Wilder's Average
- WMA
- ZerolagHATEMA
- ZerolagTEMA
- ZLEMA
Moving averages colored according to slope: You may also use this indicator to display any of the above listed moving averages and color them according to slope. The slope is not based on a geometrical concept, as this would not be compatible with the scalability of modern charting applications. The indicator adjusts slope to bar volatility such that the indicator may be used across all instruments and bar types with the same settings. The slope is shown as upsloping, downsloping or flat. The degree of flatness which is still considered as being flat may be adjusted via the neutral threshold parameter. When you set that parameter to zero, the slope will not show any flat sections, but the moving average will always be identified as upsloping or downsloping. Channel lines may be unselected, if you just wish to display the selected moving average.
Volatility measures: The standard Keltner channel uses the range. This indicator also for substituting the range with the average true range. The average true range is used as default option to facilitate the application of the Multiple Keltner Channels to other indicators.
Applying the Multiple Keltner Channels to indicators: When an indicator is used as input series, the range will always return the value 0. However, the average true range will return the absolute amount of the difference of two neighbouring data points of the selected input series. Therefore the indicator may only be applied to other indicators, as long as the offset formula is set to "True_Range".
Paint Bars: The Multiple Keltner Channel indicator comes with paint bars. The paint bars are colored according to the slope of the center line. The paint bars may be displayed without the indicator plots. The colors of the paint bar will then show the slope of the moving average selected as center line.
Sound Alerts: In case that the sound alerts are active, the indicator will alert you when the trend derived from the slope of the center line changes. Currently, there are no sound files included with the zip file, but it is easy to create them and copy them to the NinjaTrader sounds directory.
The Session Pivots Monthly is an enhanced pivots indicator which allows for displaying floor pivots, wide pivots, Jackson Zones and Fibonacci pivots.
All pivots are calculated from daily bars (default setting) or from the bar series that has been selected as input series. The indicator may be used to display ETH pivots on an full session chart or RTH pivots on a regular session chart. It is not designed to display RTH pivots on a full session chart. When pivots are calculated from daily bars, they are typically calculated from the full session high, the full session low and the settlement price. However, the daily data depends on the data supplier and reflects the daily high, low and close as shown on a daily chart.
Pivot range: The indicator is set to display the pivot range which is the range between CP and DP. The pivot range is a symmetrical range around the main pivot PP. A wide pivot range follows after a trending month with a close near the highs or the lows. A narrow pivot range indicates that the prior month was a balancing month and closed near the central pivot.
Prior month high, low and close: The indicator also displays the high, low and close for the prior trading month. These levels often act as support or resistance during the current trading month. Moreover, prior month high, low and close reflect the input data for calculating all pivot values and can be visually checked against the chart bars, while this is not possible for the pivots themselves.
Pivot formulas:
All options: H = prior month high, L = prior month low, C = prior month close, X = H - L
Main Pivot: P = (H+L+C)/3
Central Pivot: CP = (H+L)/2
Directional Pivot: DP = 2*P - CP
Floor Pivots: P = (H+L+C)/3, R1 = 2*P - L, S1 = 2*P - H, R2 = P + X, S2 = P - X, R3 = R1 + X, S3 = S1 - X, R4 = R3 + (P-L), S4 = S3 - (H-P)
Wide Pivots: P = (H+L+C)/3, R1 = 2*P - L, S1 = 2*P - H, R2 = P + X, S2 = P - X, R3 = R2 + X, S3 = S2 - X, R4 = R3 + X, S4 = S3 - X
Jackson Zones: R1 = P + 0.5*X, S1 = P - 0.5*X, RB1 = P + 0.618*X, SB1 = P - 0.618*X, R2 = P + X, S2 = P - X, RB2 = P + 1.382*X, SB2 = P - 1.382*X
Fibonacci Pivots: R1 = P + 0.382*X, S1 = P - 0.382*X, R2 = P + 0.618*X, S2 = P - 0.618*X, R3 = P + X, S3 = P - X, R4 = P + 1.382*X, S4 = P - 1.382*X
Update version 2.6.: Enhanced CPU efficiency. Minor changes.
Nota: The forum software has renamed the downloadable zip file to the false version number 2.0. Please disregard the version number of the zip file. The zip file contains the indicator version as specified above.
The Session Pivots Weekly is an enhanced pivots indicator which allows for displaying floor pivots, wide pivots, Jackson Zones and Fibonacci pivots.
All pivots are calculated from daily bars (default setting) or from the bar series that has been selected as input series. The indicator may be used to display ETH pivots on an full session chart or RTH pivots on a regular session chart. It is not designed to display RTH pivots on a full session chart. When pivots are calculated from daily bars, they are typically calculated from the full session high, the full session low and the settlement price. However, the daily data depends on the data supplier and reflecta the daily high, low and close as shown on a daily chart.
Pivot range: The indicator is set to display the pivot range which is the range between CP and DP. The pivot range is a symmetrical range around the main pivot PP. A wide pivot range follows after a trending week with a close near the highs or the lows. A narrow pivot range indicates that the prior week was a balancing week and closed near the central pivot.
Prior week high, low and close: The indicator also displays the high, low and close for the prior trading week. These levels often act as support or resistance during the current trading week. Moreover, prior week high, low and close reflect the input data for calculating all pivot values and can be visually checked against the chart bars, while this is not possible for the pivots themselves.
Pivot formulas:
All options: H = prior week high, L = prior week low, C = prior week close, X = H - L
Main Pivot: P = (H+L+C)/3
Central Pivot: CP = (H+L)/2
Directional Pivot: DP = 2*P - CP
Floor Pivots: P = (H+L+C)/3, R1 = 2*P - L, S1 = 2*P - H, R2 = P + X, S2 = P - X, R3 = R1 + X, S3 = S1 - X, R4 = R3 + (P-L), S4 = S3 - (H-P)
Wide Pivots: P = (H+L+C)/3, R1 = 2*P - L, S1 = 2*P - H, R2 = P + X, S2 = P - X, R3 = R2 + X, S3 = S2 - X, R4 = R3 + X, S4 = S3 - X
Jackson Zones: R1 = P + 0.5*X, S1 = P - 0.5*X, RB1 = P + 0.618*X, SB1 = P - 0.618*X, R2 = P + X, S2 = P - X, RB2 = P + 1.382*X, SB2 = P - 1.382*X
Fibonacci Pivots: R1 = P + 0.382*X, S1 = P - 0.382*X, R2 = P + 0.618*X, S2 = P - 0.618*X, R3 = P + X, S3 = P - X, R4 = P + 1.382*X, S4 = P - 1.382*X
Update version 2.6.: Enhanced CPU efficiency. Minor changes.
Nota: The forum software has renamed the downloadable zip file to the false version number 2.0. Please disregard the version number of the zip file. The zip file contains the indicator version as specified above.
The Session Pivots Daily is an enhanced pivots indicator which allows for displaying floor pivots, wide pivots, Jackson Zones and Fibonacci pivots.
All pivots are calculated from daily bars (default setting) or from the bar series that has been selected as input series. The indicator may be used to display ETH pivots on an full session chart or RTH pivots on a regular session chart. It is not designed to display RTH pivots on a full session chart. When pivots are calculated from daily bars, they are typically calculated from the full session high, the full session low and the settlement price. However, the daily data only depends on the data supplier and will reflect the high, low and close as shown on a daily chart.
Workaround for displaying RTH pivots on a full session chart:
- Add a secondary bar series to your primary price panel with a RTH trading hours template.
- Set the colors for candle outlines, candle wicks, up and down bars to transparent.
- Apply the amaPivotsDaily indicator to the secondary bar series.
The indicator will now display RTH pivots on a full session chart. However, the pivots will only be displayed after the start of the regular session.
Pivot range: The indicator is set to display the pivot range which is the range between CP and DP. The pivot range is a symmetrical range around the main pivot PP. A wide pivot range follows after a trending day with a close near the highs or the lows. A narrow pivot range indicates that the prior day was a balancing day and closed near the central pivot.
Prior day high, low and close: The indicator also displays the high, low and close for the prior trading day. These levels often act as support or resistance during the current trading day. Moreover, prior day high, low and close reflect the input data for calculating all pivot values and can be visually checked against the chart bars, while this is not possible for the pivots themselves.
Pivot formulas:
All options: H = prior day high, L = prior day low, C = prior day close, X = H - L
Main Pivot: P = (H+L+C)/3
Central Pivot: CP = (H+L)/2
Directional Pivot: DP = 2*P - CP
Floor Pivots: P = (H+L+C)/3, R1 = 2*P - L, S1 = 2*P - H, R2 = P + X, S2 = P - X, R3 = R1 + X, S3 = S1 - X, R4 = R3 + (P-L), S4 = S3 - (H-P)
Wide Pivots: P = (H+L+C)/3, R1 = 2*P - L, S1 = 2*P - H, R2 = P + X, S2 = P - X, R3 = R2 + X, S3 = S2 - X, R4 = R3 + X, S4 = S3 - X
Jackson Zones: R1 = P + 0.5*X, S1 = P - 0.5*X, RB1 = P + 0.618*X, SB1 = P - 0.618*X, R2 = P + X, S2 = P - X, RB2 = P + 1.382*X, SB2 = P - 1.382*X
Fibonacci Pivots: R1 = P + 0.382*X, S1 = P - 0.382*X, R2 = P + 0.618*X, S2 = P - 0.618*X, R3 = P + X, S3 = P - X, R4 = P + 1.382*X, S4 = P - 1.382*X
CME holidays: There are six holiday sessions every year which are integrated with the following trading day. These holidays are Martin Luther King Day, President's Day, Memorial Day, Independence Day, Labor Day and Thanksgiving. The holiday sessions do not qualify as trade dates and there is no settlement. For this reason quality data feeds will not show daily bars. When "Input Data" is set to "DailyBars", the amaPivotsDaily will correctly calculate the pivots for both the holiday sessions and the trading day that follows the holiday. The NinjaTrader in-built pivots indicator will produce false values on the days after the holiday session. When "Input Data" is set to "Full Session", both indicators will calculate false values for the day after the holiday session.
Comparison to pivot indicators coded for NinjaTrader 7: For NinjaTrader 7 I had used subdivided session templates for calculating RTH pivots on full session charts. This approach was too complicated and mainly confused users. Subdivided session templates also truncate all bars at the session begin and the session end, which in turn distorts other indicators such as moving averages or oscillators. Therefore all our NT8 indicators are now compatible with the default trading hours template <instrument settings>. However, the new approach makes the task of coding RTH pivots for full session charts more complex. Such an indicator needs to add a third bar series with minute data and also come with a small data base containing the regular trading hours and holidays for the most liquid futures contracts. This can no longer be provided free of charge.
On the other hand the pivot indicators for NinjaTrader 8 have become more reliable. Preloading of daily data is no longer necessary, as the pivots indicator will load daily data automatically, when applied to a chart. This makes the pivots easier to use and less error prone.
Update version 2.1.: Bug removed. Indicator did not display pivots calculated from daily data, when the first day of the lookback period of the chart was a trading day without daily settlement (see six holiday sessions listed above). Update version 2.6.: Enhanced CPU efficiency. Minor changes.
Nota: The forum software has renamed the downloadable zip file to the false version number 2.0. Please disregard the version number of the zip file. The zip file contains the indicator version as specified above.
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.
July 19th, 2023 08:24 AM MajesticLegacy Hi thank you for this indicator. Is this compatible with NinjaTrader8 now? Or is there a update of this indicator? Th
ank you again!!!
Andrea
May 19th, 2023 10:41 AM mewddsltd thank you for this .. and all of the other indicators you have shared with us ..
I notice on this indicator (and maybe the other ama pivot indicators) the value for Y-Close does not accurately reflect
the close of the previous .. most of the time it is close but there are days where the error could be 25 ticks or more .
. I determined this by looking at the price chart AND comparing Y-Close to lines drawn by NT8 indicator PriorOHLC
keep up the great work .. thanks again ..
May 1st, 2023 08:05 PM tjmalena Thanks
December 29th, 2021 12:49 PM Pollux
June 20th, 2021 04:21 PM JanEva Fantastic Indicator!!!! Thanks!!!
December 11th, 2018 11:38 AM f1p0pt10ns Is there a way to set these up as alerts? I tried the "normal" alert path but doesnt seem to be working. Thanks for th
July 8th, 2021 11:17 PM Bato75 Hey is there any was you could make this same indicator but for the Average Weekly Range instead of ADR. Or instead make
one indicator that does all the same things except its the ADR AWR and AMR?
June 14th, 2021 11:01 AM Bato75 love it
June 14th, 2021 11:01 AM Bato75
March 10th, 2021 03:59 PM pmat great job ! thanks for sharing
January 19th, 2022 08:29 AM newell This one is helpful in many ways, thank you!
June 20th, 2021 11:46 AM Aragorn Ironic I just started, last week, plotting the ATR at certain times of the day over several days only to find this great
tool. Very well done!
May 21st, 2021 03:02 PM MarketMage nice! thank you!