Indicator Framework for NinjaTrader

Source Code & Code Review Provided

NC Pivot Detector

Indicator Main Features
  • Pivot Counter Display
  • Price or Indicator Pivot Detection Mode
  • Generic Pivot Detector Algorithm
  • Ability to Detect Hundreds of Various Patterns of Pivots
  • Full Source Code Video Review
Indicator Description

Hello guys!!! Pivot Analyzer indicator for NinjaTrader 8 looks for pivots on price series or any other series that you make available for it as an input. It will work with any indicator plot as well as any series that you assign as an input. Main take away from this indicator framework is the code for detection the pivots. It has always been a challenge because in many indicators the pivots are detected using a hard coded pattern. In the current case the pivots are detected using the hill size and hill drop algorithm I created. You can see more details about it in the below. This algorithm allows to detect many more interesting pivot points and regulate sensitivity of how they are found. It works very well on price as well as allows accurate pivot detection on line indicators. Please see video for more information.

NC Swing/Zig-Zag

Indicator Main Features
  • Full Source Code and Videos
  • Leg Size and Volume Calculations
  • Dynamic Zag Trend Number
  • Point Distance Calculations between Pivots
  • Dynamic ATR Deviation Value
Indicator Description

Hello guys! We all know of a Zig Zag/Swing indicator! However, most of them are static. Feel free to explore my personal edition which allows you to set the deviation value using an ATR indicator. This is a very effective tool since this makes the Zig Zag/Swing adaptable to the market conditions! I will give you an example! So you can use the Zag value to trade breakouts or find interesting levels to place your stops and profits at. Now, if the Zig Zag is static then how is it going to be valid when the market calms down or speeds up? Exactly, when the market is fast and volatile the ATR of a dynamic Zig Zag indicator for NinjaTrader 8 will give you the change to see the adjusted levels and same when the market calms down because the deviation value of the Zig Zag will be using the current ATR! The indicator also allows you to see data for swing leg size, volume and peak delta which can have some tremendous edge in trading! Get this now and proceed to full source code review of 1500 lines of pure NinjaScript! Enjoy!)

NC MA Angle

Indicator Main Features
  • Find Out how to Calculate the Values based on the Values of the Plot
  • Learn How the Angle Is Calculated
  • Build your entries based on MA angle
  • Learn How to Calculate the Angle Based on the Visual Plot
Indicator Description

Hello guys!! The concept of the indicator is quite simple yet confusing! Did you know there are 2 different approaches to calculating the plot slope angle in NinjaTrader? First one will use the slope values and the other one will use the visual Y coordinates. In the first case what you see is NOT what you get, whereas in the second one what you SEE is what you GET so if start scaling the chart the angle changes! The main take away here is as always the code. I demonstrate clearly how both angles can be calculated easily. You can use and extend the indicator to your needs in any ways you like. Enjoy!

NC Bar Speed

Indicator Main Features
  • Measure consecutive bar close pattern speeds
  • Measure bar close speed with respect of direction
Indicator Description

Very simple yet effective indicator that shows bar creation speed. I think you can spot some edges using it, especially with renko or NinzaRenko bars. It can be used with any other bars as well. There are a few modes and features that it can be used with like looking for speed of close on consecutive bar patterns as well as applying a volume multiple to speed as well. All of this makes it useful in analyzing potential market turn arounds or continuation patterns. The indicator comes with source code and a code review video.

NC Divergence Expert

Indicator Main Features
  • Custom Pivot Analysis Algorithm Included
  • Analyze Price Against any Indicator in NinjaTrader 8
  • Assign any Plot Input
  • Mark Up Divergences
Indicator Description

Divergence identification is probably one of the most famous trading signals around and has been on my list of challenge indicators for quite a while. This particular solution offers the pivot detection algorithm that I have created for pivot analyzer and uses that in the context of finding divergences. The code offers an approach where any plot can be analyzed in respect to price. Once the algo detect a series of two pivots that are going up or down it will then review the same spots on any plot that you assign. It can be an indicator on a separate panel such as RSI or Stochastic as well as any indicator on the same pane such as EMA or even a secondary data series.

NC SuperTrend

