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

RE: [amibroker] Weird Problem with Filter Statement (Tomasz)



PureBytes Links

Trading Reference Links

One other way to get around this would be to create a variable and
reference this with the filter (sorry everyone, I know I tend to give
multiple answers but the brain keeps mulling things over)
Eg

MyFilter = blah blah blah;
;
;
;
;
;
;
Filter = MyFilter==1;

Addclumn(etc etc etc);





Cheers,
Graham
 

-----Original Message-----
From: Nick Molchanoff <nkm@xxxxxxxxx> [mailto:nkm@xxxxxxxxx] 
Sent: Wednesday, 19 February 2003 5:58 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Weird Problem with Filter Statement (Tomasz)

In order to more conveniently edit and comment out & comment in my 
Filter statement, I moved it up near the top of my AFL code. 

I thought that this simple re-location of the statement should not 
affect its operation, as long as it still appeared before the 
exploration statements in the code.

However, with the Filter Statement at the top of the code, the 
exploration runs as if it is not there at all -- Moving the Filter 
Statement (or a copy of it) back down to just before the exploration, 
makes it operational again.

Is this proper operation?

Shouldn't this work no matter where in the code the Filter statement 
is located? (As long as it's above the exploration statements?)

Is there a specific limit to the number of lines of AFL code tht may  
be located between the Filter statement and the exploration 
statements?

Are there any other specific rules or limitations on where the Filter 
statement must be placed to operate properly?


Best Regards

Nick Molchanoff


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/ 




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/