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

Re: Easylanguage: Not trading on a certain day



PureBytes Links

Trading Reference Links

You almost got it. You need to supply DayOfWeek() with
an EasyLanguage date, so you would write:

If DayOfWeek(date) <> 5 then Being...

This will get the current bar's date and check if it
is friday.

Regards,

Victor Cuadra
www.cuadraE.com

--- Feivy <shraga@xxxxxxxxxxxx> wrote:
> Hi everyone,
> How can I tell easylanguage that a certain signal
> should NOT trade if
> today is friday? I tried
> If dayofweek(0) <>5 then begin, but it didn`t
> work...
> 
> Philip
> 
> 


=====
Victor Cuadra
www.cuadraE.com