logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
gombong  
#1 Posted : Thursday, April 3, 2008 8:51:53 PM(UTC)
gombong

Rank: Newbie

Groups: Registered, Registered Users
Joined: 4/3/2008(UTC)
Posts: 7

Hi all,

Is there any way to program the trading rule so that one rule has priority over others.

Eg :
i have a long position, and receiving a sell short signal. However I do not want to execute it if I have not closed the long position.

The only way to close the long position is following the sell signal, instead of forced by sell short signals.

All inputs are greatly appreciated.

wabbit  
#2 Posted : Friday, April 4, 2008 12:43:47 AM(UTC)
wabbit

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)
Hi gombong,

Do a search of the forum for latch or latches and see what comes up. There is a useful function in the Forum.dll that might suit your purpose.


wabbit [:D]


Spaceant  
#3 Posted : Friday, April 4, 2008 8:16:11 PM(UTC)
Spaceant

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 8/16/2005(UTC)
Posts: 182

Wabbit,

Do you mean the way to tackle it is to use the PREV based latches?

To my knowloedge, the FORUM DLL will force to a short position when a short sell signal is issued after a long position has been taken despite the fact that a sell signal is not yet issued.

SA

wabbit  
#4 Posted : Friday, April 4, 2008 8:31:50 PM(UTC)
wabbit

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)
Hi sa,

(long time, no hear)

PREV based latches are one method that could be used to achieve the aim. The Forum.dll latch function, with its very generic logic system flops from the long to the short, unless the input variables are specifically designed to stop this from happening.

By redesigning the logic of the latch, it possible to personalise the latch to each trader and their own trading rules. I have written much about this on the Forum before. BTW: to see the difference between the Forum.dll Latch and another customised latch see http://forum.equis.com/forums/post/16453.aspx
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.