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

RE: [amibroker] Help writing a scan



PureBytes Links

Trading Reference Links




Hello Troy,<FONT 
color=#000000 size=2>Just check this closely to make sure i've interpreted your 
requirements correctly.
/* Create using PowerScan  Date: 13 Aug 2003The 
Close Price crosses above the Simple MA (Short) on the current bar AND The Close 
Price of the current bar is less than the Simple MA (Short)+5% of the current 
bar AND (The Stochastic %K(Slow) of the current bar is equal to 40 OR The 
Stochastic %K(Slow) of the current bar is less than 40) */
Buy = Cross( Close, <FONT 
color=#0000ff>MA( Close, 5 ) 
)AND Close < MA( Close, 
5 ) * 1.05AND 
(StochK( 14, <FONT 
color=#ff00ff>3 ) == 40OR <FONT 
color=#0000ff>StochK( 14, <FONT 
color=#ff00ff>3 ) < 40<FONT 
size=2>);<FONT 
size=2>
Regards,William Peters<A 
href="">www.amitools.com-----Original 
Message-----From: troy16D [<A 
href="">mailto:troy16d@xxxxxxxxx]Sent: August 
13, 2003 2:23 PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] Help 
writing a scanCan someone write a scan that gives a buy signal when 
theprice close 1 day crosses above the 5 day ma and price close 
is less that 5% above the 5 day maand  the slow stochastic is 40 or 
less. I'm a beginner with AMIBroker and it will take me awhile to 
learn the afl 
languageThanks_____________________________________________________________Sent 
by OnBoards: a bulletin board browserFree at <A 
href="" 
target=_blank>http://www.automatedenterprises.com------------------------ 
Yahoo! Groups Sponsor ---------------------~-->Buy Ink Cartridges or 
Refill Kits for Your HP, Epson, Canon or LexmarkPrinter at Myinks.com. Free 
s/h on orders $50 or more to the US & Canada. <A 
href="" 
target=_blank>http://www.c1tracking.com/l.asp?cid=5511<A 
href="" 
target=_blank>http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/GHeqlB/TM---------------------------------------------------------------------~->Send 
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
suggest@xxxxxxxxxxxxx-----------------------------------------Post 
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx(Web page: <A 
href="" 
target=_blank>http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
group FAQ at: <A 
href="" 
target=_blank>http://groups.yahoo.com/group/amibroker/files/groupfaq.htmlYour 
use of Yahoo! Groups is subject to <A href="" 
target=_blank>http://docs.yahoo.com/info/terms/






Yahoo! Groups Sponsor


  ADVERTISEMENT 









Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.