The PriceActionSwing indicator for NinjaTrader 7.0 calculates swings in different ways and visualize them. It shows swing information like the swing length, duration, volume,... It contains a lot of features. It is also useable on the Market Analyzer.
The package contains 3 indicators: PriceActionSwing
- standard swing indicator with visualization and swing information PriceActionSwingPro
- Draw automatically Fibonacci extensions and retracements
- Calculate a swing statistic
- Calculate and visualize ABC patterns
- Risk management (automatically for ABC patterns)
- Calculate and visualize divergence based on an indicator
- GomCD (uncomment the "region GomCD" parts in the source code) PriceActionSwingOscillator
- swing trend visualization
- developing swing volume (repainting)
Useful to see/trade price action with HH, HL in uptrends and LL, LH in downtrends and patterns like double top/bottom, triangle,…
Version 17 - June 5 2014
- Changed the code structure for simpler access from strategies and other indicators If you use PriceActionSwing within other files, make sure you have a backup from the old version
- Added swing tick and swing percentage calculation
- Added swing calculation based on close values
- Added seperate swing price output
- Added developing GomCD output since the last swing
- Improved risk management items
- Added risk management tab
- Added different alerts
Version 18 - June 15 2014
- Fixed minimum swing size to < 1 for percentage settings
Starting from version 17 NinjaTrader 6.5 will not longer be supported. Starting from version 19 NinjaTrader 7.0 will not longer be supported get NT8 version here
COMPATIBILITY:
NinjaTrader 6.5: NO
NinjaTrader 7.0: YES
NinjaTrader 8.0: NO, see NT8 version here
Please download the new Supertrend U11 (Universal), which allows to calculate the stop line from median, mode and 27 other moving averages.
This is a new implementation of the TradeStation SuperTrend indicator for NinjaTrader 7. The SuperTrend indicator is an application of the concept of MAE (maximum adverse excursion), which was introduced by John Sweeney in the mid-nineties.
The SuperTrend M11 is particularly stable and has a few advantages over other SuperTrend indicators:
It uses a moving (statistical) median of the arithmetic mean (High + Low)/2 of the bars instead of a moving average. The (statistical) median is known to be more robust than any average.
It calculates both the Median and the ATR (average true range) 1 bar ago, whereas the original SuperTrend indicator takes the ATR and moving average of the current bar. If you use the current bar's ATR, the current bar's breakout is partly measured against its own range. This is particularly true, if the ATR period is short.
Accessing the trend: The indicator comes with a BoolSeries that holds the trend. This BoolSeries can be accessed by other indicators or automated strategies.
Reverse Intra-bar = false: This is the default setting of the indicator. A logical signal will be generated when the close of the signal bar has taken out the stop line. The position may be reversed at the open of the next bar. The paint bars will only change colors for the bar after the signal bar. The arrow will be also plotted for the entry bar.
Reverse Intra-bar = true: This is an unusual setting for the SuperTrend. The signal will be generated with the first tick that has plotted on the other side of the stop line. In this case the position may be reversed intra-bar for the signal bar. Paintbars and arrows will already plot for the signal bar.
Paintbars: The indicator has an option to display the current trend via paintbars. Downclose bars are filled, upclose bars are hollow. For the upclose bars an opacity can be selected for better visibility.
Arrows: The indicator has an option to display trend changes via an arrow.
Sound alerts: The indicator will alert to trend reversals and potential trend reversals. A potential trend reversal occurs when price touches the stop line intra-bar prior to the confirmation by a close on the other side of the stop line. The sound files are included with the indicator install file. Please unzip and copy them into the program files (x86)\ NinjaTrader 7\ sounds directory or whatever directory is used by NinjaTrader to store the sound files.
Comparison between SuperTrend M1 and SuperTrend M11:
The SuperTrend M11 calculates both the average true range and the median 1 bar ago. This results in a considerable saving in CPU load, if you use the indicators in CalculateOnBarClose = false mode. The SuperTrend M11 does the median calculation only once per bar, while the SuperTrend M1 recalculates it with every incoming tick. If you use the indicator with CalculateOnBarClose = true setting, you can also continue to use the SuperTrend M1. There will be no significant difference in performance.
Changed formula: The Supertrend M11 will give slightly different results, when compared with the Supertrend M1. If you want to reproduce the settings of your Supertrend M1, you should use the same value for the ATR period and the ATR multiplier, but reduce the value for the median period by 1. The result will still not be identical. Also for both indicators a minimum size for the ATR values has been imposed, the ATR may not be smaller than the ticksize. This is only important for lower timeframes during low volatility and prevents the SuperTrend from changing the trend too often.
SuperTrend M1: The indicator package contains an updated version of the SuperTrend M1. However, I recommend to switch to SuperTrend M11.
Update August 10, 2011 : Visual design improved. The new indicator version can also be called by other indicators and strategies.
Update May 23, 2012: Entirely recoded version, which uses Median and ATR 1 bar ago to avoid recalculation with every tick. Sound alerts added that trigger intra-bar and which can be used on replay. Smaller improvements added.
Update May 24, 2012: Bug removed, upclose candles were not plotting properly.
Update June 30, 2012: New SuperTrend U11 "Universal" released, this is a new indicator - see link for more information
Update October 2, 2012: Indicator simplified. Trend state can no longer change intra-bar.
Update October 3, 2012: Indicator now allows for displacement. BoolSeries modified for accessing the trend. Trend change intra-bar is possible with option reverse intra-bar and COBC = false.
Update March 5, 2013: Arrows now plotting one bar earlier for the option Reverse intra-bar = true.
Please remove old version before installing this one.
Current version is V7
This indicator tries to detect price/indicator divergence.
Any indicator in Ninja can be used and detection is possible on historical and real time charts.
To set the user indicator : goto ECIDiv parameters / Data / Input Series and choose your indicator.
When the user indicator data uses multiple periods, the Plot input is used.
ECIDiv was designed for standard Ninja period types. Usage of other period types is not guaranteed nor supported.
The divergence computation uses local turning points (called pivots) calculated on the price and the user indicator input.
When price and indicator diverge (regular or hidden divergences) an audio and visual signal is given.
Size of pivot (number of bars to the left and right) is adjustable (default size is 1).
Reminder :
Regular Divergence occurs when :
* Long signal : price makes LL and indicator HL.
* Short signal: price makes HH and indicator LH.
Hidden Divergence occurs when :
* Long signal: price makes HL and indicator LL.
* Short signal : price makes LH and indicator HH.
(LL = Lower Low, HL = Higher Low, HH = Higher High, LH = Lower High).
ECIDiv draws the input indicator. If you don't want it to be drawn, simply set it to transparent.
The input method introduced in the V7 is based on the one used by the indicator DivergenceInputSeries (that you can also find in Big Mike Forum).
TODO :
* Continue watching Big Mike Trading users feedback.
Changelog
V7 : November 1st 2013
* Major Change/Enhancement : new input method. any indicator is accepted.
* Removed : Divergence target (buggy).
V6 :
* Change : CalculateOnBarClose default is now false
* Change : Removed dots from divergence drawings (users request)
V5 :
* Added Divergence logging for internal compatibility checks
* Added Logging for internal performance logging
V4 : December 7th, 2012 + Update March 3 2013
* Added TSI, RSI, MACD
* Enhanced variable periods : slow, fast, smooth
V3 : November 21, 2012
* Added adjustable sound alert file path.
* Enhanced signal colors (separate colors for HD/RD, divergence line width).
* Added divergence price target helper.
V2 : October 3rd, 2011
* Added REGULAR Divergence detection
* Added RSI indicator to the compatible indicators list
* Added adjustable pivot left and right size
* Added adjustable signal colors
V1 : September 30th, 2011
* Initial release with HIDDEN Divergence signals for CCI/Momentum/DoubleStochastics.
- Option to select between the original Heikin-Ashi bars created by Dan Valcu and the modified Heikin-Ashi bars suggested by Sylvain Vervoort.
- The Heikin-Ashi candles can be smoothed with median, mode and 27 different moving averages. Please select between the 2 types of Heikin-Ashi bars, smoothed Dan_Valcu candles and smoothed Sylvain_Vervoort candles.
- Indicator can be used on price panel or other panels.
- Candle color and candle outline color can each be selected.
- A paintbar indicator is included that allows to color bars according to the Heikin Ashi trend. The paintbar indicator allows to access the trend via a BoolSeries, which can be used by automated strategies or other indicators.
Update January 13, 2011: Indicator can be used on secondary panels.
Update July 3, 2012: Formula used by Sylvain Vervoort added. Second paintbar indicator added that can be used as a trendfilter.
Update August 16, 2012: Smoothing methods added. Plot modified. Indicators can now be displaced.
Update August 31, 2012: Ehlers Filter updated.
Update August 20, 2013: Tillson T3 added, Heikin-Ashi trend exposed as public BoolSeries, HA Open, High, Low and Close can be selected as input series or accessed by a strategy.
Update April 5, 2014: Small copy & paste bug removed, values were not correctly set to BoolSeries for the HA indicator.
March 9th, 2023 05:21 PM MONICAP hello, and thanks for your time developing and sharing this indicator. i want to ask if this could be available for NT8
also. thank you
September 16th, 2022 07:30 PM TomTownsend Very helpful, thank you, and for all you do!!!
February 19th, 2019 06:43 AM Anand Jagdeo good morning. I am fairly new to trading and would like to use this indicator. am i supposed to change the dates for the
se holidays to the current year. Please advise. Seems like a pretty good indicator if applied properly. Thanks
Anand
June 9th, 2017 11:10 AM mercyj does anyone know why I can't set the autoscale to FALSE? it's greyed out. and the pivots are all wacko on the chart