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
Indicator will only run on NT 7.0.1000.4 or later.
The VisualSMA is a MTF (multi-timeframe) version of the Simple Moving Average. It will plot on any chart and allows to calculate the moving average
- from minute bars
- from second bars
- from tick bars
- from range bars
- from volume bars
For example you can display an hourly SMA on a 235 tick chart, or display a 11-period SMA calculated from a 500 tick chart on a 7 range chart.
The indicator has three modes to display the moving average:
StrategicMode: The first bar series collects the values from the secondary series without any lag on historical data, but a 1-tick lag on real-time data. This mode does not repaint, but shows the values originally recovered from the secondary bar series. On the chart the indicator in Strategy Mode is plotted yellow.
FirstTickMode: To avoid the lag for similar bars with identical time stamps, the indicator repaints the indicator value for the prior bar, after the first tick of the current bar has been registered. The one-tick repainting reduces the lag. On the chart the FirstTick Mode is shown in red.
Visual Mode: To make it easier to use the indicator visually, the indicator interpolates the distance between two consecutive bars of the secondary bar series. The interpolation algorithm works in real-time and simulates the CalculateOnBarClose = false mode for the indicator relative to the secondary bar series. It repaints the current leg of the indicator back to the prior bar of the secondary series. The interpolation adapts itself to equidistant or non-equidistant charts. The Visual Mode is shown in aqua.
This indicator comes as a protected assembly, so you cannot directly access the code.
Update August 30, 2011: 1-Tick Repainting for VisualMode and FirstTickMode was only enabled for fixed period bars. It is now also available for other bar types.
Update September 6, 2011: Bug fixed. VisualMode interpolation could be a few ticks off on real-time data.
Update November 9, 2011: Indicator entirely recoded, robustness and speed improved, lag reduced.
Update November 23, 2011: Indicator was lagging with CalculateOnBarClose = true setting. Lag is eliminated.
Update January 5, 2012: Option added to select color according to the slope of the VisualSMA. Paintbars added as a trendfilter.
Update August 15, 2012: Code updated to allow for displacement of indicator.
Update September 29, 2012: Renko option removed. Indicator could not always be called from a strategy, bug removed.
Please remove prior versions of the indicator, before installing the new release:
(1) Remove old assembly via File -> Utilities -> Remove NinjaScript Assembly.
(2) Shut down NinjaTrader and restart it.
(3) Install new file via File -> Utilities -> Import NinjaScript.
Indicator will only run on NT 7.0.1000.4 or later.
The VisualEMA is a MTF (multi-timeframe) version of the Exponential Moving Average. It will plot on any chart and allows to calculate the moving average
- from minute bars
- from second bars
- from tick bars
- from range bars
- from volume bars
For example you can display an hourly EMA on a 277 tick chart, or display a 12-period EMA calculated from a 100 tick chart on a 5 range chart.
The indicator has three modes to display the moving average:
StrategicMode: The first bar series collects the values from the secondary series without any lag on historical data, but a 1-tick lag on real-time data. This mode does not repaint, but shows the values originally recovered from the secondary bar series. On the chart the indicator in Strategy Mode is plotted yellow.
FirstTickMode: To avoid the lag for similar bars with identical time stamps, the indicator repaints the indicator value for the prior bar, after the first tick of the current bar has been registered. The one-tick repainting reduces the lag. On the chart the FirstTick Mode is shown in red.
Visual Mode: To make it easier to use the indicator visually, the indicator interpolates the distance between two consecutive bars of the secondary bar series. The interpolation algorithm works in real-time and simulates the CalculateOnBarClose = false mode for the indicator relative to the secondary bar series. It repaints the current leg of the indicator back to the prior bar of the secondary series. The interpolation adapts itself to equidistant or non-equidistant charts. The Visual Mode is shown in aqua.
This indicator comes as a protected assembly, so you cannot directly access the code.
Update August 30, 2011: 1-Tick Repainting for VisualMode and FirstTickMode was only enabled for fixed period bars. It is now also available for other bar types.
Update September 6, 2011: Bug fixed. VisualMode interpolation could be a few ticks off on real-time data.
Update November 9, 2011: Indicator entirely recoded, robustness and speed improved, lag reduced.
Update November 23, 2011: Indicator was lagging with CalculateOnBarClose = true setting. Lag is eliminated.
Update January 5, 2012: Option added to select color according to the slope of the VisualEMA. Paintbars added as a trendfilter.
Update August 15, 2012: Code updated to allow for displacement of indicator.
Update September 29, 2012: Renko option removed. Indicator could not always be called from a strategy, bug removed.
Please remove prior versions of the indicator, before installing the new release:
(1) Remove old assembly via File -> Utilities -> Remove NinjaScript Assembly.
(2) Shut down NinjaTrader and restart it.
(3) Install new file via File -> Utilities -> Import NinjaScript.
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