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

[amibroker] Re: IBrokers data feed to Amibroker



PureBytes Links

Trading Reference Links

Hi,

Is it possible using equity() and applystop to trigger an exit when 
the CLOSE crosses the profit target and trade at tomorrows OPEN?

How would it be setup/coded please?

This is similar, from the manual under APPLYSTOP:
------------------------8<---------------------------
Scenario 3:
you trade on next day OPEN and want to exit by stop on OPEN price when
PREVIOUS day H-L range hits stop
Correct settings:
ExitAtStop = 2 (NEW)
Trade delays set to one
Trade price set to open
------------------------8<---------------------------

...but it works when the HIGH crosses the profit target.

Cheers,
Glenn


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 

Yahoo! Groups Links

To visit your group on the web, go to:
 http://groups.yahoo.com/group/amibroker/

To unsubscribe from this group, send an email to:
 amibroker-unsubscribe@xxxxxxxxxxxxxxx

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