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

PV Binary Wave



PureBytes Links

Trading Reference Links

<x-html><!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META content='"MSHTML 4.72.3509.100"' name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#000000 size=2>All,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
I've had a little more time to work on the PV Binary wave test.&nbsp; In my last 
post I added the first two formulas together then copied them into a simple zero 
cross over test to check the sensitivity of the weightings for short, 
intermediate, and long term data.&nbsp; I had started off assuming that the 
longer term trends should carry more weight and had weighted the short, 
intermediate, and long term equations with a 1, 2, and 3 multiplier 
respectively.&nbsp; I was surprised to find that when I tested the formula on 
several of my stocks that it worked better if the short and intermediate term 
were weighted about the same and more then the long term.&nbsp; So I changed my 
multiplier to 2, 2, and 1 respectively.&nbsp; That gave me the first PV Binary 
Wave relationship as follows:<BR>&nbsp; <BR>&nbsp;&nbsp; PVBW01 (Highs &amp; 
Lows)<BR>&nbsp;&nbsp;&nbsp;&nbsp; If(HHV(L,8) = HHV(L,21),2,0) 
+<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If(HHV(L,21) = HHV(L,55),2,0) 
+<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If(HHV(L,55) = HHV(L,233),1,0) 
+<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If(HHV(H,8) = HHV(H,21),2,0) 
+<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If(HHV(H,21) = 
HHV(H,55),2,0) +<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
If(HHV(H,55) = HHV(H,233),1,0) +<BR>&nbsp;&nbsp;&nbsp; If(LLV(H,8) = 
LLV(H,21),-2,0) +<BR>&nbsp;&nbsp;&nbsp;&nbsp; If(LLV(H,21) = LLV(H,55),-2,0) 
+<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If(LLV(H,55) = LLV(H,233),-1,0) 
+<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If(LLV(L,8) = LLV(L,21),-2,0) 
+<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If(LLV(L,21) = LLV(L,55),-2,0) 
+<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If(LLV(L,55) = 
LLV(L,233),-1,0)<BR>The idea here is that we are using the HHV function to see 
if the highest lows and highest highs have occurred recently.&nbsp; If they have 
we can say that we are having higher highs and higher lows which is bullish and 
we assign each formula which is true a +2 or +1 depending on whether it is 
short, intermediate, or long term.&nbsp; Similarly, we use the LLV function to 
check for lower highs and lows and assign the appropriate negative values if 
true.<BR>&nbsp;&nbsp;&nbsp;&nbsp; I also added together and checked our high 
volume move and new 233 day high or low and checked their sensitivity.&nbsp; 
Again I used the weightings that generally gave the best results on the stocks I 
checked.&nbsp; The second PV Binary Wave relationship becomes:<BR>&nbsp;&nbsp; 
<BR>&nbsp;&nbsp; PVBW02 (High Vol Move)<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
If(Mov(V,3,S) &gt; 1.02*Mov(V,21,S),1,0) *<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
If(C &gt; Ref(H,-1),2,0) + <BR>&nbsp;&nbsp;&nbsp; If(Mov(V,2,S) &gt; 
1.02*Mov(V,21,S),1,0) *<BR>&nbsp;&nbsp;&nbsp;&nbsp; If(C &lt; 
Ref(L,-1),-2,0)<BR>The theory here is that a close above yesterdays high is 
bullish if it happens on good volume.&nbsp; Conversely, a close below yesterdays 
low is bearish if it happens on good volume.<BR>&nbsp;&nbsp;&nbsp;&nbsp; The 
third PV Binary Wave relationship becomes:<BR>&nbsp;&nbsp; <BR>&nbsp;&nbsp; 
PVBW03 (New 233 Day High or Low)<BR>&nbsp;&nbsp;&nbsp; ((If(Mov(V,2,S) &gt; 
1.02*Mov(V,21,S),1,0)) *<BR>&nbsp;&nbsp;&nbsp;&nbsp; If((H = HHV(H,233)),3,0)) 
+<BR>&nbsp;&nbsp; ((If(Mov(V,2,S) &gt; 1.02*Mov(V,21,S),1,0)) 
*<BR>&nbsp;&nbsp;&nbsp;&nbsp; If((L = LLV(L,233)),-3,0))<BR>The theory here is 
that a stock making a new 233 day high or low is very bullish or bearish, 
respectively.&nbsp; That's because it is considered to be in uncharted waters 
without in overhead or underlying resistance.<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
Finally I wanted a look back indicator.&nbsp; I started with a 21, 55, and 233 
day look back of the close and made it bullish or bearish just on comparing the 
two closing prices.&nbsp; However, when I got to thinking about this I thought 
it was just another way of getting the same results as our first binary 
wave.&nbsp; What I really wanted was momentum, so I came up with the idea of 
subtracting the two closes, assigning different weightings (our old 2, 2, 1) 
relationship, and then dividing by the closing price to normalize the results so 
there wouldn't be differences between low and high priced stocks.&nbsp; The 
final PV Binary Wave relationship then becomes:<BR>&nbsp;&nbsp; PVBW04 (Price 
Look Back)<BR>&nbsp;&nbsp;&nbsp;&nbsp; (2*(C-Ref(C,-21)) + 2*(C-Ref(C,-55)) + 
(C-Ref(C,-233)))/C<BR>Yes I know that's an analog, not a binary relationship, 
but I've never been a purist at anything &lt;G&gt;.<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
The next step is to add and smooth the PV Binary Wave.&nbsp; I do that with the 
following two equations:<BR>&nbsp;&nbsp; <BR>&nbsp;&nbsp; PVBW 
Add<BR>&nbsp;&nbsp;&nbsp;&nbsp; Fml(&quot;PVBW01&quot;) + 
Fml(&quot;PVBW02&quot;) + Fml(&quot;PVBW03&quot;) +<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
Fml(&quot;PVBW04&quot;)<BR>&nbsp;&nbsp; <BR>&nbsp;&nbsp; Tema PV Binary 
Wave<BR>&nbsp;&nbsp;&nbsp;&nbsp; Tema(Fml(&quot;PVBW Add&quot;),13)<BR>The first 
equation is the same as we had before where we just add up the results.&nbsp; 
The second equation has a shorter smoothing period because I found that worked 
better for most of the stocks I looked at with the simple zero cross over test. 
<BR>&nbsp;&nbsp;&nbsp;&nbsp; I'll attach a MS6.5 import file with the 
formulas.&nbsp; The import instructions are on p 215 of the MetaStock V6.5 
manual.&nbsp; As you can see the names are unique and shouldn't overwrite any of 
your formulas unless you have some with the same names.&nbsp; Please play with 
them and let me know what you think.&nbsp; In the next post, I'll give some 
ideas for a better test and exploration of the PV Binary Wave.</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2>Jim<BR></FONT></DIV></BODY></HTML>
</x-html>
Attachment Converted: "c:\eudora\attach\Ms65form2.dta"