NinjaTrader 7 Strategies
futures io

Categories Help    

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

Sort by

Show full/short entries Entries
RSI and Price Trends
Kevin Luo's The RSI & Price Trends was published in the June 2015 Stocks and Commodities article titled The RSI & Price Trends.

This is from the NT 7 Download site
Suggest other entries I might like
Details: RSI and Price Trends

March 18th, 2019
Size: 8.92 KB
Downloaded: 124 times
SuperTrend Strategy 5 *
Strategy based on SuperTrend indicator, you can play with the code to adjust it. There are time frames of when to trade in the code and other things that could be of use.  
Suggest other entries I might like
Details: SuperTrend Strategy

January 29th, 2017
Size: 6.37 KB
Downloaded: 569 times
Trading News on your NT Chart 5 *
I'm not a developer, but I thought other Big Mike members who would be looking in this section would like to know about a cool NT7 indicator that places upcoming news from Forex Factory on a chart. This free indicator is offered by Day Trade To Win, who I have no allegiance to. So, free and useful.

DJTrader 2/2015
Suggest other entries I might like
Details: Trading News on your NT Chart

February 18th, 2015
Size: 44.17 KB
Downloaded: 360 times
Trend Follower 4 *
It uses a DM +/- and a MACD Crossover strategy. It works good on the ES_F 15min with 15 tick stop loss. Play around, have fun. Let me know what you think. It also gets you out of trades on exit positions if the conditions no longer warrent
Suggest other entries I might like
Details: Trend Follower

April 28th, 2013
Size: 5.47 KB
Downloaded: 1705 times

Keywords: dmi macd
Data export 5 *
This is another NT data exporter.
I hope it gives some value over other exporters.
It exports Bar data (time, open, close, high, low, volume) as others and adds values of two indicators of you're choice.
An output file will be created in NT root directory, by a name of an instrument.

Thanks to : @Gomi and @NJAMC for the inspiration.
Suggest other entries I might like
Details: Data export

March 1st, 2013
Size: 3.96 KB
Downloaded: 530 times

Keywords: export
Print ETF SQN Dashboard
Version 1.0

For those of you who follow Dr. Van Tharp, you will know that he does a monthly market update with a spreadsheet of multiple ETF and the corresponding SQN values. I wanted to create something similar but with multiple SQN values so I can track shorter and longer term trends.

When you run this strategy, it will output an Excel Spreadsheet to the directory you specify in the parameters.

There are multiple requirements to run this strategy. This makes use of Microsoft's Interop functionality to generate an Excel spreadsheet. Therefore you MUST have Microsoft Interop installed and add a reference to the Microsoft.Office.Interop.Excell.dll in NinjaTrader. You can learn more about how to do this here. And a big thank you to DionysusToast for his contribution.

You will also need to add the list of ETFs used by this Strategy to NinjaTrader's Instrument List. You can import the instruments by downloading the 2 text files found in the following links, and importing them into NinjaTrader. Be sure to import that into the correct Exchange as stated in the text file title.

NYSE Instrument Import List

Nasdaq Instrument Import List

You can find out about importing Instruments via a text file here

Once the instruments are installed, import the NinjaTrader zip file. You can find a YouTube video on how to do that here.

To run the strategy, go to the Strategy Analyzer and make sure the Time Frame you choose has a minimum of 1 year of data. Select the directory you want the file printed to, and then run the strategy. Once done, go to the directory and you will have an Excel Spreadsheet file waiting for you.
Suggest other entries I might like
Details: Print ETF SQN Dashboard

January 5th, 2013
Size: 11.71 KB
Downloaded: 375 times
strategy for Volatility Breakout Pattern 4 *
Not my personal work but that I'd share:

Volatility Breakout Pattern


The squeeze takes advantage of quiet periods in the market when the volatility has decreased significantly and the market is building up energy for its next major move higher or lower. Period of low volatility are identified as the times when the bands "move closer together". How do we know that the current narrowness is really narrow enough to qualify as low volatility? By adding Keltner Channels and momentum index oscillator as per mentioned in John Carter's book Mastering the Trade.

