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

Re: [amibroker] New user requests help in writing simple scan



PureBytes Links

Trading Reference Links

this may work enough to start with. Check help screens for information

TodayHigh = TimeFrameGetPrice( "H", inDaily, 0 ) ;//gets todays high price
Filter = C<=0.95*todayHigh; // current price < 95%
AddColumn(C,"close",1.3);
AddColumn(TodayHigh,"High",1.3);
AddColumn(C/TodayHigh*100,"%",1);



On Sun, 06 Mar 2005 21:24:10 -0000, sol4412 <sol4412@xxxxxxxxx> wrote:
> 
> 
> Hello Everyone,
> 
> I am a new user of AmiBroker, and would like to use the real time
> version of the program combined with an eSignal feed to scan for
> stocks during market hours.  I have spent several days studying the
> program, tutorials, and help files.  Unfortunately, I have no
> experience in programming and it will probably take me several weeks
> just to get up to speed with the AFL programming language.
> 
> The scan / exploration I'm trying to execute is really simple, and
> would probably require no more that a few lines of code. I would like
> to identify stocks that are trading at 5% or more below the current
> day's high.  I'm sure this scan would require no more than a few lines
> of code, but starting from scratch, it seems very daunting.
> 
> If you have the time, would it be possible for you to write out the
> code for this and briefly explain what each part of the code accomplishes?
> 
> Thanks.
> 
> --Sol
> 
> 
> 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
> 
> 
> 
> 
> 


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


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/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/