--- In [email protected], "Mark H" <[EMAIL PROTECTED]> wrote:
>
> That's the nature of rotational mode, the following is from the
on-line doc for EnableRotationalTrading():
> Important:
> The rotational trading mode uses "buy price" and "buy delay" from
the Settings | Trade page as trade price and delay for both entries
and exits (long and short)
>
> I don't why it was designed like that, but it is what it is now. To
workaround that, you can set the buy price as close so that the stop
uses the close, but in the bo.EnterTrade(..) function, use the actual
open price of that symbol instead of sig.Price.
Hi Mark,
sorry if this is basic but I have no idea what the name/function for
the actual open price is, for bo.EnterTrade(....) function.
(Btw: this goes over the entire portfolio right? not just a single
symbol?)
Is there an actual name for the open price for use in
bo.Entertrade(..) or do you have to write extra code and set it yourself?
If you could would you beable to provide an example of what im
supposed to write?
I'm going almost crazy trying to figure this out.
I would really appreciate any help.
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
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/