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

[EquisMetaStock Group] Reentering a trade



PureBytes Links

Trading Reference Links

------------------------------------------------------------------------
You cannot reply to this message via email because you have chosen not
to disclose your email address to the group.

To reply:  http://groups.yahoo.com/group/equismetastock/post?act=reply&messageNum=5633
------------------------------------------------------------------------

Hello all,

I'm new to this forum and I'm wondering whether any of Metastock 
language gurus could help me in some way. :)

I'm trying to code in Metastock how to reenter a previous trade in 
the same direction after a trailing stop has been triggered.

Let say I have a very simple TS using 2 MA and a TrailingStop 
calculated on ATR. I'm basing the long trades on ShortMA crossing 
LongMA and the short trades on the opposite condition. Suppose that 
the ExitLong condition contains the "OR L <= TrailingStop" statement 
and, during the backtest, this condition is met. After that, the 
market turns up again and continues the previous trend. If I was 
Long, how to code to reenter to the long position?

Many thanks for the suggestions and for the time you will dedicate to 
my question.

Mimmo


To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/