Indicators Changed/Removed in Apr 10 2010 version

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Indicators Changed/Removed in Apr 10 2010 version

Postby miocker » Mon Apr 12, 2010 3:47 am

Please find below the old versions of the indicators changed/removed in the Apr 10, 2010 version of the Marketscope:

Curvilinear Second-Order Regression

The Curvilinear Second Order Regression (CR) indicator plots a curve of the trend taking into consideration all prices. It is like a regular regression line, but curves slightly with the price trend.
The CR uses the second-order equation:
y = ax+ bx + cx^2
For calculation of coefficients a, b, c, see the code below.

cr.png

The indicator was revised and updated

Please, download both: CR.lua and CR.lua.rc files because otherwise there will be no correct indicator name and indicator description in the Marketscope II.
Attachments
CR.lua
(2.11 KiB) Downloaded 1482 times
CR.lua.rc
(5.31 KiB) Downloaded 1484 times
miocker
FXCodeBase: Site Admin
 
Posts: 14
Joined: Fri Feb 26, 2010 7:53 pm

Wilder Swing Index

Postby miocker » Mon Apr 12, 2010 4:00 am

Wilder Swing Index (SI) is a part of Wilder’s Swing Index System. In itself the SI is useless, it doesn’t generate any signals, but its formula combines factors that have great deal of interest.
The values of SI are used to form Accumulated Swing Index (ASI).

Wilder has determined that the five most important positive patterns in an uptrend are:
1. Today’s close is higher than the prior close.
2. Today’ close is higher than today’s open.
3. Today’s high is greater than the prior close.
4. Today’s low is greater that the prior close.
5. The prior close was above the prior open.
On a downtrend, these patterns are reversed.
SI combines these five factors, then scales the resulting value to fall between 100 and +100 as follows:
SI = 50x((Ct-Ct-1 + 0.5x(Ct - Ot)+0.25*(Ct-1-Ot-1))/R) x K/M
Where K is the largest of Ht – Ct-1 and Lt – Ct-1
M is the value of a limit move (in the Marketscope this value is 300, the same value is used in MT).
R is calculated from the following two steps:
1. Determine which of the largest of:
a. Ht – Ct-1
b. Lt – Ct-1
c. Ht – Lt
2. Calculate R to the corresponding formula:
a. R = (Ht – Ct-1) – 0.5(Lt – Ct-1) + 0.25(Ct-1 – Ot-1)
b. R = (Lt – Ct-1) – 0.5(Ht – Ct-1) + 0.25(Ct-1 – Ot-1)
c. R = (Ht – L1) + 0.25(Ct-1 – Ot-1)

si.png

The indicator was revised and updated

Please, download both: SI.lua and SI.lua.rc files because otherwise there will be no correct indicator name and indicator description in the Marketscope II.
Attachments
SI.lua
(2.22 KiB) Downloaded 1199 times
SI.lua.rc
(4.37 KiB) Downloaded 1208 times
miocker
FXCodeBase: Site Admin
 
Posts: 14
Joined: Fri Feb 26, 2010 7:53 pm

Daily Raw Figure

Postby miocker » Mon Apr 12, 2010 4:04 am

Daily Raw Figure (DRF) measures the implied direction of the day’s trading.
DRF is calculated as:
DRF = (BP + SP)/(2x(high-low));
Where BP = high - open, SP = close – low.
The maximum value of 1 is reached when a market opens trading at the low and closes at the high. When the opposite occurs and the market opens at the high and closes on the lows, the DRF will be 0.
drf.png

The indicator was revised and updated

Please, download both: DRF.lua and DRF.lua.rc files because otherwise there will be no correct indicator name and indicator description in the Marketscope II.
Attachments
DRF.lua
(1.48 KiB) Downloaded 1104 times
DRF.lua.rc
(3.45 KiB) Downloaded 1095 times
miocker
FXCodeBase: Site Admin
 
Posts: 14
Joined: Fri Feb 26, 2010 7:53 pm

Kairi Relative Index (old histogram version)

Postby miocker » Mon Apr 12, 2010 5:40 am

We have an updated KRI indicator in the new version of Marketscope II. Now it is drawn with lines, not as a histogram. Please find the old version below.
kri_old.png


The indicator was revised and updated

Please, download both: KRI_old.lua and KRI_old.lua.rc files because otherwise there will be no correct indicator name and indicator description in the Marketscope II.
Attachments
KRI_old.lua
(1.45 KiB) Downloaded 1118 times
KRI_old.lua.rc
(4.74 KiB) Downloaded 1124 times
miocker
FXCodeBase: Site Admin
 
Posts: 14
Joined: Fri Feb 26, 2010 7:53 pm



Return to Custom Indicators

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 44 guests