PureBytes Links
Trading Reference Links
|
Thanks,
That seems to work best.
Cordell
--- In amibroker@xxxxxxxxxxxxxxx, Graham <kavemanperth@xxxx> wrote:
> another method could be
>
> setup1 = flip(condition1,condition2);
> buy = condition2 and ref(setup1,-1);
>
> On Apr 3, 2005 1:09 AM, ct1942 <ct1942@xxxx> wrote:
> >
> >
> > Thanks,
> >
> > That did it!
> >
> > --- In amibroker@xxxxxxxxxxxxxxx, kris45mar <kris45mar@xxxx> wrote:
> > > try barssince(...... ;
> > >
> > > two s's in barssince.
> > >
> > > ChrisB
> > > --- ct1942 <ct1942@xxxx> wrote:
> > > >
> > > > When I tried this, I get a syntax error between
> > > > barsince and (condition1).
> > > >
> > > > --- In amibroker@xxxxxxxxxxxxxxx, "ct1942"
> > > > <ct1942@xxxx> wrote:
> > > > >
> > > > > Thanks
> > > > >
> > > > >
> > > > > --- In amibroker@xxxxxxxxxxxxxxx, "hairy_mug"
> > > > <WSCHWARZ@xxxx> wrote:
> > > > > >
> > > > > >
> > > > > > buy=barsince(condition1)>0 and conition2;
> > > > > >
> > > > > > --- In amibroker@xxxxxxxxxxxxxxx, "ct1942"
> > > > <ct1942@xxxx> wrote:
> > > > > > >
> > > > > > > I'm sure there is a way to program this, but I
> > > > don't know it. Please
> > > > > > > help me.
> >
> > > > > > >
> > > > > > > When condition 1 happens, I want to buy at the
> > > > next occurance of
> > > > > > > condition 2.
> > > > > > >
> > > > > > > TIA,
> > > > > > >
> > > > > > > Cordell
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > __________________________________
> > > Yahoo! Messenger
> > > Show us what our next emoticon should look like. Join the fun.
> > > http://www.advision.webevents.yahoo.com/emoticontest
> >
> >
> > 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
> >
> >
> >
> >
> >
>
>
> --
> Cheers
> Graham
> http://e-wire.net.au/~eb_kavan/
------------------------ Yahoo! Groups Sponsor --------------------~-->
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/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/
|