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

[amibroker] Plotting One-Variable Optimizations



PureBytes Links

Trading Reference Links

Buy = Cross( 0, p1 );

Cheers,
Graham
http://e-wire.net.au/~eb_kavan/

-----Original Message-----
From: bruiserbbq [mailto:bruiserbbq@xxxxxxxxxxxx] 
Sent: Saturday, August 14, 2004 7:36 AM
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/