While Bollinger Bands expand and contract as the markets alter between periods of high and low volatility, the Keltner Channels stay in more of a steady range. The momentum index oscillator is used to estimate the direction.

How does this Setup work?

The quite period is identified whent he Bollinger Bands narrow in width to the point that they are actually trading inside of the Keltner Channels. This marks a period of reduced volatility and signals that the market is taking a significant breather, building up steam for its next move. The trade signal occurs when the Bollinger Bands then move back outside the Keltner Channels. Use 12 period momentum index oscillator to determine whether to go long or short. If the oscillator is above 0 when this happens, GO LONG; if it id below 0 then GO SHORT.

Usually the moves are explosive when the BB Width is lowest over past 6 months which comes to across 126 days and hence we need more than 126 price data bars. Also choose BBWidth < 0.05 for better results in the strategy for daily data.

Strategy includes trailing stop and stop loss as variables so you can easily backtest as well as use optimizer.
Suggest other entries I might like
Details: strategy for Volatility Breakout Pattern

October 27th, 2012
Size: 16.99 KB
Downloaded: 852 times
AI Judgment Indicator 5 *
MACHINE LEARNING Indicator: this has been placed in the Strategies as it is intended to function with an AI system. Other AI users may find this indicator useful.

This Indicator was designed to use for Logistic Regression classification. This indicator is not optimized as it is only useful on Historic Data. The goal is to start at the newest historic point and work backwards to determine if a trade should have been made.

You can use this indicator real time and you can see it repaint. Not sure it is useful but brings a different perspective on the price action. It is based upon the "PriceActionSwing" indicator.

This indicator should export the following dataseries:
Classification: Current -1.0 = short, 0.0= Chop/sideways, 1.0 = Long
SwingPoint: 1 if at a high point, -1 at a low point, 0 otherwise; Mainly used to compute other values
BarsToSwing: Number of bars to the next swing point, indicates length of time for trend/chop
TicksProfitAtSwing: The number of Ticks of profit between the current point and the next Swing Point (potential profit), negative for short, positive for long ticks
Suggest other entries I might like
Details: AI Judgment Indicator

October 5th, 2012
Size: 25.30 KB
Downloaded: 1167 times

Keywords: indicator machine learning
Lagged Moving Average Crossover 3 *
Simple strat that waits a certain number of periods before using the moving average crossover signal.

Here is the thread where it is discussed.
Suggest other entries I might like
Details: Lagged Moving Average Crossover

October 26th, 2011
Size: 2.75 KB
Downloaded: 787 times

Keywords: average cross crossover moving over lagged
Alarm for LB bars
This strategy was created by redratsal. The alarm sounds when the bar prints.
Thank you red for the strategy and zac for the wicked LB bars.
Works on NT7.
Suggest other entries I might like
Details: Alarm for LB bars

June 28th, 2011
Size: 1.90 KB
Downloaded: 295 times
Strategy I 4 *
I came up with this trading idea and a programmer did the coding for me. After some optimization, the results look decent. But in real time it could be a different story. Please do not risk your real $. I repeat, please do not risk your real money.

Basically, the strategy will buy on dips within an uptrend, and sell on rallies on a downtrend. For example, if there is an uptrend (as indicated in the Fisher Transform plot in a 9-range bar chart), then looking at the 4-range bar chart, if the price touches lower Bollinger band and turns green, buy close + 1 tick stop limit. To go short, look for a red 4-range bar touching upper Bollinger band with 9-bar Fisher transform in a downtrend. Stop loss order, target, daily maximum loss and break-even stop are all here and are optimizable.

On the parameter screen, 'stop' is initial stoploss order, 'MoveStopAfterMove' is the amount of unrealized profit to show in the current trade before the break-even stop kicks in. 'StopAfterMove' is its 'offset', I set it at 0, so it becomes a break-even stop. The rest of the parameters should be self explanatory.

