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

Re: [amibroker] How to write a simple stop/exit?



PureBytes Links

Trading Reference Links

Hello,
 
You don't need to write this as Sell condition.
 
Set Maximum loss stop in the settings to 1 dollar or use ApplyStop

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
Sent: Wednesday, May 23, 2007 12:53 PM
Subject: [amibroker] How to write a simple stop/exit?

Hi,

 

I use 60-minute chart to entry and exit. I would like to buy with condition01 on previous bar. I sell at Close on current entry bar or the current Low is lower than prior low or a maximum of $1 loss. Please advise.

 

Buy        = ref(Condition01,-1);

Sell         = L<ref(L,-1) or ????

 

TIA.

 

Clement

 

__._,_.___

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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

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





SPONSORED LINKS
Investment management software Investment property software Investment software
Investment tracking software Return on investment software

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

__,_._,___