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

RE: [amibroker] Re: How do I do this in AB?



PureBytes Links

Trading Reference Links

If your arrays contain the following where 1 = Buy and 0 = no signal.
Bar#    1 2 3 4 5 6
Array1: 0 1 1 1 1 0
Array2: 0 0 0 1 1 1

Buy = array1 AND array2 will get a Buy at bar 4

It seems your idea is to Buy at bar 5, the latest possible Buy when both
arrays are still true. I don't see how this can be done without looking
ahead to see when one array is no longer True.
--
Terry

-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On
Behalf Of mmqp
Sent: Wednesday, September 28, 2005 12:36
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: How do I do this in AB?

Yes, but one of the array would have BUY signal that extend further
than the other.  I do not want to generate the BUY signal as early as
possible but the latest BUY signal.  I hope I make sense with the
question.

--- In amibroker@xxxxxxxxxxxxxxx, "Charles Stangor" <cstangor232@xxxx>
wrote:
> just: 
> 
> Buy = Array1 and Array2;
> 
> right?
> 
> ----- Original Message ----- 
> From: "mmqp" <mmqp@xxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Wednesday, September 28, 2005 11:49 AM
> Subject: [amibroker] How do I do this in AB?
> 
> 
> >I have two arrays which I want to combine to result in a BUY signal. 
> > I want my final BUYsignal to be the last signal of these two array. 
> > How can I do this in AB?  Thanks in Advance.
> > 
> > 
> > 
> > 
> > 
> > 
> > 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 other support material please check also:
> > http://www.amibroker.com/support.html
> > 
> > 
> > Yahoo! Groups Links
> > 
> > 
> > 
> > 
> > 
> >





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 other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links



 




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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 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/

<*> 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/