PureBytes Links
Trading Reference Links
|
Hello,
You can have filter in scans:
Filter = ... your .rule
BUY = Filter AND Buy;
SELL = Filter AND Sell;
As for the reason: it is nice to have SINGLE formula for
multiple purposes.
Having separate controls for exploration and backtest/scan is
very useful.
That's why buy/sell/short/cover are for scan/backtest and
Filter/AddColumn is for exploration.
This allows building multi-purpose formulas. At the same time
there is no obstacle in making Filter working in scan too (see
above)
Best regards,Tomasz Janeczkoamibroker.com
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
mrdavis9
To: <A title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Saturday, August 02, 2003 2:31
AM
Subject: [amibroker] I want FILTER IN
SCANS
William, I do that now, but I would rathar do
that with a filter. Do you know of any good software reason why TJ does
not make
Filter=xxxxx
available for use in scans. To me, it is an obviously useful
feature for us newer tech challenged Ab users to be able to use in
scans. Many of us can do basic AFL coding, but are a long way off
from ever doing sophiscated backtesting, so being able to<FONT
face="Times New Roman" size=3> have Filter capability in scans would be very
handy. Ron D
<BLOCKQUOTE
>
<DIV
>
<DIV
>
<DIV
>
<DIV
>
<DIV
>
<DIV
>
<DIV
>
<DIV
>
<DIV
>
<DIV
>From:
<A title=williampeters@xxxxxxxxxxxx
href="">William Peters
To: <A title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Friday, August 01, 2003 10:16
PM
Subject: RE: [amibroker] ANNOUNCEMENT -
Tutorials for beginners.
Ron,
You can do the equivelent
with a scan.
Add the criteria you would
normally add to the 'Filter' to the end of your Buy or Sell
rules.
ie. Buy
= Cross(
MACD( <FONT
color=#ff00ff size=1>12, <FONT color=#ff00ff
size=1>26 ), <FONT color=#0000ff
size=1>Signal( <FONT color=#ff00ff
size=1>12, <FONT color=#ff00ff
size=1>26, <FONT color=#ff00ff
size=1>9 )) AND ( <FONT
color=#0000ff size=1>MarketID(<FONT color=#ff00ff
size=1>1) == <FONT color=#ff00ff
size=1>"ASX" );
<FONT
size=2>
<FONT
size=2>Regards,
William
Peters
<A
href="">www.amitools.com
<FONT face=Tahoma
size=2>-----Original Message-----From: mrdavis9
[mailto:mrdavis9@xxxxxxxxxx]Sent: Friday August 1, 2003 4:59
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: Re:
[amibroker] ANNOUNCEMENT - Tutorials for beginners.
William, is there a good software reason why TJ
has not made the filter function available for use in scans? I would
really like to be able to add
Filter= xxxxxxx in my
scans. Ron D
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
<A title=williampeters@xxxxxxxxxxxx
href="">William Peters
To: <A
title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Friday, August 01, 2003 3:17
PM
Subject: RE: [amibroker] ANNOUNCEMENT
- Tutorials for beginners.
Ron,
<FONT
size=2>
It was just my wrong
choice of words in my reply to Dominic. If you go through the whole
tutorial you will notice in step 1 that the setting (Analysis Type) for
explore is selected.
<FONT
size=2>
<A
href="">http://www.amitools.com/tutorials/tutorial1.htm
<FONT
size=2>
<FONT
size=2>Regards,
William
Peters
<A
href="">www.amitools.com
<FONT
size=2>
<FONT face=Tahoma
size=2>-----Original Message-----From: mrdavis9
[mailto:mrdavis9@xxxxxxxxxx]Sent: Thursday July 31, 2003 6:38
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: Re:
[amibroker] ANNOUNCEMENT - Tutorials for beginners.
According to the AB users manual, filter can
be used only in EXPLORATIONS. Why does the user's manual say
this if it is not true? I once tried to use FILTER=ma(v,50)
>= 2000000; in a SCAN and it did not
work. This post from William indicates that
FILTER does work in SCAN mode . Ron D
<TABLE cellSpacing=0 borderColorDark=#990000 cellPadding=3 width="100%"
borderColorLight=#990000 border=1>
filter
Exploration only: controls which stocks/quotes are
accepted. If "true" (or 1) is assigned to that variable for given
stock/quote it will be displayed in the report.
So, for example, the following formula will accept all stocks
with closing prices greater than 50 :
filter = close > 50;
Automatic Analysis
<BLOCKQUOTE
>
<DIV
>From:
<A title=williampeters@xxxxxxxxxxxx
href="">William Peters
To: <A
title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Thursday, July 31, 2003 7:44
AM
Subject: RE: [amibroker]
ANNOUNCEMENT - Tutorials for beginners.
Dominick,To exclude a ticker from the scan you
can add like this to your filter ( replace <FONT
color=#ff00ff>^AORD with your ticker symbol
):Name() != <FONT
color=#ff00ff>"^AORD";So the FIlter statement becomes
something like this: Filter = <FONT
color=#0000ff>Cross( MA( Close,
30 ), MA(
Close, 50 ) )
AND Name() != <FONT
color=#ff00ff>"^AORD";
For the second part of your question if you open
AmiBroker Indicator Builder (IB) and go to thelast section in
the tutorial you will notice there are some additional parameters
to
enter:
<FONT
color=#ff0000>Scaling: AutomaticGrid
lines (Ticked): Limits | Show Dates |
Middle
Once you tick these parameters the information
in the x and y grid will display.
Thank you for your feedback.
Regards,
William Peters
<A
href="">www.amitools.com
-----Original Message-----From: dom1_1998 [<A
href="">mailto:Dom2000@xxxxxxxxxxx]Sent:
Wednesday July 30, 2003 8:45 PMTo:
amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] ANNOUNCEMENT -
Tutorials for beginners.Hi William:Thanks for the
tutorial. One thing I would like to know is how toexclude
indices. For ex. QuotePLus uses an "!" mark before
them. Also I typed one of the symbols to bring up the chart
and applied thecrossover indicator. It placed another window
of candlestick barswith both of the MA's as stated.I closed
the original candlestick and volume windows to make yourwindow
larger. I noticed there were nothing in the X and Y axis or
grids.Was it purposely made that way for the
tutorial?TIA,DominickSend BUG
REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web
page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of
Service. Send BUG REPORTS to
bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page:
<A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Send BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS
to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page:
<A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Send BUG REPORTS to bugs@xxxxxxxxxxxxxSend
SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page:
<A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Send BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS
to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page:
<A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Send
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
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.
|