...writing great code so you don't have to

RSI Suite for TS

Package: RSI Indicator Suite for TradeStation

CodeForTraders is pleased to offer the RSI Indicator Suite for TradeStation as a low-cost, pre-written, powerful place from which to begin a study of 4-line indicator-based trading.

What It Is

The RSI Indicator Suite for TradeStation  is a synchronized Strategy-Indicator bundle which will allow you to immediately begin analysis of any market for its suitability for RSI-based trading (or trading based on any other oscillator-type indicator, after minor editing). 

This is a source-code suite, offered as both a ready-to-use tool and an easy-to-modify template at a price that anyone can afford.

What It Looks Like

Observe the RSI indicator in the bottom pane.  The two brighter horizontal lines (green and red) are your trade entry lines (long and short).  The dashed horizontal lines are the corresponding exit lines (the colors may be chosen by you).  Either raw or smoothed RSI may be used for either entry or exit.


Here is a closer look at the indicator:


Changing colors at the OB/OS levels is optional for both the raw and smoothed plots.  The indicator may be configured to display with it's own parameter values, or it may be set to 'SyncToStrategy', in which case it will automatically display according to the settings of the strategy when refreshed. 

The strategy offers a large set of parameters for configuration/optimization, including both dollar-based and percentage-based exits:




These exits have been incorporated to create single strategy which facilitates the use of the TS Genetic Optimizer (TS 8.5 and above), and assists those who might wish to convert the code for BTWFMgr use.

What It Does

The RSI Indicator Suite Package uses TradeStation EasyLanguage to implement a list of desirable features.  Each section of code is clearly marked and commented.

Included you will find:

Code for setup of cooperating indicator via Global Variables
Code for sizing according to Stocks or Futures
Code for choosing Limit, Market, or Stop entries
Code for trading long-only, short-only, or in both directions
Code for optimizable choices to use raw or smoothed indicator values
Code for trading signals in the opposite-of-normal direction
Code for a choice of trade signal filters
Code for optimizable indicator-based exits
Code for optimizable StopLoss and ProfitTarget

These features are provided in the context of a 4-level, indicator-based trading model:

Low level on the indicator (i.e weakness, oversold) for Long Entry (LE)
High level on the indicator (i.e strength, overbought) for Short Entry (SE)
Long Exit (LX) level on the indicator (for optional indicator-based long trade profit-taking)
Short Exit (SX) level on the indicator (for optional indicator-based short trade profit-taking)

For optimization, there are multiple major numeric dimensions:

bullet   RSI_Base_Period
bullet   RSI_Smooth_Period
bullet   RSI_LowLvl
bullet   RSI_HighLvl
bullet   RSI_LX_Lvl
bullet   RSI_SX_Lvl
bullet   Stops and Targets by Dollars
bullet   Stops and Targets by Percentage

along with various other useful switches and choices.

The code uses the RSI as the provided calculation, but has been carefully constructed to allow you to easily substitute a different indicator with only very minor changes to the source.

The goal of this package is to advance the new or evolving TS user directly to flexible, working code that is both

bullet   immediately useful as-is
bullet   easily repurposed and extended

If you have not already written yourself code with the features listed above, CFT believes you will find no quicker or easier way to the goal.

What You Get

bullet   The primary RSI-based strategy for backtesting/optimization/trade-display
bullet   The cooperating RSI indicator, specially written to allow synchronization with the strategy
bullet   The StratEquityColor helper indicator.
bullet   A workspace file for creating the chart as shown above
bullet   Customer Support for initial installation.
bullet   A pre-made Analysis Group to assist with fast, easy optimization

Video:  Converting Analysis Group into Genetic Optimization

Video:  Creating New Analysis Group from Old Analysis Group

This package is distributed as fully-disclosed EasyLanguage source code.   You will be able to modify and extend it as desired, but you may not share it with non-licensees (just send them here instead!).

What It Costs

Only $225 for a single, permanent personal-use license.   (That's less than the cost of a mere 2 hours of custom programming time.)  Institutional and multi-person licenses are also available (contact:

RSI Indicator Suite Package For TradeStation -  $225 

How You Get It

Use the 'Add to Cart' button, above left, to purchase the package  The package will be emailed to you after your PayPal payment is processed. 

Please be aware of the caveats before you order.