NexusFi: Find Your Edge


Home Menu

 



Categories Help    

NinjaTrader 7 Indicators
Indicators in this section are compatible with NinjaTrader 7


Sort by
Filter

Show full/short entries Entries
Give NT 7 preference over other applications that are running. 5 *
Name: SetNinjaTradersPriorityHigh Version 1.1

Exported with: NT 64-bit 7.0.1000.27
To Import Indicator Into NT 7:
1. Download the attached file by clicking on the blue downward arrow or the NT Chart image. Save the file. Do not open it.
2. From the Control Center window select the menu File > Utilities > Import NinjaScript.
3. Navigate to the folder that contains the .zip file download by your browser.
4. Select the downloaded .zip file then click the Open button.

Updated: Oct 22, 2015 8:30AM File & Text- New Priority value of BelowNormal. New parm Show NT Priority. Priority changed only when required. New parameter Debug message to Output Window.


Author: James R. Walker

NT 8 Version available https://nexusfi.com/local_links.php?catid=27&linkid=1665

All the applications running on your computer equally share your computer's resources. The NinjaTrader application runs at Normal Priority with all the other applications. Especially during fast markets, when other applications are running on your computer, NT is not processing incoming data as quickly as your computer would allow and possibly losing trade data from your market data service. By default, this Indicator sets NinjaTrader's Process Priority to High, giving it preference over other applications that are running.

This Indicator allows you to set NT's Process Priority to one of four values: High, Above Normal, Normal, or BelowNormal. You may want to use High during your trading day and Normal at other times. You could also set it to BelowNormal to do backtesting in the background while you use your computer for other tasks.

Adding this Indicator to one chart in your Workspace will set NinjaTrader's Process Priority until you exit NT. The Indicator will check before setting the Priority and do nothing if Priority is already set to the Priority specified in its parameter.

Quoting from https://www.eightforums.com/tutorials/23830-processor-priority-level-set-processes-windows-8-a.html : "Windows 8 shares the processor time between all running processes based upon their priority level. If a process has a higher priority, it gets more processor time compared to a process having a lower priority. . . . The changes you make to the priority level of the current instance of an application or process are only temporary and not set permanently. Once you close the application or restart the PC, Windows 8 will automatically set the priority back to default for the process or application."

Parameters:
Priority - Select High, Above Normal, Normal, or BelowNormal for NinjaTrader's Process Priority. The Default is High.

HideIndicatorName - Prevent display of indicator's name at top of chart if true. Default is false.

ShowNTPriority - Display NT's Priority at top of chart. Default is true.

To have nothing displayed at top of chart set HideIndicatorName parameter to true and ShowNTPriority to false.
 
Suggest other entries I might like
Details: Give NT 7 preference over other applications that are running.


October 20th, 2015
Size: 2.77 KB
Downloaded: 410 times
Chande Kroll Stop 5 *
Exported using NT Version 7.0.1000.30

This is an implementation of the volatiliy based stop that was suggested by Tushar Chande and Stanley Kroll in their book "The New Technical Trader". The indicator comes with a long stop line (blue) and and a short stop line (red).

Calculation of long stop: The preliminary long stop is calculated by deducting a multiple of a 10-period ATR from the highest high of the last 10 bars. The long stop is then calculated as the highest of the last 20 preliminary long stops.

Calculation of short stop: The preliminary short stops are calculated by adding a ,ultiple of a 10-period ATR to the lowest low of the last 10 bars. The short stop is then calculated as the lowest of the last 20 perliminary short stops.

Calculation of ATR: The ATR can be calculated in three different ways. "Arithmetic" uses a simple moving average over the last 10 true ranges. "Exponential" uses an exponential moving average over the last 10 true ranges, while "Wilder" simply calculates the default ATR(10) which is calculated as exponential moving averages with a smaller smoothing constant.

Default settings: Default settings follow suggestions by Chande & Kroll. Following suggestions in their book the default parameters are 10, 3 and 20. Also they used a simple moving average for smoothing the true ranges. The only change that was necessary was to adapt the indicator so that it can be used intra-bar. For this purpose, the calculation does not use the (unstable) true range of the current bar nor the high of the current bar, but relies on the values for the prior bar. Just for the purpose to compare the indicator with implementations for other charting packages, it is also possible to perform calculations from the current unstable bar. When used with "COBC = False" or with the strategy analyzer (backtesting), the default settings should be used.




It is recommended to use the
 
Suggest other entries I might like
Details: Chande Kroll Stop


October 14th, 2015
Size: 13.73 KB
Downloaded: 776 times

