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
Changelog:
(earlier changes can be found in post #1 in the thread)
April 16 2013: v5.8
Important Bug Fix: fixed rounding error that pretty much messed up everything, please ALL update to this version!
v5.9
Apparently v5.8 did not fix the issue, hence this update.
May 5 2013: v6.0
Fixed a bug that could result in large trace files.
June 10 2013: v6.1
Improved window position handling. Now has 5 modes:
Auto: Default location and size
Manual: location and size are set manually
DockRight: Docks to the right of the parent chart
DockLeft: Docks to the left of the parent chart
RememberPosition: this will remember position and size
Feb 07 2014: v6.2
Added option to show the Dominant Limit or Largest Limit in a print, setting for this is: Parameters-->#12
v6.3 Fixde a bug in the RememberPosition function.
February 7th, 2014
Size: 29.17 KB
Downloaded: 7925 times
1246
vvhg
Exported using NT 7.0.1000.22
Modified Heikin Ashi Bars:
- 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.
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.
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
March 17th, 2019 10:53 PM Aragorn Excellent for possibly helping us who never learned how to read the tape. Awesome. Thank-you
November 7th, 2018 07:03 AM romus Excellent!
December 2nd, 2016 09:10 AM gentech Many, many thanks for this work. Will there be a version for the NT8 platform? (I wish I had the skills of some of the c
ontributors here; I'd love to do some conversions myself and post for others to use.) Once again, thank you for sharing
your hard work with us.
February 25th, 2016 04:49 PM elyt Thanks, this is so useful. All the best
December 25th, 2015 09:24 AM lesterb Excellent, thank you !