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

[amibroker] Can it do it!!



PureBytes Links

Trading Reference Links

You might try this:

Load into Automatic Analysis, 

Settings:
n=last quotations
n=1

Go to settings and select Periodicity= Weekly

//1. Price has closed above a rising 50 Day EMA on a WEEKLY CHART.

//2. Price has closed above a rising 30 WEEK EMA on WEEKLY CHART.

TimeFrameSet(inDaily);

above50=Cross(C,EMA(C,50))AND EMA(C,50) > Ref(EMA(C,50),-1);

TimeFrameRestore();

above30=Cross(C,EMA(C,30)) AND EMA(C,30) > Ref(EMA(C,30),-1);

ConditionGO=above50 AND above30;

Filter=ConditionGO > 0;

AddColumn(C,"close",1.2);



Anthony



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