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

EL Help - Simple Question



PureBytes Links

Trading Reference Links

I'm trying to check the effect of exiting positions before the weekend.
I tried the line:

If marketposition = 1 and dayofweek = 5 and currenttime > 15:00 then
exitlong

But the dayofweek part is not verifying.

Can someone tell the proper syntax for exiting at the clsoe on Friday?

Thanks.
Mike