Automated Trading

Automated Trading – S/R Breakout Failure (NT 8)

 

Only the NinjaTrader 8 version of the S/R Breakout Failure indicator is compatible with BloodHound from SharkIndicators . You can call it as well from your own NinjaTrader indicators or strategies. It exposes the following data series:

Data Series/Plot Type Description
Tick_Failure_Bear_Indication <Boolean> indicates a Tick Failure Breakout to the upside
(a bearish signal)
Tick_Failure_Bull_Indication <Boolean> indicates a Tick Failure Breakout to the downside
(a bullish signal)

A basic BloodHound Setup
(to filter Reversal Signal Bars
for Tick Failures on prior bars)

For a basic setup in BloodHound we use a couple of “Indicator Threshold Solvers”. https://www.sharkindicators.com/documentation/confidence-solvers/indicator-threshold/

First setup a Threshold Solver for the Reversal Signal Bars indicator like shown on this page. After that setup a Threshold Solver for the S/R Breakout Failures like shown below.

To filter all S/R Breakout Failures assign the Long side of the Threshold Solver to the Tick_Failure_Bull_Indication Series and the Short side to the Tick_Failure_Bear_Indication Series .

Also setup the thresholds like shown in the screenshot.

Setup the thresholds of the Threshold Solver like shown in the screenshot.
This will check for S/R Breakout Failures on the current bar.
Copy the Threshold Solver and set the displacement to “1” on the 1st copy and “2” on the 2nd copy of it.
This sets up the two Threshold Solvers to check for S/R Breakout Failures on the two bars prior to the current bar as well.

Resulting Chart

Checking for a S/R Breakout Failure of 12 ticks on the current and the two prior bars, we filtered two Reversal Signal Bars (yellow boxes).

(click to enlarge)

BloodHound Templates

Download the file “BloodHound_Templates.zip” from here and open it. The file contains BloodHound template files for the examples from the Reversal Signal Bars and the S/R Breakout Failure indicator. Just copy the .bht files to the following folder and open them in BloodHound.
…\Documents\NinjaTrader 8\templates\BloodHound\


Calling PASuppResBreakoutFailureTick from a Custom indicator or strategy

Please, always download the latest version of the indicator from the indicator page.
PASuppResBreakoutFailureTick has eight properties (please see also the settings on the indicator page):

int xTF
int tband
int strength
int lookback
bool lookback_Prior_Day
bool showHTF_B1
bool showHOYLOY
bool showShaved

example how to call from your indicator or strategy:

if (PASuppResBreakoutFailureTick(12, 0, 1, 20, true, true, true, true).Tick_Failure_Bull_Indication[0]) BackBrushes[0] = Brushes.LightGreen;

if (PASuppResBreakoutFailureTick(12, 0, 1, 20, true, true, true, true).Tick_Failure_Bear_Indication[0]) BackBrushes[0] = Brushes.LightPink;


 

Please tell us what you think is missing, any kind of feedback is highly appreciated – contact us

Back to S/R Breakout Failure Tick