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

Re:Indicators on spreads



PureBytes Links

Trading Reference Links

Bob

On 11 Dec 2001 12:30:29 -0800 you wrote

> 3. if we use value1 = close of data1-close of data2 then value2 = >highest(value1,60) {the 'high' of the spread for the 60 min period) >value3=lowest(value1,60) {will give the 'low' of the spread for the 60 min >period value1 {close of the spread for the 60 min period} 
>  
> so if in the stochs formula we put 
>  
> plot1(slowKCustom(value2,value3,value1,14),"slowK"); {we have what is >essentially a 14 period slowK for the last 60 mins. The same is done for >the SlowD. These "60 minute" bars are updated every minute


What you want is plot1(slowKCustom(value1,value1,value1,60),"slowK").
Looking at the function fastKCustom (which feeds slowKCustom), it is
seen that the inputs for SlowKCustom are for the highest(value1, 60) and
lowest(value1,60). If left as you gave plot1 then the
highest(highest(value1,60), 14), etc. will be computed.

Anyway, this is the same thing as in the reference, code-list, 7 Apr
2000 22:12, John Berentson, that I mentioned in my post.