PureBytes Links
Trading Reference Links
|
Perhaps I am missing something obvious but why not just:
Plot1(HighD(1)), "High");
Bob Fulks
At 11:43 AM -0500 10/30/00, William C. Daniel wrote:
>I use the code below to print a trendline based on the prior day high
>on the current day chart. It works fine on Tues through Friday, but
>because of the weekend days does not work on Monday unless I change
>the input value to 2 for Monday. I would like to eliminate the input
>so that the code automatically adjusts for the weekend. Any
>suggestions would be appreciated. The T1 variable is used to set
>Trendline attributes.
>
>Thanks in advance.
>
>Bill
>
>
>
>Inputs: DOW(1);
>
>Variable: YH(-1), T1(-1);
>
>If High[1]>0 Then Begin
> YH = TL_New(Date, Sess1StartTime, High, Date+DOW, Sess1EndTime, High);
> T1 = Text_New(Date+DOW, Sess1EndTime, High, "YH");
>
>End;
|