[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EL Help...rsi of ?



PureBytes Links

Trading Reference Links

Create your own indicator.

1). Create a new indicator file with it's own name. i.e. "RSmine"

2). Copy and paste the code for the indicator that you want to take an rsi of
to
the new indicator file.

3). Assign the copied indicator a variable name. i.e. x=indicator(c.14);

4). Copy and paste the rsi indicator code below this into your new indicator
 file.
Move the "inputs" and "vars" code lines for rsi up to where the "inputs" and
"vars" lines of code are for the first indicator. If both your first indicator
and 
your
rsi code have same-name inputs  or var names then rename the rsi inputs 
and vars . i.e. "length" becomes "length2". Replace all references to "length"
in the rsi code to "length2" etc...

  In the rsi code, you will find the following line of code.....

inputs : Price(NumericSeries),Length(NumericSimple);

Change "price" to "x"(your new variable name.). Change all references to 
"price" in the rsi portion of the code to "x".

 5) .Replace "RSI" with your new function name.  i.e. "RSmine"

dbs