The download file contains two indicators which can be used to explore the average range and volume of any intraday time period over a selected lookback period. The average takes into account the day of the week. For example the average volume displayed for any bar period on Wednesdays is only calculated from data taken from prior Wednesdays.
With default settings the indicators calculate average range and average volume from the prior 20 weeks (reference period). The result is then displayed for the last 2 weeks (display period) of the chart. The lookback period of the chart should be larger than the sum of reference and display period. With default setting the minimum lookback period would be 22 weeks + 1 day = 155 days.
The indicators can only be used with fixed period charts (for example 30 min or 60 min charts).
Please take into account that NinjaTrader cuts off the bars at the end of a session. Therefore the last bar of each session may show a comparatively low volume. The indicator does not convert this volume into a pro-forma volume by extrapolating the volume to a full bar.
Update September 16, 2014: Holiday calendar added, day of week is displayed below the histogram.
Detailed explanations how to use the indicator can be found here:
This in a NinjaTrader strategy that I use to output information and charts about an instrument, including:
-Range statistics (Including ON, RTH, and IB)
-Harmonic Rotation data
-Day Type data
-SQN Market Type data
When you run this strategy, it will output an Excel Spreadsheet to the directory you specify in the parameters.
There are multiple requirements to run this strategy. This makes use of Microsoft's Interop functionality to generate an Excel spreadsheet. Therefore you MUST have Microsoft Interop installed and add a reference to the Microsoft.Office.Interop.Excell.dll in NinjaTrader. You can learn more about how to do this here. And a big thank you to DionysusToast for his contribution.
This is a simple Bollinger Band Squeeze. The Bollinger Band Squeeze compares directional volatility as measured by the standard deviation to non-directional volatility as measured by the average range.
The squeeze is a situation, where Bollinger Bands are inside a Keltner Channel. This indicator does not plot the Bollinger Bands and the Keltner Channels, but plots the distance of the Bollinger Band from the Keltner Channel and displays it as a histogram.
When the histogram has a positive value: This means that the Bollinger Bands are outside the Keltner Channel. Directional volatility is high or normal.
When the histogram has a negative value: This shows low directional volatility, which is called "the squeeze". For better visibility, the squeeze is reinforced with dots. When activated, sound alerts will inform you that the squeeze is on.
A squeeze is a good opportunity to enter a position, as it reflects a temporary period of balancing or indecision. To determine the direction of the expected breakout from the squeeze, other indicators should be used. In his book "Mastering the Trade", John F. Carter suggests a momentum indicator do determine the direction of the trade, but I do not think that this is sufficient to create a profitable system. You will need further indicators.
If you enter a trade during a squeeze, this usually leads to a good reward-to-risk ratio, as you will typically be able to use narrower stops during low volatility periods.
here's a quick one.. inspired by range charts, but simplified and still painted on regular time charts..
i needed something to help me spot common S/R levels and also watch price moves between levels of either % of price or in blocks of a certain dollar value (0.2, 0.5, 1.0 ... etc)
default is to show moves in increment of 0.5% of all-time (based on chart) mid-price, but can be changed to better suit the time aggregation and the underlying price range we're looking at (for shorter timeframe, you may want to look at $.25 levels, for a stock like AAPL you want to look at a $5.0 increments and so on)
The percentage level value is always approximated to the nearest multiple of $0.1 to make it meaningful.
if there's a setting in Override Range Unit, then that's the one the study will use as a unit for the incermental levels.
you can show/hide the levels calc details labels on top using the study settings.
found it interesting and it helps hide a lot of noise from price - also comes closer to my own view of Darvas so thought to share for the Range Chart & breakout trading fans..
Cheers,
RedK
This is a basic indicator prepared while reading Al Brooks' first book.
Al Brooks advises to be very cautious when trading the ES in the middle of the day and in the middle of the range of the day, especially in case of Barb Wire.
This indicator simply identifies the zone which are "in the middle of the day and in the middle of the range of the day". It is supposed to be used for past data, just in order to "have a look".
"Middle of the day" is defined by the user through the beginning time and the end time of the period (default values: 1130 and 1330)
"Middle of the range of the day" is defined by the height of this mid-range compared to the current Hi-Lo of the day. The default value is 0.33 (33%). It means that the "middle of the range of the day" is the range which is at the middle of the current Hi-Lo of the day and the height of which is 33% of the current Hi-Lo of the day.
This indicator is an old version and there will be no more maintenance. All the features have now been integrated with the SessionPivots indicator that can be downloaded here:
The indicators that come with the SessionPivots package also allow to display weekly and monthly average ranges.
Indicator will only run on NT 7.0.1000.5 or later.
The indicator detects the Average Daily Ranges (ADR) for two selectable periods and uses them to calculate intraday targets, which are displayed as volatility bands. The upper target band is calculated by adding the average daily ranges for the two periods to the current session's low. The lower band is calculated by subtracting the average daily ranges from the current day's high.
All daily ranges and bands can be calculated and displayed for the full session or any intraday (RTH) session defined via the template. It is recommended to display both ETH and RTH volatility bands by applying the indicator to the chart twice with different settings.
The indicator also can display OHL and Dynamic Fib Lines for the current session.
Indicator Settings
Band Type: The bands will auto-adjust to the current day's high and low, until the expected daily range is exceeded for both of the lookback periods. In this case the bands will freeze and change color (Band Type "Freeze"), stop (Band Type "Stop") or further expand (Band Type "Expand", requires a second expansion target).
Default BandRange: The default setting uses 100% of the ADR of the selected period. Instead of using 100% you can select any other percentage to calculate the intraday target bands.
Expanded BandRange: This is required for the Band Type "Expand". The default setting uses 127% of the ADR of the selected period. Instead of using 127% you can select any other percentage to calculate the second level of the intraday target bands.
Include After-Session : If set to true, the volatility bands of an intraday session will be extended to the next session, the after-session, but not recalculated. Default value is "false".
Period(1) for the average daily range: This is the period used to calculate the shorter average daily range. Default value is 3 days, maximum selectable is 100 days.
Period(2) for the average daily range: This is period used to calcualte the longer average daily range. Default value is 10 days, maximum selectable is 100 days.
Session: Select between the full ETH and the RTH session. Default value is "ETH."
Session for RTH: Select the RTH session, for which you want to display the bands. For FOREX, you would select "First" for the Asian session, "Second" for the European session and "Third" for the US session, if you use a session template with 3 intraday sessions. For ES you would select "Second", if your session is divided into night and day session. Default value is "Second". This option only applies, if "RTH" has been selected under "Session". A hybrid setting selects the third intraday session for FOREX and currency futures, and the second intraday session for all other futures contracts. Only select it, if you use triple session templates (Asian, European, US) for FOREX and Currency Futures.
Show Current Open: Selects or unselects Current Open.
Show Dynamic Fib Lines: Selects or unselects intraday Fibonacci retracements. Fib retracements will only be shown if Show High/Low is set to true.
Show High/Low: Selects or unselects to show the current day's high and low.
Show Projection Bands: Selects or unselects projection bands.
Show Projection Labels: Selects or unselects projection band labels.
Show Range Data: Displays average daily ranges and current day's range for the selected session in the upper left or upper right corner of the chart.
The indicator now calculates average daily ranges without using range data from Globex holiday sessions.
Update Jan 23 2011: Globex Holiday Calendar for 2011. Holiday sessions will only be applied to Globex instruments. Price markers are now correctly formatted for US interest rate futures and FOREX. FOREX ranges are displayed in PIPS.
Update June 2, 2011: New signature for GetNextBeginEnd() implemented.
Update June 20, 2011: The indicator now works with half-pip FOREX feeds. Indicator dialogue box improved.
Update June 25, 2011: Band colors were not serialized and therefore did not keep the selected color, when saved as part of a template or workspace.
Update July 11, 2011: Different band types are available. Once the daily target range has been exceeded, bands will change color and can be frozen, further expanded or cut off.
Update July 18, 2011: Serialization of the plots changed.
Update September 11, 2011: Expanded bands did not display correctly on days when both upper and lower range targets were hit. Bug removed.
Update September 24, 2011: ChartControl checked for null, indicator can now be called by strategies.
Thanks to CCL Systems ( cclsys) for the indicator. This is the same indicator adapted to the NT 7 nuances. A small amount of cleanup and voila!
The NT 6.5 version is here. The description from that location reads:
Especially helpful for non-time-based bar charts (though also good for them too), this indicator shows the Range Per Minute - expressed in ticks. To avoid huge bars during report times, the coding has a simple governor limitation to reduce the display value, but otherwise is accurate. There is also an optional alarm when RPM accelerates. You will probably have to go into the code to put in a sound file that you have in the Ninja/Sounds directory on the main system partition (not in the MyDocuments area).
Code cleaned up, new Scalping indicators and back color options. If the speed is accelerating above the average (default 6) and it's an up bar, a little wingding arrow will appear below the low and keep plotting on subsequent bars until there is a reversal or a new acceleration.
I find I can load it into the same panel as a volume indicator because the values are so low. Meanwhile if you enable price markers, the current RPM in ticks is displayed as text in the bottom right. The backcolors show that often shortly after acceleration there is a new move or climax of current move so it works as a leading indicator in some cases or confirmation of entry possibility in longer pattern setups.
The alarm can be disabled or a different sound file from the Sounds Directory in the Ninja System folders (not My Docs area).
Small, simple indicator but giving simple, factual information not often shown in others.
If there is enough interest, I can make the background colors and the audio callout selectable. Let me know.
March 9th, 2023 05:21 PM MONICAP hello, and thanks for your time developing and sharing this indicator. i want to ask if this could be available for NT8
also. thank you
September 16th, 2022 07:30 PM TomTownsend Very helpful, thank you, and for all you do!!!
February 19th, 2019 06:43 AM Anand Jagdeo good morning. I am fairly new to trading and would like to use this indicator. am i supposed to change the dates for the
se holidays to the current year. Please advise. Seems like a pretty good indicator if applied properly. Thanks
Anand
June 9th, 2017 11:10 AM mercyj does anyone know why I can't set the autoscale to FALSE? it's greyed out. and the pivots are all wacko on the chart
September 6th, 2017 09:14 AM Buscador PicoTrader, thanks again for a very useful program for range bar users that I have enjoyed for several years now. Never
found anything in the same category as simple and good.
I am moving forward to NT 8 and I would love to have this range marker in NT 8.
Any possibility you would re-coded for the new platform?
In any case. Thanks a million for a great app.
July 17th, 2015 01:57 AM Portland
April 14th, 2015 09:13 PM dsgreeves
October 26th, 2013 10:05 PM ojmen2000 now this will make life a lot easier. thanks
February 29th, 2016 03:45 PM no3putts Many thanks, again and again and....
December 20th, 2015 09:40 PM romus
August 13th, 2014 10:00 AM tang
February 9th, 2014 06:15 PM bundwidower Fat Tails. You do not know what it means for beginners like me to have something to follow. Sorry I am unable to recipro