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

Re: Multi-period Market Indicator Values



PureBytes Links

Trading Reference Links

I've received all the various replies to my post.  I've been in bed with the
flu.

I'll have a chance to answer when I get better (hopefully soon).

Steven Buss
Walnut Creek, CA
sbuss@xxxxxxxxxxx

-----Original Message-----
From: Rick Mortellra <rmjapan@xxxxxxxxxxxxx>
To: Paul Chivers <pchivers@xxxxxxxxxxxxxx>
Cc: MetaStock List <metastock-list@xxxxxxxxxxxxx>
Date: Thursday, January 15, 1998 3:27 AM
Subject: Re: Multi-period Market Indicator Values


> Hi Paul,
>
>Actually, I think you made it more difficult than it should be.
>
>The rolling weekly synthetics I had in mind would be represented by the
>following MS custom formulas:
>
>WeeklySyntheticHigh = HHV(H,5)
>WeeklySyntheticLow = LLV(L,5)
>WeeklySyntheticOpen = ref(O,-4)
>WeeklySyntheticClose = C
>
>I'll just assume that you got the Stochastics part right. That's the real
>grunt work I wanted to leave up to Steve.
>
>Afterall, this ain't an easy business. No magic formulas, no easy answers.
>If you can't understand the math behind the indicators of what you're
>trading, then it's best not to do it.
>
>I've spent years studying trading and applying what I've learned to the
>markets and have paid allot of tuition (read losses) along the way for my
>mistakes. I'd like to think that my best lessons have cost the most
tuition!
>Anyway no better teacher than the markets.
>
>cheers,
>rick
>
>
>-----Original Message-----
>From: Paul Chivers <pchivers@xxxxxxxxxxxxxx>
>To: Steven Buss <sbuss@xxxxxxxxxxx>; metastock-list@xxxxxxxxxxxxx
><metastock-list@xxxxxxxxxxxxx>; < <rmjapan@xxxxxxxxxxxxx>
>Date: Thursday, January 15, 1998 2:38 AM
>Subject: Re: Multi-period Market Indicator Values
>
>
>>Steve and Rick,
>>
>>I hadn't yet seen Rick's response when I posted my "claim for dinner".
>>
>>Rick is absolutely correct in what he says.
>>Especially the bit about "the last bar of higher time frames is usually
not
>>complete".
>>
>>Because I agree with what Rick says, and because his suggestion eliminates
>>the "last Weekly period" problem from my solution, I include an updated
>>version of my previous reply, but based on Rick's "synthetic" weekly OHLC
>>data.
>>
>>I think my original solution more correctly approximated the result of
>>dropping a Stochastic on a Weekly chart, but Rick's solution is more
useful
>>at the hard right edge.
>>
>>Rick, how about we split the dinner?
>>
>>Paul Chivers
>>Western Australia
>>+8:00 GMT
>>
>>
>>{ Weekly High - Synthetic }
>>     If( DayOfWeek() = 1 , HHV(H, 1),
>>     If( DayOfWeek() = 2 , HHV(H, 2),
>>     If( DayOfWeek() = 3 , HHV(H, 3),
>>     If( DayOfWeek() = 4 , HHV(H, 4),
>>     If( DayOfWeek() = 5 , HHV(H, 5),
>>         H
>>       )))));
>>
>>{ Weekly Low - Synthetic }
>>     If( DayOfWeek() = 1 , LLV(H, 1),
>>     If( DayOfWeek() = 2 , LLV(H, 2),
>>     If( DayOfWeek() = 3 , LLV(H, 3),
>>     If( DayOfWeek() = 4 , LLV(H, 4),
>>     If( DayOfWeek() = 5 , LLV(H, 5),
>>         L
>>       )))));
>>
>>{ Weekly Stochastic - Synthetic Data }
>>WClose:= C ;
>>WHigh := Fml( "Weekly High - Synthetic" ) ;
>>WLow  := Fml( "Weekly Low - Synthetic" ) ;
>>KPer:=Input("%K Time Periods", 1, 200, 5)*5;
>>KSmooth:=Input("%K Slowing",   1, 200, 3)*5;
>>DPer:=Input("%D Time Periods", 1, 200, 3)*5;
>>PercentK:=(  Sum(  WClose
>>                 - LLV(WLow, KPer),
>>                 KSmooth ) /
>>           Sum(   HHV(WHigh, KPer)
>>                - LLV(WLow, KPer),
>>                KSmooth) ) * 100;
>>PercentK;
>>PercentD:= Mov(PercentK, DPer, S) ;
>>PercentD;
>>
>>
>>
>