So far my back testing shows quite good results daytrading 6E, ES, CL and ZS. Please send me a message and let me know what you think.
Suggest other entries I might like
Details: Strategy I

February 8th, 2011
Size: 12.96 KB
Downloaded: 2579 times
DB Default Optimizer - Enum/Bool Support 5 *
This was designed to replace the standard "default" optimization option by providing enum and bool selection support for the optimizations. As I got into it, I ended up adding extra features to assist my analysis.

Usage: After installing, select DB Default in Strategy Analyzer underneath "Optimizer".

Output CSV: Options are "Values", "Numeric", and "Both". It will output your choice under "Documents/NinjaTrader 7/DB Optimization Outputs" the performance and parameters of every iteration in an optimization or walk-forward. Values are what you would normally expect, but "Numeric" is with the bool/enums as numbers that represent their indexes so that numerical computations can be applied, such as averages. Both is a .csv file that has first the values and secondly the numeric values in additional columns to the right.

Optimizer MC: This is an option to enable or disable multi-core processor support for the optimizations. There is a bug with NT present as of B19 I reported and they acknowledged here ( but has not been addressed yet. As a workaround this option was created to run the optimizations in single core mode. It affects all optimizers and some inconsistency can be attributed to it.

Optimizer Pool WF: If a name is put here, it will pool the results instead of generating individual files for the walk forward from the different periods.

Optimizer Sound: Probably my favorite feature for lengthy optimizations, when set to true and the optimization completes, it will run the NT "Cha Ching!" cash register sound when the optimization completed.

- Trader DB
Suggest other entries I might like
Details: DB Default Optimizer - Enum/Bool Support

August 10th, 2010
Size: 4.49 KB
Downloaded: 475 times

Keywords: genetic optimizer enum
ChartTrader 5 *
Exported with NT7.0.0.18

ChartTrader is a NinjaTrader strategy which acts as an alternative to the inbuilt Chart Trader.

Since the inbuilt chart trader and strategies cannot be used simultaneously i have built this strategy. One can place manual buy sell orders through chart trader.

for more details pls visit:

Please use this at your own risk as the same is highly experimental in nature. I am not responsible for any loss/damages arising out of it.
Suggest other entries I might like
Details: ChartTrader

July 3rd, 2010
Size: 5.25 KB
Downloaded: 782 times
PH Genetic Optimizer v1.12 4 *
Please see this thread for instructions/discussion.

* PH Genetic Optimizer
* Copyright (c) 2009, Piers Haken
* v1.0 - 6/17/2009
* Initial Release
* v1.01 - 6/20/2009
* Add Walkforward checkbox
* More suitable defaults
* v1.02 - 6/21/2009
* BastTestFrom date hack for detecting walkforward
* v1.03 - 6/21/2009
* added support for Enum parameters
* v1.04 - 7/16/2009
* added support for bool parameters
* dump best DNA at end
* v1.05 - 7/23/2009
* fix #combinations display
* v1.06 - 7/26/2009
* use decimal for #combinations calculation
* v1.07 - 9/1/2009
* don't create parameter definitions for non-primitive types
* v1.08 - 1/25/2010
* NT7 support
* split common stuff into separate file
* v1.09 - 1/25/2010
* fix 'abort'
* v1.10 - 4/3/2010
* various fixes
* v1.11 - 4/7/2010
* moved to separate namespace to avoid conflicts
* v1.12 - 4/9/2010
* added MaximumPerformance cutoff
* Portions copyright (C) 2006, NinjaTrader LLC <>.
* Losely based on GAOptimizer by Pete_S

NOTE: please ignore the '1.09' in the filename. the zip you download here will always be the latest version.

NinjaTrader 6.5: YES
NinjaTrader 7.0: YES

See also NinjaTrader 6.5 Strategies 
Suggest other entries I might like
Details: PH Genetic Optimizer v1.12

January 25th, 2010
Size: 17.34 KB
Downloaded: 2192 times


Copyright © 2022 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, 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.