[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

It has been more than 1-2 years that I have not used Amibroker to back test some new ideas.  It’s time to re-learn it. :>

 

Thanks.

 

Clement

 

From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Tomasz Janeczko
Sent: Wednesday, May 23, 2007 7:18 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] How to write a simple stop/exit?

 

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 -----

From: Clement Chin

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

 



__________ NOD32 2277 (20070518) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com

__._,_.___

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

__,_._,___

JPEG image

JPEG image