RS (Relative Strength)
Author: ayc868
Creation Date: 11/4/2008 11:31 PM
profile picture

ayc868

#1
do you have C# sample?
profile picture

ayc868

#2


How Do I translate to C# of following

range = (High[bar] - Low[bar])/ High(10 weeks ago);
profile picture

Eugene

#3
QUOTE:
do you have C# sample?

For instance, here:

3m rel high scans - is there shortcut wealthscript or do you have to programme?
QUOTE:
How Do I translate to C# of following

range = (High[bar] - Low[bar])/ High(10 weeks ago);

CODE:
Please log in to see this code.
profile picture

ayc868

#4
This is the week high of the 10 weeks ago. if I would like to have the day high of 10 weeks ago.
The result is different.
profile picture

Eugene

#5
CODE:
Please log in to see this code.
profile picture

ayc868

#6

QUOTE:
DataSeries wkHigh = High;


is weekly data? or daily?

should we do like

CODE:
Please log in to see this code.

profile picture

Eugene

#7
QUOTE:
should we do like

DataSeries range = (High - Low)/ ( High>>50 );

As long as you like the result, it's OK with me ;)

QUOTE:
This is the week high of the 10 weeks ago. if I would like to have the day high of 10 weeks ago.

Yesterday, HERE Robert has offered a good explanation of actual vs. approximate days. As you'll see from his reply, it's not that simple and for practical purposes, simple is better.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).