Showing posts with label Ninjatrader NT8. Show all posts
Showing posts with label Ninjatrader NT8. Show all posts

Sunday, January 11, 2026

Mastering Market Discrepancies: A Comprehensive Guide to the Divergence Detector Indicator

The Divergence Detector by PatternSmart is a highly versatile technical analysis tool designed for NinjaTrader 8. Unlike standard divergence indicators that are locked to a single oscillator (like RSI or MACD), this tool can detect price-momentum discrepancies from any valid indicator plot.

  Get this indicator now:Divergence detector from any input indicator's plot on NinjaTrader 8.

 

What is the Divergence Detector?

In technical analysis, divergence occurs when the price of an asset moves in the opposite direction of a technical indicator. This conflict suggests that the current price trend is losing momentum and may soon reverse or stall.


The PatternSmart Divergence Detector automates this complex visual task. It scans for both Regular and Hidden divergences across four distinct types, marking them instantly on your chart to remove subjective guesswork.

Key Features and Functionality

  • Universal Compatibility: You can link the detector to any sub-chart indicator (RSI, MACD, CCI, etc.). It works by selecting a specific plot (e.g., the MACD line or the Histogram) as the input source.

  • No Repainting: Signals are drawn instantly on the current bar.


  • 1-Bar Confirmation: A "Wait 1 bar" feature allows you to display signals one bar later to ensure the trend direction of both price and the indicator is confirmed.


  • Visual Distinction: It labels signals clearly—"R" for Regular (reversal) and "H" for Hidden (continuation)—with customizable colors for bullish and bearish lines.

  • Multi-Range Scanning: You can toggle between short, mid, and long bar ranges to find divergences that fit your specific timeframe or trading style.


How to Use the Divergence Detector

To get the most out of the indicator, follow these three steps for effective technical analysis:

1. Identify the Market Context

Before looking at signals, determine if the market is trending or range-bound.

  • Regular Divergence (Reversal): Look for these at the end of extended trends. A Regular Bullish signal appears when price makes a lower low, but your indicator makes a higher low.


  • Hidden Divergence (Continuation): Look for these during pullbacks within a strong trend. A Hidden Bullish signal appears when price makes a higher low, but the indicator makes a lower low.


2. Confirm with the "Wait 1 Bar" Feature

To avoid "fakeouts," enable the Wait 1 bar setting. This ensures the pivot point is fully formed before a signal is plotted, providing a more reliable foundation for a trade entry.


3. Use in Confluence

Divergence is a powerful "leading" signal, but it shouldn't be used in isolation.


  • Volume: If a bullish divergence appears, check if volume is increasing on the up-bars to confirm buyer interest.

  • Support & Resistance: A regular divergence carries significantly more weight if it occurs at a major historical support or resistance level.

Why It’s Useful for Technical Analysis

The primary value of this indicator is efficiency and objectivity. Spotting divergences manually is tedious and prone to human error—especially hidden divergences, which are often overlooked. By using an automated detector, you ensure that every potential momentum shift is brought to your attention instantly. Additionally, because it can be used with any indicator, you can tailor it to the specific momentum tool that historically works best for the asset you are trading (e.g., using MACD for Forex or RSI for Stocks).

 Get this indicator now:Divergence detector from any input indicator's plot on NinjaTrader 8.

Monday, September 28, 2020

N bars High low Free indicator for Ninjatrader 8 NT8 .

This free Ninjatrader 8 NT8 indicator will simply plot the Highest High and Lowest Low of last N bars on chart. 

As shown in the chart below, it plots the Highest High and Lowest Low of last 10 bars. Then input N is the number of bars to use.

You can use it on any chart type.

Please download it from: https://drive.google.com/file/d/1UhwhUBQZg2Psc2HNAp_iQjg1qHpPBIut/view?usp=sharing

Please contact us if you want to customize this indicator or need to create any customized indicator on any platform.

Tuesday, June 26, 2018

How to use Ninjatrader 8 CHART PATTERN indicator as scan filter in Market Analyzer Column MAC



All of our Ninjatrader 8 CHART PATTERN indicator can be used as scan filter in Market Analyzer.

You can access the Market Analyzer window from within the NinjaTrader Control Center window by left mouse clicking on the menu New, and then selecting the menu item Market Analyzer.









After you open the Market Analyzer window, right click and select 'columns'.



You will see all available columns now, go to 'Indicator'.





Select the chart pattern you want to use:



After you select one of them you should see all of its inputs as the pic below.


Make sure you load at least or more than 150 bars. 






If there was a chart pattern found with your settings the column would display a value greater than 0. If there was no pattern found it would display 0.






If you want to use it as a scan filter, you need to add a Filter condition(Not Cell condition).





Please use the following settings in order to filter out symbols without a pattern found.
 





To enable/disable filtering press down on your right mouse button in the Market Analyzer window and select the menu Row Filter. When enabled, the Market Analyzer will filter out rows from the grid display based on the Filter Conditions of the columns. 

The image below is an example of a list of symbols after 'Row Filter' enabled.




Please do not add more than one filter unless you know what you are doing.

Here is a link of
How to use ninjatrader Market Analyzer

Thursday, September 14, 2017

Free Auto TrendLine indicator for Ninjatrader NT8


This indicator will automatically plot the upper and lower trend lines based on the most recent swing points. 

It works on all timeframes that officially supported by Ninjatrader 8.

You are free to use and share it.

 





