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

[amibroker] alternative exit testing



PureBytes Links

Trading Reference Links

All,

I have an entry based on a BStoplevel that is known immediately after
the open.  Normal exit is the next day's open.

I would like to test this based on an early exit at the close on the
day of entry, if the close is < BStoplevel.

How can I code this alternative close?

It would be exit on day of entry at close if C < BStoplevel, but exit
next open if C >= BStoplevel.  I'm not sure exactly how to write
this, or how to set the trade delays in this case.

Yuki ^_^


Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/