Automated Trading

Automated Trading – S/R Double Bottom / Double Top (NT 8)

 

Only the NinjaTrader 8 version of the S/R Double Bottom / Double Top 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
DoubleBottom_Bars_Ago <Integer> indicates a Double Bottom on the current bar with a Swing Low N bars ago
DoubleTop_Bars_Ago <Integer> indicates a Double Top on the current bar with a Swing High N bars ago
DoubleBottom_Price <Double> Price of the Swing Low from N bars ago
DoubleTop_Price <Double> Price of the Swing High from N bars ago
Micro_DoubleBottom <Boolean> indicates a micro Double Bottom on the current bar
Micro_DoubleTop <Boolean> indicates a micro Double Top on the current bar
Micro_DoubleBottom_IB <Boolean> indicates a micro Double Bottom on the current bar with the Low of an Inside Bar (or large tail) N bars ago
Micro_DoubleTop_IB <Boolean> indicates a micro Double Top on the current bar with the High of an Inside Bar (or large tail) N bars ago

 

The following settings can be accessed from BloodHound:

Indicator Setting Description
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
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, also 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_mDBDT Show micro Double Bottoms and micro Double Tops
mDBDT_Sensitivity Sensitivity from 1 to 10
show_IBDBDT Show Inside Bar Double Bottom/Top with the Low or High of an Inside Bar or a large tail
iBDBDT_Sensitivity Sensitivity from 1 to 10

All other settings like e.g. ShowLast200, ShowAlert, SoundFile and all settings for the text or graphics aren’t used by BloodHound.

more on Double Bottom and Double Top


Charts

BloodHound Templates

 


Calling PASuppResDBDT from a Custom indicator or strategy

Indicator Properties (please see also the settings at the bottom of the indicator page):

PASuppResDBDT(
int swingStrength,
int tick_Pos_Tolerance, int tick_Neg_Tolerance, bool aTR_Tolerance, double aTR_Divisor,
int lookback, bool lookback_Prior_Day, bool useFirstBar, bool use_Extend_Signals,
bool show_mDBDT, int mDBDT_Sensitivity,
bool show_IBDBDT, int iBDBDT_Sensitivity);

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

Back to S/R Double Bottom / Double Top