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
May 17th, 2013
Size: 148.37 KB
Downloaded: 5310 times
1384
devdas
Exported using NT Version 7.0.1000.11
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.
Delta Package V3 NT8.0.2 now with commitment of traders (COT) and heiken-ashi
Update Feb 2017: Changed "Show above / below EMA colors" to false to avoid confusion.
Minor fix 30 Dec: Added ability to change bar width manually. Note, if you have any custom built strategies using DeltaV3 then you will have to adjust your code as per the strategy sample included.
New: Sample code for use in a strategy is included. The strategy does not do anything, it simply shows how to access the delta values. It works, I've tested it. Make sure you use TickReplay on your host chart if you want historical values accessed within a strategy.
Includes everything from V2 here as well as these additions:
1. Commitment of traders: high, low and total.
2. EMA plot: Set to normal, gapless and reset at session open.
3. Heiken Ashi: Chose from the algorithms of Dan Valcu (standard) or Sylvain Vervoort.
4. Painbars based on delta values or above/below the ema.
Plus general improvements......
Make sure you enable Tick Replay to use this historically! You will not need Gom recorder for this.
However, Tick replay will not work with some Renko bars due to RemoveLastBar()
*Occasionally if the bid/ask plots don't look quite right, especially if you haven't connected for a few days, make sure you right-click on the chart and select "Reload all Historical Data".
** Please report bugs to me via PM rather than in the comments. Thank you.
Here is a picture of how you can use delta for your trading.
I am not affiliated with this person or website, but you can get some ideas here.
February 26th, 2017 11:05 AM petrukwannabe thank you
February 3rd, 2016 10:11 PM angela d I'm unable to compile this cs in the indicator editor.
June 13th, 2015 02:46 PM mrvtibbs Converted .CS file to zip file and got error message that likely file is corrupt and cant be imported...and cannot find
central directory..any suggestions on how to proceed from here?
Thanks
VSand
August 30th, 2014 10:28 PM landau Nice work. But I don't understand how to import this into Ninja Script since it is not a zip file.
Carl
June 30th, 2014 10:17 PM zohar Best indicator. Indicator has continued this version but this indicator to me most comfortable. What's great about where
that rectangle around which are traded on the bid or ask. It is much more comfortable the second version where there ar
e only traded on the line. It is good when trading fast and want to see side traded my hands.
September 6th, 2015 05:10 AM Sezor Thz - haven't tried it yet
August 30th, 2013 03:57 PM sdp0024 I'm new to this forum and wanted to confirm that these are dropped in the same folders as they are in the download folde
r. And yes, inputs would be very helpful.
April 29th, 2013 08:54 PM SarahKrantz Would be really helpful if you showed the inputs that generated that Performance Report.
April 28th, 2013 09:50 AM Mumorex thank for sharing. Will play ;-)
November 30th, 2022 09:56 AM zoomie Spectacular...Thank you
November 11th, 2022 12:52 AM chrisumerie Great work. Many thanks.
November 11th, 2022 12:51 AM chrisumerie
April 8th, 2022 01:28 PM Djt1102 When I upload this onto my chart nothing loads in the new panels, do I need a specific data connection for this to load?
March 6th, 2022 06:11 AM augusta THANK YOU VERY MUCH