PureBytes Links
Trading Reference Links
|
you possibly do not need the script
EnableScript ("jscript" );
ticker = Name();
<%
ticker = AFL("ticker" );
ok = ticker.substr( ticker.length - 2 ) == " P";
AFL("ok" ) = ok;
%>
I assume that you are looking for tickers where the second to last letter is P
OK = StrMid( Name(), StrLen( Name() )-2, 1 )=="P";
I have not checked the first part.
do you get output result?
On 8/12/05, Sidney Kaiser <s9kaiser@xxxxxxxxxxx> wrote:
> Here is the prescan exploration I use.
>
> If Graham or some one else would like to expand this to delete a particular
> watch list and write the results to that watch list I would appreciate it.
> Then repost it here or in the library for the groups use. My AFL skills are
> weak in that area.
>
> Sid
>
> /*
> CPrescan by Sid Kaiser, 10/10/2003
> Stocks: price > $8 and 30,000 shares avg volume
> Run on all stocks, n last quotations = 1
> Run About Once A Month OR so.
> */
>
> Filter = MA(Close ,5) > 5 AND MA((Close *Volume), 5) > 1500000 //This is 6
> days in QP2
>
> /* Scanning for symbols beginning with "!" is rather simple. Eliminates all
> the
> QP2 indexes */
>
> AND NOT (Name() >= "!" AND Name() < "A");
>
> /* Scanning for " P" (space + P) would require JScript. Eliminates QP2
> preferred stocks, NOT working yet */
>
> EnableScript ("jscript" );
> ticker = Name();
> <%
> ticker = AFL("ticker" );
> ok = ticker.substr( ticker.length - 2 ) == " P";
> AFL("ok" ) = ok;
> %>
>
> Buy = Ok;
> Sell = 0;
>
>
> NumColumns = 1;
>
> /* Right click on a ticker and save to the CPrescan watch list.
>
> Cprescan close > 8, 2.0M
> Dprescan close > 5, 3.0M
> Eprescan close > 5, 1.5M
> Fprescan close > 8, 3.0M
> Gprescan Close > 5, 2.5M
> 7k stocks Close >1, 25k
> C*V 50k > 3, 50k 6100 hits
> C*V 100k > 3, 100k 5500 hits
> C*V 100k > 5, 100k 5200 hits
>
> */
>
>
> Please note that this group is for discussion between users only.
>
> To get support from AmiBroker please send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> For other support material please check also:
> http://www.amibroker.com/support.html
>
>
>
>
> ________________________________
> YAHOO! GROUPS LINKS
>
> Visit your group "amibroker" on the web.
>
> To unsubscribe from this group, send an email to:
> amibroker-unsubscribe@xxxxxxxxxxxxxxx
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> To unsubscribe from this group, send an email to:
> amibroker-unsubscribe@xxxxxxxxxxxxxxx
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> ________________________________
>
>
>
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.338 / Virus Database: 267.10.5/67 - Release Date: 8/9/2005
>
>
>
--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm
------------------------ Yahoo! Groups Sponsor --------------------~-->
<font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hp5afm8/M=362131.6882500.7825259.1493532/D=groups/S=1705632198:TM/Y=YAHOO/EXP=1123805740/A=2889190/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Put more honey in your pocket. (money matters made easy) Welcome to the Sweet Life - brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~->
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.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/
|