- Diagonal
- Novel Channel
- TrendingTSF
- Slope Of MA
- IsOvernight
DIAGONAL – interactive alerts tool for NinjaTrader 6.5 & 7
(NOW FREE! - was $65 USD)

- JUST DRAW A LINE ON THE CHART!
- AUDIO, VISUAL, LOG FILE & EMAIL ALERTS
- EMAILS CAN HAVE SCREEN CAPTURES INCLUDED!
- REAL-TIME CONTROLS - no stopping and starting
- NEW for version 2! MAGNETIC PRICES and HORIZONTAL LINES
OVERVIEW :
Diagonal is an interactive tool for creating alerts in NinjaTrader. Diagonal allows the user to draw lines on the chart, then automatically generate alerts when price touches them. Lines can be drawn and redrawn, nudged up and down, all interactively and without stopping then restarting the indicator. Alerts are audio-visual and via email, including an optional screen capture of the chart in the email.
Working with Diagonal is easy. Just load it into a chart. To draw a line, hold down the Alt key and click and drag with your right-mouse-button. This special combination is the access to Diagonal, so that Diagonal draws its own line, rather than a standard built-in NinjaTrader line.
You can draw two lines, one sloping up, in blue, and one sloping down, in red. If you draw a third line, it will replace one of the existing lines. Both lines are active and waiting to trigger an alert when price touches them, at any point in the future.
NEW FEATURE! You can even draw exact horizontal lines, which display especially as a dashed line.
Alerts might be generated within only a few moments, if you draw the line close to price on an intra-day chart. Or, place a Diagonal line on a daily stock chart and get an email alert weeks or months later! Its up to you.
REALTIME CONTROLS :
A special feature of Diagonal is interactive realtime controls, added to the menu bar at the top of the chart. These allow you to nudge your lines up and down, and also change some key options that affect the way price interacts with the lines to generate alerts. With normal indicators, you would have to open the Indicators dialogue box to make adjustments, which stops and restarts your indicator. Diagonal's realtime controls allow you to stay in the chart and make changes on the fly.
The menu allows realtime access to some key options that affect how your alerts are generated by Diagonal.
These options are :
On Bar Close or Intra-Bar.
Alerts can be generated by the closing prices of bars, which is useful if you require a bar to close at or beyond a trend line. Or, alerts can be generated on any tick of a bar, which is useful if you want to know if price has reached a trend line.
All Intersects or Intersects Original Side
An 'intersect' is when price intersects – or touches – a Diagonal line. We might want an alert every time price does that, no matter what side price is coming from at the time. However, we may want to only be alerted if price has come to intersect the line from a certain side. For instance, an up sloping line may hold key support for a market, and we are interested if price comes down to touch the line. We might want to re-enter with the trend, or enter a break-out in the opposite direction. However, if price breaks through then returns back up through this line, we don't need to know. In that case we can choose 'Intersects Original Side', which will only generate alerts from the side of the line that price was originally on when we drew the line.
In this mode, handy arrows are visible that show you which side of the line price must approach from in order for an alert to happen. They are drawn at, and stay at, the bar when you originally drew this Diagonal line.

Magnetic Prices (New!)
With Magnetic Prices enabled, Diagonal's line will be attracted to bar High and Low prices. This helps you draw an accurate-to-the-tick trend-line across price action. To control how near your line must be to a bar before the magnetism kicks in, adjust Magnetic Proximity in the parameters dialogue window, which is measured in Ticks (pips). The magnetism applies to the bar your cursor is currently nearest.
Nudge Arrows
You can 'nudge' Diagonal's lines up and down, one tick at a time. This is useful if you want to know that price has not just reached a line, but for example exceeded or closed beyond it by a certain amount. A faint ghost line will be left behind at the place you originally drew the line, to remind you where that was. You can nudge the blue and red lines by different amounts.
Note that nudging will remove any prior alert graphics, as they no longer match the line's new levels.
INDICATOR PARAMETERS :
When you first load Diagonal into a chart, or open the Indicators dialogue window in NinjaTrader, you have access to some extra parameters.
Alert Sound
This is a number, from 0 up. Diagonal is bundled with a new set of alert sounds. You can now access those sounds with numbers 1 through 14. If you select 0 or a higher number, or have not installed these extra sounds, Diagonal will revert to using one of the standard NinjaTrader built-in alert sounds instead.
All Intersects, IntraBar and Magnetic Prices help you set the default way the indicator will begin.
All Intersects sets the state between All Intersects (when set to True) or Intersects Original Side (when False).
IntraBar sets the state between IntraBar alerts (when set to True) or On Bar Close (when False).
Magnetic Prices turns the magnetism of the line to bar High and Low prices on (True) or off (False).
Magnetic Proximity
This parameter adjusts how near your line must be (at the cursor) to a bar to be attracted to it. (in Ticks/pips)
Email options:
You can choose not to receive emails about your alerts. This is the default. You can also select to receive simple text emails using NinjaTrader's built-in email capability.
There is also a special feature of Diagonal which allows you to send an email with a screen capture of your chart included. To use this feature, you must enter some additional information about smtp settings. You can find this information in your email application, such as Outlook or Thunderbird etc. The same information that you entered into the email program to tell it how it can send email is what need to put into Diagonal. Usually, this will only require two items, the SMTP host and the SMTP Port. Since the port is almost always 25, you can often just put in the smtp host of your internet service provider, and it will work straight away.
You can find the smtp information required by looking at the options or account settings area in your email application. If you don't quite know where to look, search Google to help you find the information you need.
If you have to use a username and password to send email, which might happen if you are using an email service like me.com or gmail etc, put your username and password information in as well.
USER TIPS :
Values of the diagonal lines are rounded to the nearest tick, which means that if you zoom in very closely sometimes it looks like price didn't reach the line. However, if an alert went off, price will have been closer than half a tick's distance from the line. You can always nudge the line up and down to obtain the behaviour you wish.
Alerts will not continually trigger if price hugs the line. However, once price has moved away and at least one bar has been clear of the line, alerts are re-enabled.
DOWNLOAD
TO INSTALL :
1. Make sure NinjaTrader is closed! If it is running, exit NinjaTrader.
2. Run the supplied installer. It will install into your NinjaTrader folder in your Documents folder:
(i). Diagonal indicator .dll
(ii). Folder of additional alert sounds
(iii). User manual.
You will find Diagonal in the Indicators list named as "TC_Diagonal". Add it to a chart to begin using it.
TO UN-INSTALL :
In NinjaTrader, use "Remove NinjaScript Assembly" menu item in the Control Centre, under File/Utilities. Select 'TCDiagonal_NT6.5' or 'TCDiagonal_NT7' to uninstall.
© 2010 TradingCoders.com
A remarkable price channel, with a proprietary formula that is adaptive to market conditions and reveals dynamic support and resistance levels.