Keywords: atr averagetruerange chande kroll stop trailing volatility
Decycler Indicators - SimpleDecycler_V1 5 *
Decycler indicators Exported with NinjaTrader 7.0.1000.30

Revised 11/1/15

Revisions:

1. Ability to specify Fast, Slow, or Both plots
2. Change the percent parameter to accept the more standard notation xx.y (%).
3. Remove all code related to the signals produced for Bloodhound.
Another indicator which contains Bloodhound codes will be posted on the Bloodhound thread here.
4. Add basic signal codes to replace the Bloodhound codes.
5. Ability to add dual bands for Fast, Slow, or Both plots with the following features:
-a. Different plot colors when using Dual Bands
-b. Inner and outer bands are calculated using VWStdDev each having user defined
multipliers and periods.
-c. user option to specify what values are used for the inner and outer bands follows:
--1. Fast- uses the appropriate inner or outer values derived from only the Fast midline.
--2. Slow- uses the appropriate inner or outer values derived from only the Slow midline.
--3. Min - uses the appropriate inner or outer values derived from the minimum values
of either the Fast or Slow inner and outer bands accordingly.
--4. Max - uses the appropriate inner or outer values derived from the maximum values
of either the Fast or Slow inner and outer bands accordingly.
--5. minMax - uses the minimum values from either the Fast or Slow inner for the plotted inner band, and the maximum values from either the Fast or Slow Outer band for the plotted outer band.
---6. Fast, Slow, or Both Plots is automatically set according to the Dual Band option chosen.
6. Separate parameters for Dual Bands to allow easier switching between Dual and non-Dual modes.

>>>End revisions 11/1/15<<<


The background for this indicator is explained in the entry DecyclerOscillators (above) and is not described here. [I]The download file is the same as the one posted in the DecyclerOscillator with both indicators contained in the download. The NT version can be downloaded from the link supplied in the DecyclerOscillator entry.

This indicator is the opposite of the high-pass filter with the SinpleDecycler plots created by subtracting the high-pass filtered data from the input stream allowing the decycler to display “the low-frequency components with virtually no lag.”. The author suggests the period parameter be a half-year period however, states, “the range of this variable is just about anything you choose.”.

In addition to the decycler plot the original indicator (show in the visual in the DecyclerOscillator) plots two lines that are plus and minus 0.5 percent from the low frequency decycle plot and are referred to as the hysteresis lines. The interpretation is that if Close prices are above the upper line the market is in an uptrend, with a downtrend indicated by Close prices below the lower line. No trend is when the prices fall within the lines.

Enhancements:

Warning!!!

The enhancements provided must be considered experimental as they are not part of the original concept described in Mr. Ehler’s article. More testing and experimenting needs to be performed in order to determine their usefulness.

The enhancements provide the ability to:
1. request a Single plot (Slow) or Dual plots (Slow and Fast) . The method to set the fast period lookback is similar to the DecyclerOscillator and can be either a “Percentage” from the slow period or the “AsSpecified” values for each parameter will be used.
2. vary the multiplier percentage used to form the hysteresis band.
3. use a standard deviation to determine the hysteresis band in lieu of a multiplier.
4. Specify three signaling options, Off, Basic, and Extended. The Extended signal is experimental and is intended to be used with Bloodhound. The signals produced are described in the thread here
5. paint the region between the two midRange decycler bands.

Credits with my thanks to:
1. @Fat Tails for the region painting code copied from his TriggerLines Indicator
2. @Fat Tails for his Volume Weighted Standard Deviation method used in the hysteresis band offset calculation



Change Log

9/29/2015 :- Initial release
10/1/2015 :- Correct error in algorithm code for calculating Fast plot in DecyclerOscillator
11/1/2015 : - Revisions described at top of page.
 
Suggest other entries I might like
Details: Decycler Indicators - SimpleDecycler_V1


October 1st, 2015
Size: 17.61 KB
Downloaded: 420 times
Elder's Ray, BullPower and BearPower 5 *
In this pack there are three indicators:
- Elder's Ray: composed by BullPower line and BearPower line;
- BullPower only, histogram version
- BearPower only, histogram version

This is an oscillator created by Alexander Elder and explained in his famous book "Trading For a Living". The oscillator formula is simple but useful at the same time:
- BullPower = CurrentHigh - EMA(13, Close)
- BearPower = CurrentLow - EMA(13, Close)
 
Suggest other entries I might like
Details: Elder's Ray, BullPower and BearPower


July 14th, 2015
Size: 7.55 KB
Downloaded: 597 times

