log in     sign up for free
 
In fact, the ironic part of system design is if you want to maximize profits, you must be willing to give back a great deal of the profits you have already accumulated.
Van K. Tharp
 
 
Home
systems (284)
 
Special offer: buy AmiBroker and EOD+Real-Time Data
 
Formula Library
 
AmiBroker
MetaTrader
MetaStock
TradeStation
Wealth-Lab
NinjaTrader
 
add your formula
System Library
 
 
Account login
Your email:
Password:
 
Log in
New to s4t? Sign up.
If you forgot your password click here.
Search the Web
 
Custom Search

RMI Indicator

Formula for: TradeStation

indicator


 

 

Views:  1609

Added: July 21, 2008
 
Rate this code:  Rate: 1 Rate: 2 Rate: 3 Rate: 4 Rate: 5
This formula has not been rated yet
 

email this link

 
 
Tags: TradeStation, indicator
 
Your Ad Here


Code:

Type : Function, Name : RMI

{RMI Function - Relative Momentum Index

inputs: Price: Input series (normally Close, but can be any series)
Length: Length of Average Calc
dt: Rate of Change Length

output: RMI

RMI is a smoother version of RSI. if dt = 1, RMI is the same as RSI.

Base on
"Relative Momentum Index: Modifying RSI", Roger Altman, S&C v11, #2, p57

Orginal TS Version: ghkramer - 14Apr01
}

inputs: Price(NumericSeries), Length(Numeric), dt(Numeric);

var: jBar(0), dDn(0), dUp(0), UpSum(0), DnSum(0), MuUp(0), MuDn(0);


if (Length > 0) then
begin
dUp = Price[0] - Price[dt];
if (dUp >= 0) then
dDn = 0
else
begin
dDn = -dUp;
dUp = 0;
end;
MuUp = (MuUp[1]*(Length-1) + dUp)/Length;
MuDn = (MuDn[1]*(Length-1) + dDn)/Length;

if (MuUp + MuDn) <> 0 then
RMI = 100*MuUp/(MuUp + MuDn)
else
RMI = 0;
end
else
RMI = 0;





Type : Indicator, Name : RMI Indicator

{RMI Indicator - Relative Momentum Index

inputs: Price: Price series
Length: Length of Average Calc
dt: Rate of Change Length

Base on
"Relative Momentum Index: Modifying RSI", Roger Altman, S&C v11, #2, p57

Orginal TS Version: ghkramer - 14Apr01
}


inputs: Price(Close), Length(20), dt(5);
var: xRMI(0);

xRMI = RMI(Price, Length, dt);


plot1(xRMI, "RMI");
plot2(70, "OverBought");
plot3(30, "OverSold");




 





Source: https://www.tradestation.com

 

View similar (indicator for TradeStation):

True Strength Indicator
Pivot Point Levels
CCI - Stochastic (CCI-STO)
LBR_3/10 Oscillator
Triangle Pattern Indicator
R-Squared
MACD\\Rise\\Fall
Instantaneous Trend Line
Signal to Noise Ratio (SNR)
Better Volume Indicator
...
 
 
all formulas for TradeStation
all formulas

 

 

Email to friend

Top

 

     
However we try to maintain hiqhest possible level of service - most formulas, oscillators, indicators
and systems are submitted by anonymous users.
Therefore S4T™ does not take any responsibility for it's quality.
If you use any of this information, use it at your own risk. You are responsible for your own trading decisions.
Be sure to verify that any information you see on these pages is correct, and is applicable to your particular trade.
In no case will S4T™ be responsible for your trading gains or losses.
 
Privacy note | (c) copyrights systems4trading.com 2006-2012