This indicator gives a choice for drawing the divergence lines for FisherTransform and also for the MacDhistograhm.
I want to give all the credit to Cory who made it possible for the FisherTransform to have the divergence lines work in this indicator. I added the ability for the indicator to count how many times divergence's occur because its handy sometimes to see how different time periods affect divergence.
July 10th, 2018
Size: 13.45 KB
Downloaded: 660 times
1977
quantismo
Exported using NT Version 7.0.1000.30
This is an implementation of the volatiliy based stop that was suggested by Tushar Chande and Stanley Kroll in their book "The New Technical Trader". The indicator comes with a long stop line (blue) and and a short stop line (red).
Calculation of long stop: The preliminary long stop is calculated by deducting a multiple of a 10-period ATR from the highest high of the last 10 bars. The long stop is then calculated as the highest of the last 20 preliminary long stops.
Calculation of short stop: The preliminary short stops are calculated by adding a ,ultiple of a 10-period ATR to the lowest low of the last 10 bars. The short stop is then calculated as the lowest of the last 20 perliminary short stops.
Calculation of ATR: The ATR can be calculated in three different ways. "Arithmetic" uses a simple moving average over the last 10 true ranges. "Exponential" uses an exponential moving average over the last 10 true ranges, while "Wilder" simply calculates the default ATR(10) which is calculated as exponential moving averages with a smaller smoothing constant.
Default settings: Default settings follow suggestions by Chande & Kroll. Following suggestions in their book the default parameters are 10, 3 and 20. Also they used a simple moving average for smoothing the true ranges. The only change that was necessary was to adapt the indicator so that it can be used intra-bar. For this purpose, the calculation does not use the (unstable) true range of the current bar nor the high of the current bar, but relies on the values for the prior bar. Just for the purpose to compare the indicator with implementations for other charting packages, it is also possible to perform calculations from the current unstable bar. When used with "COBC = False" or with the strategy analyzer (backtesting), the default settings should be used.
This is a new implementation of the chandelier stop developed by Charles LeBeau. For a long trade the chandelier stop is calculated by subtracting a multiple of the average true range over the last N bars from the highest high (chandelier) since the inception of the trade. For a short trade the chandelier stop is calculated by adding a multiple of the average true range over the last N bars to the lowest low since the inception of the trade.
Instead of calculating the stop from the highest high and the lowest low, it is also possible to calculate it from the highest close and the lowest close.
The indicator version presented here uses the average true range calculated one bar ago. This is to avoid that the stop moves away when approached by a bar, it further acts against the distortion of the average true range when the indicator is set to COBC = false and reduces CPU load. The concept of using the ATR one bar ago was already introduced with the SuperTrend M11.
UseHighLow: The chandelier stops can be calculated from highest high/lowest low or from highest close/lowest close:
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 Chandelier Stop 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.
Accessing the trend: The indicator comes with a BoolSeries that holds the trend. This BoolSeries can be accessed by other indicators or automated strategies.
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.
Added at the request of BMT member....(ver NT 7.0.1000)
This indicator creates a moving average "channel" between two moving averages, one calculated from the the High, and one caclulated from the Low. NOTE: Many moving average Channel calculate from the Close/Median.
- The channel colors are configurable, as is the 'opacity' of the channel, and the number of bars included in the MA calculation.
- The channel paints behind the bars, leaving them visible.
- The 'high/low' lines can be colored individually or left transparent with just the channel painting.
- Allows selection of various Moving Averages...(SMA, EMA, WMA, HMA, VMA, TEMA, ZLEMA, SMMA).
NOTE: This indicator differs from a StdDev "envelope" where the channel is calculated on a standard deviation from the center line. These channels contract and expand proportionately with price.
September 3rd, 2011
Size: 22.04 KB
Downloaded: 995 times
981
photog53
Note1: ChannelThis is from ChannelThis and DoubleMA package in public download section but I was unable to select LinReg from ChannelThis thus this ChannelThis version.
Note2: Its prudent to backup your indicators before installing this one
Several people have asked me about the buttons on my NinjaTrader charts, So I extracted the buttons code from my trading tools indicator and upload the code here. It allows you to put user defined push buttons on the chart to perform customized actions.
Note: This is for NinjaScript programmers who want to add customized buttons to their chart to perform customized actions. This is just the user click-able interface. You will have to provide your own code to customize the actions performed by the buttons.
It is an enhanced version of ChartName indicator (v1.0).
You can choose what information you would like to display to quickly identify your chart. The available options (and their combination) includes:
Custom Text
Instrument Name
Instrument Description
Bar Type & Period
You can choose how you would like to separate these parts, choose position, font, color and opacity. You can also quickly disable/enable the display without the need to remove the indicator from your chart.
This is simply a NT8 port of the Chart Notes control that I downloaded from futures.io.
I simplified it, in that there are now one set of parameters for each corner of the chart where text is possible. In addition, the string[] parameter did not work in the property grid. Switched to a normal string with a multiline editor.
Minor problem: for some strange reason, the ENTER key does not work in the multiline editor, so it is not possible to add additional lines of text. For the moment I just work around this by adding a few empty lines and later using a very brute force (dumb) approach to strip the empty lines. Works for the moment.
Must reference the assemblies: System.Design and System.Drawing.Design. These are needed to use the multiline input controls in the property grids.
May 21st, 2016 07:36 PM Randy Dotson I know nothing about programming NT7. But I would really like a buy stop limit and a sell stop limit button that would p
ut the order at the price that would complete the bar. In other words, a bar is building. I have the quantity and strate
gy set up on the chart trader. As the current bar is building, I push the buy or sell button and it places the order at
one tick above or below what will be the top or bottom of the range bar. That is the price that will have to be hit for
the bar to complete. Can anyone help with this. It would be dependent on the range in use on the chart it was being used
on.
January 25th, 2014 01:47 PM alexJetski Thanks so much for sharing. Excellent template to build upon.
July 14th, 2011 10:41 AM tony2604 This looks great. But I have problems with understanding how to use. Eg what or where do I have to code for having the c
lose button working? Thank you!
March 23rd, 2011 10:19 AM vvhg Great!
February 13th, 2011 09:57 AM Schiller Good job ! Thank you !
September 16th, 2022 11:27 PM lewtamarilla Thank you for this. Really needed this to keep my mind on task during trading.
July 19th, 2021 02:44 PM prutrader Nice
July 10th, 2020 10:42 PM BoltTrader Thank you! Does exactly what I needed.
November 26th, 2018 04:40 AM Flyboy1966 Enter as you said doesn't seem to work but if you type what you want on first line, then put your cursor on the next lin
e and left click. Of course enter takes you back to the chart.... not so bad once you figure it out..... Thanks a bunch