• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

The Indicator Club

  • Indicators
    • All Indicators
    • Free Indicators
    • Join the Club!
    • Indicator TImeline
  • Blog
    • All
    • NinjaScript Tutorials
    • Trade Ideas
    • Free Strategies
    • Favorite Posts
  • FAQ
  • My Account
    • Activate License
    • API Keys
    • API Downloads
  • Contact
  • Cart

June 28, 2017 by The Indicator Club Leave a Comment

NinjaTrader Simple RSI System (Adapted)

Introduction and Rules

First, these ideas were adapted from Matt Haines blog throwinggoodmoney, which was posted on Jeff Swanson website System Trader Success. I highly recommend you check out both sites. This is a two part post where we will explore the concepts presented in the Simple RSI System and Part 2 will cover the Simple PIRDPO System. The rules for the RSI System are:

  • Use Daily data for all the below rules
  • When RSI(2) is less than or equal to 12, BUY at the Open of the next day
  • When price closes above your entry price, EXIT (do not BUY and EXIT the same day)
  • Ten days after entry, EXIT

Indicator Settings

This should be relatively straight forward to put into NinjaTrader, but instead of only using Daily data, I want to test this system on other data as well, so let’s build something a little more dynamic. Also, I want to test what happens if we add a profit target, stop loss, and exit prior to the close on an exit day. The options in the strategy are as follows:

  1. Wait for Reset: if set to true, the strategy will only trade if the prior bar did not have a signal (i.e. RSI(2)[1] > 12). If set to false and you exit a trade when RSI(2)[0] and RSI(2)[1] is less than or equal to 12, another position will be opened
  2. Period: Period used for RSI
  3. Threshold: Threshold to signal buy setup
  4. Buy Background: Color of background when RSI(2)[0] <= 12
  5. Use Daily: If set to true, will calculate RSI based on daily data. If set to false, will use Minute data based on the input in #6
  6. MTF Period (minutes): If #5 is set to false, this will be the period used for minute data (e.g. if set to 480, 480 minute bars will be used to backtest)
  7. Use Exit One: If set to true will use EXIT condition “When price closes above your entry price, EXIT (do not BUY and EXIT the same day)”
  8. Use Alt Exit: If an EXIT condition exists, as defined above, the EXIT will be evaluated after the exit time in #9
  9. Exit Time: If set to true, will evaluate EXIT condition. For example, if you run a backtest on a 5 minute bar and this is set to 1550, on the open of the 1555 bar, the EXIT conditions will be evaluated and exit instead of waiting until the next days open
  10. Use Profit Target: If set to true the strategy will set a profit target
  11. Profit Target (ticks): If #10 set to true, the number of ticks will be used as the profit target
  12. Use Stop Loss: If set to true the strategy will set a stop loss
  13. Stop Loss (ticks): If #12 set to true, the number of ticks will be used as the stop loss
  14. Days Expire: After X bars from the entry day, the position will be closed
  15. Order Quantity: Quantity used in backtest
  16. Use commission: No
  17. Slippage: 1 tick

Backtest Results

Now for the backtest. For the first backtest we will use the default settings:

[envira-gallery id=”3490″]

The backtest using the Alternative Exit:

[envira-gallery id=”3494″]

Profit target of 40 ticks (10 points), 30 day expire, and Exit One = False

[envira-gallery id=”3498″]

Backtest with default settings, but expire days = 20:

[envira-gallery id=”3503″]

Backtest with default settings, but on 480 minute bar:

[envira-gallery id=”3507″]

Summary

All in all, the backtest for this strategy looks great! One of the most important findings was that when the number of Days Expire is expanded to 20, or even 30, profitability was increased without a major negative impact on draw-down. I will leave you with one last backtest using a 80 point profit target, Exit One = False, and Days Expire = 30. DOWNLOAD THE FREE NINJATRADER 8 STRATEGY HERE.

[envira-gallery id=”3511″]

HYPOTHETICAL PERFORMANCE DISCLAIMER: HYPOTHETICAL PERFORMANCE RESULTS HAVE MANY INHERENT LIMITATIONS, SOME OF WHICH ARE DESCRIBED BELOW. NO REPRESENTATION IS BEING MADE THAT ANY ACCOUNT WILL OR IS LIKELY TO ACHIEVE PROFITS OR LOSSES SIMILAR TO THOSE SHOWN; IN FACT, THERE ARE FREQUENTLY SHARP DIFFERENCES BETWEEN HYPOTHETICAL PERFORMANCE RESULTS AND THE ACTUAL RESULTS SUBSEQUENTLY ACHIEVED BY ANY PARTICULAR TRADING PROGRAM. ONE OF THE LIMITATIONS OF HYPOTHETICAL PERFORMANCE RESULTS IS THAT THEY ARE GENERALLY PREPARED WITH THE BENEFIT OF HINDSIGHT. IN ADDITION, HYPOTHETICAL TRADING DOES NOT INVOLVE FINANCIAL RISK, AND NO HYPOTHETICAL TRADING RECORD CAN COMPLETELY ACCOUNT FOR THE IMPACT OF FINANCIAL RISK OF ACTUAL TRADING. FOR EXAMPLE, THE ABILITY TO WITHSTAND LOSSES OR TO ADHERE TO A PARTICULAR TRADING PROGRAM IN SPITE OF TRADING LOSSES ARE MATERIAL POINTS WHICH CAN ALSO ADVERSELY AFFECT ACTUAL TRADING RESULTS. THERE ARE NUMEROUS OTHER FACTORS RELATED TO THE MARKETS IN GENERAL OR TO THE IMPLEMENTATION OF ANY SPECIFIC TRADING PROGRAM WHICH CANNOT BE FULLY ACCOUNTED FOR IN THE PREPARATION OF HYPOTHETICAL PERFORMANCE RESULTS AND ALL WHICH CAN ADVERSELY AFFECT TRADING RESULTS.

