PureBytes Links
Trading Reference Links
|
Hi ed,
Just to confirm that I don't see the same problems, everything is working
perfectly. (using AB beta 4.66.2)
Regards,
William Peters (AmiBroker Group Moderator)
www.amitools.com
Monday, December 27, 2004, 4:29:49 AM, you wrote:
en> hi,
en> can't figure out what I am doing wrong. Below a simple
en> example. I create an array using a function. This array I use to
en> find Buy signals. I put the buy signals in a chart. All seems
en> good. Then I do an explore and then I see that the explore puts
en> the buy signals at a different date. There seems nothing strange
en> about the code. What could be wrong?
en> Ed
en> function ffZig(vv,pp) {
en> // initialize fzg array
en> fzg = 0;
en> // perform loop to fill fzg array
en> for( i = 0; i < BarCount; i= i + 10 ) {
en> fzg[ i ] = 1;
en> }
en> return fzg;
en> }
en> SetBarsRequired(10000,10000);
en> ZZ = ffZig(C,0) ;
en> Buy = ZZ == 1;
en> Short = 0;
en> PlotShapes( shapeUpArrow*Buy, colorGreen);
en> Plot(C, " ", colorBlue, styleCandle ) ;
en> Filter = 1;
en> AddColumn(Buy,"Buy");
------------------------ Yahoo! Groups Sponsor --------------------~-->
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
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/
|