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

Re: sell after a specific # of days



PureBytes Links

Trading Reference Links

Mike,

I am afraid your solution will not work, but...
I think Frans Derksen came up with a genius solution.

Trail:
-stops
-inactivity change
-minimum change = 10000 (huge) and period = 6

Because the minimum will not be reached the system will close your position.

Regards,
Onno





At 04:16 17-5-99 -0400, you wrote:
>i am trying to write a trading system & don't know if this is the
>correct way for metastock:
>buy:gapup()
>sell:ref(gapup(),+5)
>
>the sell should occur 5 days AFTER the buy condition.
>
>thanks.
>mike arnoldi
>