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

[amibroker] Re: Need some Help on FILTER



PureBytes Links

Trading Reference Links

So simple...yet so difficult for the programming challenged 
person....You don't know how much time I spent on this....

Thanks, Graham.   Works fine now.

Ed

--- In amibroker@xxxxxxxxxxxxxxx, "Graham" <gkavanagh@xxxx> wrote:
> Ed try adding brackets
> 
> Filter= Close > 3 AND ( Buy OR Sell ) ; 
> 
> Cheers,
> Graham
> http://groups.msn.com/ASXShareTrading
> http://groups.msn.com/FMSAustralia 
> 
> -----Original Message-----
> From: Ed [mailto:reach1136@x...] 
> Sent: Tuesday, 25 November 2003 6:24 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Need some Help on FILTER
> 
> 
> With a lot of help from this group and TJ, along withthe great Help 
> tutorials, I have managed to creatge several indicatores and 
> explorations.  Thanks to all! 
> 
> But I am having a problem - I can't get the following Filter comand 
> to work in several Explorations  - it will returns all stocks 
> regardless of price.  It works fine without the Close >3 - so I 
> assume I have the logic wrong.  And the rest of the Explorations 
work 
> perfectly except for this same problem...what am I doing wrong?
> 
> Buy = Cross( EMA(Close,13), EMA( Close, 50 ) );
> Sell = Cross( EMA(Close,50), EMA( Close, 13 ) );
> 
> 
> PROBLEM HERE.....Filter= Close > 3 AND Buy OR Sell;  PROBLEM 
HERE.....
> 
> 
> AddTextColumn( FullName(), "Full name", 77 , colorDefault, IIf( 
Close 
> < 10, colorLightBlue, colorDefault ) );
> AddColumn (Close, "Close");
> AddColumn (Buy, "Buy");
> AddColumn (Sell, "Sell");
> 
> Thanks in Advance to this great group for any help.
> 
> EdM
> 
> 
> 
> Send BUG REPORTS to bugs@xxxx
> Send SUGGESTIONS to suggest@xxxx
> -----------------------------------------
> 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/



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

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/