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

question about selling n days after buy



PureBytes Links

Trading Reference Links

All,

I know this has been answered before, but I couldn't
seem to find it. If one wants to sell n days
after a buy signal, the code:

n=5;
sell=ref(buy,-n);

will sell 5 days after the buy. This is kind of
unintuitve in that one might think n should
be positive to sell in the future. Why is this?

Thanks,

Walid


__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com