PureBytes Links
Trading Reference Links
|
Jayson,
Following on your example...Please check your equation...I am missing
something.
Filter = O>H-(H-L)*.25AND C>H-(H-L)*.25 AND
Open - 24.70
high -25.34
low -24.68
( open ) 24.70 > (high ) 25.34-((high)25.34 - (Low) 24.68) * .25 =
24.70 > 25.34 - (.66 ) * .25 =
24.70 > 25.34 - ( .66 * .25 ) =
24.70 > 25.34 - ( .1650 ) =
24.70 > 25.34 - (.17 ) =
24.70 > 25.17
Anthony
-------Original Message-------
From: amibroker@xxxxxxxxxxxxxxx
Date: Tuesday, February 25, 2003 00:21:29
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] problem with formula/ or scan test
I think there are several problems. Your filter for example........
Filter = O>H-(H-L)*.25AND C>H-(H-L)*.25 AND
In English you have .......
Open is greater than high minus the sum of H-L times .25 AND bla, bla
lets use today's QQQ as an example.....
Open - 24.70
high -25.34
low -24.68
so your filter would return
27.70 {the open price} minus .68 {the sum of H_L} =27.02
27.02 Times .25= 6.755
or
24.70>6.755 In this case QQQ fails the filter before it even looks at the
2nd part after the AND statement.......
In English what are you trying to do??
Jayson
Jayson
-----Original Message-----
From: goldwing01 <goldwing01@xxxxxxx> [mailto:GOLDWING01@xxxxxxx]
Sent: Monday, February 24, 2003 9:05 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] problem with formula/ or scan test
I am using this formula with scan test for now,but question is why is
this formula only coming back with penny stocks.
Plot( Close, "Price", colorBlue, styleCandle );
Buy = Cross(Close,O>H-(H-L)*.25 AND C>H-(H-L)*.25 AND
L<Ref(LLV(L,10),-1));
BuyPrice = H +.125;
BuyStop = H+1.125;
Filter = O>H-(H-L)*.25AND C>H-(H-L)*.25 AND
L<Ref(LLV(L,10),-1);
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.
Yahoo! Groups Sponsor
ADVERTISEMENT
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.
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/
|