Latest revision on 7/27/16 - see revision notes for details
This indicator computes the elapsed time between bars on a non-time based chart. There are a number of enhancements to the indicator GHPBarTimer by NJAMC upon which it is based. Upon Installation it will be named fpgBarTimes so as not to conflict with the base indicator.
Additions/modifications/fixes included in the 7/27/2016 version
Added : an option to display an Alert message when the MA for the total time is above, below, or both (an Or condition) of the designated time zones. Setting this option will force the Non-Directional Plot to be included (see #3 below)
Added: an IntSeries file to record the results of number 1 above, as controlled by the switch that allows the recording of various outputs.
Added : option to plot MAs for the bar time in Up bars and Down bars (directional Option). Doji bars have their bar time evenly split across the two so it does not skew the results. The period for these can be set to a different value than the MA total (Non-Directional option) time. Both can be plotted.
Added: an Auto adjust feature which will adjust the various time line values according to the change in chart’s bar type or value. The purpose is to allow the user to change a bar type or value and automatically adjust the zone time lines by a ratio calculated (to the nearest .25) from the bar types values specified in the various Bar Type parameters.
For example, if the chart bar type is set to Tick with a value of 75 (which matches the parameter value for a tick bar) changing that value to 150 would result in the zone line values being doubled. Note: if the Time Lines Option (#04) is set to “TimeIncrement” then the increment value may or may not be adjusted according to the AutoAdjust Increment setting. The bar types supported is as follows: Tick, Renko, UniRenko, BetterRenko, SveRenko, Range, and Volume. Others can easily be added (see number 4 in the Notes section under this item).
Hint: When using this option first set the default values (these are found in the Auto Adjust Parameters section) for each bar type that you intend to use and save it as the indicators default profile. Once set, those values will be the base from which all of the calculations will be done when changing either the bar type or the bar type’s value. Once the final bar type/value is determined the appropriate parameter(s) should be set and the auto adjust option turned off as it is intended to be an aid for determining the appropriate zone line and time settings for the bar type and/or value.
Notes:
4.1. Only a few of the possible combinations or bar type changes have been tested. However, the logic for processing these changes is the same for all. It is possible that there may still be a bug.
4.2. Because the calculated value might be hard to determine from the Y-axis there is an option to log the results to the Output window.
4.3. This enhancement should be used as an aid to determine new zone setting when a bar type or value is changed.
4.4. If the code is modified to support additional bar types, be sure to keep the type and value in the same relative order as an index is used in the code.
5 Modified: various colors for better contrast on a chart with a dark background.
6.]Modified: the default zone line values. [FONT=Calibri]
7. Fixed: the HFT zone value was not being written to the DataSeries.
8. Fixed: the Max time percent was not used in the calculation.
Note:
There is no version number in the indicator's name therefore it will replace the existing indicator. If a backup copy is deemed necessary export the old version first. Also recommend that the previous version be deleted first.
Original Enhancements are as follows:
1. A minutes or seconds display is user selectable
2. Bar times are organized into user defined time “zones” as follows:
a. Time Zone 1 (TZ-n) is the starting TZ and is defined in decimal minutes, i.e., 0.5 = 30 seconds, etc.
b. A user defined increment, also in decimal minutes, is added to TZ-1 to create TZ-2. The same increment is added to TZ-2 to create TZ-3. TZ-4 is anything above TZ-3. Lines are produce for TZ-1 to 3. The HTF-like “zone” is a sub period of TZ-1 and is identified when the bar time is LT or EQ to a user define number of seconds. If the bar time is below the defined time it could be considered potential HFT activity
c. An optional histogram of TZ1-TZ4 times is produced, with each zone having a user defined color.
3. An optional truncated display for excessive bar times (above Zone 3) which will force a user define percentage (xx.y) be added to the TZ-3 value and used to plot excessive bar times. This is done to keep the indicator panel the same size. Setting a max value does not disturb the MA calculation.
4. Optional visual alerts using background colors can be painted for excessive time (EXT) bars and potential HFT bars, or
both. A consecutive bar count can be set for both to eliminate false alerts for both EXT and HFT-like bar times.
5. A moving average for current bar times can be calculated from 6 MA types.
6. The assigned zone number for the current bar time and its moving average can be sent to 2 IntSeries which can be
used in Bloodhound or user written strategy. The values are 0 = potential HFT-like activity (only the current bar time
zone), 1-3 the zone number for the current bar time and its MA, and 4 = excessive bar time (EXT zone) also for the
current bar time and the MA.
7. Using this indicator on a time based chart will produce a message in the lower right
corner and disable further calculations.
Please PM me if you encounter any problems rather than write them in the review.
Revision Descriptions:
1. 6/11/16 The revision includes the Zone code = 0 for HTF-like time bars in the IntSeries.
2. 7/27/16 Revision description is above
Note:
If you have the previous version, unless the IntSeries is used in either a strategy or in BloodHound and the indication of when there is a HTF-like bar is desired, it is not necessary to install the latest version.
Change Log:
6/7/16 Initial release
6/11/16 Emit Zone code to IntSeries for HFT-like bar time
7/27/16 Various, described above
June 7th, 2016
Size: 24.43 KB
Downloaded: 602 times
1737
Cheech
This bband has 2 stddev value so that it can color the outer band and it highlights the band if price touch the band and it also do the alert if touch.
BetterBrick chart style to display BetterRenko charts with classic Renko bricks.
Just import into NT, and restart NT. You should then have a "BetterBrick" type available in the chart styles in the data series window. BetterRenko bars can use any type of chart style, but this style shows the bar with Renko bricks in addition to the wick data and the correct open value for the bar.
NT 6.5: NO
NT 7.0: Yes
V2 changes the way the "live" bar is drawn. It now draws the live bar as an OHLC bar until it closes.
August 8th, 2010
Size: 2.04 KB
Downloaded: 4112 times
594
aslan
Exported using NT Version 7.0.1000.26
This is a simple version of the Better Volume Indicator from https://www.emini-watch.com/. It is not based on the later versions but the original version and identifies the following events
Breakout or Climax Bars: A breakout or climax bar is a bar with the highest value for the product of volume and range within the lookback period.
Churn Bars: A churn bar is a bar with the highest value for the volume per range within the lookback period.
Climax Churn Bars: A climax churn bar is a high volume bar that qualifies as both climax and churn bar.
Low Volume Bars: A low volume bar is a bar that has the lowest volume within the lookback period.
The indicator uses two lookback periods. The larger lookback period identifies stronger climax and churn bars, the smaller lookback period points to weaker climax and churn bars and is used to identify low volume bars.
Sound Files: The sound files are user selectable. You first need to copy your sound files to the directory C:\Program Files\Ninjatrader 7 \sounds. You can then select these files via the indicator dialogue box. Make sure that your sound files are compatible with NinjaTrader. NinjaTrader 7 does not support wav\MPEG, you need to convert it to wav\PCM first with an audio recorder.
Version 1.1, April 22, 2011: Bug fixed, low volume bars were not shown correctly.
Version 1.2, January 22, 2012: Paint bar option added. Overlay version showing paint bars only is included. Values for different bar types are exposed as IntSeries
Version 1.3, September 27, 2012: Code efficiency improved, following suggestions by @Zondor.
Version 1.4. December 28, 2012: Bug removed, sound alert for low volume alert was triggered for all bars with setting COBC = false.
Version 1.5. February 10, 2015: Bug removed, paintbar opacity was not applied for low volume upclose bars with setting COBC = false.
History:
v1 20100807 - @Aslan created to go with BetterRenko
v2 20100812- @Aslan changed to paint OHLC bar for live bar
v2 20150719 - @Dalebru converted to NT8. Exported with NinjaTrader 8.0.0.5
v2 20170102 = @shanmugs added missing "Open" line
v2 20180306 - @DaleBru changed ChartStyleType enum value that conflicted with recent NT8 update
v2 20180409 - @DaleBru exported with NinjaTrader 8.0.12.0
Written by Dr Ben, ben_dot_szapiro_at_gmail_dot_com
Hide/Show coding from MindSet's EmaHide.cs script.
Please do not share the script outside the Elite Circle!
Superimpose Range, Renko or Minute Bars to a smaller bar size chart. I use it to look at larger bar sizes without distorting the equidistant bar spacing, and to confirm longer term trends. You can mix and match using BigBars on Range charts, minute charts, etc. The results will vary in live operation depending on COBC = true or false. The Show/Hide Button is activated by pressing the Shift key; after that the button will toggle between Show and Hide the BigBars' plots and boxes. The Show/Hide button makes the OHLC plots Visible/Transparent, and the High-Low,Open-Close boxes get shifted up by the HideOffset value. The default setting for HideOffset=200 Ticks would move the boxes outside the visible chart, but you can choose a smaller HideOffset to merely shift them slightly from the price bars. The "***" markers at the Current Bar location show where would the BigBar close Up or Down based on current price range, if applicable. You may override the first price of the session to some other value; specially useful to better align the BigBarsRenko Bricks with the significant price action/price levels. If StartingValue is left at zero the indicator will use its default Close[FirstBarOfSession].
Enjoy!
February 21st, 2012
Size: 9.14 KB
Downloaded: 1076 times
1132
DrBen
BigConstantLines v1.1
Some traders use a lot of static levels that are sometimes far from current price.
Other want to always be reminded of Big Round Numbers, or quarters, halfs, etc.
Some want a mix of both.
BigConstantLines will use a starting price value (CenterLineValue) and automatically create lines 16 levels above, and 16 levels below using the AddPointsValue increments. OR, just enter each level manually leaving the CenterLineValue and AddPointsValue properties blank/zero.
One can also autopopulate and then override any level with a manually entered price. This may be a S/R level, Pivot, All Time High/Low, whatever. The indi can be added more than once in case there are some numbers from say daily/weekly/month charts that are significantly out of the current trading range, but that you want on the chart if you get there, or if you just want more than 33 levels.
Some instruments tend to move in pretty reliable patterns, say 25 handles. Pick a starting price
for CenterLineValue and enter 25 in the AddPointsValue, voila.
Note: Line17 is the CenterLine, and cannot be manually overridden when using the autopopulate mode.
(This is hack of the standard Constant Lines indicator. It's prolly gonna make your machine explode, create a new COVID variant, cause constipation, and remove all hope for whirled peas. Use at your own risk.)
August 25th, 2021
Size: 4.42 KB
Downloaded: 79 times
2421
BeMoreFree
BigConstantLines v1.1
Some traders use a lot of static levels that are sometimes far from current price.
Other want to always be reminded of Big Round Numbers, or quarters, halfs, etc.
Some want a mix of both.
BigConstantLines will use a starting price value (CenterLineValue) and automatically create lines 16 levels above, and 16 levels below using the AddPointsValue increments. OR, just enter each level manually leaving the CenterLineValue and AddPointsValue properties blank/zero.
One can also autopopulate and then override any level with a manually entered price. This may be a S/R level, Pivot, All Time High/Low, whatever. The indi can be added more than once in case there are some numbers from say daily/weekly/month charts that are significantly out of the current trading range, but that you want on the chart if you get there, or if you just want more than 33 levels.
Some instruments tend to move in pretty reliable patterns, say 25 handles. Pick a starting price
for CenterLineValue and enter 25 in the AddPointsValue, voila.
Note: Line17 is the CenterLine, and cannot be manually overridden when using the autopopulate mode.
(This is hack of the standard Constant Lines indicator. It's prolly gonna make your machine explode, create a new COVID variant, cause constipation, and remove all hope for whirled peas. Use at your own risk.)
Update: I've received some good suggestions. However I don't plan to implement any new features or changes, it does a certain thing well. Perhaps others will take this and add features to it, go nuts!
More than one request was for line color/thickness control. For this I suggest you add the indi to a chart, make whatever changes you want, and then save the Default template for the indi. Your custom settings will forever be saved and used on any chart you add the indi to moving forward.
Enjoy!
August 25th, 2021
Size: 4.42 KB
Downloaded: 398 times
2422
BeMoreFree
VIP Only, please do not distribute outside of the Elite Circle. It's based on Mike's Version 2.02 from February. This plots the same as Mike's except for two differences.
Quick Start Modification causes value of CMA to rapidly converge to the correct value within a few bars of startup.
The method of calling the EMA's was changed for greater efficiency. This causes initial loading to be much faster, and resource use while indicator runs to be much lower. Thanks to Richard of MoveTheMarkets.com for his excellent article about this subject.
To see the envelope bands, chart must go back at least one day. Bands begin to display on the second day.
As in original version, all band colors are hard coded and are best for a chart with a dark background.
December 9th, 2022 10:05 AM Chof So often the simplest things are some of the most helpful.. That's certainly the case with your indicator - exactly wh
at I was looking for - thank-you.
February 24th, 2022 12:46 PM j77777 Thanks so much
August 28th, 2021 09:09 PM romus Fantastic!
Especially for currencies - e.g. setting levels every 50 or 100pips
Thank you!
August 26th, 2021 05:03 AM guidoisot Thank you. An instrument with 25 points could perhaps be the case for NQ and also DAX. Maybe you can add also one plot-p
roperty for setting all plots thickness and color with one single instruction.