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

[amibroker] Weekly Scan



PureBytes Links

Trading Reference Links

Sorry, I left out the code in question.

/* Switch to weekly time frame */
TimeFrameSet( inWeekly );
/* Volume this week triple that of last 3 wks. */
WkVol=Volume>=HHV(Volume,3);
/* Volume this week is highest of last 52 weeks */ 
WkVolHi=Volume>HHV(Volume,52);
/* Volume this week is greater than 300000 */
Thiswkvol=Volume>300000;
/* Switch to daily time frame */
TimeFrameRestore(); 
HighestClose=HHV(C,5)>=HHV(C,250);
Filter=
HighestClose AND WkVol AND WkVolHi AND ThisWkVol; 
AddColumn(Close,"Close");
AddColumn(HHV(C,250),"YearHigh");
AddColumn(wkvol,"WeeklyVolume");




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/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/