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

RE: [amibroker] painting bars



PureBytes Links

Trading Reference Links




<SPAN 
class=037541517-12062003>Sure..... try
<FONT 
color=#000000 size=2> 
Filter=1<FONT 
color=#282828 size=2>;
condP=Ref(<FONT 
size=2>H,-1<FONT 
size=2>)>=Ref(<FONT 
size=2>H,-2) 
AND <FONT 
size=2>Ref(H<FONT 
size=2>,-1)><FONT 
size=2>H AND<FONT 
size=2> Ref(<FONT 
size=2>H,-1<FONT 
size=2>)>Ref(<FONT 
size=2>C,-3<FONT 
color=#282828 size=2>);
condT=Ref(<FONT 
size=2>L,-2<FONT 
size=2>) >= Ref(<FONT 
size=2>L,-1) 
AND <FONT 
size=2>L>Ref<FONT 
size=2>(L,-<FONT 
size=2>1) AND 
Ref(<FONT 
size=2>L,-1<FONT 
size=2>)<Ref(<FONT 
size=2>Close,-3<FONT 
color=#282828 size=2>);
rh1= ValueWhen( 
Condp,H, <FONT 
size=2>1<FONT 
color=#0000ff>);
rh2=ValueWhen(condp,<FONT 
size=2>H,2<FONT 
color=#282828 size=2>);<FONT color=#282828 
face=Arial size=2>
rl1=ValueWhen( 
Condp,L, 
1<FONT 
color=#0000ff>);<FONT 
color=#0000ff>
rl2=ValueWhen( 
Condp,L, 
2<FONT 
color=#0000ff>);
 
AddColumn(Condp,<FONT 
color=#ff00ff size=2>"Test");<FONT 
color=#0000ff size=2>
AddColumn(rh1,<FONT color=#ff00ff 
size=2>"RH1");<FONT color=#0000ff 
size=2>
AddColumn(rh2,<FONT color=#ff00ff 
size=2>"RH2");
 
Plot(<FONT color=#000000 
size=2>C,<FONT color=#ff00ff 
size=2>"",<FONT color=#0000ff 
face=Arial size=2>IIf(<FONT 
color=#282828 size=2>rh1>rh2 <FONT color=#000000 
size=2>AND rl1>rl2<FONT 
color=#282828 face=Arial size=2>,<FONT color=#000000 face=Arial 
size=2>colorYellow,<FONT 
color=#0000ff face=Arial size=2>IIf<FONT color=#282828 face=Arial 
size=2>(rl1<rl2 <FONT 
color=#000000 size=2>AND 
rh1<rh2,<FONT 
color=#ff00ff size=2>4,<FONT 
color=#ff00ff face=Arial size=2>5<FONT color=#282828 face=Arial 
size=2>)),<FONT color=#ff00ff 
size=2>64);<FONT color=#0000ff 
size=2>
 
 
Regards, 
Jayson 
<FONT face=Tahoma 
size=2>-----Original Message-----From: epintoem 
[mailto:epintoem@xxxxxxxxx]Sent: Thursday, June 12, 2003 11:45 
AMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] 
painting barshere is what I was trying to doif 
rh1>rh2 and rl1>rl2 I wanted to paint the bars yellowif rl1<rl2 and 
rh1<rh2 I wanted to paint the bars redPossible?Send 
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
suggest@xxxxxxxxxxxxx-----------------------------------------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 









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 the Yahoo! Terms of Service.