Stochastics and Double Stochastics 'Any Input' with colors V1.1 update NT8b11
Important update May 2016:
*Moved input code to State.DataLoaded due to exceptions when used in the market Analyzer.
*Slight improvement in Decimal places formatter
* Use any input such as an indicator, including delta.
* Colored overbought and oversold regions.
* Reversal and 'Poop and Pop' signals.
* Reverse colors option for DStoch.
* Decimal places enum for price markers.
* Gapless option. Only for price series, however you can use a gapless indicator instead as the input.
Code examples:
* How to tell an indicator whether 'Input' is an instrument price or another indicator value.
if (Input is PriceSeries)
* Creating colored regions.
* Limiting plots to max/min values.
* Custom decimal places code for use in UI.
Remember this is for Beta so please inform me via PM if you have any bugs, problems or suggestions.
May 14th, 2016
Size: 14.89 KB
Downloaded: 2053 times
1733
Sim22
This is the NinjaTrader 8 version of BetterRenkoV2.
This Renko bar type is backtestable. It does not generate false "fill-in" bars. It maintains a true OHLC and displays properly with the Candlestick ChartStyle. If you want it to look like bricks, use the BetterBrick ChartStyle.
This is a tick-based bar, so initial loading can be slow. The NT8 "Break at EOD" feature is also supported, allowing bars to continue across session breaks.
"The Moving Average of Oscillator (OsMA), is an indicator that is calculated by taking the difference between a shorter-term moving average and a longer-term moving average. The two most common are the 12 period moving average and the 26 period moving averages. Because of this fact, it is best described as a modification of the classic MACD Indicator. A cross through the zero or center line can be a very simple way to decide if momentum is gaining to the bullish side, or if it is falling to the bearish side. Many traders will use the side of the line that the histogram is on to help them decide which direction they want to be in a particular market.
This indicator can be used to spot divergences as well. A divergence is simply when price isn’t in tune with actual underlying momentum. During divergence, you may have a new high on the price chart, but the OsMa is failing to make new highs." -fxstrategy.com
Converted from the old OsMA in NT6.5/7 which itself is derived from the MACD indicator. For me it is the Diff line from the MACD, but with more energy and better divergences.
Sample - Decimal Place Price Formatter Helper V1.2 NT8b10
The 2 sample indicators here include a simple cut and paste code to enable you to directly format your indicators' price markers (or within market analyzer) directly in your properties configuration. It uses an addon called 'Sim22_PriceFormatter' to calculate this.
As of beta 10 this feature is not yet available, but I have requested it....lets just wait and see
Features:
* Set decimal places from 0 - 7 (including 'SameAsInstrument' setting for your price panel indicators).
* Will not 'round to tick size' for instruments like the ES, but reflect the true value of the indicator instead.
* Works on bond prices if set to 'SameAsInstrument'.
You will find the two indicators within the Indicators>Samples folder.
I will not make other indicators for you so don't ask.... this is a helper to help you do it!
Remember this for beta so let me know of any bugs via pm. Any suggestions too.
April 2nd, 2016
Size: 7.25 KB
Downloaded: 197 times
1725
Sim22
David Varadi's AggregateM++ Mean Reversion Oscillator V1 NT8b9
Quote from the link below:
"The Aggregate M indicator is based on the concept that in the long term the market trends, while in the short-term the market is noisy, and has a tendency to mean-revert. Why not combine the two concepts to keep life simple? The Aggregate M is supposed to reflect an adjusted median that is filtered for short term noise. The median is a far more accurate measure of central tendency than a simple average especially with noisy data. Taking a superior measure of trend and filtering out some of the noise by adjusting for short-term mean reversion creates an even better median. The Aggregate M is now both trend and mean-reversion rolled into one."
March 26th, 2016
Size: 3.52 KB
Downloaded: 919 times
1724
Sim22
Coding Tool - OnRender Helper V1 & 2 (nt8b10)
OnRender Helper is a tool for coding, not trading.
I became tired of sometimes 'losing' my 'OnRender' plots because of chart scale values so I made a 'jig' of sorts to help with this.
OnRender Helper enables you to see most ChartControl, ChartBars, ChartPanel and ChartScale properties in realtime as you manipulate the chart and bars.
It helps dispel confusion when coding so you know exactly how, for instance, ChartBars.ToIndex relates to ChartControl.LastSlotPainted or if you want to see the current pixel value of ChartPanel.Y or how many bars are painted on the chart etc etc.
Features:
*You can place in any panel (and all panels) so you can find the properties specifically for that panel.
*Works on multi-tabbed charts.
*V1 sits within the panel and is quite basic, although it does share all values.
*V2 opens a new window so it does not obstruct your chart. You can open the window via a toolbar button.
*V2 - open a DataBox and view the current bar value.
Coding examples:
*How to insert/remove a toolbar button.
*How to open a new window via a toolbar button.
*How to create a hyperlink to a website (NT8Help) that opens in a browser.
*How to access chart/bar properties and convert into string format.
Remember this is for beta so please PM me for bugs. Suggestions and ideas are welcome also!
March 10th, 2016
Downloaded: 213 times
[Status unknown]
1719
Sim22
Multi functional repeater of up to 10 X and/or Y Highlight regions daily or day of week. User interface expands for up to 10 events. Each event configurable as a time region, price region, fixed rectangle or dynamic rectangle (adjusts on price), select a day of the week or daily. See video for further detail.
March 9th, 2016
Size: 11.11 KB
Downloaded: 650 times
1718
TropicalRecon
Prior OHLC Day, Week & Month MTF AIO V1.1
Updated to RC1 Sep 2016: Do not delete or comment out !BarsArray[0].IsIntraday since this is a safety check to make sure you do not use on a >= Daily chart.
Rather, change to !BarsArray[0].BarsType.IsIntraday or download this new update.
Will work on Renko bars
* Plots prior Open, High, Low & Close.
* Daily, Weekly & Monthly all in one (AIO).
* Uses minute data behind Renko charts to plot accurate levels.
* Has a button you can use to show/hide the plot.
So you can plot several indicators per chart and hide them when not needed
* Can use solid lines.
Update April 2016:
Minor code update to prevent plotting/rendering issues.
Remember this is for Beta, so please PM me for bugs or fixes.
March 7th, 2016
Size: 5.31 KB
Downloaded: 2267 times
1716
Sim22
CandleStyle++ Nt8b9 V1
This is a chartstyle, not an indicator!
This chartstyle eliminates the need for adding a separate indicator to your chart to change the candle outline colors.
Just simply click on the chartstyle menu and select 'CandleStick++'.
* Custom outline brush.
* Custom wick brush.
* Custom opacity for the bar.
Remember this is for Beta, so please PM me for bugs or fixes.
March 6th, 2016
Size: 3.06 KB
Downloaded: 2301 times
1714
zohar
Updated with bug fixes by Sim22.
A comprehensive but helpful indicator that uses RSI (Relative Strength Index), its moving averages, and volatility bands (based on Bollinger Bands) to offer traders a full picture of the current market situation.
Input parameters
RSI_Period (default = 13) — period in bars for calculation of RSI. Recommended range is 14 or 21.
RSI_Price (default = PRICE_CLOSE) — price type to use in RSI calculation.
Volatility_Band (default = 34) — period in bars for volatility bands calculation. Recommended range is between 20 and 40. The lower the value the more sensitive the band.
StdDev (default = 1.6185) — standard deviation multiplier for volatility bands. It is not recommended to change this parameter.
RSI_Price_Line (default = 2) — period of the first moving average (fast) of RSI.
RSI_Price_Type (default = MODE_SMA) — type of the first moving average of RSI.
Trade_Signal_Line (default = 7) — period of the second moving average (slow) of RSI.
Trade_Signal_Type (default = MODE_SMA) — type of the second moving average of RSI.
For scalping, enter long when the green line is above the red line and enter short when the red line is the above green line.
For short-term trading, enter long when the green is above both the red and the yellow lines; enter short when the red one is above both the green and the yellow ones.
For medium-term trading, go long under the same conditions as for the short-term trading but only when all lines are below 50; to go short — the same but above 50.
Mind the blue volatility band as it points to the long-term trend strength and volatility when wide. Steep green line changes also signal short-term market volatility.
February 23rd, 2016
Size: 4.63 KB
Downloaded: 1921 times
1709
Sim22
Value Charts V1 NT8b9
Promoted by David Stendahl in
'Dynamic Trading Indicator: Winning with Value Charts and
Price Action Profile'.
Popularized by the Hubert Senters from TTM.
Stendahl says:
"Value Charts use
dynamic volatility units to effectively adjust to changing market volatility."
Concept:
The value chart is divided into zones.
4 to -4 is fair value. Avoid buying/shorting here.
4 to 8 is overbought/expensive.
-4 to -8 is oversold/good value.
Strategies are to fade the Value Chart extremes in a choppy market, and to buy dips (-8) in an uptrend.
PDF of Stendahl interview included in .zip file, so you must extract the file first before importing!
* Includes option to start at a fixed date. Option to start from high or low of this date.
Known limitations:
* Will only work on time-based or EOD bars.
* Intra-day session times may differ between symbols so please take this into account.
* Will not currently use fixed date intra-day.
* Smoothed function is not available on fixed date.
(These may be available at a later date).
* I have opted not to multiply the Dorsey formula by 100. He states the results are easier to read but I do not think they reflect the true ratio.
I have tried to test all scenarios but let me know if you find a bug.
February 18th, 2016
Size: 1.86 KB
Downloaded: 485 times
1705
Sim22
Updated: 9/10/2016
Fixed problem with dataseries which prevented the indicator from being saved with the workspace.
Converted from the NT7 version. Originally design for range bars to box in those congestion areas produced by up and down bars that resulted from the market not going anywhere (it's not perfect).
But some folks had success using the indicator on minute charts.
The box is delayed and the red and green colors are even more delay but this was not meant to be a real time indicator.
Added public series to hold values for upper levels, lower levels, and bar numbers, to be accessed from
strategies. Note: Right now the indicator do not show draw objects when added to a strategy using AddChartIndicator therefore ist's not going to draw rectangles on charts. Ninjatrader trader is aware of the bug and said it is already fixed and we will see it in the next release. Using Beta Version 8.0.0.8 (Multi-Broker).
Special thanks to Sirkin01 and philm for their ideas to help improve the indicator.
February 15th, 2016
Size: 6.31 KB
Downloaded: 632 times
1704
jabeztrading
'Gapless' Collection V2.2
Updated for beta 11.
A collection of simple 'gapless' indicators to get you started with your own versions.
'Gapless' is simply this: it ignores the intra-day session gap. Why do this? Ever tried trend trading at the session open but having to wait for your EMA or RSI to catch up? As far as I'm concerned if I am not making money from the gap itself ie. holding a position overnight, then I want an indicator that will show me 'relative' direction from the opening bar.
* Useful for stocks, DAX, grains and those trading the RTH sessions. You could plot a ETH chart with a regular indicator next to a RTH chart with the gapless indicator for confirmation.
* The indicators have the 'option' to use the gapless concept, else they plot as usual.
* EOD type charts will plot as normal, it will automatically use the standard code.
Includes:
* Gapless EMA (Thanks to FatTails for this original NT7 code).
* Gapless SMA
* Gapless TEMA
* Gapless RSI
* Gapless CCI
* Gapless Macd
V2 Added:
* ADX
* Stochastics
* Double stochastics
* Natural Moving Average x 2
V2.2:
*Checked for NT8b9. Cleaned naming.
and also includes a 'gapless price proxy'. Use this as a replacement 'Input' for your panel indicators. It works for some but not for others, so there are limitations. Try on a regular Macd. Simply add the regular Macd indicator and select 'Input Series'> Indicators>Sim22_GaplessInputProxy. It will now ignore the gaps.
December 16th, 2015
Size: 32.81 KB
Downloaded: 925 times
1694
Sim22
MacdBB + gradient + gapless + audio V1
Updated for NT8 beta 11
Includes:
* Paint bars
* Candle outlines
* Paint background of panel and chart
* Conservative mode
* Gradient option, including 2 gradient add-on functions for your other indicators
* Custom audio alert
* Gapless option. Use intraday to ignore the opening gap. Useful for determining the opening trend.
Make sure you extract the .zip file first to show the files. Inside you will find the .zip to import!
Make sure you insert the audio files here: C:\Program Files (x86)\NinjaTrader 8\sounds
December 13th, 2015
Size: 110.47 KB
Downloaded: 1801 times
1693
Sim22
Name: DrawCandleClose Version 1
This indicator was created to show the Closing price when the CandleStick Opening and Closing price were the same and a Transparent Body Outline color was specified. Standard NT 8 CandleStick Closing price is drawn with the Outline color and is Transparent when that color is Transparent.
Note that NT7 had logic to draw a Black Close line, if the Outline color was Transparent and the Background color was White. This logic has been removed in NT8, so the problem appears in NT8 regardless of Background color.
NT8 DrawCandleClose Indicator is obsolete. Use fix described below. Attached file is a dummy file to meet posting requirements. Please download the file to log your interest in this fix, but do not install downloaded file. Instead, apply the fix manually. Never blindly replace standard files because of the risk of back leveling.
If you would like to have this fix standard NT8 CandleStick behavior, then post your vote for Tracking ID # SFT-818 to threadhttps://forum.ninjatrader.com/showthread.php?t=79416
Examples Top CandleStick:Chart Style = Candlestick with Black outline.
Middle CandleStick:Chart Style = CandleStick Transparent Outline After Fix
Bottom CandleStick on Black Background After Fix:Chart Style = CandleStick After Fix
NT8 Fix for Tracking ID # SFT-818 , Missing Doji when CandleStick Outline Transparent:
Description: Always draw the Doji Close line with the Wick Color instead of the Outline Color. This eliminates the inefficiency of having an Indicator check every CandleStick bar close for Open==Close and overwrite the already drawn Transparent Close line.
Applying this fix in no way changes the appearance of CandleSticks that have bodies. This can be verified with the examples provided.
I recommend the following to apply the fix. It may seem complicated but will save you time in the long run. Note that it is undocumented but NT Backup never includes files that begin with the character "@".
1) Copy \Documents\NinjaTrader 8\bin\Custom\ChartStyles\@CandleStyle.cs
2) Paste the file and rename it @CandleStyle.cs Before SFT-818
3) Edit @CandleStyle.cs with Notepad
4) Make changes to lines 63 & 64 with Notepad and save changes
5) Compile any file with NT Editor and Exit NT Editor. New @CandleStyle.cs will be used in the compile.
6) From next start of NinjaTrader, CandleSticks will use Wick Color for Doji Close line.
7) Copy \Documents\NinjaTrader 8\bin\Custom\ChartStyles\@CandleStyle.cs
8) Paste the file and rename it @CandleStyle.cs After SFT-818
Any NT updates will replace @CandleStyle.cs so you will have to make the changes again. Create Before and After copies of the update, as you did above, adding the update number after 818. Never blindly replace standard files because of the risk of back leveling. You can use Winmerge to compare updated @CandleStyle.cs and @CandleStyle.cs After SFT-818 and reapply fix to updated.
Cleanup:
1) Delete Indicator DrawCandleClose.cs, if it exists, from \Documents\NinjaTrader 8\bin\Custom\Indicators.
2) Start NT Editor > Right click on blank form and select Compile to remove DrawCandleClose Indicator.
NT will automatically remove the Indicator from any Charts that use it.
Test:
Create a CandleStick chart with Transparent outline. Verify that you see Doji.
If you installed Chart Style Doji then:
1) Change Charts that use it to use CandleStick instead.
2) Delete ChartStyleDoji, if it exists, from \Documents\NinjaTrader 8\bin\Custom\ChartStyles.
3) Start NT Editor > right click on blank form and select Compile.
July 24th, 2018 06:18 PM bsternfeld thanks for the effort you put in. q: is it hard to add flexible MA´s like EMA, SMA, etc. to the periods?
April 14th, 2018 09:15 PM optionsnh thank for the time you put in on the development of this indicator
August 31st, 2017 05:05 PM Buscador Thanks for your contribution. Your indicator sharing is great.
August 28th, 2017 02:59 PM tuffcoucou Hi Thank you for the indicator work good the only thing,it does not stay on the chart I have to put it back all the time
.
But I am very please with it.
February 18th, 2017 01:12 AM xlb4udie A masterpiece. Use of Color/Gradient gives bars life and character. Amazing.
February 26th, 2016 06:46 AM Minneapolis This is a great visualization. I can see the true movements without daily noise. Bolliger Bands just got better for this
guy
February 23rd, 2016 11:40 AM Lady I love you! Thanks! Was just complainign that the "manditory" update to 8 made me leave my favorite Multi Period bars be
May 15th, 2022 08:57 PM ndakotan The data is calculating the bars, but they don't display. I can see the value moving on the vertical axis, and the bar
chart flickers on for a quick second when I change the 'calculate on ' drop down. It seems like a great concept. If so
meone could fix it that would be awesome.
April 25th, 2021 06:42 PM randyjb Sorry, I experienced the same thing. This indicator does not work with the 8.0.24.2 64-bit version of NT8. I directed m
essaged SIM22 but it seems he has not posted in this forum since around March of 2017 so we may have lost access to this
indicator.
April 11th, 2021 08:34 AM mstuhr Just downloaded again and get this error message: This NinjaScript archive was made from an older, incompatible version
of NinjaTrader.
March 7th, 2021 07:56 PM fesx Has anyone gotten this indicator to work with the latest upgrade? I use this in Ninjatrader 7 and was excited to see Ni
njatrader 8 now has this indicator. I can see it working in the price marker, but nothing in the main panel. I get an
error that states "Error on calling "CalculateMinMax" method.
January 31st, 2021 11:03 PM kcrawford So....I downloaded your indicator and used it. I love it, its great!
Now, I updated Ninjatrader to the newest 2.0.23.2 and now it prints nothing on the screen at all. Please fix this.
February 13th, 2017 03:07 PM seedworker Received this error message:
Indicator "SimpleFootPrint": Error on calling 'OnRender' method on bar 5184: Object reference not set to an instance of
teh object.
December 19th, 2016 12:45 PM traderpards Nice! I figured out what ails OnRender - it's from a change Ninja made somewhere around Beta 10, give or take a beta rel
ease or two.
In the very last RenderTarget() call, you have:
Volume[ChartBars.Count - idx - 1].ToString()
That used to work but it doesn't anymore so you have to change that to:
October 10th, 2016 11:12 PM bobc635 Thanks alot.....
August 5th, 2020 11:53 AM cutzpr This is great. Thank you. Very Useful.
May 7th, 2017 09:09 AM freedomtrader Haven't tried any coding yet,but I'm saying thanks in advance because any help I can get is good.
January 31st, 2017 09:06 AM Ynotfutures Thank you for your contribution.
December 19th, 2016 04:10 AM GeorgeW Thanks for this tool. I can now see why my plot is disappearing off the chart when I reduce the chart Tick value. Can an
yone help with how I code in a filter so that the values are neither too high or too low so that I can still see the plo
t?
December 7th, 2016 05:06 PM MartyK Great coding tool! Thank you!
August 29th, 2019 02:00 PM Botts I only recently "stumbled" on this indicator by @Sim22, as usual it's another example of his exemplary coding skills.
Not to mention the indicator itself seems almost "Intuitive" in the way it behaves. Thanks for all the work you did here
in the early days of NT-8 "Beta" and "RC-#".....
March 28th, 2016 04:53 PM kareem40 Thank you. Very good
May 30th, 2016 09:49 AM bobc635 Thanks for the help.... I have a bunch of custom NT7 indis that I built that need to convert. I am just now starting on
December 12th, 2016 08:14 PM whiterhino Thanks for your feedback Z, This coding is the standard MACD coding format. Divergences are predictive btw. Many trade
rs use them to predict tops and bottoms before the turn.
May 5th, 2016 01:21 AM Zondor Not recommended. Inefficiently coded, but that's beside the point. Lagging, price dependent indicators like this do not
confer an edge. They simply reflect a foggy view of what has already occurred on the price chart.
May 18th, 2022 09:28 PM Keenbreathy I don't know how but I'm certain this indicator ruined my NT 8 workspace. As son as I installed, it froze all live data
. After reinstalling NT, I loaded my backed up Workspace only to have it happen again. The only fix that worked was to
load any workspace from before this indicator.
May 2nd, 2022 01:16 PM lavender Thank You for this work! KISS is perfect...