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

RE: [amibroker] problem with formula/ or scan test



PureBytes Links

Trading Reference Links




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 .......
<SPAN 
class=317444804-25022003> 
Open 
is greater than high minus the sum of H-L times .25  AND bla, 
bla
<SPAN 
class=317444804-25022003> 
lets 
use today's QQQ as an example.....
<SPAN 
class=317444804-25022003> 
Open - 
24.70
<SPAN 
class=317444804-25022003>high   -25.34
<SPAN 
class=317444804-25022003>low    -24.68
<SPAN 
class=317444804-25022003> 
so 
your filter would return   
<SPAN 
class=317444804-25022003> 
27.70 
{the open price} minus .68  {the sum of H_L} =27.02
27.02 
Times .25= 6.755
<SPAN 
class=317444804-25022003> 
or 

<SPAN 
class=317444804-25022003> 
<SPAN 
class=317444804-25022003>24.70>6.755   In this case QQQ fails the 
filter before it even looks at the 2nd part after the AND 
statement.......
<SPAN 
class=317444804-25022003> 
<SPAN 
class=317444804-25022003> 
In 
English what are you trying to do?? 
 Jayson 

 Jayson 
<FONT face=Tahoma 
size=2>-----Original Message-----From: goldwing01 
<goldwing01@xxxxxxx> [mailto:GOLDWING01@xxxxxxx]Sent: Monday, 
February 24, 2003 9:05 PMTo: 
amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] problem with formula/ 
or scan testI 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 
ANDL<Ref(LLV(L,10),-1));BuyPrice = H +.125;BuyStop = 
H+1.125;Filter = O>H-(H-L)*.25AND C>H-(H-L)*.25 
ANDL<Ref(LLV(L,10),-1);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









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.