Automated Trading

Automated Trading (Reversal Signal Bars for NT 8)

 

Only the NinjaTrader 8 version of the PAReversalSignalBars indicator is compatible with BloodHound from SharkIndicators or can be used in the Market Analyzer/Strategy Builder of NinjaTrader. You can call it as well from your own NinjaTrader indicators or strategies. It exposes the following data series and plots:

Data Series/Plot Type Description
RVB_Bear_Indication <Boolean> indicates a Bear RVB or pattern
RVB_Bull_Indication <Boolean> indicates a Bull RVB or pattern
BarbWire_Indication <Boolean> indicates BarbWire (possible)
PatternSize <Integer> Size of the RVB or pattern in ticks
PatternStopEntryPrice <Double> Stop Entry price for the RVB or pattern, 1t above or below it
Plot RVB n/a Bull RVB or pattern   ( +1  )
Bear RVB or pattern   ( -1 )
Plot BarbWire n/a BarbWire   ( +1  )

A basic BloodHound Setup

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

(click to enlarge)
To filter all Reversal Bars or Patterns assign the Long side of the Threshold Solver to the RVB_Bull_Indication Series and the Short side to the RVB_Bear_Indication Series .

Also setup the Thresholds like shown in the screenshot.

(click to enlarge)
To filter only Reversal Bars or Patterns with a size of equal or less than 15 ticks assign the PatternSize Series to both sides of the Threshold Solver.

Also setup the Thresholds like shown in the screenshot.

Resulting Chart

Setting the PatternSize to 15 ticks or less, we filtered that large IOI reversal pattern (yellow box).

(click to enlarge)

Market Analyzer Column Setup

To setup a Market Analyzer Column follow the instructions in the NinjaTrader help guide:

https://ninjatrader.com/support/helpGuides/nt8/en-us/?market_analyzer.htm

(click to enlarge)

(click to enlarge)
First setup a new column with an indicator as an input value. Chose PAReversalSignalBars as that indicator. Be sure to also setup the right Data Series and Time Frame.
https://ninjatrader.com/support/helpGuides/nt8/en-us/?working_with_columns.htm

(click to enlarge)
To highlight cells in the new column, setup two cell conditions. One for a bull and another one for a bear signal.
https://ninjatrader.com/support/helpGuides/nt8/en-us/?creating_cell_and_filter_condi.htm

Calling  PAReversalSignalBars  from a Custom indicator or strategy

Please, always download the latest version of the indicator from the indicator page.

Indicator Properties (please see also the settings on the indicator page):

bool showBW,
bool showIB,
bool showRVB,
bool showII,
bool showIOI,
bool showOIO,
bool show2BR,
bool show3BR,
bool showOO,
bool showOB,

int tickminRangeIB,
int tickminRangeRVB,
int tickminRangeII,
int tickminRangeIOI,
int tickminRangeOIO,
int tickminRange2BR,
int tickminRange3BR,
int tickminRangeOO,
int tickminRangeOB,
int tickmaxRange1stBar,

int tickMinOvershoot_IB,
int tickMinOvershoot_RVB,
int tickMinOvershoot_II,
int tickMinOvershoot_IOI,
int tickMinOvershoot_OIO,
int tickMinOvershoot_2BR,
int tickMinOvershoot_3BR

example how to call from your indicator or strategy:

if (PAReversalSignalBars(true, true, true, true, true, true, true, true, true, true, 4,4,3,5,6,4,6,5,5,15, 1,2,2,2,2,2,2).RVB_Bull_Indication[0])
BackBrushes[0] = Brushes.LightGreen;

if (PAReversalSignalBars(true, true, true, true, true, true, true, true, true, true, 4,4,3,5,6,4,6,5,5,15, 1,2,2,2,2,2,2).RVB_Bear_Indication[0])
BackBrushes[0] = Brushes.LightPink;

if (PAReversalSignalBars(true, true, true, true, true, true, true, true, true, true, 4,4,3,5,6,4,6,5,5,15, 1,2,2,2,2,2,2).BarbWire_Indication[0])
BackBrushes[0] = Brushes.Cyan;

 

 

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

Back to Reversal Signal Bars