Indicator Main Features
  • Popular Indicator Source Code
  • Signal API Available to Connect to Bloodhound
  • Full Source Code Logic Reviewed on Video
Indicator Description

SuperTrend indicator is really famous but there is so little magic behind it. All it is essentially is an ATR trail. The logic is real simple! On every bar close we build a top and botom channel using current ATR value with multiplier. After that if we get a Close above the channel we hide the top channel and color the bottom channel green. We do the opposite if we get the Close below the bottom channel value. The trail is also real simple. If the current close minus the atr value is actually smaller than the previous one whilst going up we use the previous value. That is why the plot is horizontal sometimes. If the value is higher we tighten it up. Please follow up to see the code review.

NC OrderFlow CumDelta

Indicator Main Features
  • Exact Copy of the Native OrderFlow NinjaTrader Indicator
  • Learn how to Plot Custom Bars using SharpDX
  • Understand how OrderFlow Cumulative Delta Indicator is Created
  • Get the Code and take it to Any Level you Like
Indicator Description

Wow wow wow! The long awaited! When I first saw the order flow cumulative delta indicator in NinjaTrader 8 paid version I was thrilled to find out the logic behind it. Turns out the logic is not that difficult at all, you can proceed to the code review I made and find out for yourself that the way it is calculated is quite easy and straight forward so now the magic is transparent. You are free to use the framework provided to extend it in any manner you like. You also get about an hour of source code review video that will help you learn how to collect data into custom collections and plot cool custom bars using the OnRender override inside your indicators! Enjoy!

NC Order Blocks

Indicator Main Features
  • Automatic detection of potential support and resistance zones
  • Over 600 lines of interesting code
  • Full code review on video
  • Famous concept of order block used
Indicator Description

Hello guys! The idea is that identifying order block patterns in my opinion can be partly subjective meaning one can see the order block where other one won't so this makes it a bit challenging to automate. With this indicator I was trying to come up with an unbiased algorithm that would make a decent attempt to analyse the patterns required to identify the order block. Although it cannot be considered perfect and some blocks are missed out, it is amazing how many are captured quite successfully and further retests of these zones prove the effectiveness of these identifications.

NC Block Marker

Indicator Main Features
  • Click to Mark Blocks
  • Level Stays Active Untill Crossed by Price
  • Source Code and Video Code Review Provided
Indicator Description

Wıth the help of this half manual UI controlled indicator you will be able to mark your own order blocks that will be extended untill they are crossed over/under by price. This is very usufull while trading especially when automated indicators seem to populate many unwanted levels that become outdated or are not very relevant. This indicator comes with source code which demonstrates valuable example of how to manipulate with NinjaTrader UI and create smart algortihms that can help you in the game of trading!


Indicator Main Features
  • Add, subtract, divide, multiply any two series
  • Works with indexes and/or any other symbols
  • Can be used on any series
  • Source code and code review provided
Indicator Description

Simple yet very effective indicator to compare the size of total up volume of NYSE to total down volume of NYSE. Users are able to subtract, multiply, devide or add any two series they like so not only is it possible to find the difference between two up volume and down volume indicies but also pretty much any existing data serieses on he market.

NCJE Mesa Stochastic

Indicator Main Features
  • Cyclical Analysis
  • Reduced Lag
  • Visual Clarity
  • Customization - source code provided
Indicator Description

The John Ehlers MESA Stochastic Indicator for NinjaTrader 8 is a sophisticated tool designed to enhance the precision and efficacy of market trend analysis for traders. Grounded in the MESA (Maximum Entropy Spectral Analysis) algorithm, this indicator is a brainchild of John Ehlers, known for his contributions to the field of cyclical analysis in trading. At its core, the MESA Stochastic Indicator diverges from conventional stochastic oscillators by incorporating cyclical components, thus offering a unique perspective on market momentum and potential reversals. By analyzing the market cycles more accurately, it aims to provide traders with timely signals that are less prone to the lag associated with traditional indicators. The indicator functions by first applying the MESA algorithm to deconstruct the price data into its underlying cyclical components. Then, it calculates the stochastic value of these components, producing a smoother and more responsive oscillator. This process is intended to pinpoint the optimal entry and exit points by highlighting the overbought and oversold conditions in a more refined manner.