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

Re: [amibroker] Exploration



PureBytes Links

Trading Reference Links

Graham, thanks. Glad you participate in this forum... you have accumulated a
lot of knowledge ... and share graciously


----- Original Message ----- 
From: "Graham" <kavemanperth@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Friday, July 15, 2005 11:15 PM
Subject: Re: [amibroker] Exploration


> AddTextColumn(WriteIf(Buy,"Buy",WriteIf(Short,"Short","xx")),"Trade");
>
> writeif will always display oinly the value for the last bar, no
> others when used in exploration
>
> easiest way is to just have numeric representation
>
> AddColumn( IIf( Buy, 1, IIf( Short, -1, 0 ) ), "trade", 1 );
>
>
> On 7/16/05, Ara Kaloustian <ara1@xxxxxxxxxx> wrote:
> > Using the code below to do exploration with line studies.
> >
> >
> >
> > Short= Cross(High,Study("RE",1923));
> >
> > Buy= Cross(Study("SU",1923),Low);
> >
> > Filter= Buy OR Short;
> >
> > AddColumn(Close,"Close");
> >
> > AddTextColumn(WriteIf(Buy,"Buy",WriteIf(Short,"Short","xx")),"Trade");
//
> > Always results in "xx"
> >
> > AddColumn(IIf(Buy,1,IIf(Short,-1,0)),"Trade2");   //  Works OK
> >
> >
> >
> > The last 2 lines are the issue. Last line works OK. Prior line does not.
> >
> > Anyone see the problem?
> >
> > Ara
> >
> > 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
> >
> >  Visit your group "amibroker" on the web.
> >
> >  To unsubscribe from this group, send an email to:
> >  amibroker-unsubscribe@xxxxxxxxxxxxxxx
> >
> >  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> >  To unsubscribe from this group, send an email to:
> >  amibroker-unsubscribe@xxxxxxxxxxxxxxx
> >
> >  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> >  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> > ________________________________
> >
>
>
> -- 
> Cheers
> Graham
> http://e-wire.net.au/~eb_kavan/
>
>
>
> 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/DldnlA/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/