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: 2054 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!
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 6th, 2024 11:20 AM skyland Great Indicator but no longer works with NT-8 Version 8.1.3.0 64-bit!
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...