Automated Trading – S/R Breakout Test (NT 8)
Only the NinjaTrader 8 version of the S/R Breakout Test 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:
|Data Series / Plot||Type||Description / Value|
|SwingHigh_Bars_Ago||<Integer>||indicates a Breakout Test on the current bar for a Swing High N bars ago|
|SwingLow_Bars_Ago||<Integer>||indicates a Breakout Test on the current bar for a Swing Low N bars ago|
|SwingHigh_Price||<Double>||Price of the Swing High from N bars ago|
|SwingLow_Price||<Double>||Price of the Swing Low from N bars ago|
|Plot Breakout Test||n/a||Swing High or Low N bars ago
The following settings can be accessed from BloodHound:
|swingStrength||Swing strength, also refer here at the bottom of the page|
|tick_Pos_Tolerance||Positive Tolerance, also refer here at the bottom of the page|
|tick_Neg_Tolerance||Negative Tolerance, also refer here at the bottom of the page|
|tick_Min_Breakout||Minimum Breakout, also refer here at the bottom of the page|
|aTR_Tolerance||“ATR_Tolerance” mode, also refer here at the bottom of the page|
|aTR_Divisor||ATR_Divisor, also refer here at the bottom of the page|
|lookback||Number of bars back to look for support or resistance, also refer here at the bottom of the page|
|lookback_Prior_Day||Use support or resistance from the prior session also refer here at the bottom of the page|
|useFirstBar||Use the 1st bar of the session as support or resistance|
|no_MC_for_BO||Please refer here at the bottom of the page|
|use_Extend_Signals||Extend Signals for two bars, also refer here at the bottom of the page|
|show_fBO||(not a signal in BloodHound)|
All other settings like e.g. ShowLast200, ShowAlert, SoundFile and all settings for the text or graphics aren’t used by BloodHound.
Calling PASuppResBreakoutTest from a Custom indicator or strategy
Indicator Properties (please see also the settings at the bottom of the indicator page):
int swingStrength, int tick_Pos_Tolerance, int tick_Neg_Tolerance, int tick_Min_Breakout,
bool aTR_Tolerance, double aTR_Divisor, int lookback,
bool lookback_Prior_Day, bool useFirstBar, bool no_MC_for_BO, bool use_Extend_Signals);
NinjScript source code
ExampleForPAI.cs (download) is a small NinjScript source code file, that has a couple of examples in it how to call the Price Action Indicators from another indicator or strategy. If the file is displayed in the browser window you need to right click “Save link as”.
The file needs to be copied to the following folder. …\Documents\NinjaTrader 8\bin\Custom\PriceActionIndicators\
Please contact us for more examples or questions.
Please tell us what you think is missing, any kind of feedback is highly appreciated – contact us