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

RE: [amibroker] plotshapes



PureBytes Links

Trading Reference Links




<SPAN 
class=651241206-05022003>KK,
<SPAN 
class=651241206-05022003> 
I get 
a little confused with the plotshapes syntax as well but <FONT color=#0000ff 
face=Arial size=2>I think this is what you were 
asking for.....  this is for low closes, change the C to L for 
Lows
<SPAN 
class=651241206-05022003> 
<FONT 
color=#282828 size=2> 
x=Ref(<FONT 
size=2>C,-<FONT face=Arial 
size=2>4)>Ref<FONT 
size=2>(C,-<FONT 
size=2>3) AND 
Ref(<FONT 
size=2>C,-2<FONT 
size=2>)<<FONT face=Arial 
size=2>Ref(<FONT face=Arial 
size=2>C,-<FONT face=Arial 
size=2>3) <FONT face=Arial 
size=2>AND <FONT 
size=2>Ref(C<FONT 
size=2>,-1) <FONT face=Arial 
size=2>>Ref<FONT face=Arial 
size=2>(C<FONT face=Arial 
size=2>,-2) 
AND <FONT 
size=2>Ref(C<FONT 
size=2>,-1)<<FONT 
size=2>C<FONT 
color=#0000ff>;
Plot(<FONT color=#000000 
size=2>C,<FONT color=#ff00ff 
size=2>"",<FONT color=#ff00ff 
size=2>4,<FONT color=#000000 
size=2>styleCandle);<FONT 
color=#0000ff size=2>
PlotShapes(<FONT color=#282828 
face=Arial size=2>x, <FONT 
color=#000000 size=2>colorBrightGreen, 
0<FONT color=#282828 
size=2>,L<FONT color=#282828 
size=2>-ATR<FONT color=#282828 
size=2>(1) 
);
 
 Jayson 
<FONT face=Tahoma 
size=2>-----Original Message-----From: kk2628 
[mailto:kk2628@xxxxxxxxxxxxxxxx]Sent: Wednesday, February 05, 2003 
12:28 AMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] 
plotshapes
Hi,
 
I encounter a problem here, following is the AFL, 
and what I want to achieve is to plot a small triangle on the bar which is the 
lowest than the two preceding bars and two following bars. The problem I have is 
somehow the triangle was also ploted on the two following bars. I attached a gif 
as the example. Any help is much appreciated.
 
Fdw=Ref(L,-2)<L AND Ref(L,-2)<Ref(L,-1) AND 
Ref(L,-2)<=Ref(L,-3) AND Ref(L,-2) <=Ref(L,-4);PlotShapes( 
IIf(Ref(Fdw,2), 5 + shapePositionAbove, shapeNone), colorRed,0,L,10 
);
 
thanks
KK 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.