PureBytes Links
Trading Reference Links
|
ok thanks William. I'm on the road now and will have a look at it in
2 days,
rgds, Ed
--- In amibroker@xxxxxxxxxxxxxxx, William Peters
<williampeters@xxxx> wrote:
> 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 --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/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/
|