PureBytes Links
Trading Reference Links
|
Hello,
I have tried to use barcomplete from time to time over the last few
years with only partial success.
barcomplete as defined by TJ is
barcomplete = BarIndex() < LastValue(BarIndex());
Using barcomplete in a Buy (or Sell) rule such as:
Buy = Cross(MACD(), Signal()) and barcomplete;
will generate Buy signals and plot them as arrows on the screen at
the end of each bar. It will also successfully backtest those Buy
and sell signals.
Now what it will not do:
With this same Buy(or Sell) rule as above, I have never been able to
have the Buy rule trigger an order via Interactivebrokers using the
ibc interface. Never with all the different versions of AB that I
have employed (and enjoyed). I am using AB 5.20.1 RC-1 now. I have
also discovered that with the barcomplete statement in the Buy
command line, the system will not execute a SAY command to announce
the Buy signal, although it does so if the barcomplete is commented
out.
Has anyone else noticed this problem? Btw, I have the same problem
switching to another computer, and with XP or Vista. I would really
like to have the barcomplete functionality if anyone has found a work
around.
Grover
------------------------------------
**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
*********************
TO GET TECHNICAL 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:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> 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/
|