Australian (ASX) Stock Market Forum

MetaStock - Sell After Specified Period of Time

Joined
16 October 2009
Posts
34
Reactions
0
Hey,
I have been approached by somebody to write them a MS system test which buys when a particular criterion is met and closes the position in a fixed number of days after the buy signal occured.

I have managed to write the code for the buy signal, however i am having some trouble telling MS to sell the security after 'x' number of days. Is there a simple way of doing this?

Thanks,
Dan.
 
Hmm i'm thinking that this thread would be better suited to the software and data forum. If a moderator agrees, i'd be happy to have this thread moved there.
 
Top