QUOTE(cskidmore @ Sep 26 2007, 09:24 AM)

Hello,
Can you provide a description of the indicator? (no copyrighted material or 3rd party URL's are allowed). Thank you.
Regards,
Chris
sry i could not find any good example of RCI indicator written by English.
(this technical indicator maybe used by only Japan...)
so ill try to describe what RCI is.
RCI is one of the psycological indicators, shows the trend of forex.
RCI takes a value between 100% to -100%,
and this value can take by statistical method(please see also "Spearman Rank Correlation").
RCI can calculate this formuler:
RCI(%) = (1 - 6 * R / t * (t^2 - 1)) * 100
t is term (days or number of hours etx)
How to get R value is following discription:
1. if a forex market price is like this,
2007/09/26 11:00 $1.00
2007/09/26 12:00 $1.06
2007/09/26 13:00 $1.10
2007/09/26 14:00 $1.11
2007/09/26 15:00 $1.13
2. rank 1. prices like this,
rank1 is 2007/09/26 15:00 $1.13
rank2 is 2007/09/26 14:00 $1.11
rank3 is 2007/09/26 13:00 $1.10
rank4 is 2007/09/26 12:00 $1.06
rank5 is 2007/09/26 11:00 $1.00
3. calculate (rank of time - rank of price)^2 like this,
2007/09/26 11:00 is rank1 of time and rank5 of price, so (1 - 5)^2 = 16
2007/09/26 12:00 .... (2 - 4)^2 = 4
2007/09/26 13:00 .... (3 - 3)^2 = 0
2007/09/26 14:00 .... (4 - 2)^2 = 4
2007/09/26 15:00 .... (5 - 1)^2 = 16
4. sum values of 3. like this,
R = 16 + 4 + 0 + 4 + 16 = 40
5. then put 4. value into above formuler
so, this example shows RCI is,
RCI(%) = (1 - 6 * R / t * (t^2 - 1)) * 100 = (1 - 6 * 40 / 5 * (5^2 - 1)) * 100 = 100%
i want output this RCI value as indicator by VT.
and this indicator must show it every minutes for 9 days....
Click to view attachmenti have trouble in step 1. to 3.,
because these steps need array and roop proceedure.(like C/C++'s "while" statement)
in this case, above formuler's "t" is 9 days * 24 hours * 60 minutes = 12960
and i have to compare 12960 prices.
it make me sick.
thanks.
Lambda