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

Re: RE: [amibroker] Help writing a scan



PureBytes Links

Trading Reference Links


>----- Original Message -----
>From: "William Peters" <williampeters@xxxx>
>To: Yahoo: amibroker@xxxxxxxxxxxxxxx
>Sent:  Wed Aug 13, 2003 10:14 pm
Price of the current bar is less than 5% above the Simple MA (Short)
and I don't know if this can be done but I would like to have the weekly  slow stochastic 40 or less

Thank you 




Subject: RE: [amibroker] Help writing a scan
>
>Hello Troy,
>
>Just check this closely to make sure i've interpreted your requirements correctly.
>
>/* Create using PowerScan Date: 13 Aug 2003
>The 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, MA( Close, 5 ) )
>ANDClose < MA( Close, 5 ) * 1.05
>AND (StochK( 14, 3 ) == 40
>ORStochK( 14, 3 ) < 40);
>
>
>Regards,
>William Peters
>www.amitools.com
>
>
>-----Original Message-----
>From: troy16D [mailto:troy16d@xxxxxxxxx]
>Sent: August 13, 2003 2:23 PM
>To: amibroker@xxxxxxxxxxxxxxx
>Subject: [amibroker] Help writing a scan
>
>
>Can someone write a scan that gives a buy signal when the
>
>price close 1 day crosses above the 5 day ma 
>and price close is less that 5% above the 5 day ma
>and the slow stochastic is 40 or less. 
>
>I'm a beginner with AMIBroker and it will take me awhile to learn the afl language
>
>Thanks
>
>_____________________________________________________________
>Sent by OnBoards: a bulletin board browser
>Free at http://www.automatedenterprises.com
>
>
>
>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 http://docs.yahoo.com/info/terms/

_____________________________________________________________
Sent by OnBoards: a bulletin board browser
Free at http://www.automatedenterprises.com



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

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 http://docs.yahoo.com/info/terms/