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
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:
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.
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.
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