With the help of Fat Tails, managed to get a Multi-MA DMI that uses the different MAs for the calculations of ADX, DM and ADXR.
From Fat Tails:
Quoting
For the Period & Wilder's period
If you select "EMA / Wilder's period = true / average period = 14", then you will get the original ADX. The "Wilder's period = true" setting internally converts the period 14 to the value 27, which is then used by the moving averages.
If you select"EMA/Wilder's period = false/ average period = 27", then you will also get the original ADX. This time there is no conversion, but an EMA(27) is used, which is identical with the Wilder's average(14).
Some of Moving Averages:
Butterworth Filter
DEMA
Ehlers Filter
EMA
Gaussian Filter
HoltEMA
LowLag MA
SMA
SuperSmoother
T3
TEMA
TMA
VIDYA
VWMA
WMA
ZeroLag MA
You can specify the thresholds of the upper and lower lines, as well as the colors for the various DM and ADX lines (transparent if you don't want to see them).
Enjoy! =)
P.S. Click the Thanks button if it was helpful to you =)
April 21st, 2013
Size: 45.05 KB
Downloaded: 633 times
1410
Azrael
05/13/2012 NOTE: A newer version has been uploaded...(xcStoch)......
new version adds RangeNoGap...per requests from BMT members
xcStochastic...
In response to several BMT member requests to expand the "xc" series (crosschart) of indicators......this indicator will plot a Stochastic from about any Chart Type or Time frame on a different Chart Type or time frame.
The example shown is a 5min Stochastic running on a 1 min chart....(the original 5min chart is also shown just for comparison). The xcStoch will plot the 5min value on the 1min chart.... NOTE: Because the xcStoch draws based on the bar interval of the displayed chart, the Stochastic line may not change value for several bars when the "alternate" chart is a larger time period.....See the 'stairsteps' on the chart. In this configuration, StairStepping is NORMAL....not an error
xcStoch is selectable by Chart Type (Minute, Tick, Range)
and selectable by Chart Period.
D & K Plots are completely configurable as well (period, color, style, width, etc.) as are the high/low lines.
To increase the availability of this indicator to those who requested it, I am putting it in the "General Downloads" section instead of Elite....
August 5th, 2011
Size: 9.73 KB
Downloaded: 924 times
970
photog53
Multi-Time Range Background to color multiple sessions. Modification of the canned indicator. Was tired of having to add and setup 3 indicators on every chart to separately highlight the lunch, afternoon and overnight sessions. Zip file contains cpp and dll files.
August 7th, 2011
Size: 38.79 KB
Downloaded: 142 times
971
vegasfoster
This Zip "as is" only draws the EMA(20) from a 5 Minute Chart onto any other chart ... you can, however, edit it as I did to draw the EMA off of any chart you choose.
I had been looking for a replacement for the Multi-time-frame, a.k.a. "Visual" EMA indicator (Ninja7 only) since upgrading to Ninja8 and found this Zip on Ninja Support Forum here: https://forum.ninjatrader.com/forum/ninjatrader-8/indicator-development/1054129-multi-timeframe-ema This version here, as I mentioned, ONLY draws from a 5 minute chart (which I don't use) and only draws an EMA(20). So ...
I wanted it to work as an EMA(21) and for it to be drawn off of a 2000 Tick chart rather than a 5 minute chart so I had to edit the code. You can do this as well, changing the source chart for the EMA to whatever Chart type and period you like. Pretty simple really (had to be incredibly simple for me to be able to do it!).
Here are the lines of code that need to be changed to what you want to see/use: Lines 27 (change "EMAon5minData" to your chart period and type ... for me that was to the "EMAon2000TickData"), 35 (same as line 27 change), 51(change "Minute, 5" to your chart type and period and also change "5 minute" to the right of that (in grey) to your chart period and type), 55 (change "20" to your desired EMA period), and 63 (same change as line 55).
After that, compile. Then compile a standard Ninja indie to check for errors. You can then change the name of the indie if you like by going into Documents-Ninjatrader8-Bin-Custom-Indicators ... find "Emaon5minData.cs", right click on it, choose "rename" and change the name to whatever you want.
Hope this is helpful to those others out there in search of a Multi-Time-Frame or "Visual" EMA for Ninja8.
Here is an MTF MA with a little more flexibility than the last post. Thought I would throw something together to make it a little easier for the group. You can set the MTF MA bar period in the parameters (i.e. 5 min 15 min etc.). This has to be in minutes. You can also select the type of MA you want and the period for that MA. If you want more than one on a chart just add more than one instance.
You should be able to use this on any chart type (although I have not tested this on all types)
June 10th, 2020
Size: 18.45 KB
Downloaded: 497 times
2230
radi8
The standard, free DM indicator measures both the direction and strength of a trend (or lack thereof). In addition to showing ADX (which only measures strength) DM also shows trend directional components (up / down).
This Multi-timeframe DM Indicator allows trend assessment at a glance right next to the price bar. It can be used to show current chart DM information, but it's real power is to show DM from a higher-level guide chart on the trigger chart.
The number and color codes can be used to determine:
Strength of trend
Direction of trend
Whether the trend is strengthening or weakening
DM is useful (particularly with data from a higher-level guide chart) in both trend and reversal trading.
Trend trades:
Can warn that the trending level is too low for successful trend trading
Can be used as part of the trigger
Reversal trades:
Can warn that the trending level is too high for successful reversal trading
Like any indicator, it is best used with other indicators and price-action to find confluences.
Re the comment on resource usage -- this was my fault not the programmer's. I wanted to be able to decide instantly when the situation was changing. I have a mega i7 that does nothing but trade and has no problem with anything I throw at it (at least so far). If computer resources are a problem, the indicator can be set to "CalculateOnBarClose=True" (see the Data settings in the picture above) to avoid evaluating each incoming tick, but it could cost a a tick/pip or so on the entry now and then. I day-trade with an average hold time of about 28 minutes so I can't afford to wait for bar closes. For longer-term trading, you'd definitely want to use "COBC=True."
Exported: PowerLanguage 3.0 - MC 7 build 4510
The original code was written by Capital Evolution, LLC. and I've found it on a public website. I've done some changes to satisfy my own needs.
The P&L is presented via 3 colored lines and showing how a strategy is performing through the day.
Red - lowest negative P&L for the day
Yellow - highest positive P&L for the day
Blue - running P&L for the day
August 7th, 2011
Size: 8.69 KB
Downloaded: 336 times
973
atata
Exported using NinjaTrader 7.0.1000.8
This is a simple indicator that allows to display larger timeframe boxes on any chart. For example you can display 30 min or 60 min boxes on a 5 min chart.
The larger timeframe boxes are plotted behind the standard candles of the chart and are aligned to session times. Colors and opacity of the boxes and the box outline color can be selected.
The indicator has been tested to work on fixed period (minute), tick, range, Kagi, Renko and rangeNoGap charts. Due to its session logic in cannot be used on daily data.
Drawing boxes around candles is a standard feature of NinjaTrader. However, if your primary chart is built from ticks, adding boxes will cause NinjaTrader to switch to non-equidistant bar spacing.
This indicator basically allows you to draw those boxes without suffering from unevenly spaced bars. However, it is not a genuine multi-timeframe indicator which loads a secondary bar series. The boxes just regroup N candles as selected via indicator panel.
September 1st, 2014 02:07 PM crs247 Thank you very much for sharing your work.
August 13th, 2014 07:57 PM stargazer55 Very interesting indicator, just started using it.
August 9th, 2014 10:14 PM Zondor Good idea, but a resource hog because of "inline" calls to DM indicator on every incoming tick. This is a horrible way t
o code as discussed in "hints for optimizing C# code" thread a few years ago.
August 9th, 2014 06:59 PM landlady54 thanks for a fantastic indicator; works well
January 8th, 2024 04:30 AM Spartans Great job, saves a lot of time of needing to add a second data time series.
June 18th, 2023 01:44 AM ballhaj Thanks for sharing
December 27th, 2021 05:40 AM JadeL Like this very much! Thanks for sharing
August 13th, 2021 02:45 PM ELF3 Just wanted to let you know that I believe you did a great job on coding this Indicator. It was something that I wanted
to have on my charts. Thanks for the contribution !
February 5th, 2021 12:23 PM mzapata24 can not be imported at Nt8
January 2nd, 2021 05:38 PM andreibara Not able to import this one as well. For those who were able to make it work, does it require a particular configuration
? You can message me as well if you don't want to leave a rating.
October 29th, 2020 12:56 PM Jonsell Not importing, needs to be updated with current NT8.