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

Re: [amibroker] coloring bars



PureBytes Links

Trading Reference Links

For indicator builder do you want this:
 
FilterL = C<Ref(C,-1) AND Ref(C,-1)>Ref(C,-2) AND Ref(C,-2)<Ref(C,-3);
FilterH = C>Ref(C,-1) AND Ref(C,-1)<Ref(C,-2) AND Ref(C,-2)>Ref(C,-3);

Plot(C,"close",IIf(Filterl,colorYellow,IIf(Filterh,colorBrightGreen
colorBlack)),styleCandle);

Anthony
 
-------Original Message-------
 
From: amibroker@xxxxxxxxxxxxxxx
Date: Monday, May 12, 2003 12:36:51 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] coloring bars
 
How would I color bars for the following conditions?
 
FilterL = C<Ref(C,-1) AND Ref(C,-1)>Ref(C,-2) AND Ref(C,-2)<Ref(C,-3);
FilterH =  C>Ref(C,-1) AND Ref(C,-1)<Ref(C,-2) AND Ref(C,-2)>Ref(C,-3);
 
Thanks
 
 
 
Yahoo! Groups Sponsor
 
- Model -- Please Select a Make -
Zip:  

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs from home.
Over 14,500 titles. Free Shipping
& No Late Fees. Try Netflix for FREE!
http://us.click.yahoo.com/BVVfoB/hP.FAA/uetFAA/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/