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

Re: [amibroker] I'm Stuck , it doesnt work



PureBytes Links

Trading Reference Links

ATC is just another source od data. You can do what ever you want with it 
... including creating another ATC

----- Original Message ----- 
From: "jim_wiehe" <jim_wiehe@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Saturday, June 30, 2007 3:57 AM
Subject: [amibroker] I'm Stuck , it doesnt work


> My question is, can I use (2) Foreign ATC's to create another ATC?
> The AFL seems to go through its paces but returns the value of the
> numerator in the new ATC failing to complete the entire expression of
> the array within the ATC function. Anybody have some advice? opinion?
> suggestions?
>
> Jim Wiehe
>
> SmallList=Foreign("~Small:","O");
> BigList=Foreign("~Big:","C");
> smallcount=Foreign("~Scount:","V");
> bigcount=Foreign("~Bcount:","V");
> smallAvg=smallList/smallcount;
> BigAvg=BigList/BigCount;
>
> Filter=1;
>
> Buy=Sell=Short=Cover=0;
> Scan = Status("Action")==3;
>
> if(Scan) {
> inc = 1;
>
> // Create small avg composities
> sym1 = "~SmallAvg:" ;
> AddToComposite(SmallAvg, sym1,"X",1+2+4+8+16+128);
>
>
>
>
> // Create big avg composites
> sym3 = "~BigAvg:";
> AddToComposite(BigAvg, sym3," X",1+2+4+8+16+128);
>
>
>
>
>
> }
>
>
> if( scan)
> {
>
>   CategoryAddSymbol( "~smallnormalized,categorywatchlist, 17 );
>   CategoryAddSymbol( "~bignormalized,categoryWatchlist, 18 );
>
> }
>
>
>
>
> 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

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