Contact support

Identify bull and bear divergent bars

DivergentBars compares each price bar with the bar immediately before it. A lower low followed by a close in the upper half of the current bar gives a bull signal. A higher high followed by a close in the lower half gives a bear signal.

Show the signals on your chart

  1. On your NinjaTrader chart, press Ctrl+I.
  2. Under Available, expand ChartSpots and double-click DivergentBars.
  3. Under Configuration, select Bull Divergence, Bear Divergence, or both. Both are on by default.
  4. Leave Calculate set to On bar close. Select OK.

A separate panel appears below price. With the default plot colors, a dark cyan column marks a bull signal and a crimson column marks a bear signal. Both rise from zero to one. Read the color for direction and look straight up from the column to find the price bar.

ES fifteen-minute candles above the DivergentBars panel, with a dark cyan signal at 02:15 and a crimson signal on the next bar.
At 02:15 the candle makes a lower low and closes near its high. The next candle makes a higher high and closes in its lower half. Both candles are green, but their signals point in opposite directions.

Check a bar against its midpoint

Add the current bar’s high and low, then divide by two. For a bar with a high of 106 and a low of 98, the midpoint is 102.

  • Bull Divergence. If the previous low was 99, the current low of 98 passes the lower-low test. A close at 103 is above 102, so the indicator plots a bull signal.
  • Bear Divergence. If the previous high was 105, the current high of 106 passes the higher-high test. A close at 101 is below 102, so the indicator plots a bear signal.

A close exactly at 102 gives neither signal. An equal low fails the bull test, and an equal high fails the bear test. The opening price does not enter either calculation.