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

RE: [amibroker] Scripting - Macros - Application Automation...



PureBytes Links

Trading Reference Links

Buy = Cross(0, p1);

-----Original Message-----
From: bruiserbbq [mailto:bruiserbbq@xxxxxxxxxxxx]
Sent: Friday, August 13, 2004 4:36 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Exploration help!


Hi gang, below is the code that I use to find stocks that have just
crossed ABOVE the CCI zero line............how can I change it to
find stocks that have just crossed BELOW the CCI zero line?

//CCI Crossover above the Zero line


pds=20;
P1=CCI(pds);

Buy = Cross( p1, 0);
Filter=Buy;


AddColumn(Buy,"Buy");
AddColumn(Close,"Close",1.3);
AddColumn( CCI(20), "CCI", 1.2 );


Cheers Bruiser




Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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/