j=Param("year to begin line study",1999,1800,3000,1);
k=Param("month to begin line study",1,1,12,1);
m=Param("day of month to begin line study",4,1,31,1);
ext=Param("Extension: 2=upward; 1=downward; 0=none",0,0,2,1);
hi=Param("high",0,20000,100);
lo=Param("low",0,20000,50);
BeginPlot=Year()=j AND Month()=k AND DayOfMonth()=m;
n=ValueWhen(1,BeginPlot,(hi-(hi-lo)*2.618));
q=ValueWhen(1,BeginPlot,(hi-(hi-lo)*1.618));
u=ValueWhen(1,BeginPlot,(hi-(hi-lo)*1.382));
x=ValueWhen(1,BeginPlot,((hi-lo)*1.382)+lo);
y=ValueWhen(1,BeginPlot,((hi-lo)*1.618)+lo);
z=ValueWhen(1,BeginPlot,((hi-lo)*2.618)+lo);