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: 37178 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.
The indicator displays the Volume Weighted Average Price of the selected session. It can be used on all types of charts.
You can apply the indicators to charts with several intraday sessions. You can then select via indicator panel, for which session the VWAP shall be shown.
ETH session: The VWAP will be calculated for the full session, if ETH is selected via indicator dialogue.
RTH session: It is possible to display the VWAP for the RTH session or the night session. Set indicator to RTH and select the number of the session, for example "First" for the night session and "Second" for the RTH session.
RTH multi: The VWAP will be displayed starting from the open of the RTH session as specified and then continue through the after session.
Volatility Bands: The indicators has three different modes to calculate volatility bands. For each of the modes multipliers can be selected.
Variance_Price: The variance is calculated from the selected input values of the price bars and the last known value for the VWAP within the current session. This way of calculating the bands is similar to calculating Bollinger Bands with a variable period starting with the first bar of the session.
Variance_Distance: The variance is calculated from the selected input values of the price bars and the value for the VWAP corresponding to price. It is a variance of the vertical distance of price from VWAP. This method corrects for a trend and produces slightly narrower bands on a trending day.
Session_Range: The quarter range of the current session is used as a measure of volatility instead of the standard deviation.
Public Holidays: For Globex instruments the indicator will display the ETH VWAP for the two-day-session including a public holiday. The indicator is preconfigured for the Globex holiday calendar.
Colors: Different colors can be selected for rising and falling VWAP. Also colors and opacities can be selected for the areas between the inner bands, middle bands and outer bands.
Update Jan 23, 2011: Globex holiday calendar for 2011 added. Holiday sessions will only be applied to Globex instruments. Indicators now also work on tick and volume charts.
Update May 17, 2011: New signature for GetNextBeginEnd() implemented.
Update June 15, 2011: VWAP can now be displayed for RTH and after-session, see option RTH-multi. Three different types of VWAP bands added.
Update July 26, 2011: SessionVWAP uses (high + low + open + close) / 4 for higher accuracy. Adapted to different plot styles.
Update January 25, 2012: Globex holiday calendar for 2012 added. Small bug removed, which had affected the plot colors.
Update February 23, 2013: Plot recoded & CPU efficiency improved, Globex holiday calendar for 2013 added.
Update March 30, 2013: Algorithm improved for both speed and accuracy. VWAP start time can be selected.
Update April 11, 2013: Plot modified for compatibility with charts built from multiple bar series.
Update May 10, 2013: Bug removed, which led to occasional false identification of the RTH session on charts built from ticks.
Update December 9, 2013: Holiday calendar added for 2014.
Update December 28, 2014: Holiday calendar added for 2015. Price markers improved for US interest rate futures.
- 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