Rank: Member
Groups: Registered, Registered Users Joined: 10/6/2005(UTC) Posts: 26
|
I'm having some problem with enhanced system testing and its stop-loss feature.
My Long Entry/Short Exit is C>mov(C,6,S) AND ADX(14)>20
My Long Exit/Short Entry is C<mov(C,6,S) AND ADX(14)>20
Stop Loss - 2%
Assumption:
1. Long
2. Got stopped out
3. LE/SE conditions are still valid
Metastock would still enter me in the Long direction after I got stopped out. Is there anyway I could ask Metastock to enter me in the reverse direction (Short Entry) following the stop-loss, or wait until the conditions for Short Entry are met.
I could use Cross function for MOV average and ADX, but are there any other ways to do it if I need to use other indicators that do not work with Cross function.
TQ very much guys. Appreciate any help that you can extend to me.
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 9/8/2004(UTC) Posts: 2,266
Was thanked: 1 time(s) in 1 post(s)
|
Well you need to use a cross function in one of your conditions ...
For example :
My Long Entry/Short Exit is C>mov(C,6,S) AND Cross(ADX(14),20 )
Now if for some reasons you do not want to use the cross function, I'm sure you could do something using the latch function in the ForumDll ...
Patrick :mrgreen:
|
|
|
|
Rank: Member
Groups: Registered, Registered Users Joined: 10/6/2005(UTC) Posts: 26
|
TQ Patrick. Latch function is too complicated. I will settle with having a cross function in one of the conditions.
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers, Unverified Users Joined: 10/28/2004(UTC) Posts: 3,111 Location: Perth, Western Australia
Was thanked: 16 time(s) in 16 post(s)
|
Newbie,
Don't think the latch is too complicated - it was written by Patrick to SIMPLIFY a terribly difficult problem in MS.
Ask for help where you need it. I think you will find the latch is an easy solution to your problem. There is always a way....
NEVER LET THE COMPUTER WIN - EVER!
wabbit :D
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.