Here's a simple moon phase indicator for TS. A new moon is zero and a
full moon is 1.
{******************
Indicator: dhMoon3
DH, 2000
******************}
Var: Phase(0);
Phase = AbsValue(2 * (FracPortion(DateToJulian(Date)/29.53059 + .4137) -.5));
Plot1(Phase,"Phase");
--
Dennis
To unsubscribe from this group, send an email to:
realtraders-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Attachment:
Description: ""
|