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
December 12th, 2016
Size: 59.19 KB
Downloaded: 37168 times
57
dorschden
Exported using NT Version 7.0.1000.11
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.
Options for the Pivot indicators: Floor pivots, pivot range, midpivots, floor pivots wide, Jackson Zones, Fibonacci pivots, Camarilla pivots, VWAP of the prior session.
Chart settings: Please set the right side margin under chart properties to 200 to allow for correct display of the labels. The colors are better adapted to dark chart backgrounds.
Session templates: The indicators require the use of a correct session template for the instrument shown on the chart. With an ETH template only ETH pivots can be displayed. For displaying RTH pivots, it is recommend to use a multi-session template that divides the day into the night session, regular session and after-session.
Use of daily data on intraday charts: The 3 pivot indicators are designed to load daily data, if the option for Settlement/Close is set to “Daily Bars”. This the data used by the indicator:
"Calculate from session" = "DailyBars": Pivots are entirely calculated from daily data.
"Calculate from session" = "ETH" & "Settlement/Close" = "DailyBars": High and low are taken from the full intraday sessions. The close or settlement price is taken from daily data.
"Calculate from session" = "RTH" & "Settlement/Close" = "DailyBars": High and low are taken from the regular intraday sessions. The close or settlement price is taken from daily data.
"Calculate from session" = "ETH" & "Settlement/Close" = "Intraday Close": High and low are taken from the full intraday sessions. The close is the last price traded for the full session.
"Calculate from session" = "RTH" & "Settlement/Close" = "Intraday Close": High and low are taken from the regular intraday sessions. The close is the last price traded for the regular session.
Auto setting for the 3 pivot indicators: The Auto setting will preselect ETH for FOREX and all CME currency futures, but preselect RTH for all other instruments.
VWAP: The VWAP of the prior day is always calculated from intraday data. Depending on the chart resolution it can be a few ticks off the correct value.
GLOBEX holiday sessions with settlement next day: The indicator is preconfigured for Globex holiday sessions without settlement for trade date next day or later. These trade dates are President’s Day, Martin-Luther-King Day, Memorial Day, Independence Day, Labour Day and Thanksgiving. The indicators will display double day sessions for these days for all GLOBEX and NYMEX traded instruments.
Update Jan 23 2011: Globex Holiday Calendar for 2011. Holiday sessions will only be applied to Globex instruments. Price markers - only available for zone width 0 - are now correctly formatted for US interest rate futures and FOREX.
Update June 5, 2011: New signature for GetNextBeginEnd() implemented.
Update June 21, 2011: The indicator now works with half-pip FOREX feeds. Indicator dialogue box improved.
Update July 20, 2011: Serialization of the plots changed.
Update September 13, 2011: Zones were not plotted correctly, when indicator was set to "UserDefinedValues".
Update December 12, 2011: Weekly and monthly pivots added. Levels R5, S5 added. Some labels changed. Label size is now adjustable. Globex Holiday Calendar for 2012 added.
Update July 26, 2012: Weekly and monthly pivot zones could be displayed for incomplete periods in DailyBars mode. Indicators now check whether the data for the prior week / prior month is complete.
Update December 13, 2013: Indicators entirely redesigned. Holiday calendar added for 2014.
Update December 28, 2014: Holiday calendar added for 2015. Price markers improved for US interest rate futures.
Detailed explanations how to use the indicator can be found here:
This is a simple version of the Better Volume Indicator from https://www.emini-watch.com/. It is not based on the later versions but the original version and identifies the following events
Breakout or Climax Bars: A breakout or climax bar is a bar with the highest value for the product of volume and range within the lookback period.
Churn Bars: A churn bar is a bar with the highest value for the volume per range within the lookback period.
Climax Churn Bars: A climax churn bar is a high volume bar that qualifies as both climax and churn bar.
Low Volume Bars: A low volume bar is a bar that has the lowest volume within the lookback period.
The indicator uses two lookback periods. The larger lookback period identifies stronger climax and churn bars, the smaller lookback period points to weaker climax and churn bars and is used to identify low volume bars.
Sound Files: The sound files are user selectable. You first need to copy your sound files to the directory C:\Program Files\Ninjatrader 7 \sounds. You can then select these files via the indicator dialogue box. Make sure that your sound files are compatible with NinjaTrader. NinjaTrader 7 does not support wav\MPEG, you need to convert it to wav\PCM first with an audio recorder.
Version 1.1, April 22, 2011: Bug fixed, low volume bars were not shown correctly.
Version 1.2, January 22, 2012: Paint bar option added. Overlay version showing paint bars only is included. Values for different bar types are exposed as IntSeries
Version 1.3, September 27, 2012: Code efficiency improved, following suggestions by @Zondor.
Version 1.4. December 28, 2012: Bug removed, sound alert for low volume alert was triggered for all bars with setting COBC = false.
Version 1.5. February 10, 2015: Bug removed, paintbar opacity was not applied for low volume upclose bars with setting COBC = false.
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