[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

That would by at bar 4 still. The only way to know bar 5 is the trade
you want is to wait until the bar 6 to see that the signal has
disappeared.
--
Terry

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

you could try Hold or Flip to carry forward the value of the first
array true signal

--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm


On 9/29/05, mmqp <mmqp@xxxxxxxxx> wrote:
> Yes That is correct.  I want to generate a BUY at bar5.  I was hoping
> someone might had done this before.
>
> --- In amibroker@xxxxxxxxxxxxxxx, "Terry" <MagicTH@xxxx> wrote:
> > 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



 




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