Parameters:

  • UpperLength1: the number of bars on the left and right side of the peak C.
  • UpperLength2: the number of bars on the left and right side of the peak A.
  • LowerLength1: the number of bars on the left and right side of the trough D.
  • LowerLength2: the number of bars on the left and right side of the trough B.

If set UpperLength1 to 5, it means the high at point C is higher than the high of 5 bars on both left and right sides.



























Saturday, September 9, 2017

M shape bullish XABCD 5-point chart pattern indicator for Ninjatrader NT8


XABCD 5-point chart patterns are very common and popular in technical analysis, some of them have already been named, such as Gartley, Butterfly, Bat, Crab, Shark and Cypher.

As the name suggests, XABCD pattern has 5 points and 4 legs formed by those 5 points. The concept of XABCD 5-point pattern is to compare the retracement level between legs. For example, when you see AB makes a 0.382 or 38.2% Fibonacci retracement of the X-A leg or XA, it means that the price difference from point A to B is equal to 38.2% of the price difference from point X to A.
If we use a formular to represent the relation, it will be: (B-A)=0.382*(X-A);



This indicator is able to detect and highlight any Bullish M shape XABCD 5-point chart pattern based on your pre-defined settings, and plots the fibonacci retracement automatically.
 






The following video shows how it plots in realtime.






How it works:

It uses Zigzag to track the price trend and detect all four legs based on your settings. If there are four adjacent legs that meet the retracement levels you set, it will highlight the XABCD 5 points, plot two triangles and draw the Fibonacci retracemen lines. The image below is an example of what this indicator plots on chart.







Features:

  1. Automatically highlight the M shape XABCD 5 points pattern and shade the triangle XAB and BCD.
  2. You will be able to change the outline color for those 4 legs, XA, AB, BC and CD.
  3. You will be able to change the shade color and transparent level of the two triangles XAB and BCD.
  4. Automatically draw Fibonacci retracement levels with ON/OFF switch,
    • adjust how many bars used for the extension of fibo levels.
    • select Right or Left side to show the fibo values.
  5. Plot a projection (not prediction) of the D point when XABC is confirmed.
    • Enable to turn this feature ON/OFF.
    • If the actual D point is detected, the projection will be removed.
  6. Show XABCD patterns on history data, if turn this feature OFF, it will only plot the last one XABCD pattern.
  7. Sound alert whenever a XABCD pattern is detected.
  8. Select different alert sound files with drop down menu.
  9. Adjust the Zigzag parameters:
    • Zigzag deviation type:  percentage or point
    • Zigzag deviation value.
    • Switch ON/OFF to show Zigzag line.





The retracement levels in some of the XABCD patterns definition are theoretical values, it's not realistic to set the retracement as a fixed value such as 0.618, since you may not be able to find any pattern in a short time.

It's better to set the value as a range. For example, if you want to detect 0.618 retracement from AB to XA, then set a range from 0.6 to 0.64 will be more practical.
Set the inputs as:  ratio AB:XA <=0.6 and ratio AB:XA >=0.64.

Define the retracement between legs as shown in the picture below.
  • If you want to compare BC and XA instead of BC and AB then enalbe BC:XA, it will disable BC:AB automatically. Same for CD:XC.


Show XABCD patterns on history data, if turn this feature OFF, it will only plot the latest XABCD pattern.



Otherwise, it will keep all qualified patterns on chart.
But only the last one will show Fibonacci retracement levels.




The following chart is a pattern on history data.
It will not plot retracement levels on historical patterns.



 The following chart is an example of how projection mode works.




The following chart is an example of how customized XABCD ratio works.
You can set the ratios to any value you want.

I set the ratios of AB:XA and CD:BC to a range around 1, then the shape will be a M top or double top pattern as shown in below.




Please make sure you have enough bars loaded on chart.



You can also use this indicator to capture any XABCD pattern as well as the ones that already been named.

The following example shows how to use this indicator to detect Cypher Pattern.

Cypher Pattern Rules: 
  • The Cypher pattern starts with the X and A points.
  • Point B is confirmed when AB retraces to 0.382 – 0.618 Fibonacci level of the leg XA
  • Point C is confirmed when BC extend the XA leg by at least 1.272 or within 1.130 – 1.414 Fibonacci extension level
  • Point D is confirmed when CD retraces 0.782 Fibonacci level of XC

The image below is the parameters for bullish Cypher Pattern, since it uses BC:XA and CD:XC, you need to enable those settings.






The following example shows how to use this indicator to detect bullish Gartley pattern.

Gartley pattern rules:
  1. Leg AB should be the .618 retracement of leg XA.
  2. Point C is confirmed when BC retraces either .382 or .886 of AB.
  3. If the retracement of BC is .382 of AB, then CD should be 1.272 of BC. If BC is .886 of AB, then CD should extend 1.618 of BC.
  4. CD should be .786 retracement of XA.





The following example shows how to use this indicator to detect bullish Butterfly  pattern.

Butterfly pattern rules:
  1. Move AB should be the .786 retracement of move XA.
  2. Move BC can be either .382 or .886 retracement of move AB.
  3. If the retracement of move BC is .382 of move AB, then CD should be 1.618 extension of move BC. Consquently, if move BC is .886 of move AB, then CD should extend 2.618 of move BC.
  4. CD should be 1.27 or 1.618 extension of move XA.





Since the legs are based on Zigzag line, please make sure you set the proper input for zigzag first, otherwise you may not be able to detect the desired patterns.
This is a life time license, no subscription or renew fee.