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

Re: dayofweek question



PureBytes Links

Trading Reference Links

One last question.

Is this the correct code for buying the open + %45 of the Average True Range 
of the last 10 trading days?


 Buy O + Average (TrueRange,10) * .45 stop; 


Thanks,

Vince

In a message dated 1/26/00 4:37:17 PM Central Standard Time, 
VKlinchik@xxxxxxxxxxxxx writes:

<< if( DayOfWeek(Date) = 3 Or DayOfWeek(Date) = 4 ) then begin
    { execute trade here }
 end; >>