Sorry for jumping into the thread, but just had to say Thanks Terry!
I'd been looking for a way to tell if I was already in a trade from within my formula.
Hadn't stumbled over the 'flip' funciton yet.

----- Original Message ----
From: Terry <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tuesday, September 26, 2006 3:30:16 PM
Subject: RE: [amibroker] Exrem / flip

ExRem simply removes duplicate signals so it should not signal a second
trade for the same stock. So, I'm thinking that should work.

Flip provides continuous signals, which will tell you if you are in a
trade or not, but there are problems with that without using loops.

Example:
; //Will be True(1) when you are Long and will be
False(0) otherwise.
--
Terry

-----Original Message-----
From: [EMAIL PROTECTED] ps.com [mailto:[EMAIL PROTECTED] ps.com] On
Behalf Of carlacash26
Sent: Tuesday, September 26, 2006 05:16
To: [EMAIL PROTECTED] ps.com
Subject: [amibroker] Exrem / flip

Could someone please explain how to use the exrem / flip functions.

I would like my system to NOT enter a trade if one trade is already
placed for a particular stock.

Would this do the trick?

Buy = ExRem(Buy, Sell);
Sell = ExRem(Sell, Buy);
Short = ExRem(Short, Cover);
Cover = ExRem(Cover, Short);

What if I want to use a trailing stop loss instead of a sell signal to
close trades? Or both a trailing tops and a sell signal?

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroke r.com/support. html

Yahoo! Groups Links


__._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html






SPONSORED LINKS
Software support Small business finance Business finance online
Business finance training Business finance course

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to