PureBytes Links
Trading Reference Links
|
What is 27303.3? And what does it mean? It's the Omega serial number of 1st
Oct 74
juliantodate(27303.3)=741001 the .3 Is the time in that day .3*24=7.2=7AM 12
min.
Thats the first date with full moon known (by the program).
z calculates the next full moon from date
if the next full moon of 1 bar is different from the bar before then plot
What is does intportion mean? And why is it used. You use when you try to
compare days a you not care about the hours. You use only the integer
portion and not the decimals (hours)
also a simple explaination of datetojulian date? Just start counting day by
day from one date. Omega choose Jan 1, 1900.
This code could help to calculate Good Friday. I know it's a function of
moon cycles
Somebody knows more?
Jaime
-----Mensaje original-----
De: Phil <rhodes@xxxxxxxxxxxxxx>
Para: omega-list@xxxxxxxxxx <omega-list@xxxxxxxxxx>
Fecha: martes 14 de abril de 1998 9:10
Asunto: Help with code?
> I got the following full moon code from a friend. I am trying to study
>different codes to try to understand them so I can learn more about how to
>write code on my own. I would like someone to explain what each line does
>and means in the code below?
>
>begin
>var:z(0);
>If currentbar=1 then begin
>z=27303.3;
>While z<=datetojulian(date) begin
>z=z + 29.531;
>end;
>end;
>
>if intportion(z)=datetojulian(date) then begin
>z=z+ 29.531;
>end;
>
>if z-1<datetojulian(date) then z=z+29.531;
>if z>z[1] then begin
>
>plot1( high, "Full Moon");
>plot2 (low," Full Moon");
>
>end;
>
>END;
>
> I understand some of the code, but not all!
> What is 27303.3? And what does it mean?
> What is does intportion mean? And why is it used?
> also a simple explaination of datetojulian date?
> I think I understand the rest? Maybe?
>
> Any info would be very helpful!!!
>
> Thank you,
> Phil
>
|