Filed Under: Favorite, Strategy, Weekly Strategy Tagged With: Backtest, MTF, RSI, Strategy

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Recent Posts

  • Top Shelf Trader October 6, 2017
  • Use Any Indicator with Our Frameworks: Universal Inputs September 21, 2017
  • NinjaTrader Training: Part 10: Coloring Plots and Backgrounds September 1, 2017
  • NinjaTrader Training: Part 9 – AddPlot and Plot Variables August 31, 2017
  • NinjaTrader Training: Part 8 – Referencing Indicators August 30, 2017

Post Tags

Advance Internals Automated Backtest Day Trading Detrend Forex Trading Free Futures Trading Learn Moving Average MTF NinjaScript NinjaTrader 7 NInjaTrader 8 Oscillator Pivot Points RSI Stock Trading Strategy Vix Trend Volume

Footer

WHO WE ARE

The Indicator Club is made up of normal traders and professional software developers who want to share their indicators for a fraction of the cost it would take to code just one!

The Indicator Club

Purchase & Support

To get access to all of our current and future indicators and strategies, check out our Complete Package.

If you need support please email [email protected], or head over to our contact page.

New Releases

  • NinjaTrader 8 Osc Universal Input Osc Universal Input $497.00
  • NinjaTrader 8 MA Universal Input MA Universal Input $497.00
  • NinjaTrader 8 Bar Orders Bar Orders $297.00
  • NinjaTrader 8 Tick Offset Tick Offset $0.00

Recent Posts

  • Top Shelf Trader
  • Use Any Indicator with Our Frameworks: Universal Inputs
  • NinjaTrader Training: Part 10: Coloring Plots and Backgrounds
  • NinjaTrader Training: Part 9 – AddPlot and Plot Variables

Copyright ©2020 | All Rights Reserved | By Using This Site you Agree to our Terms and Conditions, Risk Disclosures, and Software Agreement

NinjaTrader Disclosure: NinjaTrader® is a registered trademark of NinjaTrader Group, LLC. No NinjaTrader company has any affiliation with the owner, developer, or provider of the products or services described herein, or any interest, ownership or otherwise, in any such product or service, or endorses, recommends or approves any such product or service.

RISK DISCLOSURE: Futures and forex trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing ones financial security or life style. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of future results.

HYPOTHETICAL PERFORMANCE DISCLAIMER: HYPOTHETICAL PERFORMANCE RESULTS HAVE MANY INHERENT LIMITATIONS, SOME OF WHICH ARE DESCRIBED BELOW. NO REPRESENTATION IS BEING MADE THAT ANY ACCOUNT WILL OR IS LIKELY TO ACHIEVE PROFITS OR LOSSES SIMILAR TO THOSE SHOWN; IN FACT, THERE ARE FREQUENTLY SHARP DIFFERENCES BETWEEN HYPOTHETICAL PERFORMANCE RESULTS AND THE ACTUAL RESULTS SUBSEQUENTLY ACHIEVED BY ANY PARTICULAR TRADING PROGRAM. ONE OF THE LIMITATIONS OF HYPOTHETICAL PERFORMANCE RESULTS IS THAT THEY ARE GENERALLY PREPARED WITH THE BENEFIT OF HINDSIGHT. IN ADDITION, HYPOTHETICAL TRADING DOES NOT INVOLVE FINANCIAL RISK, AND NO HYPOTHETICAL TRADING RECORD CAN COMPLETELY ACCOUNT FOR THE IMPACT OF FINANCIAL RISK OF ACTUAL TRADING. FOR EXAMPLE, THE ABILITY TO WITHSTAND LOSSES OR TO ADHERE TO A PARTICULAR TRADING PROGRAM IN SPITE OF TRADING LOSSES ARE MATERIAL POINTS WHICH CAN ALSO ADVERSELY AFFECT ACTUAL TRADING RESULTS. THERE ARE NUMEROUS OTHER FACTORS RELATED TO THE MARKETS IN GENERAL OR TO THE IMPLEMENTATION OF ANY SPECIFIC TRADING PROGRAM WHICH CANNOT BE FULLY ACCOUNTED FOR IN THE PREPARATION OF HYPOTHETICAL PERFORMANCE RESULTS AND ALL WHICH CAN ADVERSELY AFFECT TRADING RESULTS.