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

[amibroker] Re: New Highs Formula



PureBytes Links

Trading Reference Links


Hi sebre,
Insert this in IB and set chart to weekly view. New 52 wk highs are 
signalled when the plot hits 1

// Closing at New 52 Week Highs
nh_TH= 52; /* Set Time Horizon,  */ 
Plot(HHVBars(C,nh_TH)==0,"  52 Week Highs",4,1) ; 

To 'Explore' for stocks closing at 52wk Highs use the following 
formula.

// EXPLORATION for stocks closing at New 52 week Highs
// In the 'Settings' window set periodicity to weekly
nh_TH= 52; /* Set Time Horizon,  */ 
Buy=Filter=HHVBars(C,nh_TH)==0 AND V*C>50000 ; 
AddColumn(C,"Close");
AddTextColumn(FullName(),"NAME");

Regds
Gerard

--- In amibroker@xxxxxxxxxxxxxxx, "sebre" <visionary@xxxx> wrote:
> 
> 
> What formula would identify if the current close was a new 52 week 
> high?





------------------------ Yahoo! Groups Sponsor --------------------~--> 
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/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/