Note: If you find bugs, have feature requests, or anything else, post in THIS thread.
This is a simple indicator that highlights the maximum volume achieved during the day... AS IT DEVELOPS.
The max volume is reset at the START of your session template's start time, and as a newer higher volume is made, that bar is highlighted. You can select the color of the volume plot in the 'plots' section, and the color of the highlight you desire in the 'parameters section.
This indicator update onEachTic() like the standard volume indicator does.
There is not much to this indicator, but someone requested it in THIS thread. By the time I got around to building it, someone already posted one, so I did not post this version. Just posting it in the case someone else needs such an indie.
Again, this was not my idea, but was built on someone else's specs in the above thread.
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.
Note: If you find bugs, have feature requests, or anything else, post in THIS thread.
Simple indicator that will plot up to 3, opaque boxes, n-hours beyond what your session start is. Useful for users that like to delineate a day into various sessions for observation.
AGAIN: The input for the box's start and end times is NOT a clock time, it is a decimal hours beyond whatever you session start is. If you input 5.25 for a start time, it will start the box at 5 hours and 15 minutes beyond your session's start time.
The input for the hours is a decimal, so you can tailor it to your needs. This indicator updates on-each-tic/real time, and will show the upcoming boxes for the current session, even if it is not active yet.
Note, installing this indicator will create a folder in your indicators called "BTMM", that's where the indicator will be.
-UPDATE(12Jan2022): Added stroke class to boxes. So now the OUTLINE of the box can be customized for a cleaner display.
-UPDATE(17Oct2020): Fixed description in 'properties' section for "start/end" times. This was just a visual bug, and does not impact functionality of indicator. Thanks to Romus for finding this bug.
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 Opening Range is the range obtained from the highest and lowest price of a security during the first minutes of daily trading activity. For example the opening range can be calculated from the first 5, 15 or 30 minutes.
The opening period can be selected via the time zone, the start time and the end time of the opening period. For example if you wish to display a 30-minute opening range for ES, you would select Exchange_Time or US_Central_Standard_Time, a start time of 8:30 AM and an end time of 9:00 AM. The indicator will then display the regular open and the opening range high, low and midline.
You may also use this indicator to display the pre-session range. It is possible to display the entire pre-session range that covers the period from the start of the trading day until the regular open, or you may select a custom period for the pre-session.
The indicator will only return an accurate opening range, if it is calculated from minute bars that align to the start time and end time of the selected opening period. For example, if you wish to display an accurate 30-minute opening range for ES, you may only apply the indicator to 1-min, 2-min, 3-min, 5-min, 10-min, 15-min or 30-min bars. When selecting other bar periods or bar types, there will be overlapping bars in the beginning and the end of the opening period. This may result in a slightly inaccurate opening range.
If you wish to display a correct opening range on any bar type, please proceed as follows:
- Add a secondary bar series of 1-min*) bar to your primary price panel.
- Set the colors for candle outllines, candle wicks, up and down bars to transparent.
- Apply the indicator to the secondary 1-minute bars for an exact calculation.
*) When you add a minute bar series to a tick or volume chart, this will slightly distort the chart, as the bar spacing is adjusted to the duration of the bars. As a consequence of the law of large numbers, the distortion will be smaller, if you add a secondary bar series with a lower resolution. It is therefore recommended to use the highest bar period available that aligns to the start time and end time of the opening period. For a 30-min opening period for ES, you may therefore add 30-min bars instead of 1-min bars.
The chart attached shows the 30-min opening range on a 1000-tick chart to ES 12-17. The invisible secondary bars that were added are 30-min bars.
Update January 31, 2018: Version 2.1 did not properly calculate the opening range when the first bar of the opening range had a time stamp greater than the end time of the opening period (display of short period opening ranges on higher timeframe charts). Version 2.2 has the bug removed.
The N-Monthly VWAP is the volume-weighted average price (VWAP) of a security for the selected N-month period. The VWAP gives a fair reflection of the market conditions throughout the selected period and is one of the most popular benchmarks used by large traders.
The N-Monthly VWAP can be set to calculate for the entireperiod or it can be set to calculate for custom hours such as the regular session only. The VWAP further comes with volume-weighted standard deviation bands or quarter range bands. Although the VWAP uses volume information, it is best set to “Calculate” = “On price change”. It is not necessary to recalculate it with each incoming tick.
Trading hours template: The trading hours template should be set to <instrument settings> or any other trading hours template that reflects the contractual trading hours of the instrument.
Full_Session: The VWAP will be calculated for the full session as selected per trading hours template.
Custom_Hours: You may select custom hours for calculating the VWAP in different time zones.
Standard_Deviation: The volatility bands are calculated as a selectable multiple of the standard deviation, where the standard deviation is calculated for the selected session and week.
Quarter_Range: The volatility bands are calculated as a selectable multiple of the quarter range for the current month.
Accuracy: The indicator calculates both VWAP and volatility bands from the primary bars shown on the chart. All data points of each bar are used for the calculation in order to obtain the best possible result. However, accuracy also depends on the chart resolution. Accuracy increases as trading volume accumulates.
October 25th, 2023 12:35 PM 90bideven Thanks so much...works really well.
April 3rd, 2023 03:44 PM Srq1
January 5th, 2023 04:12 PM OnTrak Downloaded and installed. Then added to my charts. After some adjustments to match my preferences, this indicator is eve
n better than I hoped. Thanks to person responsible!
November 25th, 2022 02:14 PM ballhaj Tanks for sharing
August 30th, 2022 01:19 AM scshourie Can we use this indicator to build a strategy in the Strategy Builder
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
September 30th, 2021 09:21 PM golfman Here's a link to the image in my Dropbox - https://www.dropbox.com/s/1v14poe69uil17w/Future%20IO%20error.png?dl=0
Hope this one works.
Thx!
September 30th, 2021 09:20 PM golfman Hello,
I try to install this file & got this error message, can you please help & direct me so I can use this indicator.
Thanks in advance for your help.
Chas
January 4th, 2021 07:28 PM Andrewt thanks very much, very handy indi
January 4th, 2021 03:46 PM racecarjw Thank you for your generosity to share the work on your indicator.
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!