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

Float Indicator



PureBytes Links

Trading Reference Links

<x-html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4207.2601" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#dfffff>
<DIV><FONT face=Arial size=2>I think that the following two sets of code will 
work for a Float Indicator as per Wood's description.&nbsp; But it is not 
totally automatic; </FONT></DIV>
<DIV><FONT face=Arial size=2>some pre-work for each issue it is to be run 
against must be performed.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>To simplify the development of the Float Indicator, 
I have been using primarily issues that are about 2 to 3 years old from their 
IPO's.&nbsp; This allows me to track all the volume data and to be reasonably 
sure that the Float hasn't changed much through time.</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>That is a problem with this indicator, the Float 
changes with time.&nbsp; So with an issue that has 10+ years like CSCO, if the 
indicator is run over the entire 10 + years of volume data using a current Float 
# of shares, the Float summation will be incorrect as you get to present time. 
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Also, when the indicator(s) as written sum over an 
issue for which all data is not loaded, the volume summation will be at an 
obvious ofset to price movement in recent time.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Both of these problems could be overcome with a 
manual pre-inspection that picks a "target" date from which to begin the 
scan.&nbsp;</FONT></DIV>
<DIV><FONT face=Arial size=2>For me this invloves running the indicator one 
time; locating a&nbsp;recent bottom; and finally setting the float calculation 
with the appropeiate date from the Options&nbsp;selector on the Open&nbsp;dialog 
panel.&nbsp;This&nbsp;cures the ofset problem also.&nbsp; But I know of no way 
currently using Metastock to do this.&nbsp; Ideally, I would like to enter a 
begin date in the Input dialog and have Metastock position its calculations from 
that point, but I no of no way to do this.&nbsp; Maybe someone out there 
does?</FONT></DIV>
<DIV><FONT face=Arial size=2>Do you have any thoughts in this area?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The code for the 2 versions I'm working on 
follows.&nbsp; The # 3 version basically gives the output in the form of a % of 
the current volume sum to the Float Volume as a histogram.&nbsp; The # 4 version 
is a line indicator.&nbsp; They both work as a ZIG-ZAG function, restarting when 
the Float is reached either at '0' or the unused portion of the volume on the 
day the Float Volume amount is reached.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The input might look strange, but as most float 
numbers are given as 9.10 M (Opti) or 6.88 B (CSCO) per Yahoo.&nbsp; This form 
of input allows an adjustment of of the Float entry form. The "Voume scaling 
factor" is because my data comes from 2 sources and one source transmits the 
volume as a x100 factor and the other transmits the Volume as&nbsp;the full 
number or as a x1 factor.&nbsp; For those whose data shows the total volume (and 
not the volume divided by 100) the correct setting would be x1 for&nbsp;the 
"Volume scaling factor".&nbsp;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>Note further that I "tweak" the calculation on the day that the vlume 
causes the Float to have been exceeded.&nbsp; This simply is a subtraction that 
allows the shares over the float to initiate the beginning of the next float 
count.</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>-----------------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2>!MY - Float Volume Indicator - 3</FONT></DIV>
<DIV><FONT face=Arial 
size=2>-----------------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2>MilFloat:=Input("Float in Millions : 
",1,9000000000,10);<BR>FloatMultiplier:=Input("Float Multiplier : 
<BR>",1,9000000000,1000000);<BR>Vsf:=Input("Volume Scaling Factor : 
",0.00001,100000,100);<BR>sfV:=V*Vsf;<BR>Float:=MilFloat*FloatMultiplier;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>floatSum:=If((sfV + PREV) = 
Float,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0, 
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (If((sfV + PREV) &gt; 
Float,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
(sfV-(Float-PREV)),<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
(sfV+PREV))));<BR>tpc:=((floatSum/Float)*100);<BR>tpc;</FONT></DIV><FONT 
face=Arial size=2>
<DIV><FONT face=Arial 
size=2>-----------------------------------------------------------------------------------</FONT></DIV>
<DIV>******************************************************************</DIV>
<DIV>
<DIV><FONT face=Arial 
size=2>-----------------------------------------------------------------------------------</FONT></DIV>
<DIV>!MY - Float Volume Indicator - 4</DIV>
<DIV>
<DIV><FONT face=Arial 
size=2>-----------------------------------------------------------------------------------</FONT></DIV>
<DIV>MilFloat:=Input("Float in Millions : 
",1,9000000000,10);<BR>FloatMultiplier:=Input("Float Multiplier : 
<BR>",1,9000000000,1000000);<BR>Vsf:=Input("Volume Scaling Factor : 
",0.00001,100000,100);<BR>sfV:=V*Vsf;<BR>Float:=MilFloat*FloatMultiplier;</DIV>
<DIV>&nbsp;</DIV>
<DIV>floatSum:=If((sfV + PREV) = 
Float,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0, 
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (If((sfV + PREV) &gt; 
Float,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
(sfV-(Float-PREV)),<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
(sfV+PREV))));<BR>floatSum;</DIV>
<DIV>
<DIV><FONT face=Arial 
size=2>-----------------------------------------------------------------------------------</FONT></DIV></DIV></DIV></DIV>
<DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I know that the function is a little slow due to 
the uses of the PREV function, but</FONT></DIV>
<DIV>I don't know how to code this otherwise.&nbsp; Perhaps someone out there 
does?</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Check out the attached&nbsp;.gif of OPTI and let me 
know your thoughts on any of this.</FONT></DIV>
<DIV>&nbsp;</DIV></FONT></DIV>
<DIV><FONT face=Arial size=2>Enjoy! ........ 
John</FONT></DIV></FONT></BODY></HTML>

</x-html>

Attachment Converted: "c:\program files\qualcomm\eudora\attach\!!!@xxxxxxxxxxxxxxxxxx"