Keywords: elder indicator ninjatrader oscillator ray elderray
XTL - eXpert Trend Locator 5 *
XTL is an indicator that originally was introduced in eSignal Advanced Get. This a version that approximate in a good way the original version (which formula seems to be secret and not shared by eSignal company). It helps you to easily define in what kind of trend you are.
Its calculation is based on CCI and a fixed value of that indicator:
- if CCI value<-fixed value you're in a short trend (red bars);
- if -fixedvalue<=CCI<=+fixedvalue you are in a non trend/flat period (black bars);
- if CCI>fixed value you're in a long trend period (blue bars);

In this version created by me you can customize:
- the fixed value (standard setting is 37)
- CCI period (stardard settings are 21 or 35)
- uptrend/flat trend/downtrend bar color

Very useful if used on tick chart or range bar chart

v 1.00 2015 Jul 8 - First Release, no bugs
v 1.01 2015 Jul 14 - Added Public Indicator Value String
 
Suggest other entries I might like
Details: XTL - eXpert Trend Locator


July 8th, 2015
Size: 6.01 KB
Downloaded: 1547 times

Keywords: extreme locator ninjatrader trend xtl
Donchian Channel with Trendfilter 5 *
Exported using NT version 7.0.1000.27

This is a generalized version of the Donchian Channel with a few options added:

- The Donchian Channel lines can be calculated from High/Low, Close, Typical or Weighted price. With the default option High/Low they will be calculated from the highest high and lowest low over the lookback period. With the other options the highest and lowest of the selected input series are used, which produces narrow channels.

- The indicator has an option to display outer channels, inner channes or midband individually.

- The indicator comes with a fast and a slow trend filter. The fast trendfilter changes direction, when the midband breaches the prior low of the upper band (trend change up) or when it breaches the prior high of the lower band (trend change down, as shown in the chart attached). The slow trendfilter changes direction, when the lower band breaches the prior low of the upper band (trend change up) or when the upper brand breaches the prior high of the lower band (trend change down, as shown in the chart attached.

- The indicator allows to display the fast trend, the slow trend or a combination of fast and slow trend, when appropriate colors are selected. If you want to show the fast trend only, you need to use identical colors for fast/slow uptrend and fast/slow downtrend. If you want to show the slow trend only, you would need to use the same colors for slow uptrend/fast downtrend and fast uptrend/slow downtrend. Both trendseries are exposed as public BoolSeries and can be called in an automated strategy.

- The trend can be displayed via the channel and midband colors or via paint bars. The indicator also has an option to display the channels or the midband individually. If you just need the paint bars, you can disable all plots.

Update October 4, 2012: Channel and paintbar colors will now align, when indicator is displaced.
Update July 5, 2015: Second channel added to indicator.
 
Suggest other entries I might like
Details: Donchian Channel with Trendfilter


July 6th, 2015
Size: 8.28 KB
Downloaded: 3012 times

Keywords: donchian paintbars trendfilter
SampleStreamWriter improved
save to a file your favourite indicator along with the price series.
 
Suggest other entries I might like
Details: SampleStreamWriter improved


July 1st, 2015
Size: 3.21 KB
Downloaded: 225 times
Ribbon trader v1 5 *
this indicator is based of the ribbon trader moving averages.

Trading it is simple.. when all four blocks are green its a BUY... when all four blocks are red its a SHORT
exit when they are not at all fours blocks
This indicator also keep you out of chop

I like to keep it open source here.. if you can make better please post it up
https://nexusfi.com/ninjatrader-programming/36063-ribbon-trader.html
 
Suggest other entries I might like
Details: Ribbon trader v1


June 9th, 2015
Size: 3.87 KB
Downloaded: 2136 times
g3InterquartileRange - Variability Measure
Interquartile Range is another robust statistical measure of variability most similar to MAD. It is calculated as a difference between Lower and Upper Quartile. Study first to decide which measure is more suitable for your needs/data.

On the screenshot:
yellow: StdDev,
green: g3InterquartileRange

[v1.0]
 
Suggest other entries I might like
Details: g3InterquartileRange - Variability Measure


May 3rd, 2015
Size: 2.43 KB
Downloaded: 115 times
g3AAD Average Absolute Deviation
Average (Mean) Absolute Deviation (AAD) is another statistical measure of variability similar to Standard Deviation or MAD. The main difference from StdDev is weight of the outliers (since there is no squaring in AAD). Study first to decide which measure is more suitable for your needs/data

On the screenshot:
yellow: StdDev,
green: g3AAD

[v1.0]
 
Suggest other entries I might like
Details: g3AAD Average Absolute Deviation


April 30th, 2015
Size: 2.14 KB
Downloaded: 119 times
 



 
Category
 




© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top