This indicator is free to download and use. (NinjaTrader only.) We wish you good luck with your trading.
TCNovelChannel paints two colored bands which show a consistent tendency to provide support and resistance to price. It is able to be used on any instrument or time-frame.
Code within the TCNovelChannel adapts to market volatility, mellowing out or becoming more reactive as the market changes.
You can load multiple instances of the indicator into the same chart panel. TCNovelChannel has a Width parameter, and below is an example showing one TCNovelChannel with a width of 1, and another with a width of 4. (Blue ovals drawn manually)

Read the article of tips for trading with TCTrendingTSF and TCNovelChannel.
Parameters:
ChannelWidth - This is the width of the Novel Channel
Length - Varies the amount of bars considered in the calculation
Smooth - a pop-up menu to choose Smooth or Responsive mode
LinesOnly - Disables painting inside the bands.
Transparency - Control the transparency of the band painting.
This is a Time Series Forecast line - a type of Linear Regression using the Least Squares method. The standard implementation attempts to forecast the direction of price.

By measuring the slope of the line, and the position of the line compared to price, this indicator can quite neatly reveal the current trend - even during fairly sharp retracements. Notice how the blue area on the centre-right of the chart has a sharp retracement, yet the indicator stays in an uptrend color. Price finds support along the TSF line, and builds into a great move. You can choose whether to color the bars, or display the colored TSF line, or both.
NEW UPDATE 1.3 : graphics altered to show up and down bars as different opacity colors.
Read the article of tips for trading with TCTrendingTSF and TCNovelChannel.
This indicator is free to download and use. We wish you good luck with your trading.
Parameters:
- Price Type - Choose from Close, Typical, Median etc
- TSF Forecast - This is the number of bars we wish to 'forecast' into the future
- TSF Period - The number of bars used to calculate the Linear Regression
- Display -
- Choose Indicator to show the colored line,
- Choose PaintBars to color the price bars or candles with the trend (note colored outlines too)
- Choose All to show both the colored line and the colored prices
DOWNLOAD
The slope of a moving average can be a pretty good representation of a market's general trend. If a moving average is sloping up, very likely Price is moving up as well.

This indicator is free to download and use. We wish you good luck with your trading.
TCSlopeOfMA indicator measures and displays the slope of 8 different moving averages. Each has a preset color, although you are free to change the colors to suit your own needs.
The color of the WMA (Weighted Moving Average), defaults to black. If you usually use black backgrounds on your charts, the indicator detects this and will change the WMA color to white.
You can load multiple instances of the indicator into the same chart panel. You might do this to look at varying types of moving averages which all have the same period, as in the pic below.

Or you may wish to look at multiple instances of the same MA type but with different lengths. Notice in the image below how a powerful move coincides with the 3 moving average slopes all turning at once quite close together. This is usually how Guppy Multiple Moving Averages work, however Guppy uses just the simple moving averages themselves, not the slope.

Parameters:
Length - This is the number of bars we use for the moving average calculation
Lookback - The number of bars used to calculate the slope of the moving average. Higher numbers are smoother but more lagging.
MAType - a pop-up menu to choose the type of moving average. Choose from SMA, EMA, WMA, VMA, HMA, TMA, TEMA and Linear Regression.
Price Type - Choose from Close, Typical, Median etc

This is a simple visual indicator which paints the background of the chart outside of day session times.
This helps to quickly eyeball areas of the day you are interested in, particularly if you are using minute bars with your chart set for 24 hours.
Functions correctly for sessions that span midnight.
This indicator is free to download and use. We wish you good luck with your trading.
Parameters:
DOWNLOAD
I don't normally go out of my way to give feed back - but needed to let you know that I fully appreciate all the work you've done for me - you are truly outstanding and leave other providers in the dust! I have not been able to get reliable, accurate, quality as well as economical work produced elsewhere - wouldn't use anybody else. Thank you. You are welcome to use my testimonial if needed.
Ann D. (U.K.)

Our team is comprised of people who are both coders and traders. We combine programming skills with our knowledge of the markets to seek edge wherever it may be found.
Our rates are low because we love what we do.
We will always deal with you with complete integrity, doing our very best to help you grow your trading.