PureBytes Links
Trading Reference Links
|
Think this is connie browns composite index.
I need to apply a Parabolic using My_Modified_RSI as an input for price. Is
that possible?
-----Original Message-----
From: Thomas J. Festa [mailto:festat@xxxxxxxxxxxxx]
Sent: Wednesday, March 01, 2006 2:20 PM
To: 'Mike Barna'
Subject: RE: RSI code help
THIS VERIFIES: - Thanks.
========================================================
Inputs: PRICE(NumericSeries), RSIlgth(NumericSimple);
Variables: i(0), sumup(0), sumdn(0);
My_Modified_RSI = 0;
FOR i = 1 TO RSILgth BEGIN
IF PRICE - PRICE[i] > 0 THEN
sumup = PRICE - PRICE[1]
ELSE sumdn = PRICE[1] - PRICE;
end;
IF sumdn <> 0 AND 1 + (sumup / sumdn) <> 0 THEN
My_Modified_RSI = 100 - (100 / (1 + (sumup / sumdn)));
|